This section consists of the following:
Connecting the Modbus RTU Interface
You can connect either RS-485 interface on a SmartServer IoT Pro EX to a Modbus RTU channel.
Note: You can only enable the Modbus interface on one RS-485 interface. That include the RS-485 interfaces on both the SmartServer and any attached IOX I/O Expander Modules. If you enable the Modbus RTU interface on an IOX module, you cannot enable it on the SmartServer RS-485 1 or 2 interfaces, or any other attached IOX module. The default is to use the SmartServer RS-485 1 interface.
To connect a SmartServer RS-485 interface to a Modbus RTU channel, connect the RT+ and RT- receive/transmit data terminals and the SC signal common terminal to your RS-485 network. You can optionally connect the SC terminal to earth ground at only one device on the RS-485 network.
If you are using your SmartServer IoT as the earth ground reference, connect the earth ground input on the power supply input to earth ground, and connect the earth ground terminal on the RS-485 connector to the SC terminal with a jumper wire.
The RS-485 channel requires line termination as defined by the RS-485 standard. Line termination is not provided by the SmartServer IoT.
Configuring the Modbus RTU Interface
The RS-485 Configuration is available with the SmartServer IoT Pro EX Edition. This page displays the settings for RS-485 port 1 and RS-485 port 2, including bus type, baud rate, parity, and stop bits. Status and progress information is also displayed. By default, the channels are configured to support Modbus RTU.
Note: Modbus can only be configured on one RS-485 port (default is port 1).
Setting the Modbus RTU Configuration
To set the Modbus RTU device configuration settings, follow these steps:
- Open the SmartServer Configuration page as described in Configure Your SmartServer.
- Click RS-485 at the top of the page. The RS-485 Configuration tab is displayed, as shown here:
- Select Modbus for the Bus Type for either RS-485 1 or RS-485 2. By default, Modbus is selected for RS-485 1.
- Set the bit rate (labeled Baud Rate), parity, and stop bits that you use on your Modbus RTU channel. The bit rate, parity, and stop bits must be the same for all devices on the Modbus RTU channel. The default settings are 19200 bps, no parity, and 2 stop bits.
- Click Update to save your changes to RS-485 configuration settings.