Changes

m
Line 22: Line 22:     
[[File:Networking_rut955_configuration_modbus_serial_topology_2_v1.png|border|class=tlt-border|700x700px]]
 
[[File:Networking_rut955_configuration_modbus_serial_topology_2_v1.png|border|class=tlt-border|700x700px]]
   
{{Template:Networking install Modbus serial RutOS}}
 
{{Template:Networking install Modbus serial RutOS}}
   
==Configuring Modbus serial slave device==
 
==Configuring Modbus serial slave device==
   Line 46: Line 44:  
Open router’s WebUI, navigate to '''Services > Modbus > Modbus Serial Master''' and apply the following configuration.
 
Open router’s WebUI, navigate to '''Services > Modbus > Modbus Serial Master''' and apply the following configuration.
   −
[[File:Modbus_serial_rut955_1.png|border|class=tlt-border]]
+
[[File:Modbus_serial_rut955_1.png|border|class=tlt-border|1100x700px]]
    
# Press '''Enable'''.
 
# Press '''Enable'''.
Line 55: Line 53:  
Now create '''RS232 slave''' by writing a name, pressing '''Add''' button. It should appear like in the example and then press '''Edit'''.
 
Now create '''RS232 slave''' by writing a name, pressing '''Add''' button. It should appear like in the example and then press '''Edit'''.
   −
[[File:Modbus serial rut955 2.png|border|class=tlt-border]]
+
[[File:Modbus serial rut955 2.png|border|class=tlt-border|1100x700px]]
    
Then apply the following configuration.  
 
Then apply the following configuration.  
   −
[[File:Modbus serial rut955 3.png|border|class=tlt-border]]
+
[[File:Modbus serial rut955 3.png|border|class=tlt-border|1100x700px]]
   −
[[File:Modbus serial rut955 4.png|border|class=tlt-border]]
+
[[File:Modbus serial rut955 4.png|border|class=tlt-border|1100x700px]]
    
# Check '''Enable'''.
 
# Check '''Enable'''.
 
# Type in desired '''Name'''.
 
# Type in desired '''Name'''.
 
# Type in '''Slave ID''' (any number from 1 to 255).
 
# Type in '''Slave ID''' (any number from 1 to 255).
# Write a name for a new request.
+
# Write a '''name''' for a new request.
 
# Add new request by clicking '''ADD'''.
 
# Add new request by clicking '''ADD'''.
# Select data type.
+
# Select '''data type'''.
# Select Function (Read holding registers (3)).
+
# Select '''Function''' (Read holding registers (3)).
 
# Write '''First register''' (1) and Write '''Register count''' (10).
 
# Write '''First register''' (1) and Write '''Register count''' (10).
 
# Enable the request and you can test it through '''request configuration testing'''.
 
# Enable the request and you can test it through '''request configuration testing'''.
Line 94: Line 92:  
----
 
----
   −
In order to setup your router to send Modbus data to server you will need to navigate to '''Services > Data to Server''' and press '''ADD''' to add a new instance.
+
In order to setup your router to send Modbus data to server you will need to navigate to '''Services > Data to Server''' , create a '''"NEW COLLECTION NAME"''' and press '''ADD''' to add a new instance.
 +
 
 +
[[File:Modbus serial 1.png|border|class=tlt-border|1100x700px]]
   −
[[File:Modbus serial rut955 6.png|border|class=tlt-border|1100x700px]]
+
[[File:Modbus serial 1-4.png|border|class=tlt-border|1100x700px]]
   −
[[File:Modbus serial rut955 7.png|border|class=tlt-border|1100x700px]]
+
[[File:Modbus serial 5.png|border|class=tlt-border|1100x700px]]
   −
# Enable instance.
+
[[File:Modbus serial 6-8.png|border|class=tlt-border|1100x700px]]
# Write name.
  −
# Select data source (Modbus).
  −
# Select '''Protocol''' (In this example HTTP(S) will be used).
  −
# Enter desired JSON format.
  −
# Enter '''IP''' and '''port''' of the PC with the Hercules software.
  −
# Click '''Save'''.
     −
[[File:Modbus serial rut955 8.png|border|class=tlt-border|1100x700px]]
+
#Select '''Type: Modbus'''
 +
#Select '''Format Type: Custom'''
 +
#Enter desired '''format string'''
 +
#Click '''"NEXT: COLLECTION EDIT"'''
 +
#In this configuration window, you can leave the settings as default and click '''"NEXT: SERVER CONFIGURATION"'''
 +
#Select '''Type: HTTP'''
 +
#Enter '''Server address'''
 +
#Click '''"SAVE & APPLY"'''
    
===Receiving data===
 
===Receiving data===
Line 153: Line 154:     
Change the value to anything below 10, you should not receive messages. Then change the value to anything above 10, you should start receiving messages.
 
Change the value to anything below 10, you should not receive messages. Then change the value to anything above 10, you should start receiving messages.
 +
 +
[[File:Modbus serial rut955 15.png|border|class=tlt-border|400x400px]]

Navigation menu