Getting to Know Your Router ......................................................................10
1.1 About the iSG4F Intelligent Flexible Secure Gateway ................................................................ 10
1.2 Software Features ............................................................................................................................... 10
1.3 Hardware Features ............................................................................................................................. 10
2.1 Front Panel .......................................................................................................................................... 11
2.4 Side view .............................................................................................................................................. 12
2.5 Logical System Diagram ................................................................................................................... 13
Federal Communications Commission Radio Frequency Interference Statement
This equipment has been tested and found to comply with the limits for a Class A digital device
pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection
against harmful interference when the equipment is operated in a commercial environment.
This equipment can generate, use, and radiate radio frequency energy. If not installed and used in
accordance with the instruction manual, may cause harmful interference to radio
communications. Operation of this equipment in a residential area is likely to cause harmful
interference in which case the user will at his/her own expense, be required to correct the
interference.
Caution: LASER
This product contains a laser system and is classified as a CLASS 1 LASER PRODUCT. Use of controls
or adjustments or performance of procedures other than those specified herein may result in
hazardous radiation exposure.
Caution: Service
This product contains no user-serviceable parts. Attempted service by unauthorized personnel shall
render all warranties null and void.
Changes or modifications not expressly approved by iS5 Communications Inc. could invalidate
specifications, test results, and agency approvals, and void the user's authority to operate the
equipment.
Should this device require service, please contact support@iS5Com.com.
Caution: Physical Access
This product should be installed in a restricted access location. Access should only be gained by qualified
service personnel or users who have been instructed on the reasons for the restrictions applied at the
location, and any precautions that have been taken. Access must only be via the use of a tool or lock
and key, or other means of security, and is controlled by the authority responsible for the location.
iS5 Communications Inc.
iSG4F User’s Manual
10
Getting to Know Your Router
1.1 About the iSG4F Intelligent Flexible Secure Gateway
The iSG4F Flexible Secure Gateway is designed for use in remote sites that require secure remote
connections over a public network (via serial or IP connection). A serial RTU/IED connected to an
iSG4F would communicate its data over a landline or a cellular public/private connection for those
sites that are remotely distributed and connected to a SCADA control center. The user data can
either be transparently encapsulated over an IP tunnel, or converted to an IP SCADA session using
the integrated SCADA gateway. Network connectivity is secured using a Layer 2 or Layer 3 VPN
with IPSec, as well a SCADA firewall for validating all traffic to the device. The iSG4F can be
managed centrally and conveniently by our powerful Windows utility called the iManage Software
Suite. The product is made from galvanized steel and has a wide operating temperature from -40°C
to 85°C suitable for the harshest of environments without the use of fans.
1.2 Software Features
Layer 2 and Layer 3 VPN with IPSec SCADA firewall for validating all traffic to the device Supports Layer 3 protection Supports Gateway Translation for IES 101, IEC 104, Modbus and DNP3 ACL (Access Control Lists) NAT (Network Address Translation) OSPF (Open Shortest Path First) protocol RIPv2 (Routing Information Protocol) Transparent Serial Tunneling Terminal Server service for transposing of a TCP session to serial session Modbus RTU to Modbus TCP GPRS/UMTS Interface
1.3 Hardware Features
Network Uplink over Ethernet or Cellular Supports 2 x RS232 ports, or 1 x RS232 and 1x RS485 port (RJ45 sockets) Supports 1x 10/100 Base (TX) and 1 x 1000 Base (X) Ethernet Ports Supports 2 SIM Cellular Interfaces for connecting to remote sites over a cellular network Console Port Dual Redundant Power Input Wide Operating Temperature: -40 to 85
iS5 Communications Inc.
o
C
iSG4F User’s Manual
11
Port
Description
Console
RJ45, EIA232 VT-100 compatible port
E1
Ethernet Port 1, 1 X 10/100/1000 Base- T(X) RJ45 port
E2
Ethernet Port 2, 1 x 100/1000Base-X on SFP port (SFP located on
bottom side)
S1, S2
Serial port 1 and Serial port 2, RS232 Serial RJ45 Ports
Optional: 1 X RS232 Serial RJ45 Port and 1 X RS485 Serial RJ45 Port
Cellular
Dual SIM GPRS/UMTS
Storage Temperature: -40 to 85Operating Humidity: 5% to 95%, non-condensing DIN Rail or Wall mount option Chassis: IP-40 Galvanized Steel Dimensions(W x D x H) : 127 mm(W)x 163.6 mm( D )x 154.2 mm(H) (5 in x 6.44 in x 6.07 in)
o
C
Hardware Overview
2.1 Front Panel
Product description:
iS5 Communications Inc.
iSG4F User’s Manual
12
2.2 Rear
The image below shows the DIN bracket on the back of the router. Circled in red are the mounting holes
for the Panel bracket mounting option.
2.3 Bottom
The image below shows the 10 position terminal block and ground lug of the iSG4F.
2.4 Side view
The image below shows the side of the iSG4F with the product label displaying router information. Circled
in red are the side mounting holes for the Panel bracket mounting option.
iS5 Communications Inc.
13
2.5 Logical System Diagram
iSG4F User’s Manual
Hardware Installation
3.1 DIN Rail Mounting
Each router has a DIN-Rail bracket on the rear panel that allows the router to be mounted on
a DIN Rail. To mount the iSG4F on a DIN Rail follow the steps below.
1. Slant the top of the router back and hook the top of the DIN bracket onto the top of the
DIN rail.
2. Push the bottom of the router towards the DIN Rail until in clicks in to place.
iS5 Communications Inc.
14
Note: To release the router from the DIN Rail, pull the latch at the bottom of the router down
to release the DIN bracket from the DIN Rail. While pulling the latch down, pull the bottom of
the router away from the DIN Rail. The router will now lift off of the DIN rail.
3.2 Panel Mounting Option
The router can also has an option to be panel or wall mounted. The following steps show how
to mount the router on a panel or wall.
1. Install the Panel mounting hardware onto the router. The user can choose rear mounting
or side mounting. Note: To avoid damage to the unit please use the 4 screws provided to
attach the panel mount brackets onto the router.
iSG4F User’s Manual
2.Use the holes in the brackets to secure the router to a wall or panel.
3.3 Chassis Ground Connection
The iSG4F chassis ground connection uses a #6-32 Screw. We recommend terminating the ground
connection using a #6 ring lug, and a torque setting of 15 in.lbs (1.7Nm). The red outline indicates the
location of the chassis ground.
iS5 Communications Inc.
iSG4F User’s Manual
15
Terminal
Number
Description
Connection
1
- PWR1 (+/L) – Line or Positive
- PWR1 (+): Positive
Connected to the line or positive
terminal of the first power source.
2
- PWR1 – Ground
Power supply 1 ground connection.
3
- PWR1 (-/N) – Neutral or Negative
- PWR1 (-) : Negative
Connected to the neutral or negative
terminal of the first power source.
4
– Chassis Ground
Connected to the safety ground terminal
for AC units or the ground bus for DC
inputs. Chassis ground connects to both
power supply surge grounds via a
removable jumper.
5
- PWR2 (+/L) – Line or Positive
Connected to the line or positive
3.4 Power Connections
The iSG4F router supports dual redundant power supplies (PWR1 and PWR2). There are 3 options for
each power supply:
1. LV: Dual Input 10-48VDC
2. MV: Dual Input 36-75VDC
3. HV: Single Input 85-264VAC or 88-370VDC.
The label on the terminal block will indicate the accepted voltage range for PWR1 and PWR2. Positions 2,
4 and 6 are all for ground connections (connected via a removable jumper) and can be used for any ground
connection.
The Phillips Screw Terminal Block has Phillips screws with compression plates, allowing either bare wire
connections or crimped terminal lugs. The use of #6 size ring lugs is recommended to ensure secure and
reliable connections under severe shock or vibration. The terminal block comes with a safety cover which
must be removed before connecting any wires. This cover must be re-attached after wiring to ensure
personnel safety.
The table below lists the connections for the terminal block.
iS5 Communications Inc.
iSG4F User’s Manual
16
- PWR2 (+): Positive
terminal of the second power source.
6
- PWR2 – Ground
Power supply 2 ground connection.
7
- PWR2 (-/N) – Neutral or Negative
- PWR2 (-) : Negative
Connected to the neutral or negative
terminal of the second power source.
8
RLY NO
Failsafe relay, normally open contact.
9
RLY CM
Failsafe relay, common contact.
10
N/C
No connection
100-240VAC rated equipment: A 250VAC appropriately rated circuit
breaker must be installed.
Equipment must be installed according to the applicable country wiring
codes.
When equipped with a HI voltage power supply and DC backup,
88-300VDC rated equipment: A 300VDC appropriately rated circuit breaker
must be installed.
A circuit breaker is not required for DC power supply voltages of 10-48VDC. For Dual DC power supplies, separate circuit breakers must be installed and
separately identified.
Equipment must be installed according to the applicable country wiring
3.5 Console Connection
To manage the router via the console port, connect the console cable (provided with the iSG4F) from a PC
serial port (DB9) to the Console port on the front of the router (RJ45).
Configuration
5.1 Command Line Interface
iS5 Communications Inc.
The CLI (Command Line Interface) is used to configure the iSG4F from a console attached to
the serial port of the router or from a remote terminal using SSH. The following table lists the
CLI environments and modes.
iSG4F User’s Manual
17
Command Mode
Access Method
Prompt
Exit Method
Global
Configuration
Environment
(GCE)
Following user log in this
mode is available to the user.
iSG4F#
To exit this mode
would mean the user
to log out from the
system.
Use the command
‘exit’
Global Hierarchy
Configuration
From the Global
Configuration mode
command you may drill down
to specific feature sub tree.
Example is shown here for
router configuration sub tree.
router/
To exit one level back,
the ‘..’ (Two dots) is
used.
Application
Configuration
Environment
(ACE)
The ACE is an alternative
configuration environment for
supported features
ACE#
To exit back to the GCE
mode use the ‘exit’
command.
ACE Config
Use the command ‘configure’
to access the ACE
Configuration mode
ACE(config)#
To exit back to the ACE
mode use the ‘exit’
command.
Application
Hierarchy
Configuration
Access the target feature. For
example :
‘interface vlan 1’
ACE(config-if-eth1.1)#
To return one level up
use ‘exit’.
To return to the ACE
use ‘end’.
5.2 Supported Functionalities
iS5 Communications Inc.
The iSG4F is a feature rich industrial router supporting:
L3 dynamic and static Routing SCADA services Firewall Secure networking
Supported features include:
Ethernet Ports Serial Ports
Cellular Modem VPN
TFTP OSPF
iSG4F User’s Manual
18
Feature
Default state
Ethernet Ports
All ports are enabled
Serial interfaces
Disabled
Cellular modem
Disabled
Layer 3 interface
No default IP
DHCP Client
disabled
SSH
Disabled
Telnet
Enabled
Syslog
Disabled
ACLs
Disabled
Firewall
Disabled
VPN
Disabled
Vlan Tagging IPSec Management Authentication
5.3 System Default State
The following table details the default state of features and interfaces.
SCADA Gateway SCADA Firewall QOS Serial Services
Terminal Services NAT RIP DHCP Client
5.4 Main Commands
The Application Configuration Environment list of main CLI commands is shown below.
bus-idle-time : number of total serial bits received
over the local serial link to be considered as a
single message
allowed-latency: given in msec this value describe
the network allowed latency. This value affects
the time to be allowed to delay before transmitting
UDP|TCP packets. The higher the value is the more
serial frames can accumulate into a single UDP|TCP
packets. Default value is 10msec which corresponds
to max 3 bytes of serial data to be packed at a
single UDP|TCP packet (with 9.6kbps rate)
Remove
Slot : 1 (constant)
Port : port number .1-2
Show
Local-end-point
iS5 Communications Inc.
iSG4F User’s Manual
73
Command
Description
Create
Slot : 1 (constant)
Port : port number .1-2
Service id: numeric value of serial service.
Position: Master – point to multipoint
Slave – point to multipoint
Application : Serial-tunnel (default)
Terminal-server
iec101-gw
modbus-gw
buffer mode: byte (default)
frame
protocol :any (default)
modbus_rtu
iec101
iec101-link-address: set the IEC 101 link address.
Applicable when ‘application’=’ iec101-gw’ and
‘protocol’=’ iec101’. <0-65535>
iec101-link-address-len: set the IEC 101 link
address length. Applicable when ‘application’=’
iec101-gw’and ‘protocol’=’ iec101’. <1|2> bytes.
Default is 2.
iec101-originator-address: set if the ‘originator’
i=field is included in the IEC 101 message. This will
reflect on the Cause Of Transmission being 1 byte or
2 byte size. If ‘present’, COT=2. If ‘none’, COT=1.
unit-id: set the IEC 101 unit ASDU address.
Applicable when ‘application’=’ iec101-gw’ and
‘protocol’=’ iec101’. <0-65535>
unit-id-len: set the IEC 101 ASDU length. Applicable
when ‘application’=’ iec101-gw’ and ‘protocol’=’
iec101’. <1|2> bytes. Default is 2.
iS5 Communications Inc.
iSG4F User’s Manual
74
Command
Description
Remove
Slot : 1 (constant)
Port : port number .1-2
Service id: numeric value of serial service.
Position:
Master – point to multipoint
Slave – point to multipoint
Application :
Serial-tunnel (default)
Terminal-server
iec101-gw
modbus-gw
show
Remote-end-poin
t
Defines the remote end points in a transparent serial
tunneling service.
Create
remote-address : IPv4 address A.B.C.D
Service id: numeric value of serial service. <1-100.
Position:
Master
Slave
connection mode:
udp – default
tcp
Buffer mode:
byte – default
frame
Remove
address : IPv4 address A.B.C.D
Service id: numeric value of serial service.
show
18.5 Declaration of ports
Example of serial port declaration:
iS5 Communications Inc.
75
iSG4F Serial RJ45 Female Port
Line
Pin
DCD 2 Tx 6 Rx 5 DSR
1
GND
4
DTR 3 CTS 7 RTS
8
NOTE
The serial control lines are not supported at current version
+ root
serial
Port create port 1
Port create port 2
..
Commit
18.6 Serial Port Default State
The default state of the serial ports is non-configured.
iSG4F User’s Manual
18.7 RS- 232 Port Pin Assignment
Below is the pin assignment of the serial ports.
iS5 Communications Inc.
76
Serial port at the router
DB-9 female connector for end device
DB9
RJ45
Female DB-9 (DCE)
Male
RJ-45
Female
RJ-45 2 6
6 Tx 3 5
5 Tx 5 4
4 GND
CAUTION
Take notice not to use the console cable for the user serial ports.
The console cable is uniquely colored white. "CBL-TJ45-DB9/S-RPT"
Port created
Port admin state
Traffic passing
Led
No (default)
N/A
N/A
OFF
Yes
Down
N/A
OFF
Yes
Up (default)
No
Green
Yes
Up (default)
Yes
Green blinking
18.8 RS- 232 Serial cable
The RS-232 ports are of RJ-45 type, a cable is available as an ordering option having one end
of male RJ-45 and second end of female DB-9.
The cable should be used when no control lines are needed.
Pinout for crossed cable ("CBL-RJ45/DB9/NULL"):
iSG4F User’s Manual
18.9 Led States
Each serial port has a led to indicate its state.
iS5 Communications Inc.
77
Transparent Serial Tunneling
In transparent tunneling mode the router encapsulates the serial frames into UDP|TCP
packets. The UDP|TCP packet is sourced with a local IP interface. Topologies supported are
P2P, P2MP and MP2MP over a single unit or IP network.
The condition for transparent serial tunneling is having an iS5 router/ router at both ends of
the network, connecting the devices.
The transparent tunneling has three types of implementations:
1. Transparent tunneling: encapsulation of standard serial frames is supported. The serial
frames are structured with start, stop, data, and parity bits.
Following chapter will explain key serial properties and modes of operation.
iSG4F User’s Manual
19.1 Concept of Operation
The benefit of transparent serial tunneling is its simplicity.
Serial traffic received from the customer serial device at the router serial port, is encapsulated
as UDP or TCP Ethernet packets by the router.
An ACE IP interface is configured to route the packets over the Ethernet network. The
Ethernet cloud may be layer 2 based, or layer 3 routing based and may involve any type of
networking including cellular connectivity and VPN between the routers.
The serial devices must all be connected to iS5 routers.
The router serial port is configurable with a full set of serial properties.
Each serial port is assigned to a service-id. The service-id groups serial devices in the network
to a logic communication segment at which members can communicate with each other.
At each service-id group there must be at least one device which is set a master and at least
one device set as a slave.
The communication rules, which are maintained between service-id group members, are as
follow:
1. Traffic sent from a master will be received at all slaves.
2. Traffic sent from a slave will be received at all masters.
3. Traffic between masters is blocked
4. Traffic between slaves is blocked.
iS5 Communications Inc.
78
19.2 Supported Network Topologies
Transparent serial tunneling supports following topologies:
1. Point to point
2. Point to multipoint point
3. Multi Point to multipoint point
19.2.1 Point to Point
The picture below illustrates Point-to-point service at which the master and slave are
connected locally at the same router.
iSG4F User’s Manual
The picture below illustrates Point to point service at which the master and slave are behind
different routers.
19.2.2 Point to multipoint point
The picture below illustrates Point-to-multipoint service in which the master and slaves are
connected locally at the same router.
The picture below illustrates Point-to-multipoint service in which the service members are
spread.
iS5 Communications Inc.
iSG4F User’s Manual
79
19.2.3 Multi Point to multipoint point
The picture below illustrates a typical multipoint-to-multipoint service.
19.3 Modes of Operation
iS5 Communications Inc.
80
19.3.1 Port Mode
The port mode-of-operation is set at the serial port configuration level and defines how serial
data is collected.
Transparent Tunneling
Transparent-tunneling is a mode at which serial data is sent with a distinct start bit, stop bit
and a known length of data bits.
At this mode, the serial processor will collect data received until one of the following
conditions is met:
• Bus idle time has expired.
• Allowed latency has expired.
At such time, the serial data collected will be encapsulated to a UDP|TCP packet and
transmitted.
19.3.2 Service Buffer Mode
iSG4F User’s Manual
The service buffer-mode is set at local-end-point configuration level and defines the buffer
operational mode for the service-id.
The default state is ‘byte’ mode. If the user keeps this field with its default state but
configures the service ‘connection-mode’ to ‘tcp’, the buffer mode will be changed to ‘frame’
automatically. If the user explicitly set the buffer mode to either ‘byte’ or ‘frame’, the
configuration will take effect for any connection-mode setting (tcp|udp).
Byte mode
A byte is structured as [start-bit, data-bits, parity-bit, stop-bits] whereas the number of
data-bits may be 5 to 8.
At this mode, the serial-processor collects bytes and encapsulates the data at a UDP|TCP
Ethernet frame.
The number of bytes collected to a single Ethernet packet is determined by the following
factors:
• Allowed latency.
• Bus idle time.
Frame mode
A frame is a group of bytes sent by the customer equipment (CE) as complete message.
When using frame mode, the serial-processor will use the bus-idle-time to distinguish
between frames. Each frame will be encapsulated as an individual UDP|TCP packet.
iS5 Communications Inc.
81
19.3.3 Service Connection Mode
The service connection-mode is set at remote-end-point configuration level and defines the
protocol option to be used for the service-id.
UDP
Serial data will be encapsulated as UDP/IP frames.
This is the default option for a serial service.
UDP connection mode will use by default, byte mode for the service ‘buffer-mode’. That is
unless ‘buffer-mode’ was explicitly set to ‘frame’ by the user.
TCP
Serial data will be encapsulated as TCP/IP frames.
This mode allows higher availability for the end to end connection and traffic validation.
TCP connection mode will use by default, frame mode for the service ‘buffer-mode’. That is
unless ‘buffer-mode’ was explicitly set to ‘byte’ by the user.
iSG4F User’s Manual
19.4 Addressing Aware Modes
The service of ‘transparent serial tunneling’ aims to keep the end to end serial service simple
and with no tempering of higher layer protocols.
Non aware mode
Serial data will be set to be received in either byte or frame mode with no awareness of the
data content or protocol addressing.
At this mode the following behavior is achieved within a service group:
• Traffic sent from a master device will received by all slaves.
• Traffic sent from a slave, will be received by all masters.
Aware mode
Serial data will be set to be received in frame mode. Each serial device connected to the
router is identified with its protocol unit-id. For IEC 101 as an example, the serial device
Common Address of ASDU will be configured at the router serial port.
At this mode the following behavior is achieved within a service group:
• Broadcast traffic sent from a master device will received by all slaves.
• Traffic sent from a master and addressed to a specific unit-id, will be received by the
target device only.
•Traffic sent from a slave, will be received by all masters.
iS5 Communications Inc.
82
NOTE
The aware mode supports IEC 101 addressing only.
The service ‘local-end-point’ must be set with [‘application’= ‘iec101-gw’] and
[‘protocol’=’ iec101’]
19.5 Reference drawing
For ease of explanation of following terms and serial properties at this chapter, the diagram
below will be used as a reference to follow on the serial traffic flow.
The diagram demonstrates two iSG4F routers connected over an Ethernet network and
sharing a transparent serial tunneling service.
iSG4F User’s Manual
iS5 Communications Inc.
iSG4F User’s Manual
83
The customer equipment #1 (CE1) is a serial master sending data to a serial slave CE2. For
simplicity purposes, the diagram and explanations refer to unidirectional traffic from CE1 to
CE2.
19.6 Serial Traffic Direction
Transmit direction represents the serial-processor traffic towards the CE, over the serial port.
Receive direction represents the traffic received at the serial-processor from the CE, over the
serial port.
19.6.1 Serial ports counters
The Tx and Rx counters of the serial ports are controlled by the serial-processor.
Rx counters
•Switch1 – counters will increase when CE1 transmits. Data is received at the
serial-processor via S1 and updates the counters.
•Switch2 – counters are not updated.
Tx counters
• Switch1 – counters are not updated.
• Switch2 –CE1 Data is received over the Ethernet network to router 2 and to the
serial-processor. The serial processor transmits the data to CE2 over S1 and increases the Tx
counters.
iS5 Communications Inc.
84
19.7 Allowed Latency
Allowed latency is the maximum time allowed for the serial-processor to collect serial data
from CE1 transmission, before closing an Ethernet packet and sending it over the cloud.
This parameter refers to round-trip in milliseconds units. It reflects only the time for the serial
processor to collect data, it does not consider the network self-latency.
Allowed latency is applicable in byte mode only.
•Switch1 – as CE1 transmits data to serial processor over S1, the allowed-latency
properties are applicable. For a configured value x at allowed-latency, the serial
processor will collect serial data for up to x/2 milliseconds time and then close the
collected data as an Ethernet packet.
•Switch2- as CE2 is only receiving, the allowed-latency is not of influence
19.8 Tx Delay
Tx-delay is set in bits. It determines a delay to take place by the serial processor before
transmitting serial data to the port.
iSG4F User’s Manual
Depending on the baud rate chosen, and the number of bits, a time is calculated for Tx-delay.
Switch1 – as the serial processor only receives serial data, the tx-delay is of no affect.
Switch2- the Ethernet encapsulated data is received at router 2 and to its
serial-processor. It is then transmitted to CE2 via S1 following a time elapse of the
tx-delay.
The serial-processor will delay transmitting the first serial byte to CE2. Following data
bytes are sent without delay.
19.9 Bus Idle Time
This parameter determines a silence on the serial line to identify frame end.
The configurable value for it is given in number of bits. Depending on the baud rate chosen,
and the number of bits, a time is calculated for bus-idle-time.
19.9.1 Byte mode
When using byte mode, end of byte is determined by stop bits. Bus-idle-time is not applicable
at this mode.
19.9.2 Frame mode
Switch1- the serial-processor will collect serial data transmitted from CE1 until a
silence is identified on the line for a time period equal or above the bus-idle-time.
Switch2- the serial-processor transmits the serial frames to CE2 while maintaining a
gap between frames. The gap is the bus-idle-time.
iS5 Communications Inc.
85
19.10 Example Serial Tunneling
The network below demonstrates a P2P topology of transparent serial tunneling.
serial port create slot 1 port 1 baudrate 9600 parity even mode-of-operation
transparent
serial local-end-point create slot 1 port 1 service-id 1 application
serial-tunnel position master
serial remote-end-point create remote-address 172.18.212.231 service-id
1 position slave
commit
exit
commit
Protocol Gateway IEC 101 to IEC 104
The iSG4F router, using its application module implements the gateway for IEC101 serial
devices to the IEC104 IP protocol. The IEC101 and IEC104 protocols are fully integrated in the
application module thus allowing the IEC101 slave devices to be represented as a IEC104
server in the IP network and to be addressed as such by IEC104 clients located anywhere in
iS5 Communications Inc.
iSG4F User’s Manual
87
the network.
The gateway implementation consists of 3 functions:
IEC104 Server – The application module will act as a IEC104 server to any IEC104
clients that connect to it over the Ethernet network. This function includes the full
implementation of the state-machine of the IEC104 server, response to keep-alive
test frames and listening of TCP port 2404 for any client requests.
IEC60870 message router – The application module will act as an application router
translating the requests received by the IEC104 server to commands issued by the
IEC101 master with the proper IEC101 address and sending the responses vice versa.
IEC101 Master – The application module will act as a IEC101 master to the IEC101
server devices connected to the assigned serial interfaces in the router. This function
includes the full implementation of the state-machine of the IEC101 master,
initialization and arbitration of the IEC101 bus and issuing commands to the
appropriate IEC101 slave to provide the response to the requests which arrive from
the message router.
The IEC101 devices will be configured with their serial link properties, device address and
ASDU address to be uniquely identified behind the gateway.
Overall the IEC101 devices will be addressed from the IEC104 remote client using the
following hierarchical addressing scheme: IP address of the application module in which the
IEC101/104 gateway is implemented, IEC101 device address, ASDU address and IOA
(Information Object Address - for example, the actual address of the discrete inputs mapped
at the IEC101 RTU).
20.1 Modes of Operation
The gateway supports 2 topologies for the IEC101 devices as defined by the standard:
Balanced Mode – Up to 24 unique IEC-101 servers behind each single gateway
Unbalanced Mode – Up to 32 ASDU addresses behind each IEC101 server device
iS5 Communications Inc.
iSG4F User’s Manual
88
20.2 IEC101/104 Gateway properties IEC 101
System role : Controlling station definition (Master)
Network configuration :
o Point-to-point
o Multiple point-to-point
o Multipoint-party line (planned)
Physical layer
o Transmission speed in monitor & control direction: 300 – 38400bps
Link layer
o Link transmission procedure
Balanced transmission
Unbalanced transmission
o Address field of the link
Not present (balanced transmission only)
One octet
Two octets
Structured values translation
Unstructured
Application layer
o Common address of ASDU
One octet
Two octets
o Information object address
Two octets
iS5 Communications Inc.
89
Three octets
Structured
Unstructured
o Cause of transmission
One octet
Two octets (with originator address)
20.3 IEC101/104 Gateway Configuration
The IEC101/104 gateway can be configured through the systems CLI or as part of an IEC104
network-wide service-group in the iNMS (industrial network management system) tool.
In any case the configuration should include the following parameters:
Application IP address – The application module must be configured with an IP
address and should be associated with a VLAN for the uplink traffic. This application
IP interface acts as the IEC104 server in the Ethernet network and represents all the
IEC101 devices connected locally to the router towards the IEC104 clients.
iSG4F User’s Manual
Optional remote IP addresses - When configuring the IEC104 service-group you
should also provide the IP addresses of the IEC104 clients so the proper
service-aware firewall rules can be defined.
IEC101 device parameters - For the serial interfaces the physical link properties
should be configured (baud-rate ,parity , stop bits). Furthermore the IEC101
addressing information should be provided and the devices should be assigned to the
IEC104/101 gateway.
iS5 Communications Inc.
iSG4F User’s Manual
90
20.4 Gateway 101/104 Configuration Flow
When attending a setup configuration, follow these below steps.
1. Ethernet connectivity towards the IEC 104 Client (SCADA)
a. Set service VLAN and assign relevant ports.
b. Set ACE IP interface with the service VLAN
c. Set static or dynamic routing if needed to reach the IEC 104 Client.
d. Verify by following methods
i. Successful ping between the IEC 104 Client (SCADA) and the iSG4F
designated IP interface.
ii. IEC 104 connection established. Use the command “iec101-gw show all”
to verify connection at the switch.
2. Serial connection towards the locally connected IEC101 server (RTU)
a. Configure a serial port
i. Serial properties as baud rate, parity and such, must be consistent with
those of the RTU.
ii. The serial port must be configured with ‘mode-of-operation set to
‘transparent’.
b. Configure a local service (serial local-end-point)
iS5 Communications Inc.
iSG4F User’s Manual
91
i. Create a local-end-point and assign the serial port.
ii. The local-end-point field ‘application’ must be set to ‘iec101-gw’
c. Enable the gateway
i. Assign the gateway to use the predefined ACE interface.
ii. Set the desired mode ‘balanced’ or ‘unbalanced’.
d. Configure the gateway with the RTU IEC101 properties. Key values are advised
here
i. Common Address of ASDU value (CLI field ‘asdu_addr’). As set at the
RTU.
ii. Common Address of ASDU length in bytes (CLI field
‘common_address_field_length’). As set at the RTU.
iii. Link Address (CLI field ‘link_addr’). As set at the RTU.
iv. Link Address length in bytes (CLI field ‘link_address_field_length’). As set
at the RTU.
v. Cause of Transmission length in bytes, determined by the usage of the
vi. Connect the IEC101 server (RTU) to the serial port with a proper serial
e. Verify by following methods
i. Use the command “iec101-gw show all” to verify the operational status
ii. Follow serial port and gateway counters to check if serial traffic is
3. Trouble shooting
a. Most trouble shooting is usually at the IEC101 connection to the locally
connected RTU. The IEC 104 connection between the gateway and the client
(SCADA) is based on straightforward Ethernet connectivity which is easy to
establish and diagnose.
originator address field in the protocol. (CLI field ‘orig_addr_participate’)
cable. Pin-out of the RS232 RJ45 port of the switch is given in this
manual. Control lines are not supported for the gateway application.
Usage of Tx,Rx and GND lines are allowed.
(‘OP ST’) is UP.
received and transmitted at the serial port.
Show commands “serial port show slot 1 port <x>” and
“iec101-gw cnt show” are available.
b. If the IEC101 (‘OP ST’) is in any other state other than ‘UP’, try the following
i. Verify your serial physical connection.
ii. Verify the RTU is on and properly configured.
iii. Follow the serial port counters to verify traffic is received and
transmitted at the serial port. If only Rx counters are progressing, check
again the serial properties of both the gateway and the RTU (baud rate,
parity and such).
iS5 Communications Inc.
92
iv. Verify the IEC properties are consistent between the gateway and the
iS5 routers allows a special service for transposing of a TCP session to serial session.
Networking:
A router acting as the terminal server can be connected to the Ethernet telnet client
(management station) via:
local connection at its ports or
Via IP network.
In both cases the connection is TCP based.
A router acting as the terminal server can be connected to the serial end device (managed
station) via:
local connection at its RS-232 ports or
Over UDP connection to a remote iS5 router to which the serial device is connected
directly to.
In this case there will be a “transparent serial tunneling service” over the IP network
(encapsulation of serial data in UDP|TCP packets)
iS5 Communications Inc.
iSG4F User’s Manual
99
A example, console ports of remote devices to be reached via terminal server service using
telnet from any PC with Ethernet link.
In the drawing below the management station (PC) is a Telnet client which requires being able
to manage the remote RTUs with a text based shell method.
The PC is an Ethernet device connected locally to the router A.
Router A acts as a telnet server towards it. A telnet session is hence established between the
PC and the router.
Up to 100 such sessions can simultaneously be supported, uniquely identified by their TCP
Port numbers.
It is possible to support P2MP in 2 modes:
Over the same service using the same TCP port number.
Over different services using multiple TCP sessions each with a different TCP port.
The user will configure services ,to determine which RTU is to be addressed via which telnet
session.
In bellow example Serial transparent tunneling (UDP|TCP traffic) will take place between the
iS5 routers thus establishing the paths from the serial RTUs to router A . Using the mapping
between the telnet sessions and the serial services the application will direct the traffic from
the management station to the RTUs allowing each its own path for management.
Below is a second option at which the terminal servers are set at the remote router where
the serial devices are connected locally.
The benefit in this scenario is having a TCP session over the IP network.
iS5 Communications Inc.
iSG4F User’s Manual
100
21.2 Terminal Server Commands Hierarchy
+ root
+ serial
+ port
- clear counters
- create slot <1> port <1-2> [baudrate <9600,(50-368400)>]