![Modbus HD674-A003 User Manual Download Page 20](http://html1.mh-extra.com/html/modbus/hd674-a003/hd674-a003_user-manual_1817030020.webp)
Industrial
Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO:
www.adfweb.com
Phone +39.0438.30.91.31
User Manual
Modbus Slave / Modbus TCP Master - Converter
Document code: MN674-A003_ENG Revision 1.000 Page 20 of 30
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