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.

Post on 14-Dec-2015

248 Views

Category:

Documents

6 Downloads

Preview:

Click to see full reader

Transcript

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

IEC-101 OVER RS-232

Viola M2M Gateway

IEC-104 OVER SECURE VPN TUNNELGPRS

SCADA

Arctic IEC-104 Gateway

IEC-101 Devices (Feeder Controllers)

IEC-104

Physical Connections

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

GPRS Antenna-FME connector

Power input-6-26 VDC

Ethernet-10/100 Base-T

DIP Switches and RS2 pinout• DIP switches control the operation of RS2

• RS2 pinout (standard male DB-9)

• RS2 operation in RS-232 mode (standard DTE) and in RS-422/485 mode

RS-485 termination0=off, 1=onTERMINATION4

RS-485 biasing0=off, 1=onBIAS3

Selects between full-duplex (4-wire) and half-duplex (2-wire) RS-485 operation

0=full, 1=halfFULL/HALF2

Selects RS-port operation0=RS-232, 1=RS-485RS-232/RS-4851

ExplanationStateFunctionNumber

RS-485 termination0=off, 1=onTERMINATION4

RS-485 biasing0=off, 1=onBIAS3

Selects between full-duplex (4-wire) and half-duplex (2-wire) RS-485 operation

0=full, 1=halfFULL/HALF2

Selects RS-port operation0=RS-232, 1=RS-485RS-232/RS-4851

ExplanationStateFunctionNumber

Pin RS-485 FD (4-wire) RS-485 HD (2-wire)12 RXD+ (in)3 TXD- (out) TXD/RXD- (out/in)45 GND GND67 TXD+ (out) TXD/RDX+ (out/in)8 RXD- (in)9

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)

– how many IEC-104 packets Arctic sends to IEC-104 master before waiting acknowledgement

• RX window size (w)– how many IEC-104 packets Arctic receives from IEC-104 master

before sending acknowledgement• I frames TX timeout (t1)

– how many seconds to wait acknowledgement from IEC-104 master

• I frames RX timeout (t2)– how many seconds to wait from last received IEC-104 packet

before sending acknowledgement• Link test interval (t3)

– interval for sending IEC-104 link test packets• Suspended timeout

– if the IEC-104 link is on suspendet state over defined timeout Arctic will close the link

• Max sequence number– defines the maximum sequence number used on IEC-104

communication• Cause of transmission length

– size of IEC-104 Cause of transmission field length in bytes• Common address length

– 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

• 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

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

Local IEC-101 polls

Send when events

IEC-101 Settings• Slave link address

– the link address of IEC-101 slave• Link address field length

– the size of IEC-101 link address field in bytes– 1 or 2

• Event poll interval– the interval of polling Class 1 or Class 2 events from IEC-

101 slave in multiple of 100 ms• Link test interval

– the interval of testing IEC-101 link status in multiple of 100 ms

• Keep link open– 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

– timeout of waiting reply to start from IEC-101 slave• Reply end timeout

– timeout of waiting reply to end from IEC-101 slave• Retry limit

– how many times to retry a command to IEC-101 slave• Cause of transmission length

– size of IEC-101 Cause of transmission field length in bytes• Common address length

– size of IEC-101 Common address field length in bytes• Info object address length

– size of IEC-101 Information object address field length in bytes

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

– set Yes to allow conversion between IEC-101 and IEC-104 header field lengths

• Use ASDU type replacer– set Yes to allow conversion between ASDU

Original type and Applied type• Original type

– 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 IEC-104 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– 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

• NOTE• If any of the triggers (Max bytes, Max

time, Max packets) is reached the packet is sent

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 PinoutPIN 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

Front View

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Input circuit

Output circuit

• NOTE• Input voltages below 2 V are detected as

logic "0"• Input voltages between 5-60 V are detected

as logic "1"

IO Extension settings• Use IO extension board

– set Yes to enable IO extension• Common address

– the IEC-104 common address of IO extension board • Number of inputs

– number of digital inputs used– 0-8

• Inputs start address– The information object address of first digital input on IO

extension board • Number of outputs

– number of digital outputs used– 0-2

• Outputs start address– The information object address of first digital output on IO

extension board • Reply end timeout

– timeout of waiting reply to end from IEC-101 slave• Output short pulse duration

– Defines the duration in 0.1 secs of output short pulse. • Output long pulse duration

– 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.

• Forced output function– Defines the forced operation of outputs

executed regardless the actual command data.

• Send input status cyclic– Defines are the input pin status information

sent cyclically when the IEC-104 connection is active

• Cyclic interval– 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.

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

top related