Sending commands to a RUT956 via HTTP

Hi dear support,

So far I’ve been able to read the HTTP packets sent by the RUT956 on the server, it means I can monitor the Modbus data collected by the devices connected to the router, now I’m going to the next level and plan to send commands to the devices via HTTP to my router so the devices connected to it can be triggered (via Modbus).
Is it also possible and if yes do you have any documents or samples giving me the idea about how it can be done?

Do I need static IPs or APN on the router? I’ve seen HTTP APIs also, is it the way to go or are there any other options available also?

Thanks in advance & kind regards

Hello,

Yes, your scenario of sending an HTTP request to trigger a Modbus TCP/RTU request can be achieved using API calls.

You can find the API documentation for Modbus calls here: RUT956 Modbus API.

If the device can be accessed only remotely, then a public IP will be required for executing API calls.

Best regards,

Hi,

Thanks for the quick response, OK so I need to go through the documentation to find out more about it. Just one question concerning the BETA phrase displayed on the APIs page, can we start using them with peace of mind or we need to wait until the final version is out there? We’re going to control some industrial devices using the Modbus protocol attached to the RUT.

Thanks & regards

Hi there,

Yes, you can definitely use the API even though it is labeled as BETA, it will work.

If you encounter any issues or have further questions, feel free to reach out.

Best regards,