When first configuring (or on occasion after setup is complete), you may see an error indicating “RX Timeout!” when sending a command or poll to the Serial MODBUS Gateway. This indicates there is a communication error and is generally a result of a configuration or wiring issue. This article will provide steps for troubleshooting this issue.
To check the gateway’s communication response with the Serial Modbus Gateway Utility: select Gateway Commands > Check Wireless State. If there is a communication error, you will see show in the log toward the bottom of the window.
Confirm the wires from the gateway are connected to the USB dongle as per the following image.
If the wires are already connected to the dongle, remove and reconnect them, being sure to check for broken wires (which can be a common issue).
CONNECTING TO A USB PROGRAMMING DONGLE
Monnit provides Modbus configuration software that presents a GUI to the user and makes
interfacing to the Modbus gateway easy. Monnit also provides a USB to RS485 dongle to
connect the hardware to a PC. To use the USB to RS485 dongle, connect the wires from
the Modbus gateway as shown in the illustration below.
White - Signal Ground
Red - 4.5 – 36 VDC
Green - Receive
Orange - Transmit
Black - 4.5 – 36 VDC
Note: The white wire is not used with the USB programming dongle. The white should be left unconnected
but protected to prevent accidental shorting.
Any COM port in a computer may be used with the software.
The USB driver for this device can be downloaded at: ftdichip.com/Drivers/VCP.htm.
Select the version that is compatible with your PC operating system.
Download the most recent version of the Serial Modbus Gateway Configuration Utility V3.2 here.
Confirm the Serial Modbus Gateway Configuration Utility V3.2 has the following configurations:
Modbus ID: 95
Be sure the RS-485 USB Dongle is plugged into a USB port on the computer (preferred over USB Hub) where it can received power, swap ports if needed.
Confirm you are operating in Windows 8 or 10 operating system.
Confirm Driver is version 126.96.36.199.
The setup executable for the correct driver version can be found here.
- Launch Device Manager (steps for this can be found here).
- Locate the category Ports COM & LPT and expand it.
- Locate the USB Serial Port (COMx) item, right click, and select Properties.
- Click the Driver tab.
- Confirm the Driver Version is listed as 188.8.131.52.
If you see a different version of the driver, proceed to uninstall and delete the existing driver version. Step for this can be found here.
Manual installation driver files can be found here.
- Set Baud rate and other configuration of USB Dongle to 19200
In the USB Serial Port (COMx) Properties > Port Settings tab, enter the following configuration, then select OK.
-Bits per second: 19200
-Data bits: 8
-Stop bits: 1
-Flow control: None
Confirm Jumper is off (on is RS-232 which is not supported by the RS-485 dongle)
As per page 7 of the Serial MODBUS Gateway User’s Guide, confirm the jumper is off. No Jumper is RS-485, jumper on is RS-232C.
If the issue persists at this point, reset the gateway to the default settings.
In the Serial Modbus Gateway Utility, select Gateway Commands > Reset to Factory Configurations. Go through the steps above to test again.
Note: this will clear out existing sensors that have been added to the Wireless Device List.