EtherCAT to Modbus RTU Gateway
Copyright © 2017 ICP DAS CO., Ltd. All Rights Reserved.
-
91 -
DA_Addr02_4.txt
The
DA_Addr02_4.txt
support 2 typical Modbus RTU commands (read all AO Readback) as follows:
(The M-7024 module is used as an example.)
For Example,
Baud rate =
9600
, Parity =
N
(None), Stop Bit =
1
, Number of command =
2
Command
[01]
[02] Modbus RTU Command, PDO[Addr], Update Mode, =
02 03 00 40 00 04, 00, 00,
NOTE:
Refer to Chapter 5 “Modbus Information” for Modbus RTU command details.
The addressing mapping of all AO readback is given as follows:
DA channel
High Byte
Low byte
0
InTxPDO[01]
InTxPDO[00]
1
InTxPDO[03]
InTxPDO[02]
2
InTxPDO[05]
InTxPDO[04]
3
InTxPDO[07]
InTxPDO[06]