Arctic IEC-104 Gateway

Download Report

Transcript Arctic IEC-104 Gateway

Arctic IEC-104 Gateway
Jari Lahti, CTO
Arctic IEC-104 Gateway
•
•
•
•
•
•
•
•
•
IEC 60870-5-104 to IEC 60870-5-101 communication gateway
– Conversion between IEC-104 and IEC-101
Local IEC-101 polling of Class 1 and Class 2 events
One RS-232 and one RS-232/422/485 port up to 460800 bps
Internal Ethernet and GSM/GPRS wireless network interface
Secure communication with internal VPN and firewall
GPRS operator independent static IP addressing with Viola
M2M Gateway
Packet compression for slow-speed links
I/O extension option (=Arctic RTU)
DIN rail mounting option
IEC-104 OVER GPRS
IEC-101 OVER RS-232
Wireless Feeder Automation
SCADA
IEC-104
Viola M2M
Gateway
GPRS
IEC-104 OVER SECURE VPN TUNNEL
Arctic IEC-104
Gateway
IEC-101 OVER RS-232
IEC-101 Devices
(Feeder Controllers)
Physical Connections
GPRS Antenna
-FME connector
Power input
-6-26 VDC
RS 1 (RS-232)
-Console or plain data
Console switch
-Defines the mode of
RS 1 (console or data)
RS 2 (RS-232/422/485)
-IEC-101 data
RS 2 DIP switches
-RS-232 / RS-422 / RS-485
-Full (485) / Half (422) duplex
-Bias on/off
-Termination on/off
Ethernet
-10/100 Base-T
DIP Switches and RS2 pinout
•
DIP switches control the operation of RS2
Number
Function
State
Explanation
1
RS-232/RS-485
0=RS-232, 1=RS-485
Selects RS-port operation
2
FULL/HALF
0=full, 1=half
Selects between full-duplex (4-wire) and
half-duplex (2-wire) RS-485 operation
3
BIAS
0=off, 1=on
RS-485 biasing
4
TERMINATION
0=off, 1=on
RS-485 termination
•
RS2 pinout (standard male DB-9)
•
RS2 operation in RS-232 mode (standard DTE) and in RS422/485 mode
Pin
1
2
3
4
5
6
7
8
9
RS-485 FD (4-wire) RS-485 HD (2-wire)
RXD+ (in)
TXD- (out)
TXD/RXD- (out/in)
GND
GND
TXD+ (out)
RXD- (in)
TXD/RDX+ (out/in)
IEC-101 Serial settings
• Serial speed
–
–
–
–
–
–
–
1200
2400
4800
9600
19200
38400
57600
•Data bits
–5,6,7,8
•Parity
–None, Even, Odd
•HW (CTS/RTS) Flow control
–Yes/No
Network settings
•
•
•
•
Network protocol
– TCP (standard IEC-104)
– UDP
Network port to listen
– The TCP or UDP port the Arctic IEC-104 Gateway listens for
incoming IEC-104 connections
– 2404 is the standard port
Network idle timeout
– If there is no communication on open connection during defined
interval the Arctic IEC-104 Gateway closes the connection
New connection priority
– Defines are new connections accepted if there is a connection
already
– Setting Yes enables new connection to have higher priority and the
existing connection is closed
IEC-104 Settings
•
TX window size (k)
–
•
RX window size (w)
–
•
•
NOTE
•
•
•
•
(w) must be smaller than (k) (2/3 of k)
(t1) must be longer than (t2)
w, k, t1 and t2 should be same on both ends
(SCADA, Arctic) of IEC-104 connection
(t3) should be smaller on Arctic than on
SCADA
size of IEC-104 Cause of transmission field length in bytes
Common address length
–
•
defines the maximum sequence number used on IEC-104
communication
Cause of transmission length
–
•
if the IEC-104 link is on suspendet state over defined timeout
Arctic will close the link
Max sequence number
–
•
interval for sending IEC-104 link test packets
Suspended timeout
–
•
how many seconds to wait from last received IEC-104 packet
before sending acknowledgement
Link test interval (t3)
–
•
how many seconds to wait acknowledgement from IEC-104
master
I frames RX timeout (t2)
–
•
how many IEC-104 packets Arctic receives from IEC-104
master before sending acknowledgement
I frames TX timeout (t1)
–
•
how many IEC-104 packets Arctic sends to IEC-104 master
before waiting acknowledgement
size of IEC-104 Common address field length in bytes
Info object address length
–
size of IEC-104 Information object address field length in
bytes
Local polling of events
• The Arctic IEC-104 gateway polls locally the IEC-101
device for Class 1 and Class 2 events
– events are sent when they occur
– no need to perform fast polling over GPRS
– slow periodic link test frames can be used
Send when events
Local IEC-101 polls
IEC-101 Settings
•
Slave link address
–
•
Link address field length
–
–
•
–
size of IEC-101 Cause of transmission field length in bytes
Common address length
–
•
how many times to retry a command to IEC-101 slave
Cause of transmission length
–
•
timeout of waiting reply to end from IEC-101 slave
Retry limit
–
•
timeout of waiting reply to start from IEC-101 slave
Reply end timeout
–
•
defines is the IEC-101 link kept open by Arctic even when
there is no active IEC-104 connection
the events are still not polled untill the IEC-104 connection is
active
Reply header timeout
–
•
the interval of testing IEC-101 link status in multiple of 100
ms
Keep link open
–
•
the interval of polling Class 1 or Class 2 events from IEC101 slave in multiple of 100 ms
Link test interval
–
•
the size of IEC-101 link address field in bytes
1 or 2
Event poll interval
–
•
the link address of IEC-101 slave
size of IEC-101 Common address field length in bytes
Info object address length
–
size of IEC-101 Information object address field length in
ASDU Conversion
• The Arctic IEC-104 Gateway supports ASDU level
header length conversion
– Cause of transmission length
– Common address length
– Information object address length
• This is usually required because the header lengths
typically differs between IEC-101 and IEC-104
• It is possible to convert also ASDU types if the
implementation differs between IEC-104 master and
slave
ASDU Converter settings
•
Use ASDU converter
–
•
Use ASDU type replacer
–
•
set Yes to allow conversion between ASDU
Original type and Applied type
Original type
–
•
set Yes to allow conversion between IEC-101
and IEC-104 header field lengths
original ASDU type to be searched if ASDU
type replacer is enabled
Applied type
– the ASDU defines is the type used to replace
the original type if ASDU type replacer is
enabled
Packet collector
• The packet collector can be used to "collect" multiple
IEC-104 packets to Arctic before sending them to IEC104 master
• This decreases the amount of used GPRS data because
data is sent in single packet rather than in multiple
packets
– single TCP/IP header instead of multiple headers
Packet collector settings
• Use packet collector
– set yes to allow packet
collector operation
• Max bytes
•
NOTE
• If any of the triggers (Max bytes, Max
time, Max packets) is reached the
packet is sent
– Maximum bytes to collect
before sending the packet
• Max time
– Maximum time to collect before
sending the packet
• Max packets
– Maximum number of IEC-104
frames to collect before
sending the packet
IO Extension
• It is possible to equip Arctic IEC-104 Gateway with I/O
extension board
– 8 DI
– 2 DO
• These I/O pins can be used as an extension of IEC-101
slave address space
– single IEC-104 connection is required to control the IEC-101
slave and Arctic IO extension
• Arctic sends the I/O status as spontaneous events in
case of General interrogation
• All IO extension information is Single-point information
without time tag
• It is possible to send the Input status periodically as
spontaneous events
• The output pins can be controlled with Single command
• I/O extension board is a manufacturing option
IO Pinout
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Front View
Output circuit
Input circuit
•
NOTE
• Input voltages below 2 V are detected as
logic "0"
• Input voltages between 5-60 V are detected
as logic "1"
PIN
SYMBOL
DESCRIPTION
1
V+
Vcc out, 50 mA
2
DI_1
Digital input, 0...60V
3
DI_2
Digital input, 0...60V
4
DI_3
Digital input, 0...60V
5
DI_4
Digital input, 0...60V
6
DI_5
Digital input, 0...60V
7
DI_6
Digital input, 0...60V
8
DI_7
Digital input, 0...60V
9
DI_8
Digital input, 0...60V
10
DI_COM
Digital inputs referense input
11
DO_1A
Digital output pole 1, 0...60V, 50 mA
12
DO_1B
Digital output pole 2
13
DO_2A
Digital output pole 2, 0...60V, 50 mA
14
DO_2B
Digital output pole 2
15
GND
GND output
IO Extension settings
•
Use IO extension board
–
•
Common address
–
•
•
–
•
Send input status cyclic
–
•
Defines are the input pin status information
sent cyclically when the IEC-104 connection
is active
•
•
–
Defines the time interval in 0.1 secs of
sending input status cyclical message
Inputs status are sent as spontaneous
events
Send input state change event
–
Defines does the state change of input
cause sending of spontaneous event.
Defines the duration in 0.1 secs of output short pulse.
Output long pulse duration
–
•
timeout of waiting reply to end from IEC-101 slave
Output short pulse duration
–
•
The information object address of first digital output on IO
extension board
Reply end timeout
–
•
number of digital outputs used
0-2
Outputs start address
–
Cyclic interval
–
•
Defines the forced operation of outputs
executed regardless the actual command
data.
The information object address of first digital input on IO
extension board
Number of outputs
–
–
Forced output function
number of digital inputs used
0-8
Inputs start address
–
•
the IEC-104 common address of IO extension board
Number of inputs
–
–
•
set Yes to enable IO extension
Defines the duration in 0.1 secs of output long pulse
Paired outputs
–
Defines are the outputs controlled individually or are they
controlled as paired outputs.
Serial port RS1
• The serial port RS1 can be used in two modes
– Console mode - access Arctic command line with serial
console
– Data mode - transfer plain RS-232 data over network
• The RS1 mode is controlled by Console Switch on Arctic
front panel
– Switch position in Console mode
– Switch position in Data mode
• When operating the console switch always turn Arctic
OFF
RS 1 Serial Gateway