Changes

no edit summary
Line 1: Line 1:  
__TOC__
 
__TOC__
 
==Summary==
 
==Summary==
In this guide Modbus TCP master MQTT Gateway function will be configured with two different types of MQTT Brokers. First using third party MQTT Broker services (in this example ''Flespi.io''). Second using RUT240 router as MQTT Broker. Two RUT955 routers will be used as Modbus TCP Master and Slave, and PC acts as MQTT Publisher and Subscriber.
+
In this guide, Modbus TCP master MQTT Gateway function will be configured with two different types of MQTT Brokers. First using third-party MQTT Broker services (in this example ''Flespi.io''). Second, using the RUT240 router as MQTT Broker. Two RUT955 routers will be used as Modbus TCP Master and Slave, and the PC acts as MQTT Publisher and Subscriber.
    
==Configuration overview & prerequisites==
 
==Configuration overview & prerequisites==
Line 32: Line 32:  
#Press '''Add'''
 
#Press '''Add'''
 
# Check '''Enable'''
 
# Check '''Enable'''
# Enter name for the slave device
+
# Enter the name for the slave device
 
# Slave ID must match with the previously configured Slave device ID
 
# Slave ID must match with the previously configured Slave device ID
#Enter the IP address of Modbus TCP Slave device
+
#Enter the IP address of the 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 the Slave device
 
#Enter Period in seconds, how often requests will be sent to the Slave device
Line 65: Line 65:  
#Create a password
 
#Create a password
 
#Press Save
 
#Press Save
[[File:Networking MQTT Modbus flespi board.png|border|class=tlt-border|544x544px]] [[File:Networking MQTT modbus fespi Connection settings v1.png|border|class=tlt-border|544x544px]]  
+
[[File:Networking MQTT modbus fespi Connection settings v1.png|border|class=tlt-border|544x544px]] [[File:Networking MQTT Modbus flespi board.png|border|class=tlt-border|544x544px]]  
    
=== Configuring MQTT Gateway on RUT955 Modbus TCP Master===
 
=== Configuring MQTT Gateway on RUT955 Modbus TCP Master===
Line 108: Line 108:  
|'''3''' - read registers; '''6''' - write single register; '''16''' - write multiple registers
 
|'''3''' - read registers; '''6''' - write single register; '''16''' - write multiple registers
 
|-
 
|-
|9. Number of first register from which information will be read or written
+
|9. Number of the first register from which information will be read or written
 
|from '''1''' to '''65535'''
 
|from '''1''' to '''65535'''
 
|-
 
|-
Line 131: Line 131:  
===Testing MQTT Publisher and Subscriber on flespi.io===
 
===Testing MQTT Publisher and Subscriber on flespi.io===
 
----
 
----
Login and navigate to MQTT Board on https://flespi.io
+
Log in and navigate to MQTT Board on https://flespi.io
    
Add a Subscriber:
 
Add a Subscriber:

Navigation menu