User Manual
Modbus TCP/EtherNet IP Gateway
GT200-MT-EI
WWW.SSTCOMM.COM
34
6 Working Principle of Modbus TCP Slave
6.1 Working Principle
Data exchange of Modbus TCP and EtherNet/IP of GT200-MT-EI is set up through “mapping”. There are
two data buffer areas, one is EtherNet/IP network input buffer and the other is EtherNet/IP network output buffer.
Network input and output buffer is all for EtherNet/IP. When the gateway is Modbus TCP slave, Modbus write
register command will write the read data to the network input buffer for EtherNet/IP accessing. Modbus read
command gets data from network output buffer and export to the Modbus TCP master equipment through
response message.
The gateway acts as Modbus TCP slave, support function: 03H, 04H, 06H and 10H.
Network input buffer is Modbus TCP master output at the Modbus TCP side. It is mapped to the Modbus
read holding register. Users can use No.3 command to read back. It supports 03H, 06H and 10H function code.
Register starting address is 40001(0).
Network output buffer is Modbus TCP master input. It is mapped to Modbus input register. Users can use
No.4 function code to read data. It supports 04H function code. Register starting address is 30001 (0).
6.2 Network Status Monitor
When the gateway acts as Modbus TCP slave, it has the network status monitor function. Described as
Network input buffer
Network output buffer
… …
0004H
0001H
0000H
0002H
0003H
0005H
0006H
0006H
0004H
0001H
0002H
0000H
0003H
0005H
… …
Modbus
Write command 06,10H
Modbus
read command: 04H
Modbus
read command: 04H
Modbus
read command: 03H