Changes

Line 31: Line 31:  
Go to '''Services → Modbus → Modbus TCP Master'''
 
Go to '''Services → Modbus → Modbus TCP Master'''
   −
#Press '''[[File:Add Button.png|48px]]'''  
+
1. Press '''[[File:Add Button.png|48px]]'''  
 
[[File:MQTT gateway modbus client configuration v1.png|border|class=tlt-border|1100px]]
 
[[File:MQTT gateway modbus client configuration v1.png|border|class=tlt-border|1100px]]
#Check '''Enable'''
+
2. Check '''Enable'''
#Enter the name for the slave device
+
3. Enter the name for the slave device
#Slave ID must match with the previously configured Slave device ID
+
4. Slave ID must match with the previously configured Slave device ID
#Enter the IP address of the Modbus TCP Slave device
+
5. Enter the IP address of the Modbus TCP Slave device
#Chose same Port as in Slave device - 502
+
6. Chose same Port as in Slave device - 502
#Enter Period in seconds, how often requests will be sent to the Slave device
+
7. Enter Period in seconds, how often requests will be sent to the Slave device
 
[[File:MQTT gateway modbus client configuration.png|border|class=tlt-border|1100px]]
 
[[File:MQTT gateway modbus client configuration.png|border|class=tlt-border|1100px]]
#Enter new request name and press '''Add''' in Requests configurations
+
8. 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 Routers name is used.
+
[[File:MQTT gateway modbus client configuration v2.png|border|class=tlt-border|1100px]]
 +
9. 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 Routers name is used.
 
#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 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
Line 47: Line 48:       −
[[File:MQTT gateway modbus client configuration v2.png|alt=|border|class=tlt-border|1100px]]
+
 
 
[[File:MQTT gateway modbus client configuration v3.png|alt=|border|class=tlt-border|1100px]]
 
[[File:MQTT gateway modbus client configuration v3.png|alt=|border|class=tlt-border|1100px]]
  

Navigation menu