Jump to content

Template:Networking manual Modbus serial RutOS: Difference between revisions

no edit summary
No edit summary
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}}


==Configuring Modbus serial slave device==
==Configuring Modbus serial slave device==
Line 44: Line 46:
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:Networking_rut955_configuration_modbus_serial_3_v1.png|border|class=tlt-border]]
[[File:Modbus_serial_rut955_1.png|border|class=tlt-border]]


# Press '''Enable'''.
# Press '''Enable'''.
Line 53: Line 55:
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:Networking_rut955_configuration_modbus_serial_4_v1.png|border|class=tlt-border]]
[[File:Modbus serial rut955 2.png|border|class=tlt-border]]


Then apply the following configuration.  
Then apply the following configuration.  


[[File:Networking_rut955_configuration_modbus_serial_5_v1.png|border|class=tlt-border]]
[[File:Modbus serial rut955 3.png|border|class=tlt-border]]
 
[[File:Modbus serial rut955 4.png|border|class=tlt-border]]


# Check '''Enable'''.
# Check '''Enable'''.
# Type in desired '''Name'''.
# Type in '''Slave ID''' (any number from 1 to 255).
# Type in '''Slave ID''' (any number from 1 to 255).
# Add '''Period''' (Query period).
# Write a name for a new request.
# Press '''Save'''.
# Add new request by clicking '''ADD'''.
 
# Select data type.
Go back to the '''Slave configuration''' window and create '''Slave request''' by writing a name, pressing '''Add''' button. It should appear like in the example and then press '''Edit'''.
# Select Function (Read holding registers (3)).
 
# Write '''First register''' (1) and Write '''Register count''' (10).
[[File:Networking_rut955_configuration_modbus_serial_6_v1.png|border|class=tlt-border]]
# Enable the request and you can test it through '''request configuration testing'''.
 
Then apply the following configuration.
 
[[File:Networking_rut955_configuration_modbus_serial_7_v1.png|border|class=tlt-border]]
 
# Check '''Enable'''.
# Select '''Function''' (Read Holding Registers).
# Write '''First register''' (1).
# Write '''Register count''' (10).
# Press '''Save'''.
# Press '''Save'''.