Changes

m
test borders 4653
Line 35: Line 35:  
#Press Test button in Request Configuration Testing to see if Slave device respond to requests, response similar to image below should be shown.
 
#Press Test button in Request Configuration Testing to see if Slave device respond to requests, response similar to image below should be shown.
 
#Press Save & Apply
 
#Press Save & Apply
[[File:Networking_MQTT_MODBUS_flespi_configuration_master_add_v1.png|alt=|border|1136x1136px]][[File:Networking_MQTT_MODBUS_flespi_configuration_master_afteradd_step_234567_v1.png|alt=|border|736x736px]][[File:Networking_MQTT_MODBUS_flespi_configuration_master_req_config8up_v1.png|alt=|border|1111x1111px]][[File:Networking_MQTT_MODBUS_flespi_configuration_master_req_testing_v1.png|alt=|border|1109x1109px]]
+
[[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|1109x1109px]]
   −
===Configuring Flespi.io MQTT Broker===
+
=== Configuring Flespi.io MQTT Broker===
 
----
 
----
 
Login or create an account on https://flespi.io
 
Login or create an account on https://flespi.io
Line 45: Line 45:  
Once logged in:
 
Once logged in:
   −
#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 an username
# Enter Client name
+
#Enter Client name
 
#Copy Host address
 
#Copy Host address
 
#Copy Username
 
#Copy Username
Line 62: Line 62:  
#Enter Host (copied from flespi connection settings without 'wss://' and port)
 
#Enter Host (copied from flespi connection settings without 'wss://' and port)
 
#Enter Username (Copied from flespi Connection settings generated token)
 
#Enter Username (Copied from flespi Connection settings generated token)
#Enter Password
+
# Enter Password
   −
[[File:Networking MQTT Modbus Rut configuration Mqtt gateway v1.png|border|class=tlt-border|1152x1152px]]
+
[[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''
Line 85: Line 85:  
|-
 
|-
 
|5. Port
 
|5. Port
|Port number (for example: '''502''')
+
| Port number (for example: '''502''')
 
|-
 
|-
 
|6. Timeout in seconds (time to wait for response)
 
|6. Timeout in seconds (time to wait for response)
|from '''1''' to '''999'''
+
| from '''1''' to '''999'''
 
|-
 
|-
|7. Slave ID - Indicates to which slave request is sent
+
| 7. Slave ID - Indicates to which slave request is sent
|from '''1''' to '''255'''
+
| from '''1''' to '''255'''
 
|-
 
|-
 
|8. Function
 
|8. Function
Line 97: Line 97:  
|-
 
|-
 
|9. Number of first register from which information will be read or written
 
|9. Number of first register from which information will be read or written
|from '''1''' to '''65535'''
+
| from '''1''' to '''65535'''
 
|-
 
|-
 
|10. Registry value
 
|10. Registry value
Line 117: Line 117:  
|}
 
|}
   −
===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
 
Login and navigate to MQTT Board on https://flespi.io
Line 161: Line 161:  
#Username: '''N/A'''
 
#Username: '''N/A'''
 
#Password: '''N/A'''
 
#Password: '''N/A'''
#Press '''Save & Apply'''
+
# Press '''Save & Apply'''
   −
[[File:Networking MQTT Modbus MQTT gateway config v1.png|border|class=tlt-border|1130x1130px]]
+
[[File:Networking MQTT Modbus MQTT gateway config v1.png|border|class=tlt-border|1090x1090px]]
    
===Configuring RUT240 MQTT Broker===
 
===Configuring RUT240 MQTT Broker===
Line 170: Line 170:  
Navigate to '''Services > MQTT > Broker'''
 
Navigate to '''Services > MQTT > Broker'''
   −
#Select '''Enable'''
+
# Select '''Enable'''
 
#Check '''Enable Remote Access'''
 
#Check '''Enable Remote Access'''
 
#Press '''Save & Apply'''
 
#Press '''Save & Apply'''
   −
[[File:Networking MQTT Modbus MQTT Broker RUTos config v1.png|border|class=tlt-border|1133x1133px]]
+
[[File:Networking MQTT Modbus MQTT Broker RUTos config v1.png|border|class=tlt-border|1079x1079px]]
    
===Testing MQTT Gateway===
 
===Testing MQTT Gateway===

Navigation menu