EtherCAT to Modbus RTU Gateway
Copyright © 2017 ICP DAS CO., Ltd. All Rights Reserved.
-
83 -
The M-7050 module is used as an example, it support seven event counters. The commands [03] to
[16] that read these seven event counters cyclically. If the bit0 to bit6 of OutRxPDO[01] is rising, the
related event counter 0 To 6 will be clear to zero once.
The address mapping of these 7 event counters are given as follows:
Event Counter
High Byte
Low Byte
Clear Counter
0
InTxPDO[02]
InTxPDO[01]
OutRxPDO[01].bit0
1
InTxPDO[04]
InTxPDO[03]
OutRxPDO[01].bit1
2
InTxPDO[06]
InTxPDO[05]
OutRxPDO[01].bit2
3
InTxPDO[08]
InTxPDO[07]
OutRxPDO[01].bit3
4
InTxPDO[10]
InTxPDO[09]
OutRxPDO[01].bit4
5
InTxPDO[12]
InTxPDO[11]
OutRxPDO[01].bit5
6
InTxPDO[14]
InTxPDO[13]
OutRxPDO[01].bit6
NOTE:
Chapter 5 “Modbus Information”
for Modbus RTU command details.