Industrial
Electronic Devices
ADFweb.com S.r.l.
User Manual
Modbus Slave / Modbus TCP Master
Document code: MN67510_ENG Revision 2.100 Page 27 of 38
E
XAMPLE
1:
Taking the first row of Figure 6:
Step 1
: A serial Modbus master do the request to the Converter to read/write a
register from the serial slave Modbus ID 1;
Step 2
: The Converter sends to the TCP slave 192.168.0.18 the read/write request
using the TCP slave ID 5;
Step 3
: The slave TCP replies to the Converter with the data;
Step 4
: The Converter sends back the data on serial.
E
XAMPLE
2:
Taking the second row of Figure 4:
Step 1
: A serial Modbus master do the request to the Converter to read/write a
register from the serial slave Modbus ID 2;
Step 2
: The Converter sends to the TCP slave 192.168.0.19 the read/write request
using the TCP slave ID 1;
Step 3
: The slave TCP replies to the Converter with the data;
Step 4
: The Converter sends back the data on serial.
E
XAMPLE
3:
Taking the third row of Figure 4:
Step 1
: A serial Modbus master do the request to the Converter to read/write a register from the serial slave Modbus ID 4;
Step 2
: The Converter sends to the TCP slave 192.168.0.20 the read/write request using the TCP slave ID 4;
Step 3
: The slave TCP replies to the Converter with the data;
Step 4
: The Converter sends back the data on serial.
Note:
If the TCP slave responds with an exception, that exception code will be transmitted to the serial master. If the TCP slave does not
respond within the estimated time defined by the Timeout parameter, an exception response will be given: error code $36.
Figure 7: Chart of Request data from serial Modbus