I’m going to use a RUT956 router to send data gathered from my industrial devices to a custom IP/Port. How does it work? Should I go through RMS? Is there any tutorial on how to do that?
I’m going to develop my own monitoring system, which means I’ll need to access data sent by the RUT956 (Modbus RTU packets) on my server, i.e. I don’t want to be restricted to Teltonika server, rather want to access the data on my own server and then read the packets using HTTP(s) listeners.
I was told that it’s possible, but now I’m wondering how to do it.
Should it be done via Data to Server? Maybe I need to add the device to the RMS, and then I’ll be able to define my server IP & Port, but how and where should I enter the settings?
Yes, your setup is achievable using the Modbus Serial Client and Data to Server configurations.
Here are the steps:
Login to the router’s WebUI.
Navigate to Services → Modbus → Modbus Serial Client, enter a name for the Modbus Serial device instance, select the serial type (RS232/RS485), and press Add.
In the Serial Device Configuration window, configure the Baud rate, Parity, and other required parameters, then press Save & Apply.
Back on the Modbus Serial Client page, in the Modbus Devices section, add a new Modbus Server configuration, select the Serial Client device you created, and press Add.
In the Modbus Device Configuration window, set the Period for sending requests to the server device.
Scroll to the Request Configuration section, add a new Request, choose the Data type and Function, specify the First register number and Register Count, and enable it.
Test the request to confirm you can receive data from the server device.
Once your Modbus Serial Device is configured, enable the Data to Server feature to forward Modbus data to your HTTP(s) server:
Go to Services → Data to Server, add a new collection instance name, and press Add.
In the Data Configuration window, name the instance, select Type – Modbus, specify Custom or JSON data format, and proceed to Next: Collection Edit.
In Collection Configuration, keep the settings as they are, and move to Next: Server Configuration.
In the Server Configuration window, set your server’s Data Type – HTTP, enter the server’s IP and port (e.g., 192.168.1.69:5000), and click Save & Apply.
I hope this helps! If you have additional questions or need further assistance, please feel free to reach out.
Thanks for your reply.
Just one more point, you’ve mentioned a local IP (192.168.1.69), does it mean that the server should be in the range of local APN/VPN access or I can access any IP over internet?
At this point I’m not sure how would the final network look like, we may be using an APN or may want to send data to a remote server somewhere on the internet.