Gateway component for EtherNet_IP
22 / 25
5.4 Configuration of Modbus TCP
You can also use these gateway components as a protocol converter
for Modbus TCP.
Functions
The following Modbus functions are implemented:
Function code
Description
0x01
read coils
0x02
read discrete inputs
0x05
write single coil
0x0f
write multiple coils
0x03
read holding registers
0x04
read input registers
0x06
write single register
0x10
write multiple registers
0x16
mask write register
0x17
read/write multiple registers
Register
The following registers are implemented in the gateway component:
Address area Function
Access
1-240
Input register, receives values of the partner
gateway component.
Read only
1025-1264
Input register, sends values to the partner
gateway component.
Read/write
40001-40240
Input register, compatible with Siemens con-
trollers
Read only
30001-30240
Output register, compatible with Siemens con-
trollers
Read/write
4097
Status of the partner gateway component
Read only
0x01
Hardware is initialized and checked
0x02
Connection to the partner gateway
component is checked
0x03
The opposite side is detected
0x04
Interface to the partner gateway com-
ponent functions.
Configuration