FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
1,440 views 0 comments
by
Hi

We have RUT955. We want to connect Modbus RTU devices to it using RS485. How do we get data from these devices using RUT955?

Example:

We connect a pressure sensor to the RUT955 and using another pc via TCP port 502 and IP of the RUT955 we want to read at slave address 12 of the sensor.

What are the pin configuration of the RS485 port?

1 Answer

0 votes
by anonymous

Hello,

You can find RS485 pin out and connection diagram here:   https://wiki.teltonika.lt/view/RS232/RS485#RS485_connector_pin-out

If you are planing to have only one RS485 device connected to the RUT955, then in "Services -> RS232/RS485 -> RS485" menu you can use "Serial type: Over IP" mode + "Mode: Server", which would allow you reach your RS485 device (connected to RUT955) via router's Public IP and specified port, as if it would be connect to your computer directly (i.e. you would be able to establish "virtual serial port" connection between computer and the router, which would allow your to reach your RS485 pressure sensor)

You can also use "Serial type: Modbus gateway" mode, which would allow you to connect more than one RS485 device to the router.

Take note that by default all communication between RS485 device and external devices (e.g. computer) are not permitted. To reach your RS485 device remotely, you have to add "WAN" interface in the bottom of router's "Services -> RS232/RS485 -> RS485" menu:

Best answer