
20
Example: Change the NID for the
only CANopen module
on the CAN bus.
CURRENT NID
= 0x10 (16)
NEW
NID
=
0x1A
(26)
MESSAGE
SENT
MODULE
REPLY
8.6
Changing the TPDO Broadcast Rate
The data broadcast rate can be programmed from 5 ms to 65535 ms and applies to all TPDOs
that have been enabled (see section 8.7). It is an unsigned 16bit integer (2 bytes) written least
significant byte (LSB) first (Intel format) to OD address 0x1800, subindex 0x05. The format of
the SDO Write to the LambdaCAN module is as follows:
CANid
byte 0 byte 1
byte 2
byte 3
byte 4
byte 5
byte 6 byte 7
0x600+NID 0x2B 0x00 0x18 0x05 Broadcast
rate lo
Broadcast
rate hi
Example: Set TPDO broadcast rate to 500 ms (0x01F4) for the module with NID = 0x0F (15).
CANid
byte 0 byte 1
byte 2
byte 3
byte 4
byte 5
byte 6
byte 7
0x60F 0x2B
0x00 0x18 0x05 0xF4 0x01
There is a minimum broadcast rate that is dependent on the number of modules transmitting on
the CAN bus and how many TPDOs have been enabled for each module. If the broadcast rate is
too fast the ECM Configuration Tool will not be able to identify or configure any of the modules.
The formula for calculating the minimum broadcast rate is as follows:
Minimum Broadcast Rate (ms) > Total number of TPDOs for all modules x 0.3125
Example: There are 8 modules on the CAN bus.
NID 0x01 has 3 TPDOs enabled
NID 0x02 has 1 TPDOs enabled
NID 0x03 has 4 TPDOs enabled
NID 0x04 has 2 TPDOs enabled
NID 0x05 has 4 TPDOs enabled
NID 0x06 has 4 TPDOs enabled
NID 0x07 has 4 TPDOs enabled
NID 0x08 has 4 TPDOs enabled
CAN id
byte 0
byte 1
0x00 0x80 0x10
0x7E5 0x40 0x01
0x7E5 0x11 0x1A
0x7E5 0x04 0x00
0x00 0x82 0x1A
CAN id byte 0 byte 1
0x7E4 0x44
0x7E4 0x11 0x00