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 129: Line 130:  
In order to setup the following configuration SIM card is required.
 
In order to setup the following configuration SIM card is required.
   −
Go back to '''Services > Modbus > Modbus Serial Master''' and press edit the same Slave configuration or create a new one. There will be section called '''Slave alarms'''. Create a name, then press '''Add''' button. When it appears like in the example, press '''Edit'''.
+
Go back to '''Services > Modbus > Modbus Serial Master''' and press edit the same Slave configuration or create a new one. There will be section called '''Alarms Configuration''. Create a name, then press '''Add''' button. When it appears like in the example, press '''Edit'''.
   −
[[File:Networking_rut955_configuration_modbus_serial_14_v1.png|border|class=tlt-border]]
+
[[File:Modbus serial rut955 12.png|border|class=tlt-border|1100x700px]]
    
Then apply the following configuration:
 
Then apply the following configuration:
   −
[[File:Networking_rut955_configuration_modbus_serial_15_v1.png|border|class=tlt-border]]
+
[[File:Modbus serial rut955 13.png|border|class=tlt-border|1100x700px]]
    
# '''Enable''' instance.
 
# '''Enable''' instance.
Line 141: Line 142:  
# Write '''Register''' (1).
 
# Write '''Register''' (1).
 
# Select '''Condition''' (More than).
 
# Select '''Condition''' (More than).
# Write '''Value''' (5).
+
# Write '''Value''' (10).
 +
# Select '''Action frequency''' (First trigger)
 
# Select '''Action''' (SMS).
 
# Select '''Action''' (SMS).
 +
# Create '''Message''' (type anything you want to receive).
 
# Write '''Phone number''' (the number you want to receive the messages to).
 
# Write '''Phone number''' (the number you want to receive the messages to).
# Create '''Message''' (type anything you want to receive).
   
# Press '''Save'''.
 
# Press '''Save'''.
    
Now go back to '''Modbus slave simulator''' and edit this window:
 
Now go back to '''Modbus slave simulator''' and edit this window:
   −
[[File:Networking_rut955_configuration_modbus_serial_16_v1.png|border|class=tlt-border]]
+
[[File:Modbus serial rut955 14.png|border|class=tlt-border|1100x700px]]
 +
 
 +
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 5, you should not receive messages. Then change the value to anything above 5, you should start receiving messages.
+
[[File:Modbus serial rut955 15.png|border|class=tlt-border|400x400px]]