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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Commands and Parameters<br />

3. Description of the Commands and Parameters<br />

3.1 Configuration Reply<br />

The transmission is called by transmitting a 'request configuration' command. The identifier on which the<br />

module should transmit the information on the <strong>CAN</strong> is reported to it by byte 5 and 6.<br />

Contrary to the other commands only parameters are called with this command.<br />

Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6<br />

Function Command Sub command Not used Module no. Parameter 1 Parameter 2<br />

Value $00 $00...$05<br />

Always<br />

write<br />

$00<br />

Selected<br />

module no.<br />

$01...$FF<br />

CTxId<br />

$0000...$07FF<br />

Table 3.1.1: Bytes of the command 'request configuration'<br />

Explanation of the Bytes Transmitted to the Module:<br />

Command... The command 'request configuration' requests the transmission of the actual<br />

parameters of the module.<br />

Sub command... The sub command determines the configuration bytes which should reply:<br />

Sub<br />

command<br />

$00<br />

$01<br />

$02<br />

$03<br />

$04<br />

$05<br />

Reply of the parameters<br />

Module type<br />

Active switch<br />

ASCII Id<br />

Software rev.<br />

reserved<br />

Serial number<br />

Table 3.1.2: Selection of the configuration reply by sub command<br />

Parameter 1 and 2... With these parameters it is reported to the module to which <strong>CAN</strong> Id. it should<br />

transmit the requested reply.<br />

The module does only transmit once on this identifier. The identifier is not stored on<br />

the module.<br />

If another transmission is desired another INIT Id with the corresponding<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!