I-7530A-MR Modbus RTU to CAN
Converter User’s Manual (Version 1.07, 06/2016) ------------- 79
5.2.1
Using Modbus RTU command to get a CAN Message
When the I-7530A-MR is set to the Modbus Slave mode, each CAN
message (except the CAN message whose CAN IDs are defined in the Specific
CAN Message field) received from the CAN network will be stored into the
“Normal CAN Message” field. Users can use the Modbus RTU command
(function code 04
hex
) to read the CAN message from the
“Normal CAN
Message
” field (refer to table 5-2.). The start address of each command must
be set to 0000
hex
and the data length field must be a multiple of 9 because one
CAN message uses 9 address space. After reading the registers by the Modbus
command, the content of the registers of the read CAN message is covered by
the unread CAN message which will be read next.
Example1:
Use Modbus RTU command (function code 04
hex
) to read one CAN message:
Figure 5-3: Use the Modbus command to read one CAN message.