RUT206 and RS485

Hi guys

I’m considering purchasing a RUT206 because I need to connect a device via RS485 and send hexadecimal codes to change its settings, which is my goal.
I’ll start by saying that my knowledge in this field is limited (if not worse), so my question is this:
Is it possible to send these hexadecimal commands to this device using the RUT206?
If so, could someone explain to me step-by-step how to configure it and send these codes?

Thank you

Best Regards

Greetings,

Yes, what you are looking to achieve should be possible with the RUT206. The standard method for this is to use the router’s “Serial Over IP” feature. This essentially turns the router into a transparent bridge, allowing you to send data from your computer over the network directly to the device connected to the RS485 port.

Here is the general process:

  1. Configure “Serial Over IP”: First, you will need to configure the router. You can find the necessary settings in the WebUI by navigating to Services > Serial Utilities > Over IP . Here, you will set the serial communication parameters (baud rate, etc.) to match your RS485 device and set up a TCP port for the router to listen on.

  2. Follow the Detailed Guide: For a complete, step-by-step walkthrough of every setting on that page, please refer to his article: RUT206 Serial Utilities - Teltonika Networks Wiki

  3. Send Commands from Your PC: After the router is configured, you will use a TCP client application on your computer to connect to the router’s IP address and the specific port you assigned. From this application, you can then send any string to the serial device.

Please let me know if this helps you. If your goal is to have the router send commands without a computer connected, that is also possible using another method. Just let me know, and I can explain that process as well.

Best Regards,
Justinas

Hi

Yes, you’ve been very helpful.
Now I’ll need to purchase this product and run the tests you described.
Is the TCP client application I’ll be using called Hercules?
Could you please explain how to send these commands even without a PC?
Thank you very much.

Best Regards

Greetings,

Yes, Hercules is one of the applications you could use.

To send commands directly from your router, you will need to log in to the device’s CLI. Instructions can be found here:

If you have already configured the serial connection(RUT206 Serial Utilities - Teltonika Networks Wiki)
you should be able to send echo or printf commands to the serial device. For example:

echo -n "command" > /dev/ttyS1

Best Regards,
Justinas

This topic was automatically closed after 60 days. New replies are no longer allowed.