User Manual
PROFIBUS DP Modbus TCP
/
Gateway
GT200-DP-MT
WWW.SSTCOMM.COM
12
5 Working Principle of Modbus TCP Slave
Data exchange of Modbus TCP and PROFIBUS DP of GT200-DP-MT is set up through “mapping”. There
are two data buffer areas, one is PROFIBUS DP network input buffer and the other is PROFIBUS DP network
output buffer. Network input and output buffer is all for PROFIBUS DP. When the gateway acts as Modbus TCP
slave, Modbus write register command will write the read data to the network input buffer for PROFIBUS DP
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. Users can select 03H
function code to read the data PROFIBUS DP master outputted or use 04H function code to read he data
PROFIBUS DP master outputted.
Network input buffer is Modbus TCP master output at the Modbus TCP side. It is mapped to the Modbus
holding register. Users can use No.3 command or No.4 command to read back. Users can select command No. in
the configuration software.
Network output buffer is Modbus TCP master input. It is mapped to Modbus input register. Users can use
No.4 or No.3 function code to read data. Users can select command No. in the configuration software.
5.1 Network Status Monitoring
When the gateway is a Modbus TCP slave, the gateway has the function of monitoring the network status.
When the monitoring is enabled, the first word of input buffer is used as counter which record the number of
TCP connections.
PROFIBUS
Input buffer
PROFIBUS
Output buffer
… …
0004H
0001H
0000H
0002H
0003H
0005H
0004H
0001H
0002H
0000H
0003H
0005H
… …
Modbus
Write
command 06,10H
Modbus
Read command
03H or 04H
Modbus
Read command
03H or 04H
Modbus
Read command
03H or 04H