gcr300 dnp3.0 detail switch control

13
GCR300 DNP Interface Detail __________________________________________________________________ _____________ GCR300 DNP3.0 IMPLEMENTATION Version 2.3 2005 OPB 24 th March 2005 Added sectionalizer parameters to index and control lists. OPB 3 rd May 2005 Added control functions OPB 3 rd May 2005 Modified index table OPB 7 th Nov 2005 Altered init. Description OPB 29 th Nov 2005 Corrected DNP index table Copyright CSI Pty Ltd All rights reserved 2002 1

Upload: jagan-vanama

Post on 21-Jul-2016

14 views

Category:

Documents


3 download

DESCRIPTION

DNP Profile for GCR 300 switch

TRANSCRIPT

Page 1: GCR300 DNP3.0 Detail Switch Control

GCR300 DNP Interface Detail_______________________________________________________________________________

GCR300 DNP3.0 IMPLEMENTATION

Version 2.3 2005

OPB 24th March 2005 Added sectionalizer parameters to index and control lists.OPB 3rd May 2005 Added control functionsOPB 3rd May 2005 Modified index tableOPB 7th Nov 2005 Altered init. DescriptionOPB 29th Nov 2005 Corrected DNP index table

Copyright CSI Pty Ltd All rights reserved 20021

Page 2: GCR300 DNP3.0 Detail Switch Control

GCR300 DNP Interface Detail_______________________________________________________________________________

The following description assumes that the reader has a working knowledge of the DNP3.0 protocol.

Receive & Transmit Packet Size

The receive and transmit buffer each has a maximum size of 512 bytes. A maximum of 4 requests may be concatenated by a master device in a single message.

A message is defined as a sequence of contiguous bytes with no more than 100msec elapsing between bytes. If the received message or the required response data exceeds 512 bytes, the message will be aborted.

Fragmented messages are not supported and therefore FIN and FIR in the transport header response are always set.

Data Link acknowledgement is not used by the GCR300 and application confirms are only requested when unsolicited reports are issued.

Data Link Function Codes

The following function codes may be used:

Function Response Service0 Confirm Dummy response1 Confirm Dummy response2 Confirm Dummy response3 Confirm and decode object

requestsUser data

4 Decode object requests Unconfirmed user data9 Confirm Link OK if responds

“Dummy” indicates that a valid OK response is returned to the master device but these functions have no meaning to the RTU.

Copyright CSI Pty Ltd All rights reserved 20022

Page 3: GCR300 DNP3.0 Detail Switch Control

GCR300 DNP Interface Detail_______________________________________________________________________________

Application Function Codes

The following function codes are used or understood:

Function Response Service0 Confirm Confirmation – used to acknowledge unsolicited1 Read Object data returned2 Write Write data5 Direct operate Switch control13 Cold restart Dummy23 Fine time delay Dummy129 Response Response to request130 Unsolicited

messageUnsolicited response

Objects Supported

Time & Date (50)

Variation 1Qcode 7Index N/AQty 1Application function 129Link function 4Application confirm NOAction Set real time clock in msec

Analog Values (30)

Variation 2Qcode 0Index 0Qty 11Size 16 bit with only 12 bits validApplication function 129 or 130Link function 4Application confirm NO if response but YES if unsolicited

Copyright CSI Pty Ltd All rights reserved 20023

Page 4: GCR300 DNP3.0 Detail Switch Control

GCR300 DNP Interface Detail_______________________________________________________________________________

Digital (1)

Variation 1Qcode 0Index 0Qty 96 pointsSize 1 bit per pointApplication function 129 or 130Link function 4Application confirm NO if response but YES if unsolicited

Class Polling (60)

Variation 1 & 2 supported (see INDEX list for class assignments)

Control (12)

8 bit (Idx 1 Qcode 7) and 16 (Idx 2 Qcode 8) bit index fields are supported.

Pulsed and latched controls are available but are specific to the index point addressed.

Sectionalizer index points are only applicable to the sectionalizer application.

Index Code Field Action GCR3000 1 Pulse ON Switch will close0 2 Pulse OFF Switch will open0 3 Latch ON Switch will close0 4 Latch OFF Switch will open1 1,2,3,4 All Alarms will reset2 1 Pulse ON Sectionalizer - SCADA Live Line ON2 2 Pulse OFF Sectionalizer - SCADA Live Line OFF3 1 Pulse ON Sectionalizer - One Count ON3 2 Pulse OFF Sectionalizer - One Count OFF4 1 Pulse ON Sectionalizer - ALT 1 ON4 2 Pulse OFF Sectionalizer - ALT 1 OFF5 1 Pulse ON Sectionalizer - ALT 2 ON5 2 Pulse OFF Sectionalizer - ALT 2 OFF6 1 Pulse ON Sectionalizer - ALT 3 ON6 2 Pulse OFF Sectionalizer - ALT 3 OFF

Copyright CSI Pty Ltd All rights reserved 20024

Page 5: GCR300 DNP3.0 Detail Switch Control

GCR300 DNP Interface Detail_______________________________________________________________________________

