![Modbus HD674-A003 Скачать руководство пользователя страница 21](http://html1.mh-extra.com/html/modbus/hd674-a003/hd674-a003_user-manual_1817030021.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 21 of 30
W
ORK WITH
F
IX
IP
A
DDRESS
:
Using this function, the converter can be seen like a single serial Modbus slave. The address of Modbus is assigned in the “Set
Communication” section.
In this working mode it is not necessary to compile a Translate Table; every request that arrives on serial is transferred on TCP (using TCP
format of frame) to the slave with the IP address defined in the “Set Communication” section.
E
XAMPLE
1:
Using the configuration of Figure 3:
Step 1
: A serial Modbus master do the request to the Converter to
read/write a register from the RTU Slave Address 1;
Step 2
: The Converter sends to the TCP slave 192.168.0.20 the
read/write request;
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 8: Chart of Request data from serial Modbus