EtherCAT to Modbus RTU Gateway
Copyright © 2017 ICP DAS CO., Ltd. All Rights Reserved.
-
86 -
DIO_Addr01_6.txt
The
DIO_Addr01_6.txt
support 8 typical Modbus RTU commands (Write DO Bit0 to Bit7) as follows:
For Example,
Baud rate =
115200
, Parity =
N
(None), Stop Bit =
1
, Number of command =
8
[01] Modbus RTU Command, PDO[Addr], Update Mode, =
01 05 00 00 FF 00, 00, 00,
[02] Modbus RTU Command, PDO[Addr], Update Mode, =
01 05 00 01 FF 00, 00, 00,
[03] Modbus RTU Command, PDO[Addr], Update Mode, =
01 05 00 02 FF 00, 00, 00,
[04] Modbus RTU Command, PDO[Addr], Update Mode, =
01 05 00 03 FF 00, 00, 00,
[05] Modbus RTU Command, PDO[Addr], Update Mode, =
01 05 00 04 FF 00, 00, 00,
[06] Modbus RTU Command, PDO[Addr], Update Mode, =
01 05 00 05 FF 00, 00, 00,
[07] Modbus RTU Command, PDO[Addr], Update Mode, =
01 05 00 06 FF 00, 00, 00,
[08] Modbus RTU Command, PDO[Addr], Update Mode, =
01 05 00 07 FF 00, 00, 00,
To get command of write DO Bit0 to
Bit7 is given as the right-hand Figure
A2-8.
NOTES:
Chapter 5 “Modbus Information”
for Modbus RTU command details.
2.
It is not recommended to use bit command.
Figure A2-8