Binary Input Change with Time (2)

Variation 2Qcode 7Index 1Qty VariableSize Flag & time of occurrenceApplication function 130Link function 4Application confirm YES

INDEX LIST

Index points greater than 31 are only used with the sectionalizer application.

INDEX Description Type Class Event0 Control available B(inary) 1 Y1 Low gas B 1 Y2 Panel local B 1 Y3 Panel remote B 1 Y4 Switch handle manual B 1 Y5 Switch handle remote B 1 Y6 Switch contacts open B 1 Y7 Switch contacts closed B 1 Y8 White phase current lvl2 B 1 Y9 White phase current lvl1 B 1 Y10 White phase current lvl3 B 1 Y11 Red phase current lvl2 B 1 Y12 Red phase current lvl1 B 1 Y13 Red phase current lvl3 B 1 Y14 AC supply to controller failed B 1 Y15 Battery failed load test B 1 Y16 Blue phase voltage low B 1 Y17 Red phase voltage high B 1 Y18 Red phase voltage low B 1 Y19 Neutral current lvl2 B 1 Y20 Neutral current lvl1 B 1 Y21 Blue phase current lvl2 B 1 Y22 Blue phase current lvl1 B 1 Y23 Blue phase current lvl3 B 1 Y24 Not used B 1 Y25 Not used B 1 Y26 Not used B 1 Y27 Neutral current lvl3 B 1 Y28 Not used B 1 Y

Copyright CSI Pty Ltd All rights reserved 20025

Page 6: GCR300 DNP3.0 Detail Switch Control

GCR300 DNP Interface Detail_______________________________________________________________________________

INDEX Description Type Class Event29 White phase voltage high B 1 Y30 White phase voltage low B 1 Y31 Blue phase voltage high B 1 Y32 Main group B 3 Y33 Alt 1 group B 3 Y34 Alt 2 group B 3 Y35 Alt 3 group B 3 Y36 Earth fault 1 B 3 Y37 Earth fault 2 B 3 Y38 Earth fault 3 B 3 Y39 A/D Failure B 3 Y40 Earth fault 4 B 3 Y41 A Phase fault B 3 Y42 B Phase fault B 3 Y43 C Phase fault B 3 Y44 One count sequence B 3 Y45 Live line sequence setting B 3 Y46 Live line sequence SCADA B 3 Y0 Red phase current A(nalog) 2 N1 White phase current A 2 N2 Blue phase current A 2 N3 Neutral current A 2 N4 Red phase voltage A 2 N5 White phase voltage A 2 N6 Blue phase voltage A 2 N7 Switch operations counter A 2 N8 Last fault White phase current A 2 N9 Last fault Red phase current A 2 N10 Last fault Blue phase current A 2 N11 Control cubicle temp degrees Kelvin A 2 N

Copyright CSI Pty Ltd All rights reserved 20026

Page 7: GCR300 DNP3.0 Detail Switch Control

GCR300 DNP Interface Detail_______________________________________________________________________________

Protocol Control Features

The following table defines additional programmable features that are used to control various aspects of how the protocol operates.

Master address Address used for unsolicited messages

0 – 65535

Analog unsolicited Send analogs when change of state occurs

Enable/Disable (only if Event unsolicited disabled)

Digital unsolicited Send digital status when change of state occurs

Enable/Disable (only if Event unsolicited disabled)

Event unsolicited Send event data using absolute time

Enable/Disable (only if Analog and Digital unsolicited disabled)

Application layer timeout Time device waits for response

1 to 60 seconds

Retry counter – unsolicited How many times an unsolicited message is sent without master acknowledgment

0 = no retries1 – 65535 attempts

Retry fail time Time between retry sets 1- 3000 secondsTime sync. Time after which the IIN

NEED TIME bit is cleared1-1440 minutes

Protocol display Decoded DNP data sent to config. Port in ASCII

Enable/Disable

Time Synchronization

The NEED TIME bit in the IIN response field is used to indicate to the master device that a time check is required. This bit is cleared according to the setting for the TIME SYNC parameter.

System Startup

When power is first applied, the RTU does a self test that may take up to 40 seconds. After this time an unsolicited time response is sent with IIN bits set to a reset state. The master will then synchronize the real time clock and event queue and become aware of the presence of the device.

Copyright CSI Pty Ltd All rights reserved 20027

Page 8: GCR300 DNP3.0 Detail Switch Control

GCR300 DNP Interface Detail_______________________________________________________________________________

Unsolicited Response

A change of digital state will generate an unsolicited event response. Note that this includes target alarms. An APPLICATION CONFIRM is expected and the unsolicited response will continue retrying according to configuration parameters.

The SCADA master may send enable/disable index point exception control bits but they are ignored. A dummy response will be sent satisfying the master station command.

Communications Port

The protocol is provided on COM2 of the COMMS module as an RS232 signal fixed at 9600 BPS, 8 data, I stop and no parity. Control lines are ignored making this a 3 wire system (transmit, receive and ground). Refer to the GCR300 manual for RJ45 pin descriptions.

Copyright CSI Pty Ltd All rights reserved 20028