24.08.2013 Views

Download CAN-USB-Micro Hardware Manual - esd electronics, Inc.

Download CAN-USB-Micro Hardware Manual - esd electronics, Inc.

Download CAN-USB-Micro Hardware Manual - esd electronics, Inc.

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix<br />

Device Control<br />

Command<br />

tiiiLDDDDDDDD<br />

DDDDDDDD<br />

TiiiiiiiiL<br />

DDDDDDDD<br />

DDDDDDDD<br />

V<br />

v<br />

Description Return<br />

- transmits a standard 11-bit <strong>CAN</strong> frame.<br />

The controller has to be in operational mode after<br />

command O or o were sent.<br />

iii ... identifier [hex] (000h-7FFh)<br />

L ... data length code (0-8)<br />

DD - DDDDDDDDDDDDDDDD...<br />

data byte value [hex] (00-FF).<br />

One to eight data byte values<br />

Number of given data bytes will be checked<br />

against given data length code.<br />

<br />

or , if<br />

- identifier is invalid or<br />

- data is invalid or<br />

- insufficient amount of<br />

data bytes or<br />

- command O or o<br />

were not sent<br />

Example: Input: t123499887766 Return: <br />

A data frame with the 11-bit identifier 123h and the 4 data<br />

bytes 99h, 88h, 77h and 66h will be sent.<br />

- transmits an extended 29-bit <strong>CAN</strong> frame.<br />

The controller has to be in operational mode after<br />

command O or o were sent.<br />

iiiiiiii ...identifier [hex]<br />

(0000 0000h - 1FFFF FFFFh)<br />

L ... data length code (0-8)<br />

DD - DDDDDDDDDDDDDDDD...<br />

data byte value [hex] (00h - FFh).<br />

One to eight data byte values<br />

Number of given data bytes will be checked<br />

against given data length code.<br />

<br />

or , if<br />

- identifier is invalid or<br />

- data is invalid or<br />

- insufficient amount of<br />

data bytes or<br />

- command O or o<br />

were not sent<br />

Example: Input: T1234567829988 Return: <br />

A data frame with the 29-bit identifier 12345678h and the<br />

2 data bytes 99h and 88h will be sent.<br />

-reads hardware and firmware version of the <strong>CAN</strong>-<br />

<strong>USB</strong>/<strong>Micro</strong><br />

Example: Input: V Return: V1011<br />

<strong>Hardware</strong> version 1.0, firmware version 1.1x,<br />

for x see command v.<br />

- reads detailed firmware version of the <strong>CAN</strong>-<br />

<strong>USB</strong>/<strong>Micro</strong><br />

Example: Input: v Return: v0115<br />

Firmware version 1.15<br />

Vhhff<br />

hh ... hardware<br />

version [hex]<br />

ff... firmware version<br />

[hex]<br />

vmami<br />

ma ... major version<br />

number<br />

mi... minor<br />

version number<br />

Page 30 of 36 <strong>Manual</strong> • Doc. No.: C.2068.21 / Rev. 1.1 <strong>CAN</strong>-<strong>USB</strong>/<strong>Micro</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!