![USR IOT USR-N510 User Manual Download Page 68](http://html.mh-extra.com/html/usr-iot/usr-n510/usr-n510_user-manual_1064582068.webp)
User Manual
Your TrustWorthy Industrial IoT Partner
www.pusr.com
67
6.
Modbus TCP/RTU gateway
Modbus is one of the most popular automation protocols in the world, supporting traditional RS-232/422/485 devices and recently
developed Ethernet devices. Many industrial devices, such as PLCs, DCSs, HMIs, instruments, and meters, use Modbus as their
communication standard. In industrial applications, the most common protocol conversion is Modbus RTU to Modbus TCP conversion,
and it is usually required when legacy devices such as meters, mostly using Modbus RTU, need to be integrated with SCADA systems,
mostly using Modbus TCP.
Most modern PLCs and host computers support Modbus TCP over Ethernet. In order to access discrete Modbus RTU devices for data
collection and control, they can rely on the N5X0 Modbus gateway.
When connecting up Modbus devices via an RS485 network they should be daisy chained together, and a dual twisted pair cable are
recommended.The connections should be kept the same throughout the network: positive to positive, and negative to negative.
These may sometimes be labelled up as A and B. When wiring Modbus serial devices there is a limit of 32 per network,the master
device takes up an address on the network.The maximum length of the serial network cannot exceed 1200m regardless of boosters
and repeaters.
6.1.
Ethernet masters with serial slaves
When the host computer or PLC is Modbus TCP Master, the Modbus TCP function must be enabled, the remote device must work in
Modbus RTU Slave mode. The N5X0(TCP Server mode) supports Modbus TCP with up to 16 simultaneous connections. The serial
interface supports both RS-232 and RS-422/485, selectable through software. Each serial port can be connected to one RS-232 or
RS-422 serial device, or to 32 RS-485 serial devices. When connected with more than one RS485 devices,please refer to
for bus collision detection.
Fig. 81
Ethernet masters with multiple serial slaves
The device supports multiple hosts to query data from the slave in q&A mode. Please select modbus polling function as shown in
Fig.82. When USR-N5X0 Series serial device server does not receive a response from the serial port after a response timeout, the
device replies with an acknowledgement and then processes the next host request.
When you need to use long frame data frequently or have high data transmission requirements, please adjust the baud rate and
lengthen the sending interval appropriately to prevent the slow serial port from causing messy codes or packet loss.