Using Modbus Rtu Command To Send A Can Message; Using Function Code; Hex To Send A Can Message - ICP DAS USA I-7530A-MR-G User Manual

Rtu to can
Table of Contents

Advertisement

6.2.2 Using Modbus RTU command to send a CAN message

If users need to send CAN messages via the Modbus RTU commands, users
need to send the Modbus RTU command with the "TX CAN message" format
to the Output Register of the I-7530A-MR. Then the I-7530A-MR will transfer
this command to a CAN message format and send it to the buffer of the CAN
controller. The CAN controller will send the CAN message automatically which
the CAN bus is idle. There are two method for transmitting a CAN message via
Modbus RTU command and this manual will illustrate them at next sectn.

6.2.2.1 Using function Code 10

to send a CAN message
hex
Users can use Modbus RTU commands (function code 10
) to transmit a
hex
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
, and the Word count and Byte count are always 07
and 0D
hex
hex
respectively.
hex
Example:
Use the Modbus RTU command (function code 10
) to transmit a CAN
hex
message to the CAN network:
Figure 6-5: Transmit a CAN message.
I-7530A-MR Modbus RTU to CAN Converter User's Manual (Version 1.08, 07/2019) ------------- 81

Advertisement

Table of Contents
loading

This manual is also suitable for:

I-7530a-mr

Table of Contents