Changes

308 bytes added ,  17:37, 9 March 2020
no edit summary
Line 2: Line 2:     
RS232 and RS485 functions are designed to utilize available serial interfaces of the router. Serial interfaces provide a possibility for legacy devices to gain access to IP networks. This chapter is an overview of the RS232/RS485 functions in RUT routers.
 
RS232 and RS485 functions are designed to utilize available serial interfaces of the router. Serial interfaces provide a possibility for legacy devices to gain access to IP networks. This chapter is an overview of the RS232/RS485 functions in RUT routers.
 +
 
{{Template: Networking_rutxxx_manual_fw_disclosure
 
{{Template: Networking_rutxxx_manual_fw_disclosure
 
| fw_version = RUT9XX_R_00.06.06
 
| fw_version = RUT9XX_R_00.06.06
Line 8: Line 9:  
==RS232==
 
==RS232==
   −
[[File:Services rs232 v 2.png]]
+
[[File:Services rs232 v 2.png|border|class=tlt-border ]]
    
<table class="nd-mantable">
 
<table class="nd-mantable">
Line 137: Line 138:  
'''RS-485''' is a different serial data transmission standard for use in long ranges or noisy environments.
 
'''RS-485''' is a different serial data transmission standard for use in long ranges or noisy environments.
   −
[[Image:Services rs485.PNG]]
+
[[Image:Services rs485.PNG|border|class=tlt-border ]]
    
<table class="nd-mantable">
 
<table class="nd-mantable">
Line 221: Line 222:  
===RS485 connector pin-out===
 
===RS485 connector pin-out===
 
----
 
----
[[Image:Services rs485 port.PNG]]
+
[[Image:Services rs485 port.PNG|border|class=tlt-border ]]
    
<table class="nd-othertables">
 
<table class="nd-othertables">
Line 260: Line 261:  
Below is an example of a 4-wire network electrical connection. There are 3 devices shown in the example. One of the devices is the “master” and other two are “slaves”. Termination resistors are placed at each cable end. Four-wire networks consists of one „master“ with its transmitter connected to each of the “slaves‘” receivers on one twisted pair. The “slave” transmitters are all connected to the “master” receiver on a second twisted pair.
 
Below is an example of a 4-wire network electrical connection. There are 3 devices shown in the example. One of the devices is the “master” and other two are “slaves”. Termination resistors are placed at each cable end. Four-wire networks consists of one „master“ with its transmitter connected to each of the “slaves‘” receivers on one twisted pair. The “slave” transmitters are all connected to the “master” receiver on a second twisted pair.
   −
[[Image:Services rs485 4wire.PNG]]
+
[[Image:Services rs485 4wire.PNG|border|class=tlt-border ]]
    
Example 2-wire network electrical connection: to enable a 2-wire RS-485 configuration on a Teltonika router, you need to connect D_P to R_P and D_N to R_N on the device’s RS-485 socket. Termination resistors are placed at each
 
Example 2-wire network electrical connection: to enable a 2-wire RS-485 configuration on a Teltonika router, you need to connect D_P to R_P and D_N to R_N on the device’s RS-485 socket. Termination resistors are placed at each
 
cable end.
 
cable end.
   −
[[Image:Services rs485 2wire.PNG]]
+
[[Image:Services rs485 2wire.PNG|border|class=tlt-border]]
    
===Termination===
 
===Termination===
Line 281: Line 282:  
120 Ω termination resistor is included on the RUT955 PCB and can be enabled by shorting contacts (shown in the picture below), placing 2.54mm pitch jumper:
 
120 Ω termination resistor is included on the RUT955 PCB and can be enabled by shorting contacts (shown in the picture below), placing 2.54mm pitch jumper:
   −
[[Image:Services rs485 jumper.PNG]]
+
[[Image:Services rs485 jumper.PNG|border|class=tlt-border ]]
    
===Number of devices in an RS-485 Network===
 
===Number of devices in an RS-485 Network===
Line 299: Line 300:  
====Mode: Server====
 
====Mode: Server====
 
----
 
----
[[Image:Services rs232 rs485 overip server.PNG]]
+
[[Image:Services rs232 rs485 overip server.PNG|border|class=tlt-border ]]
    
<table class="nd-mantable">
 
<table class="nd-mantable">
Line 336: Line 337:  
====Mode: Client====
 
====Mode: Client====
 
----
 
----
[[Image:Services rs232 rs485 overip client.PNG]]
+
[[Image:Services rs232 rs485 overip client.PNG|border|class=tlt-border ]]
    
<table class="nd-mantable">
 
<table class="nd-mantable">
Line 382: Line 383:  
====Mode: Bidirect====
 
====Mode: Bidirect====
 
----
 
----
[[Image:Services_rs232_rs485_overip_bidirect.PNG]]
+
[[Image:Services_rs232_rs485_overip_bidirect.PNG|border|class=tlt-border ]]
    
<table class="nd-mantable">
 
<table class="nd-mantable">
Line 445: Line 446:  
With Modem Serial type, the router imitates a dial-up modem. Connections to TCP/IP networks can be established using AT commands. The connection can be initiated by the device connected via serial interface with an ATD command: ATD <host>:<port>. If Direct connect settings are specified, the connection to the server is always active. Data mode can be entered by issuing the ATD command. Incoming connections are indicated by sending a RING to the serial interface.
 
With Modem Serial type, the router imitates a dial-up modem. Connections to TCP/IP networks can be established using AT commands. The connection can be initiated by the device connected via serial interface with an ATD command: ATD <host>:<port>. If Direct connect settings are specified, the connection to the server is always active. Data mode can be entered by issuing the ATD command. Incoming connections are indicated by sending a RING to the serial interface.
   −
[[File:Services rs232 rs485 modem v 2.png]]
+
[[File:Services rs232 rs485 modem v 2.png|border|class=tlt-border ]]
    
<table class="nd-mantable">
 
<table class="nd-mantable">
Line 524: Line 525:  
The Modbus gateway Serial type allows redirecting TCP data coming to a specified port to RTU specified by the Slave ID. The Slave ID can be specified by the user or be obtained directly from the Modbus header.
 
The Modbus gateway Serial type allows redirecting TCP data coming to a specified port to RTU specified by the Slave ID. The Slave ID can be specified by the user or be obtained directly from the Modbus header.
   −
[[Image:Services_rs232_rs485_modbus_gateway.PNG]]
+
[[Image:Services_rs232_rs485_modbus_gateway.PNG|border|class=tlt-border ]]
    
<table class="nd-mantable">
 
<table class="nd-mantable">
Line 554: Line 555:  
</table>
 
</table>
   −
===NTRIP===
+
===NTRIP client===
 
----
 
----
 
Networked Transport of RTCM via Internet Protocol (Ntrip) is a protocol for streaming differential GPS (DGPS) data over the Internet in accordance with specification published by RTCM.
 
Networked Transport of RTCM via Internet Protocol (Ntrip) is a protocol for streaming differential GPS (DGPS) data over the Internet in accordance with specification published by RTCM.
   −
[[Image:Services rs232 rs485 ntrip.PNG]]
+
[[Image:Services rs232 rs485 ntrip.PNG |border|class=tlt-border ]]
    
<table class="nd-mantable">
 
<table class="nd-mantable">

Navigation menu