Modbus TCP Server Send SMS example: Difference between revisions
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
[[File:Networking rut configuration modbus tcp slave v1.png|border|class=tlt-border|1100px]] | [[File:Networking rut configuration modbus tcp slave v1.png|border|class=tlt-border|1100px]] | ||
'''Explanation:''' | |||
# Enable the Modbus TCP Slave | # Enable the Modbus TCP Slave | ||
# Select the port on which Modbus TCP Slave will communicate with the Modbus TCP Master (for this example: 502) | # Select the port on which Modbus TCP Slave will communicate with the Modbus TCP Master (for this example: 502) | ||
# Enable persistent connection (not mandatory) | # Enable persistent connection (not mandatory) | ||
---- | |||
===Configuring Modbus TCP Master=== |
Revision as of 14:49, 24 January 2023
Main Page > General Information > Configuration Examples > Modbus > Modbus TCP Server Send SMS exampleIntroduction
The information on this page is updated in accordance with 00.07.03.2 firmware version. .
Modbus is a serial communications protocol. Simple and robust, it has become a de facto standard communication protocol and is now a commonly available means of connecting industrial electronic devices.
In this configuration example, we will configure Modbus TCP Slave and Modbus TCP Master. We will send a Set Parameters request from Modbus TCP Master to Modbus TCP Slave, which will send an SMS message provided in the Modbus TCP Master Set PArameter request.
If you're having trouble finding this page or some of the parameters described here on your device's WebUI, you should turn on "Advanced WebUI" mode. You can do that by clicking the "Basic" button under "Mode", which is located at the top-right corner of the WebUI.
Prerequisites
- At least one TRB/RUT device with the SIM card, for this example we will be using one device
- One end device (PC, Laptop, Tablet, Smartphone) to configure the router
- One Mobile Phone in order to test the configuration
Configuring Modbus TCP Slave and Modbus TCP Master
Firstly, we will configure Modbus TCP Slave on the router and then on the same device we will configure Modbus TCP Master in order to send Modbus requests to the same device.
Configuring Modbus TCP Slave
In order to start our configuration you will need to open your device's WebUI (by entering the device's IP address of your device), then navigate to Services → Modbus → Modbus TCP Slave.
In order to configure Modbus TCP Slave follow the steps provided below:
Explanation:
- Enable the Modbus TCP Slave
- Select the port on which Modbus TCP Slave will communicate with the Modbus TCP Master (for this example: 502)
- Enable persistent connection (not mandatory)