RS232 Interface (IKR) for Imola routers
U
SER
G
UIDE
112
RS232
I
NTERFACE
(IKR)
FOR
I
MOLA ROUTERS
O
PERATIVE MODE
For Smart Grid environment, the router Imola can be equipped with an expansion card with two
RS232 DCE serial ports. It is possible to have both ports with a DB9 female connector or to have one
port with DB9F connector and the other with DB25F.
There are many functions available that allow one or more devices connected to the serial ports of
Imola to access to the IP network and, vice versa, it is possible to exchange data with serial
terminals sending data over the IP network.
The most important application that you can activate on each serial port are described below.
Terminal server
It allows remote access via TCP/IP to the serial port to offer a serial encapsulation on TCP/IP.
it can work as a
server
: the router accepts connection requests received on a configurable
TCP/IP; when receiving data on the serial port, it encapsules them in a TCP packet and sends
it on the TCP/IP connection thus established. Conversely, the data received on the TCP/IP
are unencapsulated and sent to the serial port.
it can work as a
client
: in this case it is the router that establishes a TCP/IP connection to a
configurable address and port. The data are processed in transparent mode, which is
encapsulated/decapsulated and sent as they are received.
PPP
MODE
A PPP session is activated on the serial port so that the router Imola perform IP routing functions
between the PPP packets received by the serial port and the IP network, and vice versa.
IEC 60870-5-101 to IEC 60870-5-104 conversion
The router activate on the serial port a module conforming to IEC 60870-5, which communicates
with the device connected to the serial port in unbalanced mode in master role, then it listen to the
standard 2404 TCP/IP port of the IANA for connection requests and messages from the Primary
Station, conforming to 104 protocol.
To select the protocol type to be used by the serial port, you can use for the first port:
set serial0-appl <term-server | ppp-serial | iec60870>
and for the second one:
set serial1-appl <term-server | ppp-serial | iec60870>
The default configuration is:
set serial0-appl iec60870
set serial1-appl iec60870