SYS600 - IEC 61850 Master Protocol OPC
SYS600 - IEC 61850 Master Protocol OPC
SYS600 - IEC 61850 Master Protocol OPC
4
IEC 61850 Master Protocol (OPC)
Trace back information:
Workspace Main version a55
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
Contents
2 Introduction ........................................................................................... 13
2.1 Product overview .......................................................................... 13
2.2 IEC 61850 OPC Server features .................................................. 14
3 Configuration ........................................................................................ 15
3.1 Overview of configuration ............................................................. 15
3.2 Building object tree ....................................................................... 16
3.2.1 General about building object tree .................................. 16
3.2.2 Adding Computer Node object ........................................ 17
3.2.3 Adding IEC 61850 OPC Server object ............................ 17
3.2.4 Adding IEC 61850 Subnetwork objects .......................... 18
3.2.5 Adding IEC 61850 IED objects ....................................... 18
3.3 Configuring objects ....................................................................... 19
3.3.1 Configuring object properties .......................................... 19
3.3.2 Configuring IEC 61850 OPC Server properties .............. 20
3.3.3 Configuring IEC 61850 Subnetwork properties .............. 22
3.3.4 Configuring IEC 61850 Device properties ...................... 23
3.3.5 Configuring Logical Device properties ............................ 27
3.3.6 Configuring report control blocks .................................... 27
4 Operation ............................................................................................... 31
4.1 Updating IEC 61850 OPC Server configuration ........................... 31
4.2 IEC 61850 OPC Server diagnostics ............................................. 31
4.3 IEC 61850 subnetwork diagnostics .............................................. 32
4.4 IEC 61850 device diagnostics ...................................................... 34
4.5 IEC 61850 data object diagnostics ............................................... 36
4.6 IEC 61850 report control block diagnostics .................................. 36
4.6.1 Object status ................................................................... 36
4.6.2 Last error ........................................................................ 37
4.7 Advanced diagnostics ................................................................... 38
3
SYS600 9.4 MicroSCADA Pro 1MRS758084
4
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
5
SYS600 9.4 MicroSCADA Pro 1MRS758084
6
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
1.1 Copyrights
The information in this document is subject to change without notice and should not be
construed as a commitment by ABB Oy. ABB Oy assumes no responsibility for any
errors that may appear in this document.
In no event shall ABB Oy be liable for direct, indirect, special, incidental or consequential
damages of any nature or kind arising from the use of this document, nor shall ABB Oy
be liable for incidental or consequential damages arising from the use of any software
or hardware described in this document.
This document and parts thereof must not be reproduced or copied without written
permission from ABB Oy, and the contents thereof must not be imparted to a third party
nor used for any unauthorized purpose.
The software or hardware described in this document is furnished under a license and
may be used, copied, or disclosed only in accordance with the terms of such license.
Copyright © 2016 ABB Oy. All rights reserved.
Trademarks
ABB is a registered trademark of ABB Group. All other brand or product names
mentioned in this document may be trademarks or registered trademarks of their respective
holders.
Guarantee
Please inquire about the terms of guarantee from your nearest ABB representative.
Third Party Copyright Notices
List of Third Party Copyright notices are documented in "3rd party licenses.txt" and
included in SYS600 and DMS600 installation packages.
1.2 General
This manual provides thorough information on the IEC 61850 Master Protocol (OPC)
(later in this manual IEC 61850 OPC Server) and the central concepts related to it. It
also contains instructions on how to configure IEC 61850 OPC Server related objects,
and discussess basic operation procedures.
Information in this user’s guide is intended for application engineers who need to
configure the IEC 61850 OPC Server.
As a prerequisite, the user should understand the basic principles and the IEC 61850
technology and standard.
7
SYS600 9.4 MicroSCADA Pro 1MRS758084
Introduction
This section gives an overview of the IEC 61850 OPC Server and its features.
Configuration
This section contains an overview of configuration. Instructions are given on how to
configure IEC 61850 OPC Server related objects and the model of a substation or system.
Operation
This section gives instructions on how to monitor and control the condition of connections
in the IEC 61850 network.
Technical reference
This section describes the IEC 61850 data modeling. This section also contains attributes
and a list of status codes.
8
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
sequence name
Although warning hazards are related to personal injury, and caution hazards are
associated with equipment or property damage, it should be understood that operation
of damaged equipment could, under certain operational conditions, result in degraded
process performance leading to personal injury or death. Therefore, comply fully with
all warnings and caution notices.
1.5 Terminology
The following is a list of terms associated with the IEC 61850 OPC Server that the user
should be familiar with. The list contains terms that are unique to ABB or have a usage
or definition that is different from standard industry usage.
Term Description
Alarm An abnormal state of a condition.
Alarms and Events; AE An OPC service for providing information about alarms and
events to OPC clients.
Data Access; DA An OPC service for providing information about process data to
OPC clients.
9
SYS600 9.4 MicroSCADA Pro 1MRS758084
Term Description
Data Object; DO Part of a logical node object representing specific information,
e.g., status or measurement. From an object-oriented point of
view a data object is an instance of a class data object. DOs are
normally used as transaction objects; i.e., they are data struc-
tures.
Data Set The data set is the content basis for reporting and logging. The
data set contains references to the data and data attribute values.
Device A physical device that behaves as its own communication node
in the network, e.g. protection relay.
Event Change of process data or an OPC internal value. Normally, an
event consists of value, quality and timestamp.
Intelligent Electronic Device A physical IEC 61850 device that behaves as its own communic-
ation node in the IEC 61850 protocol.
Logical Device; LD Representation of a group of functions. Each function is defined
as a logical node. A physical device consists of one or several
LDs.
Logical Node; LN The smallest part of a function that exchanges data. A LN is an
object defined by its data and methods.
LON A communication protocol developed by Echelon.
LON Application Guideline for A proprietary method of ABB on top of the standard LON pro-
substation automation; LAG tocol.
OPC Series of standard specifications aiming at open connectivity in
industrial automation and the enterprise systems that support
industry.
OPC item Representation of a connection to the data source within the
OPC server. An OPC item is identified by a string <object
path>:<property name>. Associated with each OPC item are
Value, Quality and Time Stamp.
Property Named data item.
Report Control Block The report control block controls the reporting processes for
event data as they occur. The reporting process continues as
long as the communication is available.
SPA ABB proprietary communication protocol used in substation
automation.
SPA device Protection and/or Control Product supporting the SPA protocol
version 2.5 or earlier.
System Configuration descrip- XML-based description language for configurations of electrical
tion Language; SCL substation IEDs. Defined in IEC 61850 standard.
1.6 Abbreviations
The following is a list of abbreviations associated with the IEC 61850 OPC Server that
the user should be familiar with. See also Section 1.5 Terminology.
10
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
Abbreviation Description
AE Alarms and Events
ASDU Application Service Data Unit
BRCB Buffered Report Control Block
CDC Common Data Class
CET Communication Engineering Tool
DA Data Access
DMCD Data Message Code Definition
DO Data Object
GW Gateway, component connecting two communication networks together
HMI Human Machine Interface
IEC International Electrotechnical Commission
IED Intelligent Electronic Device
LAG LON Application Guideline for substation automation
LAN Local Area Network
LD Logical Device
LMK LonMark interoperable device communicating in LonWorks network. In
this document the term is used for devices that do not support the ABB
LON/LAG communication.
LN Logical Node
LSG LON SPA Gateway
NCC Network Control Center
NV Network Variable
OLE Object Linking and Embedding
OPC OLE for Process Control
P&C Protection & Control
RTS Request To Send
SA Substation Automation
SAB600 Station Automation Builder 600
SCL System Configuration description Language
SLD Single Line Diagram
SNTP Simple Network Time Protocol
SOAP Simple Object Access Protocol
RCB Report Control Block
URCB Unbuffered Report Control Block
XML eXtended Markup Language
11
SYS600 9.4 MicroSCADA Pro 1MRS758084
12
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
2 Introduction
(1.) MicroSCADA Pro SYS600 with IEC 61850 OPC Server and Communication
Engineering Tool (CET)
(2.) IEC 61850 network
(3.) Protection and control devices communicating through IEC 61850 protocol
The IEC 61850 OPC server is a part of the MicroSCADA Pro system (see Figure 2.1).
To create a common data interface between the OPC server and client, the process data
is modeled using the IEC 61850 protocol. The IEC 61850 protocol is a set of
specifications, which details layered substation communication architecture. The
International Standard IEC 61850 has been prepared by IEC technical committee 57:
Power system control and associated communications.
13
SYS600 9.4 MicroSCADA Pro 1MRS758084
The IEC 61850 specifies usage of Manufacturing Message Specification (MMS, ISO
9506) over TCP/IP as communication between the IEC 61850 server and client
(device/IEC 61850 OPC Server).
After the IEC 61850 OPC Server and other required components have been installed,
the user can build and configure hierarchically structured models of a substation or a
system for the IEC 61850 OPC Server using a Communication Engineering Tool (CET)
configuration files and device.
The configuration data is stored in SCL (XML based) format. After the IEC 61850 OPC
Server has been launched, it reads the configuration file and establishes communication
with the IEC 61850 devices through the IEC 61850 protocol stack.
Configured IEC 61850 devices and their data are then exposed to OPC clients through
an OPC Data Access (DA) server and device reported changes in data with DA
subscription are reported to OPC clients.
14
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
3 Configuration
Table 3.1 describes the possible objects shown in the object tree. After the necessary
objects have been added to the object tree in the Communication structure, they should
be configured. Refer to Section 3.3.1 Configuring object properties.
Table 3.1: IEC 61850 OPC Server related objects
Object Description
IEC 61850 OPC Server Object representing the IEC 61850 OPC Server
Event Definitions Object representing event definitions for IEC 61850 OPC Server
diagnostics
IEC 61850 Subnetwork Object representing a physical subnetwork. IEC 61850 OPC
Server supports max. 16 subnetworks.
IEC 61850 Device (IEC 61850 Object representing a physical IEC 61850 protection and control
IED) device.
Attributes Predefined object that contains items for controlling or retrieving
status information for the parent object. The parent object can
be the Server, a Subnetwork or a Device object.
Logical Device (LD) Object representing a group of functions. Each function is defined
as a logical node. A physical device consists of one or several
LDs.
Logical Node (LN) An object defined by its data and methods. LN is the smallest
part of a function that exchanges data.
Data Object (DO) A data object is an instance of one of the IEC 61850 Common
Data Classes, for example single point status, measured value
etc. Depending on the class, each data object has a set of attrib-
utes for monitoring and controlling the object, for instance value,
quality and control.
15
SYS600 9.4 MicroSCADA Pro 1MRS758084
Object Description
Data Set (DS) The data set is the content basis for reporting and logging. The
data set contains references to the data and data attribute values.
Report Control Block (RCB) The report control block controls the reporting process for event
data as they occur. The reporting process continues as long as
the communication is available.
Before using the IEC 61850 OPC Server, the user needs to build and configure an object
tree in CET to define the Communication structure.
Figure 3.1 is an example of how the object tree may look like after it has been built. The
example represents the IEC 61850 OPC Server object and its child objects, such as
subnetworks, devices and data objects. Indentation is used to indicate the parent-child
relationship between the objects.
16
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
After the Computer Node object has been successfully added, building the object tree
can be continued by adding an IEC 61850 OPC Server object.
To add an IEC 61850 OPC Server object:
1. Select the Computer Node object in the Communication structure.
2. Right-click the Computer Node object.
3. Add an IEC 61850 OPC Server object.
By using the SCL Import function, it is possible to import configurations of an entire
server or individual devices without having to insert them manually.
To open the SCL Import function:
1. Click the desired object.
2. Select Tools > SCL Import.
The user can import the whole communication structure under IEC 61850 OPC Server
with new configurations from an existing file. This is done by using the SCL import
function. Right-click the IEC 61850 OPC Server and select SCL Import from the shortcut
menu. The possible file extensions for the import files are .scd, .sed or .xml.
To import a new configuration file:
1. Click Select File.
2. Browse for a new configuration file from the appearing dialog.
3. Select the file and click Open.
4. Select the OPC Server (or Subnetwork) to import from the drop-down list and click
Next.
5. Select the import options. Click Import.
The new preconfigured objects appear in the object tree. If the configuration file is very
large, the import may take time. To import a configuration file for a different OPC Server,
close SCL Import, right-click the OPC Server, select SCL Import again, and repeat the
steps above.
17
SYS600 9.4 MicroSCADA Pro 1MRS758084
After the server object has been successfully added, building the object tree can be
continued by adding IEC 61850 subnetwork objects.
To add an IEC 61850 subnetwork object:
1. Select an IEC 61850 OPC Server object.
2. Right-click the IEC 61850 OPC Server object.
3. Add an IEC 61850 subnetwork object.
4. Rename the new object if necessary.
18
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
3. Rename the new object. The names of the devices within an IEC 61850 network
have to be unique.
With the SCL import function new objects can be imported with configurations from an
existing file. Right-click the device and select SCL Import from the shortcut menu. The
possible file extensions for the import files are .icd, .cid, .scd, .iid, .sed or .xml.
To import a new configuration file:
1. Click Select File.
2. Browse for a new configuration file from the appearing dialog.
3. Select the file and click Open.
4. Select the IED and Accesspoint to import from the drop-down lists and click Next.
5. Click Import.
The new preconfigured objects appear in the object tree. If the configuration file is large,
the import may take time. To import a configuration file for a different device, close
SCL Import, right-click the device, select SCL Import again and repeat the steps above.
After the objects have been added, the object properties need to be configured.
To configure an object:
1. Select an object in the object tree of the Communication structure.
The object properties now appear in the Object Properties window, see Figure 3.2.
The selected object is on the left and the available properties on the right.
2. Select a property to configure. Depending on the property value type, configuring
is done either by:
• selecting a predefined value from a drop-down combo box, or
• entering a text string or a numerical value in a text field.
19
SYS600 9.4 MicroSCADA Pro 1MRS758084
The available properties for different objects are listed in the following subsections.
Table 3.2 lists the configurable IEC 61850 OPC Server properties and their value ranges.
The actual configuration by using CET is performed as described in Section 3.3.1
Configuring object properties.
Table 3.2: IEC 61850 OPC Server properties
Name Value or Value range/ Default Description
Basic
AE Prog ID Prog ID for OPC Alarm and Event
Server
(Automatically generated by manage-
ment function)
20
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
21
SYS600 9.4 MicroSCADA Pro 1MRS758084
The IEC 61850 Subnetwork properties that can be configured and value ranges for them
can be found in Table 3.3. The actual configuration by using CET is performed as
described in Section 3.3.1 Configuring object properties.
22
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
Table 3.4 lists the configurable properties for IEC 61850 devices and value ranges for
these properties. The actual configuration by using CET is performed as described in
Section 3.3.1 Configuring object properties.
Each IEC 61850 node of the system must have a unique subnet
or node address.
23
SYS600 9.4 MicroSCADA Pro 1MRS758084
24
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
25
SYS600 9.4 MicroSCADA Pro 1MRS758084
26
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
The logical devices are already configured when they are imported with IEC 61850
devices. .
Table 3.5: Logical Device properties
Name Value or Value range/ Description
Default
Transparent SPA
SPA Address (0..999) The SPA address of the device connected via
Default: 0 TCP/IP.
Setting a value >0 enables the built-in TCP/SPA
client, which can be used through the Transpar-
ent SPA attribute. See Section 5.3.4 IEC 61850
device attributes.
SPA TCP Port (1..65535) SPA TCP Port
Default: 7001
SPA TCP Timeout (1..65535) SPA TCP Timeout in seconds
Default: 3
27
SYS600 9.4 MicroSCADA Pro 1MRS758084
Table 3.6: IEC 61850 OPC Server RCB dedication and naming conventions
Report RCB Name Indexed Report En- Report En- Report Cli- Used RCB
Control abled ele- abled max ents
Identity ment
Client1 rcbDemo true yes 2 Client1 rcbDemo01
Client2
Client1 rcbDemo false yes 3 Client1 rcbDemo
Client2
Client3
Client1 rcbDemo true yes 5 GW1 rcbDemo05
GW2
HMI1
HMI2
Client1
Client1 rcbDemo true/false no - - -
Client1 rcbDemo true/false yes 3 Client4 -
Client5
Client6
Client1 rcbDemo true/false yes 5 - -
Client1 rcbDemo true/false yes 0 - -
Client1 rcbDemo true/false yes 0 Client1 -
Client2
The control attribute values are received from the imported device configuration. Some
values can be overridden with the IEC 61850 OPC Server configuration.
• Buffer Time
Controls the time interval in milliseconds when the BRCB buffers the events for
inclusion into a single report. Overridable.
• Buffered
Controls RCB to buffered (true) or unbuffered (false). Must be true for BRCB.
• Configuration Revision
Represents the number of times that the configuration of the RCB has changed.
• Data Set
Specifies the data set being monitored and what values are reported.
• Integrity period
If this is set to integrity (>0), it indicates the period in milliseconds used for
generating an integrity report. An integrity report reports the values of all members
of the related data set. Overridable.
• Report ID
Report identifier is the BRCB’s client-specified report identifier. Report identifier
generates the report.
28
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
• Option Fields
Client specified optional fields to be included in the report issued by BRCB. This
attribute defines the optional header fields' subset of the report that are included in
the report. Refer to the IEC 61850-7-2 and IEC 61850-8-1 standards. The IEC 61850
OPC Server uses a default value for option fields to receive the necessary information
for event updates and event flow control (cannot be overridden): BRCB (Sequence
Number, Reason Code, Buffer Overflow, Entry ID, Time of Entry), URCB (Sequence
Number, Reason Code). Overridable.
• Trigger Options
Specifies the trigger conditions which BRCB monitors. The following values are
defined: Data Change(dchg), Quality Change(qchg), Data Update(dupd), Period.
Buffer time and Integrity period are overridable. Option fields are also overridable,
except the default values that the IEC 61850 OPC Server uses to receive the necessary
information for event updates and event flow control.
29
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
4 Operation
31
SYS600 9.4 MicroSCADA Pro 1MRS758084
32
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
Subnetwork activity and the available properties can be monitored in the Diagnostic
counters field, see Figure 4.2. To reset Diagnostic counters, click Reset counters.
An IEC 61850 subnetwork can be taken into use by selecting the In Use check box.
Clearing the check box takes the subnetwork out of use. To update the diagnostic counters
click Refresh.
33
SYS600 9.4 MicroSCADA Pro 1MRS758084
34
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
35
SYS600 9.4 MicroSCADA Pro 1MRS758084
This integer value (VT_I4) shows the current state of the RCB.
Values
13 = starting initialization
12 = reading RCB access attributes (data type)
11 = reading RCB values
10 = reading dataset
9 = deleting dataset
8 = reading dataset item access attributes (data types)
7 = enabling RCB
6 = configuring RCB attributes
5 = synchronizing reporting sequence
4 = checking reporting sequence synchronization
3 = purging RCB buffer
2 = enabling RCB reporting
36
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
This integer value (VT_I4) shows the last error encountered while handling information
reports to this RCB. All but value 18 (sequence number duplicate) indicate lost events.
Values
0 = ok
1 = no report to parse
2 = report data missing (data field that should be in report is missing)
3 = reporting not initialized
4-16 = report field parsing error
17 = sequence number jump
18 = sequence number duplicate (no event loss)
19 = buffer overflow
20 = report value item missing (reported value field is for an item which is not configured on OPC
namespace)
21 = value update (updating OPC item value failed)
22 = dataset changed (the reported dataset has changed, reporting is reinitialized)
23 = confrev changed (the RCB configuration revision has changed, reporting is reinitialized)
24 = dataset mismatch (dataset mismatch between configuration and IED)
37
SYS600 9.4 MicroSCADA Pro 1MRS758084
38
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
39
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
5 Technical reference
The relationship between IEC 61850 data models and the IEC 61850 OPC Server is
described in this section.
For each data class, there is a table giving a detailed description about the relation between
the OPC data and the IEC 61850 data object attributes and services. The tables also
describe how the data is presented on the OPC Server name space.
The table below defines the mapping of quality in MMS (IEC 61850 7-3). Only 13 bits
(LSB) in quality are valid.
Table 5.1: IEC 61850 quality
Name Type Value/Value M/O/C Bit
range
validity 2bit good (0) | invalid M 0-1
(1) | reserved (2) |
questionable (3)
overflow 1bit FALSE (0) | TRUE M 2
(1)
outOfRange 1bit FALSE (0) | TRUE M 3
(1)
41
SYS600 9.4 MicroSCADA Pro 1MRS758084
The value of validity is presented as the value of the quality attribute and the other values
are presented as OPC properties of the quality in the OPC namespace.
Table 5.2: Mapping quality value to OPC
Name Type Value/ Value M/O/C OPC Data Type
range
Validity good (0) | invalid M VT_I4
(1) | reserved (2) |
questionable (3)
DetailQuality DetailedQuality M VT_I4
Source process (0) | sub- M VT_I4
stituted (1)
Test FALSE (0) | TRUE M VT_BOOL
(1)
OperatorBlocked FALSE (0) | TRUE M VT_BOOL
(1)
42
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
Example:
DetailQuality = 1d = 00000001b > overflow = true
DetailQuality = 16d = 00010000b > failure = true
Analogue values are always presented as 32 bit float values (VT_R4) so that the .f and
.i extensions are discarded from the attribute names to simplify the OPC namespace. If
a device only supports integer values, the value is converted to a floating point
presentation of the value according to its configuration and the following formula, refer
to Section 5.2.6 Configuration of analogue value (ScaledValueConfig).
ƒ×10units.multiplier = (¡×scaleFactor)+offset
Table 5.4: Analogue value (AnalogueValue)
Name Type Value/ Value M/O/C OPC Data Type
range
i INT32 integer value Not Used Not Used
f FLOAT32 floating point Not Used Not Used
value
Example:
MV: mag.f (VT_R4) & mag.i (VT_I4) > mag (VT_R4)
43
SYS600 9.4 MicroSCADA Pro 1MRS758084
hhLim, hLim, lLim, llLim: These attributes are configuration parameters used in the
context with the range attribute.
min: The min (minimum) attribute represents the minimum process measurement for
which values of i or f are considered within process limits.
max: The max (maximum) attribute represents the maximum process measurement for
which values of i or f are considered within process limits.
The table below defines the mapping of Step position with transient indication
(ValWithTrans).
44
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
5.2.10 Originator
5.2.11 Unit
45
SYS600 9.4 MicroSCADA Pro 1MRS758084
5.2.12 Vector
5.2.13 TimeStamp
The timestamp OPC attributes are presented as OPC type VT_DATE. It is implemented
using an 8-byte floating-point number. Days are represented by whole number increments
starting with 30 December 1899, midnight as time zero. Hour values are expressed as
the absolute value of the fractional part of the number.
5.2.14 AbbCommandBitmask
The table below defines the mapping of AbbCommandBitmask. This ABB specific
control value is a bitmask value of a command to a device. This value is applicable to
ABB extension control attributes.
Table 5.12: AbbCommandBitmask
Name Type Value/ Value M/O/C OPC Data Type
range
NormalControl 1bit FALSE (0) | TRUE M 0
(1)
InterlockOverride 1bit FALSE (0) | TRUE M 1
(1)
Synchrocheck- 1bit FALSE (0) | TRUE M 2
Override (1)
TestCommand 1bit FALSE (0) | TRUE M 3
(1)
46
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
NormalControl: True = normal operation, false = inverse operation (e.g. On > Off).
InterlockOverride: True = interlockcheck > false
SynchrocheckOverride: True = syncrocheck > false
TestCommand: True = test command
Originator: Command originator (= Originator.orCat)
The table below defines the common data class of single point status.
Table 5.13: Single point status (SPS)
Name Type FC Value/ Value M/O OPC Data
range Type
stVal BOOLEAN ST TRUE | FALSE M VT_BOOL
q Quality ST M VT_I4
t TimeStamp ST M VT_DATE
subEna BOOLEAN SV O VT_BOOL
subVal BOOLEAN SV TRUE | FALSE O VT_BOOL
subQ Quality SV O VT_I4
subID VISIBLE SV O VT_BSTR
STRING64
d VISIBLE DC Text O VT_BSTR
STRING64
dU UNICODE DC O VT_BSTR
STRING255
cdcNs VISIBLE EX O VT_BSTR
STRING255
47
SYS600 9.4 MicroSCADA Pro 1MRS758084
The table below defines the common data class of double point status.
Table 5.14: Double point status (DPS)
Name Type FC Value/ Value M/O OPC Data
range Type
stVal CODED ST intermediate- M VT_I4
ENUM state (0) | off
(1) | on (2) |
bad-state (3)
q Quality ST M VT_I4
t TimeStamp ST M VT_DATE
subEna BOOLEAN SV O VT_BOOL
subVal CODED SV intermediate- O VT_I4
ENUM state (0) | off
(1) | on (2) |
bad-state (3)
subQ Quality SV O VT_I4
subID VISIBLE SV O VT_BSTR
STRING64
d VISIBLE DC Text O VT_BSTR
STRING255
dU UNICODE DC O VT_BSTR
STRING255
cdcNs VISIBLE EX O VT_BSTR
STRING255
cdcName VISIBLE EX O VT_BSTR
STRING255
dataNs VISIBLE EX O VT_BSTR
STRING255
The table below defines the common data class of integer status.
48
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
The table below defines the common data class of protection activation information.
Table 5.16: Protection activation information (ACT)
Name Type FC Value/ Value M/O OPC Data
range Type
general BOOLEAN ST M VT_BOOL
phsA BOOLEAN ST O VT_BOOL
phsB BOOLEAN ST O VT_BOOL
phsC BOOLEAN ST O VT_BOOL
neut BOOLEAN ST O VT_BOOL
q Quality ST M VT_I4
t TimeStamp ST M VT_DATE
operTm TimeStamp CF O VT_DATE
d VISIBLE DC Text O VT_BSTR
STRING255
dU UNICODE DC O VT_BSTR
STRING255
49
SYS600 9.4 MicroSCADA Pro 1MRS758084
The table below defines the common data class of directional protection activation
information.
Table 5.17: Directional protection activation information (ACD)
Name Type FC Value/ Value M/O OPC Data
range Type
general BOOLEAN ST M VT_BOOL
dirGeneral ENUMER- ST unknown (3) | M
ATED forward (1) |
backward (2)
phsA BOOLEAN ST O VT_BOOL
dirPhsA ENUMER- ST unknown (3) | O
ATED forward (1) |
backward (2)
phsB BOOLEAN ST O VT_BOOL
dirPhsB ENUMER- ST unknown (3) | O
ATED forward (1) |
backward (2)
phsC BOOLEAN ST O VT_BOOL
dirPhsC ENUMER- ST unknown (3) | O
ATED forward (1) |
backward (2)
neut BOOLEAN ST O VT_BOOL
dirNeut ENUMER- ST unknown (3) | O
ATED forward (1) |
backward (2)
q Quality ST M VT_I4
t TimeStamp ST M VT_DATE
d VISIBLE DC Text O VT_BSTR
STRING255
dU UNICODE DC O VT_BSTR
STRING255
cdcNs VISIBLE EX O VT_BSTR
STRING255
50
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
The table below defines the common data class of security violation counting.
Table 5.18: Security violation counting (SEC)
Name Type FC Value/ Value M/O OPC Data
range Type
cnt INT32U ST M VT_I4
sev ENUMER- ST unknown (0) | M VT_I4
ATED critical (1) |
major (2) |
minor (3) |
warning (4)
t TimeStamp ST M VT_DATE
addr OCTET ST O VT_BSTR
STRING64
addInfo VISIBLE ST O VT_BSTR
STRING64
d VISIBLE DC Text O VT_BSTR
STRING255
dU UNICODE DC O VT_BSTR
STRING255
cdcNs VISIBLE EX O VT_BSTR
STRING255
cdcName VISIBLE EX O VT_BSTR
STRING255
dataNs VISIBLE EX O VT_BSTR
STRING255
The table below defines the common data class of binary counter reading.
Table 5.19: Binary counter reading (BCR)
Name Type FC Value/ Value M/O OPC Data
range Type
actVal INT128 ST M VT_I4
frVal INT128 ST Oa VT_I4
51
SYS600 9.4 MicroSCADA Pro 1MRS758084
The table below defines the common data class of measured value.
Table 5.20: Measured value (MV)
Name Type FC Value/ Value M/O OPC Data
range Type
instMag Analogue- MX O VT_R4
Value
mag Analogue- MX M VT_R4
Value
range ENUMER- MX normal (0) | O VT_I4
ATED high (1) | low
(2) | high-high
(3) | low-low
(4) | ...
q Quality MX M VT_I4
52
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
The table below defines the common data class of measured value.
Table 5.21: Complex measured value (CMV)
Name Type FC Value/ Value M/O OPC Data
range Type
instCVal Vector MX O
cVal Vector MX M
range ENUMER- MX normal (0) | O VT_I4
ATED high (1) | low
(2) | high-high
(3) | low-low
(4) | ...
q Quality MX M VT_I4
t TimeStamp MX M VT_DATE
53
SYS600 9.4 MicroSCADA Pro 1MRS758084
The table below defines the common data class of sampled value.
Table 5.22: Sampled value (SAV)
Name Type FC Value/ Value M/O OPC Data
range Type
instMag Analogue- MX M VT_R4
Value
q Quality MX M VT_I4
t TimeStamp MX M VT_DATE
units Unit CF O
sVC ScaledValue- CF O
Config
54
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
5.2.16.4 WYE
The table below defines the common data class of WYE. This class is a collection of
simultaneous measurements of values in a three phase system that represents phase to
ground values.
Table 5.23: WYE
Name Type FC Value/ Value M/O OPC Data
range Type
phsA CMV MX Oa
phsB CMV MX Oa
phsC CMV MX Oa
neut CMV MX Oa
net CMV MX Oa
res CMV MX Oa
angRef ENUMER- CF Va (0) | Vb (1) O VT_I4
ATEDe | Vc (2) | Aa (3)
| Ab (4) | Ac (5)
| Vab (6) | Vbc
(7) | Vca (8) |
Vother (9) |
Aother (10)
d VISIBLE DC Text O VT_BSTR
STRING255
dU UNICODE DC O VT_BSTR
STRING255
cdcNs VISIBLE EX O VT_BSTR
STRING255
55
SYS600 9.4 MicroSCADA Pro 1MRS758084
The table below defines the common data class of delta. This class is a collection of
measurements of values in a three phase system that represents phase to phase values.
Table 5.24: Delta (DEL)
Name Type FC Value/ Value M/O OPC Data
range Type
phsAB CMV MX Oa
phsBC CMV MX Oa
phsCA CMV MX Oa
angRef ENUMER- CF Va (0) | Vb (1) O VT_I4
ATED | Vc (2) | Aa (3)
| Ab (4) | Ac (5)
| Vab (6) | Vbc
(7) | Vca (8) |
Vother (9) |
Aother (10)
d VISIBLE DC Text O VT_BSTR
STRING255
dU UNICODE DC O VT_BSTR
STRING255
cdcNs VISIBLE EX O VT_BSTR
STRING255
cdcName VISIBLE EX O VT_BSTR
STRING255
dataNs VISIBLE EX O VT_BSTR
STRING255
56
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
An indication of command termination message from IED is available for all control
data objects using enhanced security control model. Indication for success or failure
response can be seen from cmdTermination OPC item in the data object.
The table below defines the common data class of controllable single point.
Table 5.26: Controllable single point (SPC)
Name Type FC Value/ Value M/O OPC Data
range Type
lastApplError ApplicationErr- Refer to Sec- VT_I4
orCode tion 5.2.22 Ap-
plication error
codes
ctlVal BOOLEAN CO off (FALSE) | M VT_BOOL
on (TRUE)
operTm TimeStamp CO O VT_DATE
57
SYS600 9.4 MicroSCADA Pro 1MRS758084
58
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
The table below defines the common data class of controllable double point.
Table 5.27: Controllable double point (DPC)
Name Type FC Value/ Value M/O OPC Data
range Type
ctlSelOn AbbCommand- M VT_I4
Bitmask
ctlSelOff AbbCommand- M VT_I4
Bitmask
ctlOperOn AbbCommand- M VT_I4
Bitmask
ctlOperOff AbbCommand- M VT_I4
Bitmask
ctlCan AbbCommand- M VT_I4
Bitmask
ctlOper AbbCommand- M VT_I4
Bitmask
lastApplError ApplicationErr- Refer to Sec- VT_I4
orCode tion 5.2.22 Ap-
plication error
codes
ctlVal BOOLEAN CO off (FALSE) | M VT_BOOL
on (TRUE)
operTm TimeStamp CO O VT_DATE
origin Originator CO, ST O
ctlNum INT8U CO, ST 0..255 O VT_I4
stVal CODED ST intermediate- M VT_I4
ENUM state (0) | off
(1) | on (2) |
bad-state (3)
q Quality ST M VT_I4
t TimeStamp ST M VT_DATE
59
SYS600 9.4 MicroSCADA Pro 1MRS758084
ctlOperOn: This attribute determines the control activity operation in direction On/Close.
ctlOperOff: This attribute determines the control activity operation in direction Off/Open.
ctlSelOn: This attribute determines the selection with direction On/Close.
ctlSelOff; This attribute determines the selection with direction Off/Open.
ctlCan: This attribute determines the cancellation of the selection
60
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
ctlOper: This attribute determines the selection with direction (direction taken from
previous select). Only applicable for controls with SBO.
The table below defines the common data class of controllable integer status.
61
SYS600 9.4 MicroSCADA Pro 1MRS758084
62
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
The table below defines the common data class of binary controlled step position
information.
Table 5.29: Binary controlled step position information (BSC)
Name Type FC Value/ Value M/O OPC Data
range Type
lastApplError Application- Refer to Sec- VT_I4
Erro rCode tion 5.2.22 Ap-
plication error
codes
ctlVal ENUMER- stop (0) | lower M VT_I4
ATED (1) | higher (2)
| reserved (3)
operTm TimeStamp CO O VT_DATE
63
SYS600 9.4 MicroSCADA Pro 1MRS758084
64
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
The table below defines the common data class of integer controlled step position
information.
Table 5.30: Integer controlled step position information (ISC)
Name Type FC Value/ Value M/O OPC Data
range Type
lastApplError ApplicationErr- Refer to Sec- VT_I4
orCode tion 5.2.22 Ap-
plication error
codes
65
SYS600 9.4 MicroSCADA Pro 1MRS758084
66
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
The table below defines the common data class of analogue set point.
67
SYS600 9.4 MicroSCADA Pro 1MRS758084
68
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
The table below defines the common data class of single point setting.
Table 5.32: Single point setting (SPG)
Name Type FC Value/ Value M/O OPC Data
range Type
setVal BOOLEAN SP off (FALSE) | M VT_BOOL
on (TRUE)
d VISIBLE DC Text O VT_BSTR
STRING255
dU UNICODE DC O VT_BSTR
STRING255
cdcNs VISIBLE EX O VT_BSTR
STRING255
cdcName VISIBLE EX O VT_BSTR
STRING255
dataNs VISIBLE EX O VT_BSTR
STRING255
The table below defines the common data class of integer status setting.
Table 5.33: Integer status setting (ING)
Name Type FC Value/ Value M/O OPC Data
range Type
setVal INT32 SP M VT_I4
minVal INT32 CF O VT_I4
maxVal INT32 CF O VT_I4
stepSize INT32 CF 1 ... (maxVal - O VT_I4
minVal)
d VISIBLE DC Text O VT_BSTR
STRING255
69
SYS600 9.4 MicroSCADA Pro 1MRS758084
The table below defines the common data class of analogue setting.
Table 5.34: Analogue setting (ASG)
Name Type FC Value/ Value M/O OPC Data
range Type
setMag Analogue- SP M VT_I4
Value
units Unit CF O
sVC ScaledValue- CF O
Config
minVal Analogue- CF O VT_I4
Value
maxVal Analogue- CF O VT_I4
Value
stepSize Analogue- CF 1 ... (maxVal - O VT_I4
Value minVal)
d VISIBLE DC Text O VT_BSTR
STRING255
dU UNICODE DC O VT_BSTR
STRING255
cdcNs VISIBLE EX O VT_BSTR
STRING255
cdcName VISIBLE EX O VT_BSTR
STRING255
dataNs VISIBLE EX O VT_BSTR
STRING255
70
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
The table below defines the common data class of setting curve.
Table 5.35: Setting curve (CURVE)
Name Type FC Value/ Value M/O OPC Data
range Type
setCharact ENUMER- SP M VT_I4
ATED
setParA FLOAT32 SP O VT_R4
setParB FLOAT32 SP O VT_R4
setParC FLOAT32 SP O VT_R4
setParD FLOAT32 SP O VT_R4
setParE FLOAT32 SP O VT_R4
setParF FLOAT32 SP O VT_R4
d VISIBLE DC Text O VT_BSTR
STRING255
dU UNICODE DC O VT_BSTR
STRING255
cdcNs VISIBLE EX O VT_BSTR
STRING255
cdcName VISIBLE EX O VT_BSTR
STRING255
dataNs VISIBLE EX O VT_BSTR
STRING255
The table below defines the common data class of device name plate. Data of this common
data class is used to identify entities like primary equipment or physical devices.
Table 5.36: Device name plate (DPL)
Name Type FC Value/ Value M/O OPC Data
range Type
vendor VISIBLE DC M VT_BSTR
STRING255
hwRev VISIBLE DC O VT_BSTR
STRING255
swRev VISIBLE DC O VT_BSTR
STRING255
serNum VISIBLE DC O VT_BSTR
STRING255
71
SYS600 9.4 MicroSCADA Pro 1MRS758084
The table below defines the common data class of logical node name plate. Data of this
common data class is used to identify logical nodes.
Table 5.37: Logical node name plate (LPL)
Name Type FC Value/ Value M/O OPC Data
range Type
vendor VISIBLE DC M VT_BSTR
STRING255
hwRev VISIBLE DC M VT_BSTR
STRING255
d VISIBLE DC Text M VT_BSTR
STRING255
dU UNICODE DC O VT_BSTR
STRING255
configRev VISIBLE DC O VT_BSTR
STRING255
ldNs VISIBLE EX will be in- O VT_BSTR
STRING255 cluded only in
LLN0
lnNs VISIBLE EX O VT_BSTR
STRING255
cdcNs VISIBLE EX O VT_BSTR
STRING255
cdcName VISIBLE EX O VT_BSTR
STRING255
dataNs VISIBLE EX O VT_BSTR
STRING255
72
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
Command Error codes of lastApplError attribute. The attribute is valid only for command
data classes and its value represents the status of the last command. It is updated when
the command responses are received from the devices.
The lastAppleError attribute is updated only when the IED responds to a failed command
with the last application error. The value is not cleared or updated after a successful
command.
The status code is received by adding the additional status code to main status code.
Example1: 3 = Select failed
Example2: 10 = Blocked by interlocking
Example3: 2000 = Timeout Test Not OK
Table 5.38: Main status codes
0 OK
1000 Unknown
2000 Timeout test not ok
3000 Operator test not ok
73
SYS600 9.4 MicroSCADA Pro 1MRS758084
5.3 Attributes
In addition to attributes for process data (indications and commands), the OPC Server
also provides some attributes for controlling the devices and retrieving status information
from them. These attributes are available for the OPC access client.
74
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
75
SYS600 9.4 MicroSCADA Pro 1MRS758084
76
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
77
SYS600 9.4 MicroSCADA Pro 1MRS758084
78
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
79
SYS600 9.4 MicroSCADA Pro 1MRS758084
The Transparent XSAT attribute can be used to read and write IEC 61850 attributes,
which are not configured to the OPC namespace of the IEC 61850 OPC Server. For
example, the transparent XSAT attribute can be used to set group control. The Transparent
XSAT attribute is used through an OPC client. The attribute uses the OPC data type
BSTR, which is a variant of the VT_BSTR data type.
The Transparent XSAT attribute passes the IEC 61850 servers and their attributes outside
the IEC 61850 OPC servers namespace on request. The IEC 61850 OPC server does not
check the outgoing attributes. Therefore the IEC 61850 OPC clients that are using the
Transparent XSAT attribute know what attributes they are accessing. The Transparent
XSAT attribute only supports read and write requests.
80
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
The Transparent XSAT attribute uses synchronic data access in the IEC 61850 OPC
server. When an IEC 61850 OPC client writes a request, the IEC 61850 OPC server
parses and sends the request to the IEC 61850 server.
The Transparent XSAT attribute returns and releases the request after it has received a
reply from the IEC 61850 server. The reply is written into the Transparent XSAT attribute
as an XSAT string.
81
SYS600 9.4 MicroSCADA Pro 1MRS758084
<?xml version="1.0"?>
<!DOCTYPE XSAT SYSTEM "xsat-004.dtd">
<XSAT>
<Response>
<DO>
<LDInst>…</LDInst>
<LNName>…</LNName>
<DORef>…</DORef>
<At>
<n>…</n>
<v>…</v>
<FunConstr>…</FunConstr>
</At>
…
</DO>
…
</Response> </XSAT>
Failure:
82
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
<?xml version=\"1.0\"?>
<!DOCTYPE XSAT SYSTEM \"xsat-004.dtd\">
<XSAT>
<Response>
<Result>failure</Result>
</Response>
</XSAT>
Failure
<?xml version=\"1.0\"?><!DOCTYPE XSAT SYSTEM \"xsat-004.dtd\">
<XSAT>
<Response>
<Result>failure</Result>
</Response>
</XSAT>
Request:
GetDataValue&result=name&LDInst=LD1&LNName=PTOC1&FunConstr=ST
Reply OK:
<?xml version="1.0"?>
<!DOCTYPE XSAT SYSTEM "xsat-004.dtd">
<XSAT>
<Response>
<DO><LDInst>LD1</LDInst><LNName>PTOC1</LNName><DORef>Str</DORef>
<At><n>general</n><v>False</v><FunConstr>ST</FunConstr></At>
<At><n>t</n><v>1.1.1970</v><FunConstr>ST</FunConstr></At>
<At><n>q</n><v>12288</v><FunConstr>ST</FunConstr></At>
</DO>
<DO><LDInst>LD1</LDInst><LNName>PTOC1</LNName><DORef>Op</DORef>
<At><n>general</n><v>False</v><FunConstr>ST</FunConstr></At>
<At><n>t</n><v>1.1.1970</v><FunConstr>ST</FunConstr></At>
<At><n>q</n><v>68</v><FunConstr>ST</FunConstr></At>
</DO>
</Response>
</XSAT>
83
SYS600 9.4 MicroSCADA Pro 1MRS758084
Request:
SetDataValue&LDInst=LD1&LNName=LLN0&DORef=brcbStatUrg02&Attr=RptEna&FunConstr=BR&v=False
Reply OK:
<?xml version="1.0"?>
<!DOCTYPE XSAT SYSTEM "xsat-004.dtd">
<XSAT>
<Response>
<Result>failure</Result>
</Response>
</XSAT>
5.3.6 Events
The Events attribute is used to obtain IEC 61850 event data in the string data format.
Events provides event data for all supported data objects in a single OPC item for each
IED. Data for Events must be received in a single IEC 61850 information report. When
the information report is received, the data is parsed from the report and combined into
a single SCIL LIST formatted text string presentation. The string is updated to the Events
attribute. Events supports event generation for the following CDCs: CST, CTS, BTS,
UTS, LTS, OTS, GTS, MTS, NTS, STS. The attribute uses the OPC data type VT_BSTR.
There is no need for configuration. When an information report is received with data for
the supported CDCs, the data is made available in Events. Duplicates of the latest received
events for each data object are discarded. Events with the GI trigger option are discarded.
The IEC 61850 data type values are converted to a SCIL representation as defined below.
BOOLEAN is a string value TRUE or FALSE.
The FLOAT value delimiter is '.'.
84
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
PACKED LIST is presented as VECTOR of binary values. See examples for check,
optFlds and trgOps.
OCTET STRING is presented as a string value in the hexadecimal representation. See
examples for orIdent and entryID.
CTS structured attribute origin (Originator) is presented as VECTOR as defined below.
Originator = VECTOR(orCat,orIdent), where
orCat = INTEGER
orIdent = string in hexadecimal representation
TIMESTAMP(Full date time UTC with quality) is presented as VECTOR as defined
below.
UtcTimestamp =
VECTOR(SecondsSinceEpoch,MicroSeconds,ClockFailure,ClockNotSynchronized),
where
SecondsSinceEpoch = seconds of timestamp from 1970-01-01 00:00:00
UTC
MicroSeconds = microseconds of timestamp
ClockFailure = BOOLEAN
ClockNotSynchronized = BOOLEAN
EntryTime(Full date time GMT without quality) is presented as UtcTimeStamp where
ClockFailure = FALSE
ClockNotSynchronized = FALSE
CDC = the CTS T-attribute is renamed as cT (control time).
5.3.6.3 Examples
• EXAMPLE 1
The event data for control service tracking (CDC = CTS) data is defined below.
LIST(
cdc="CTS",
Check=VECTOR(1,1),
cT=VECTOR(1460104702,689000,FALSE,FALSE),
ctlNum=1,
ctlVal=TRUE,
errorCode=5,
objRef="AA1D1Q01A1CTRL/SCSWI1.Pos",
operTm=VECTOR(1457357647,232561,TRUE,TRUE),
origin=VECTOR(2,"414242"),
85
SYS600 9.4 MicroSCADA Pro 1MRS758084
originatorID="c0a802b8",
respAddCause=2,
serviceType=44,
t=VECTOR(1460104692,652620,TRUE,TRUE),
Test=FALSE)
• EXAMPLE 2
The event data for buffered report tracking service (CDC = BTS) data is defined
below.
LIST(
cdc="BTS",
objRef="AA1D1Q02A1LD0/LLN0.rcbMeasFlt01",
serviceType=24,
errorCode=0,
originatorID="c0a8021d",
t=VECTOR(1461936548,53000,FALSE,FALSE),
rptID="AA1D1Q02A1LD0/LLN0$rcbMeasFlt01",
rptEna=TRUE,
datSet="AA1D1Q02A1LD0/LLN0$MeasFlt",
confRev=1,
optFlds=VECTOR(0,1,1,0,0,0,1,1,0,0),
bufTm=100,
sqNum=0,
trgOps=VECTOR(0,1,1,0,0,1),
intgPd=3000,
gi=FALSE,
purgeBuf=FALSE,
entryID="0200000000000000",
timeOfEntry=VECTOR(1461934452,592999,FALSE,FALSE),
owner="c0a8021d")
• EXAMPLE 3
The event data for common tracking service (CDC = CST) data is defined below.
LIST(
cdc="CST",
objRef="Associate (initiate) received from 192.168.2.2",
serviceType=1,
errorCode=0,
originatorID="c0a80202",
t=VECTOR(1461935509,998000,FALSE,FALSE))
86
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
The local machine DuoDriver diagnostics status data is available through the IEC 61850
OPC Server, if DuoDriver is installed on the computer running the OPC Server. DuoDriver
offers driver level management and diagnostics interface (API). The OPC Server uses
the API to obtain the diagnostics and offers data through its OPC interface.
The IEC 61850 OPC Server requires no configuration. On startup it checks that DuoDriver
is installed and creates the OPC items for DuoDriver diagnostics for all instances of
DuoDriver. The configured DuoDriver instance name and NIC name are used in the IEC
61850 OPC Server namespace to identify the DuoDriver diagnostics.
87
SYS600 9.4 MicroSCADA Pro 1MRS758084
88
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
The Working status of all DuoDriver interfaces (NICs) is polled once every 5 seconds
from the driver. All other diagnostics must be explicitly read by an OPC client to be
updated.
89
SYS600 9.4 MicroSCADA Pro 1MRS758084
This section defines how the IEC 61850 file transfer services between the IEC 61850
OPC Server and the IEC 61850 devices are used through OPC DA. Since it is not possible
to pass files through OPC, the IEC 61850 OPC Server is used as a file storage. The
received and sent files are stored locally in the computer running the OPC server.
File transfer services are controlled by an OPC DA client through the OPC attributes
under the IED\Attributes\File transfer node. For more information about the file transfer
attributes, refer to Section 5.4.2 File Transfer attributes.
The supported file transfer services are GetFile, SetFile, DeleteFile, GetFileAttributes,
GetFileAttributesEx, RenameFile and Cancel. For more information about the file transfer
services, refer to Section 5.4.3 File Transfer services.
Make sure that the devices support the file transfer services.
90
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
91
SYS600 9.4 MicroSCADA Pro 1MRS758084
The file transfer services are controlled through the OPC DA attributes, see Table 5.44.
To initiate a service, first the required parameters are written to respective OPC attributes
and then the service is started by writing the service control code to the file transfer
control attribute.
The file transfer control attribute uses synchronous data access for OPC. When an OPC
client writes a service request, the corresponding IEC 61850 file transfer service on the
device is called. When the service is finished or an error occurs, the OPC request is
released.
The status of the latest service is available in the Status attribute. After a service is started,
the status changes to the specific service status code. If the service is completed
successfully, the status code is set to Ready (see Table 5.44). For more information about
service failure status codes, refer to Table 5.47 and Table 5.48. Only one service can be
called at a time.
5.4.3.1 GetFile
The user can copy a specified file from a remote device to the local file storage with the
GetFile service. Through IEC 61850, this is done in three phases. First, the remote file
is opened, then read, and finally closed. Remote file parameters identify the remote file.
During this operation, the Status, Received bytes and File size in bytes attributes are
updated as the file is moved (in max MMS message size parts). The copied file is renamed
and placed into the local file storage according to local file parameters.
Required parameters: Remote file name
Remote file directory
Local file name
Local file directory
Control code: 1
Service status codes: 1100
1120
1140
Failure status codes: 91xx
The remote file name: Remote file directory + Remote file name
The local file name: Local file directory + Local file name
5.4.3.2 GetFileAttributeValues
The GetFileAttributeValues service obtains the name of a file or a group of files in the
remote file storage. Received file attributes are printed to the Output attribute. This
service prints only file names.
Required parameters: Remote file name
Remote file directory
92
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
Control code: 2
Service status codes: 1200
Failure status codes: 92xx
The remote file or directory name: Remote file directory + Remote file name
5.4.3.2.1 Output
The format of the result string is printed to the Output attribute in the following format:
filename1{, filename2{, ...}}
Example:
70010106.cfg, 70010106.dat, 70010106.inf
5.4.3.3 GetFileAttributeValuesEx
The GetFileAttributeValuesEx service obtains the name and attributes of a file or group
of files in the remote file storage. Received file attributes are printed to the Output
attribute. This service prints the file names, file sizes and last modification dates if they
are available.
Required parameters Remote file name
Remote file directory
Control code 3
Service status codes 1300
Failure status codes 93xx
The remote file or directory name: Remote file directory + Remote file name
5.4.3.3.1 Output
The format of the result string is printed to the Output attribute in a following format:
filename1 [size{;d.m.Y H:M:S}]{, filename2 [size{;d.m.Y H:M:S}]{, ...}}
93
SYS600 9.4 MicroSCADA Pro 1MRS758084
filename = string
size = bytes
d = Day of month as decimal number (01 - 31)
m = Month as decimal number (01 - 12)
Y = Year with century, as decimal number
H Hour in 24-hour format (00 - 23)
M = Minute as decimal number (00 - 59)
S = Second as decimal number (00 - 59)
Example:
70010106.cfg [922;02.01.1980 01:57:00], 70010106.dat [66600;02.01.1980 01:57:00],
70010106.inf [84;02.01.1980 01:57:00]
5.4.3.4 RenameFile
A file can be renamed or moved in the remote file storage with the RenameFile service.
Required parameters Remote file name
Remote file directory
Local file name
Local file directory
Control code 4
Service status codes 1400
Failure status codes 94xx
The remote file name to be re- Remote file directory + Remote file name
named
The new name for the remote Local file directory + Local file name
file
5.4.3.5 SetFile
The SetFile service initiates the remote device to obtain a file from the local file storage
to the remote file storage. The service triggers an IEC 61850 device to call the IEC 61850
clients GetFile service and during this, the IEC 61850 client acts as a file server. During
this operation, the Status, Received bytes and File size in bytes attributes are updated as
the file is moved (in max MMS message size parts). The local file parameters identify
the local file and the copied file is placed to the remote file storage according to remote
file parameters.
Required parameters Remote file name
Remote file directory
Local file name
Local file directory
Control code 5
94
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
5.4.3.6 DeleteFile
The DeleteFile service is used to delete a file from the remote file storage.
Required parameters: Remote file name
Remote file directory
Control code: 6
Service status codes: 1600
Failure status codes: 96xx
The remote file name: Remote file directory + Remote file name
5.4.3.7 Cancel
The Cancel service is used to cancel a service currently in use. The Cancel service sets
the status to Ready and clears for the following attribute values: File size in bytes,
Received bytes and Status.
Control code: 0
Status codes can be read from the Status attribute. The status indicates the current service
status and the service result.
Table 5.45: Service control codes
0 Cancel
1 GetFile
2 GetFileAttributeValues
3 GetFileAttributeValuesEx
4 RenameFile
5 SetFile
6 DeleteFile
In the service status codes, the first number indicates success (1) or failure (9), and the
second number indicates the currently requested service (0 - 6). If a local service is
95
SYS600 9.4 MicroSCADA Pro 1MRS758084
requested in multiple parts for the remote device, the third number indicates the currently
called remote service (1 - 3). The fourth number gives a detailed failure code (0 - 3).
Example:
9601 = parameters error, remote file delete error
9123 = remote service error, remote file read error
Table 5.46: Success
1000 Ready
1100 Opening remote file
1120 Reading remote file
1140 Closing remote file
1200 Requesting remote directory file details
1300 Requesting remote directory file details
1400 Renaming remote file
1500 Requesting remote device to obtain local file
1520 Remote device requested to open local file
1540 Remote device requested to read local file
1560 Remote device requested to close local file
1600 Deleting remote file
1000 Service done
The failure status code indicates a failure in the requested service. The failure status code
can also include a more detailed error code indicating the failure type, which can be a
local or a remote failure.
Table 5.47: Failure
9000 Unspecified error
9100 Remote file open error
9120 Remote file read error
9140 Remote file close error
9200 Remote directory details error
9300 Remote directory details error
9400 Remote file rename error
9500 Error in remote obtaining local file
9520 Error in remote opening local file
9540 Error in remote reading local file
9560 Error in remote closing local file
9600 Remote file delete error
96
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
This section defines the compliance to IEC 61850 in terms of service, modeling and
engineering interfaces and gives detailed explanation of the IEC 61850 capabilities of a
product. ACSI conformance statement describes the abstract services interfaces, which
are normally mapped to a certain SCSM (Specific communication service mapping) and
therefore indirectly stated in PICS (Protocol Implementation Conformance Statement).
97
SYS600 9.4 MicroSCADA Pro 1MRS758084
98
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
The ACSI service conformance statement is as defined in Table 5.51 (depending on the
statements in Table 5.49).
99
SYS600 9.4 MicroSCADA Pro 1MRS758084
100
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
101
SYS600 9.4 MicroSCADA Pro 1MRS758084
102
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
103
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
Index
105
SYS600 9.4 MicroSCADA Pro 1MRS758084
106
1MRS758084 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2016 IEC 61850 Master Protocol (OPC)
Version: C/3.6.2016
User's Guide
S U
Sampled value (SAV) Unit
common data class .......................................... 54 mapping ............................................................ 45
Security violation counter (SEC)
common data class .......................................... 51 V
Sequence (SEQ)
common data class .......................................... 56 Vector
Server attributes ................................................... 74 mapping ............................................................ 46
SetFile .................................................................. 94
Setting curve (CURVE) W
common data class .......................................... 71
Single point setting (SPG) WYE
common data class .......................................... 69 common data class .......................................... 55
107
Contact us
www.abb.com/substationautomation