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.
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
3.3 Process TxIds<br />
Commands and Parameters<br />
By this command one or more Tx identifiers are allocated to the module, depending on the module type,<br />
by which it is able to transmit the data onto the <strong>CAN</strong> (set TxIds).<br />
The new Tx identifier replaces immediately after he had been received by the module the default identifier<br />
adjusted by the coding switches. If the new Tx identifier should remain after a RESET or a power-down, it<br />
has to be filed into the local EEPROM by command 'store parameter'.<br />
Apart from that the module can be forced to transmit a reply about the Tx identifiers actually used by it<br />
onto the <strong>CAN</strong> by the Tx identifier CTxId (request TxIds).<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<br />
Request: $02<br />
Set: $82<br />
$00...n<br />
Always<br />
allocate with<br />
$00<br />
Selected<br />
module no.<br />
$01...$FF<br />
Table 3.3.1: Bytes of the command set/request TxIds<br />
CTxId<br />
$0000...$07FF<br />
TxId<br />
$0000...$07FF<br />
Command... By the command $02 the actual Tx identifiers are requested by the module. After<br />
this request the module transmits the information on the identifier 'CTxId', entered<br />
into byte 5 and 6.<br />
By the command $82 new Tx identifiers (TxId) to transmit I/O data are allocated to<br />
the module corresponding to the sub command. The new Tx identifiers are<br />
interchanged by byte 5 and 6.<br />
Sub command... By the sub command it is selected which Tx identifier should be interchanged.<br />
Depending on the module type a different number of Tx identifiers can be set.<br />
<strong>esd</strong> Protocol for <strong>CAN</strong> Modules Rev. 3.2 3 - 19