Industrial
Electronic Devices
ADFweb.com S.r.l.
User Manual
Modbus Slave / Modbus TCP Master
Document code: MN67510_ENG Revision 2.100 Page 28 of 38
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