ETHERLINK_IV - RS-232/485 over IP ETHERLINK IV Summary
..................................
3
1
Etherlink_IV
S erial
D ata
H andling
P ossibilities
....................
2
2
Serial
D ata
o ver
I P
( RSIP
O N)
..........................
4
...
ETHERLINK_IV - RS-232/485 over IP ETHERLINK IV Summary This document describes the RS-232 and RS-485 serial data transmission over an IP Network with Etherlink_IV equipment. The following data transmissions are possible: Point-To-Point Point-To-MultiPoint Broadcast Com-Server Applications, Com Port Extender The basic configuration commands are described too with some application examples.
Etherlink_IV Etherlink_IV Serial Data Handling Possibilities In Etherlink_IV there are several models available with 1xRS-232, 4xRS-232 or 1xRS-485 interfaces. There are two ways to transmit the serial data: MODE-1: Transmit over DSL, E1 or WAN (Wide Area Network) with command RSIP OFF MODE-2: Transmit over IP (Internet Protocol) with command RSIP ON When transmitting serial data over DSL/E1/WAN (MODE-1), there is a PTMP (Point-To-MultiPoint) command available to realize bus and star topologies.
Page 5
Etherlink_IV The picture below shows all available ways to transmit serial data using Etherlink_IV modem. RSIP OFF PAYLOAD NO PTMP 1xRS-232 / RS-485 Interface Card Special RSIP OFF PTMP PACKET When WAN or MODE-1 WANTS enabled 4xRS-232 RSIP ON Interface Card PACKET Ethernet...
Etherlink_IV Serial Data over IP (RSIP ON) Serial data transmission can be done using UDP or TCP protocols. The UDP protocol allows operating in both Point-To-Point (PTP) and Point-To-MultiPoint (PTMP) modes. Point-To-MultiPoint mode allows to set up several broadcasting nodes and to build a broadcast configuration. The TCP/IP protocol allows only working in Point-To-Point mode.
Etherlink_IV UDP Point-To-MultiPoint In Point-To-MultiPoint mode the endpoint (“Master”) should have configured to send serial data with a multicast IP Address (IPM) and some PORT Number (PORTM) as outgoing address. Outgoing data of such an endpoint will reach all other endpoints. Endpoints with input PORT Number PORTM will accept received data and other endpoints will discard it.
Etherlink_IV UDP Broadcast Mode In this mode the endpoints should be configured to send their serial data to the multicast IP Address (IPM). Incoming and outgoing PORT Number (PORTM) should be the same for all endpoints to receive each other's serial data.
Etherlink_IV TCP Point-To-Point In this mode one serial data endpoint should be configured as Server and the other as Client. Client configuration is the same as UDP endpoint. On the Server endpoint the Client IP Address and incoming PORT Number should be specified. RSIP CLIENT RSIP SERVER RSIP IN 5000...
Etherlink_IV Configuration Commands for Serial Data Transmission over IP Networks Following configurations are possible when programming serial data over an IP Network: Mode (UDP/TCP Client/TCP Server) Local IP PORT Number for incoming serial data Remote IP Address and PORT Number for outgoing serial data Operation over IP Network or not (RSIP ON/OFF) To enable the serial data transmission over IP Network functionality on the specific interface, it should be removed from DSL Payload and from the PTMP group.
Etherlink_IV Applications Serial Data Transmission UDP Point-To-MultiPoint RSIP UDP RSIP UDP RSIP IN 5000 RSIP IN 5001 (means PORTM) RSIP OUT 224.224.224.224:5001 RSIP OUT 192.168.0.235:5000 (means IPM:PORTM) 192.168.0.235:5000 ← 192.168.0.236:5001 RS-232 RS-232 192.168.0.235 192.168.0.236 RS-485 RS-485 Port 5000 PORT 5001 Network 192.168.0.235:5000 →...
Page 12
Etherlink_IV Please see the configuration on the unit with IP Address 192.168.0.235: --------------------------------------------------------------------------- Running Line Configuration --------------------------------------------------------------------------- xDSL DSL1 DSL2 Mode Master(HTU-C) Master(HTU-C) PAM, Baserate : PAM32,89 PAM32,89 Annex Payload Clock source Reserve Power GS compatible : NM/LA alarm OFF/OFF RS:RS-232 Mode...
Etherlink_IV COM-Server (COM Port Extender, Virtual Serial Port) At the central side is a computer with the IP Address 192.168.0.15. At this computer any application program can work that needs the serial data of any equipment on the CPE side connected to the RS-232 card. The CPE side has the IP Address 192.168.0.235.
Page 14
Etherlink_IV Lantronix Com Port Redirector (http://www.lantronix.com) HW VSP3 – Virtual Serial Port (http://www.hw-group.com) After the correct settings in such utility program, the main application can connect to the corresponding COM Port at it would be a COM Port on the computer. S.
Page 15
Etherlink_IV Picture 3.2. Example with Lantronix Com Port Redirector (http://www.lantronix.com) Picture 3.3. Example with HW VSP3 – Virtual Serial Port (http://www.hw-group.com) You can also connect directly with the HyperTerminal (without a Virtual COM Port) from a windows computer with following steps S.
Page 16
Etherlink_IV Picture 3.4. Example with HyperTerminal, there is no need for Virtual COM Port utility program If you would like to work with Linux operating system, there is a standard utility SOCAT that allows redirecting TCP/IP or UDP connection to pseudo TTY (PTY). This PTY then can be used by any software just as usual serial port TTY (Virtual COM Port).
Need help?
Do you have a question about the ETHERLINK IV and is the answer not in the manual?
Questions and answers