Changes

no edit summary
Line 14: Line 14:  
===Configuring RUT955 Modbus TCP Slave===
 
===Configuring RUT955 Modbus TCP Slave===
 
----
 
----
Go to '''Services > Modbus > Modbus TCP Slave''':
+
Go to '''Services Modbus Modbus TCP Slave''':
    
#Check '''Enable'''
 
#Check '''Enable'''
Line 28: Line 28:  
===Configuring RUT955 Modbus TCP Master===
 
===Configuring RUT955 Modbus TCP Master===
 
----
 
----
Go to '''Services > Modbus > Modbus TCP Master'''
+
Go to '''Services Modbus Modbus TCP Master'''
    
#Press '''Add'''
 
#Press '''Add'''
 
# Check '''Enable'''
 
# Check '''Enable'''
# Enter name for slave device
+
# Enter name for the slave device
# Slave ID must match with previously configured Slave device ID
+
# Slave ID must match with the previously configured Slave device ID
#Enter IP address of Modbus TCP Slave device
+
#Enter the IP address of Modbus TCP Slave device
 
#Chose same Port as in Slave device - 502
 
#Chose same Port as in Slave device - 502
#Enter Period in seconds, how often requests will be sent to Slave device
+
#Enter Period in seconds, how often requests will be sent to the Slave device
 
#Enter new request name and press '''Add''' in Requests configurations
 
#Enter new request name and press '''Add''' in Requests configurations
 
#Choose Data type and Function, enter First register/coil/input to be read or written and Register count. You can name each individual configuration, and then select enable on configurations that you want to use. In this example, register to get WAN IP address of the slave device is used.
 
#Choose Data type and Function, enter First register/coil/input to be read or written and Register count. You can name each individual configuration, and then select enable on configurations that you want to use. In this example, register to get WAN IP address of the slave device is used.
#Press Test button in Request Configuration Testing to see if Slave device respond to requests, response similar to image below should be shown.
+
#Press the Test button in Request Configuration Testing to see if the Slave device responds to requests, a response similar to the image below should be shown.
 
#Press Save & Apply
 
#Press Save & Apply
 
[[File:Networking_MQTT_MODBUS_flespi_configuration_master_add_v1.png|alt=|border|class=tlt-border|1015x1015px]][[File:Networking_MQTT_MODBUS_flespi_configuration_master_afteradd_step_234567_v1.png|alt=|border|class=tlt-border|691x691px]][[File:Networking_MQTT_MODBUS_flespi_configuration_master_req_config8up_v1.png|alt=|border|class=tlt-border|1008x1008px]][[File:Networking_MQTT_MODBUS_flespi_configuration_master_req_testing_v1.png|alt=|border|class=tlt-border|1002x1002px]]
 
[[File:Networking_MQTT_MODBUS_flespi_configuration_master_add_v1.png|alt=|border|class=tlt-border|1015x1015px]][[File:Networking_MQTT_MODBUS_flespi_configuration_master_afteradd_step_234567_v1.png|alt=|border|class=tlt-border|691x691px]][[File:Networking_MQTT_MODBUS_flespi_configuration_master_req_config8up_v1.png|alt=|border|class=tlt-border|1008x1008px]][[File:Networking_MQTT_MODBUS_flespi_configuration_master_req_testing_v1.png|alt=|border|class=tlt-border|1002x1002px]]
Line 52: Line 52:     
#Navigate to MQTT Board on the left side of the screen and press it.                                              [[File:Networking MQTT Modbus flespi board.png|301x301px]]
 
#Navigate to MQTT Board on the left side of the screen and press it.                                              [[File:Networking MQTT Modbus flespi board.png|301x301px]]
#On the right hand panel, top right corner, next to the name of the MQTT board, press the cogwheel looking icon to open ''Connection Settings''
+
#On the right-hand panel, top right corner, next to the name of the MQTT board, press the cogwheel-looking icon to open ''Connection Settings''
#In the opened window, press "Get flespi token" to generate an username
+
#In the opened window, press "Get flespi token" to generate a username
 
#Enter Client name
 
#Enter Client name
 
#Copy Host address
 
#Copy Host address
Line 63: Line 63:  
===Configuring MQTT Gateway on RUT955 Modbus TCP Master===
 
===Configuring MQTT Gateway on RUT955 Modbus TCP Master===
 
----
 
----
Open routers WebUI and navigate to Services > Modbus > MQTT Gateway
+
Open routers WebUI and navigate to Services Modbus MQTT Gateway
    
#Select Enable
 
#Select Enable
Line 72: Line 72:  
[[File:Networking MQTT Modbus Rut configuration Mqtt gateway v1.png|border|class=tlt-border|1058x1058px]]
 
[[File:Networking MQTT Modbus Rut configuration Mqtt gateway v1.png|border|class=tlt-border|1058x1058px]]
   −
''You can change Request and Response topics that you will have to publish and subscribe to get information from Modbus TCP Master through MQTT Gateway, but for this example they are left on default topics''
+
''You can change Request and Response topics that you will have to publish and subscribe to get information from Modbus TCP Master through MQTT Gateway, but for this example, they are left on default topics''
    
===Message format for MQTT publisher ===
 
===Message format for MQTT publisher ===
 
----
 
----
Format is in text - heavier and slower, but less difficult to edit.
+
The format is in the text - heavier and slower, but less difficult to edit.
 
{| class="wikitable"
 
{| class="wikitable"
 
| 1.  Format version
 
| 1.  Format version

Navigation menu