06.11.2014 Views

CAN 2.0A/B ↔ RS232/RS485 Converter

CAN 2.0A/B ↔ RS232/RS485 Converter

CAN 2.0A/B ↔ RS232/RS485 Converter

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

4.2 <strong>CAN</strong> Modes<br />

The converter is in Listen Only mode or normal mode to operate.<br />

L = 1 Listen Only Mode (read without ACK) L = 0 Normal Mode (read and write)<br />

5 Normal Mode<br />

If the converter powered on and the setup mode is not initiated within 5 seconds, it starts in<br />

normal mode. In this mode, the communication of the <strong>CAN</strong> bus can be monitored (chapter:<br />

5.2 Receive Data) and data be transmitted to the bus (chapter: 5.1 Sending Data).<br />

5.1 Sending Data<br />

All Data, sent from the computer to the COM port, will be output on the <strong>CAN</strong> bus.<br />

The following formats are used:<br />

ID CR space = $20 (Space "_") CR = $ 0D (Enter "") - ID without Data<br />

ID space Data CR space = $20 (Space "_") CR = $ 0D (Enter "") - ID with Data<br />

With the converter setting:<br />

<strong>CAN</strong>-Identifier = 1F000000 (29 Bit <strong>CAN</strong>-Identifier)<br />

the following data is output: (11 and 29 bit messages)<br />

Input<br />

Meaning<br />

7E8_0001020304 <strong>CAN</strong> ID 7E8 Data 00 01 02 03 04 Data Length 5<br />

7E8_0 <strong>CAN</strong> ID 7E8 no Data Data Length 0<br />

7E8_01_01 <strong>CAN</strong> ID 7E8 Data 01 Data Length 1<br />

1FFFFFFF_010203_03 <strong>CAN</strong> ID 1FFFFFFF Data 0102030 Data Length 3<br />

10001234_0102_02 <strong>CAN</strong> ID 10001234 Data 01020 Data Length 2<br />

With the setting:<br />

<strong>CAN</strong>-Identifier = 1FF (11 Bit <strong>CAN</strong>-Identifier)<br />

the following data is output: (only 11 bit <strong>CAN</strong> messages)<br />

Input<br />

Meaning<br />

7E8_0001020304_05 <strong>CAN</strong> ID 7E8 Data 00 01 02 03 04 Data Length 5<br />

7E8_0 <strong>CAN</strong> ID 7E8 no Data Data Length 0<br />

7E8_01_01 <strong>CAN</strong> ID 7E8 Data 01 Data Length 1<br />

In case of 11 bit ID no 29 bit ID messages will be sent!<br />

5.1.1 Send Error<br />

If data is sent in the wrong format to the converter through the USB/COM port, it can be recognized<br />

by the converter response "S" (Enter "S" Enter).<br />

e.g.: 1FFFFFFF_010<br />

<strong>Converter</strong> response: "S"<br />

(incomplete data, 0101 would be correct)

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

Saved successfully!

Ooh no, something went wrong!