Changes

no edit summary
Line 22: Line 22:  
[[File:Modbusupdategateway1.png|1000px|border|class=tlt-border]]
 
[[File:Modbusupdategateway1.png|1000px|border|class=tlt-border]]
   −
* In the configuration section, press '''Enable''' to enable the serial interface
+
A new window will open, where the device should be configured according to these steps:
* In the Serial '''Type''' section, select '''Modbus gateway'''. ////editable
  −
You may need to change configuration depending on your needs, just make sure that identical settings are set here and in RTU simulator: Baud rate, data bits, parity, stop bits, flow control
  −
 
  −
[[File:Navigateandenable.png|border|class=tlt-border]]
  −
 
  −
This will expand more customization options:
      +
* Press '''Enable''' to enable the serial interface
 
* '''Listening IP''' – IP interface on which you are listening for incoming connections (input 0.0.0.0 to listen on any IP address)
 
* '''Listening IP''' – IP interface on which you are listening for incoming connections (input 0.0.0.0 to listen on any IP address)
 
* '''Port''' – Port number for Modbus gateway (default port is 502)
 
* '''Port''' – Port number for Modbus gateway (default port is 502)
Line 35: Line 30:  
* '''Slave ID''' – preconfigured Slave ID number
 
* '''Slave ID''' – preconfigured Slave ID number
   −
[[File:Moreconfigurationoptions.png|border|class=tlt-border]]
+
You may need to change configuration depending on your needs, just make sure that identical settings are set here and in RTU simulator: Baud rate, data bits, parity, stop bits, flow control.
 +
 
 +
[[File:Navigateandenable.png|700px|border|class=tlt-border]]
   −
In IP filter options on the serial configuration page, add IP addresses that will be allowed to reach your Modbus gateway (input 0.0.0.0/0 to allow any IP address).
+
In IP filter options on the bottom of the page, add IP addresses that will be allowed to reach your Modbus gateway (input 0.0.0.0/0 to allow any IP address).
    
[[File:Ipfilter1.png|border|class=tlt-border]]
 
[[File:Ipfilter1.png|border|class=tlt-border]]
Line 98: Line 95:     
==Summary==
 
==Summary==
 +
 +
The article describes how to set up a Modbus gateway to transfer data from Modbus TCP to Modbus RTU using Teltonika devices. The gateway functionality allows a Master device connected to the LAN port to send commands to a Slave device connected to the serial port (RS232, RS485 or USB). Steps are provided to configure the router, including enabling the serial interface, setting up the listening IP, port number, and slave ID, and adding IP addresses to the IP filter options. The article also provides steps to set up two PCs, one running a Modbus Master simulator and the other running a Modbus PLC simulator, to test the functionality.
 +
[[Category:RS232/485]]