Addr02_2.Txt - ICPDAS ECAT-2610 User Manual

Ethercat to modbus rtu gateway
Table of Contents

Advertisement

EtherCAT to Modbus RTU Gateway
DA_Addr02_2.txt
The DA_Addr02_2.txt support 1 typical Modbus RTU commands (Write all AO) as follows:
For Example,
Baud rate = 9600, Parity =
[01] Modbus RTU Command, PDO[Addr], Update Mode, =
The M-7024 module is used as an example, its support 4 channels of 16-bit DA. The address
mapping is given as follows:
DA channel
0
OutRxPDO[01]
1
OutRxPDO[03]
2
OutRxPDO[05]
3
OutRxPDO[07]
To get command of write all AO is given as follows: (see Figure A2-10)
Copyright © 2017 ICP DAS CO., Ltd. All Rights Reserved.
N
(None), Stop Bit = 1, Number of command =
High Byte
1
02 10 00 00 00 04 08 12 34 12 34 12 34 12 34, 00, 00,
Low byte
OutRxPDO[00]
OutRxPDO[02]
OutRxPDO[04]
OutRxPDO[06]
NOTE: Refer to
"Modbus Information"
Modbus RTU command details.
Figure A2-10
Chapter 5
for
- 89 -

Advertisement

Table of Contents
loading

Table of Contents