EtherCAT to Modbus RTU Gateway
Copyright © 2017 ICP DAS CO., Ltd. All Rights Reserved.
-
77 -
115200_N81_INIT.txt
The
115200_N81_INIT.txt
is initial commands.txt (no command) as follows:
For Example,
Baud rate =
115200
, Parity =
N
(None), Stop Bit =
1
, Number of command =
0
9600_N81.txt
The
9600_N81.txt
support 2 typical Modbus RTU commands (Write DO and Read DI) as follows :
For Example,
Baud rate =
9600
, Parity =
N
(None), Stop Bit =
1
, Number of command =
2
[01] Modbus RTU Command, PDO[Addr], Update Mode, =
01 0F 00 00 00 08 01 00, 00, 00,
This command will read OutRxPDO[00] and send Module RTU command to DO module.
To get command of write DO is given as follows (see Figure A2-2):
1. Select module (M7000 DI/DO module)
2. Select command
3. Copy Modbus RTU command to commands.txt