EtherCAT to Modbus RTU Gateway
Copyright © 2017 ICP DAS CO., Ltd. All Rights Reserved.
-
90 -
DA_Addr02_3.txt
The
DA_Addr02_3.txt
support 8 typical Modbus RTU commands (AO0 to AO3 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 =
8
Commands
[01]
to
[04]
[05] Modbus RTU Command, PDO[Addr], Update Mode, =
02 03 00 40 00 01, 00, 00,
[06] Modbus RTU Command, PDO[Addr], Update Mode, =
02 03 00 41 00 01, 02, 00,
[07] Modbus RTU Command, PDO[Addr], Update Mode, =
02 03 00 42 00 01, 04, 00,
[08] Modbus RTU Command, PDO[Addr], Update Mode, =
02 03 00 43 00 01, 06, 00,
To get command of read AO0 to AO3 is given as follows: (see Figure A2-11)
NOTE:
command details.
Figure A2-11