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.

Overview<br />

2. Overview of the Implemented Commands and Parameters<br />

The two following tables give a complete summary of all bytes implemented until now and the parameters<br />

given back by the module. The individual designations of the commands and parameters will not be explained<br />

in detail in the tables in favour of the clarity. The descriptions of the used expressions can be taken from the<br />

following chapters in which the individual commands will be described.<br />

The value ranges of the parameters cover all possible entries which are evaluated correctly by the software.<br />

Here it has to be noted that partly special functions (e.g. 'function switched off') have been allocated to<br />

individual values of the parameters (e.g. $00). The allocation of values which are outside of the given limits<br />

is not permissible, because otherwise the perfect function of the addressed module will not be guaranteed<br />

anymore.<br />

2.1 Overview of the Commands<br />

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

Command Sub-Command don't care Module No. Parameter 1 Parameter 2 not used not used<br />

Request<br />

Configuration<br />

$00<br />

$00 - Module Type<br />

$01 - Active Switch<br />

$02 - ASCII Id<br />

$03 - Software Rev.<br />

$04 - reserved<br />

$05 - Serial No.<br />

Please write<br />

always $00.<br />

selected Module No.<br />

$01...$FF<br />

CTxId<br />

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

These Bytes are not<br />

used.<br />

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

Command Sub-Command 1 Sub-Command 2 Module No. Parameter 1 Parameter 2 not used<br />

System<br />

Parameter: $81<br />

$00 - Save<br />

Parameter<br />

$81 - set $01 - Module No<br />

$01 - request<br />

$81 - set<br />

$01 - request<br />

$81 - set<br />

$01 - request<br />

$81 - set<br />

$01 - request<br />

$01 - Saved Module<br />

No<br />

$02 - <strong>CAN</strong>-Status-<br />

Byte<br />

$03 - Bitrate<br />

$04 - Watchdog<br />

Tx Identifier<br />

><br />

Please write<br />

always $00.<br />

$81 - set<br />

$05 - Watchdog<br />

WDLife<br />

TimeFactor<br />

$01 - request<br />

Time<br />

-<br />

? ?<br />

><br />

selected Module No.<br />

$01...$FF<br />

selected Module No.<br />

(= Byte 4)<br />

new Module No.<br />

$00...$FF<br />

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

-<br />

-<br />

CTxId<br />

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

cstat $00 -<br />

bust 0 (=BTR0) (see<br />

Controller-Manual)<br />

CTxId<br />

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

CTxId<br />

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

WTxId<br />

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

CTxId<br />

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

WDtime<br />

$0000...$FFFF [ms]<br />

CTxId<br />

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

><br />

not<br />

used<br />

These Bytes are not<br />

used.<br />

bust 1 (=BTR1) (see<br />

Controller-Manual) ?

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

Saved successfully!

Ooh no, something went wrong!