24.08.2013 Views

Download CAN protocol manual (PDF-File) - esd electronics, Inc.

Download CAN protocol manual (PDF-File) - esd electronics, Inc.

Download CAN protocol manual (PDF-File) - 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.

Commands and Parameters<br />

Parameter 1 and 2... With these parameters it is reported to the module at a request command onto<br />

which <strong>CAN</strong> Id (CTxId) it should transmit the requested reply.<br />

The module only transmits once on this identifier. The identifier is not stored on the<br />

module. If another transmission is wanted, another INIT Id with the corresponding<br />

parameters has to be transmitted to the module again.<br />

At a set command the Rx identifier is interchanged to the module by these<br />

parameters on which it should transmit the data.<br />

By the sub command it is selected which one of the possible Rx identifiers should be<br />

set or reset:<br />

Sub<br />

command<br />

$00<br />

$01<br />

:<br />

n<br />

Rx identifiers on<br />

parameter 1 and 2<br />

RxId1<br />

RxId2<br />

:<br />

RxId(n+1)<br />

Table 3.4.2: Selection of the Rx identifiers by the sub command<br />

The following table shows how the bits of Rx identifiers have to be allocated to the<br />

bytes 5 and 6:<br />

Bits in<br />

byte<br />

5 and 6<br />

Bits of<br />

the RxId<br />

Byte 5 Byte 6<br />

Parameter 1 Parameter 2<br />

7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0<br />

RxId-H RxId-L<br />

- - - - - id11 id10 id9 id8 id7 id6 id5 id4 id3 id2 id1<br />

(-) These bits are not evaluated.<br />

Table 3.4.3: Bits of the Rx identifier in byte 5 and byte 6<br />

<strong>esd</strong> Protocol for <strong>CAN</strong> Modules Rev. 3.2 3 - 23

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

Saved successfully!

Ooh no, something went wrong!