EtherCAT to Modbus RTU Gateway
Copyright © 2017 ICP DAS CO., Ltd. All Rights Reserved.
-
84 -
DIO_Addr01_5.txt
The
DIO_Addr01_5.txt
support 19 typical Modbus RTU commands (High/Low_Latch) as follows:
For Example,
Baud rate =
115200
, Parity =
N
(None), Stop Bit =
1
, Number of command =
19
Commands
[01]
to
[16]
[17] Modbus RTU Command, PDO[Addr], Update Mode, =
01 01 00 40 00 07, 15, 00,
[18] Modbus RTU Command, PDO[Addr], Update Mode, =
01 01 00 60 00 07, 16, 00,
[19] Modbus RTU Command, PDO[Addr], Update Mode, =
01 05 01 00 FF 00, 02, 01,
The address mapping is given as follows:
DI Latch
Address
Clear Counter
Latch High
InTxPDO[15]
OutRxPDO[02].bit0
Latch Low
InTxPDO[16]
OutRxPDO[02].bit0