I-7530A-MR Modbus RTU to CAN
Converter User’s Manual (Version 1.08, 07/2019) ------------- 83
6.2.2.2
Using function Code 06
hex
to send a CAN message
Users can use Modbus RTU commands (function code 06
hex
) to transmit a
CAN message by writing the Output Register of the I-7530A-MR (the data
format must follow the table 5-5). The start address of the Modbus command is
always 0000
hex
. Using function code 06
hex
to
transmit a CAN message is
divided into 8 steps. Following, this manual will use an example to illustrate how
to transmit a CAN message via function Code 06
hex
.When you want to transmit
a CAN message, you must fill output bytes with TX CAN Message formats
according to order of priority. For example: If you want to transmit a CAN
message with CAN ID 0x12345678, 8 bytes Data 0x11, 0x22, 0x33, 0x44, 0x55,
0x66, 0x77, and 0x88, the setting is as following: