Iec 104 Master Configuration
Iec 104 Master Configuration
Iec 104 Master Configuration
1MRS756704
Issued: 13.2.2009 Version: B/06.11.2009
Contents: 1. About this manual .................................................................................. 7 1.1. 1.2. 1.3. 1.4. 1.5. 1.6. 1.7. 1.8. 1.9. 2. Copyrights ...................................................................................... 7 Trademarks .................................................................................... 7 General .......................................................................................... 7 Document conventions .................................................................. 8 Use of symbols .............................................................................. 9 Terminology .................................................................................. 10 Abbreviations ............................................................................... 11 Related documents ...................................................................... 12 Document revisions ..................................................................... 12
Introduction ........................................................................................... 13 2.1. 2.2. Functional overview ..................................................................... 13 IEC104 OPC Server features ....................................................... 14
3.
Configuration ........................................................................................ 15 3.1. 3.2. 3.3. About this section ......................................................................... 15 Overview of configuration ............................................................ 15 Building object tree ...................................................................... 17 3.3.1. General about building object tree ................................ 17 3.3.2. Adding Gateway object ................................................. 18 3.3.3. Adding IEC104 OPC Server object ............................... 18 3.3.4. Adding IEC104 Channel objects ................................... 18 3.3.5. Adding IEC104 Device objects .................................... 18 3.3.6. Adding Logical Device objects ...................................... 19 3.3.7. Adding Logical Node objects ........................................ 19 3.3.8. Adding data objects ...................................................... 19 Configuring objects ...................................................................... 19 3.4.1. General about configuring objects ................................ 19 3.4.2. IEC104 OPC Server properties ..................................... 20 3.4.3. Configuring IEC104 Channel Properties ...................... 21 3.4.4. Configuring IEC104 Device properties .......................... 22 3.4.5. Configuring data objects ............................................... 26 3.4.5.1. Directional protection activation information (ACD) .......................................................... 26 3.4.5.2. Protection activation information (ACT) ...... 27 3.4.5.3. Analogue set point (APC) ........................... 27 3.4.5.4. Binary counter reading (BCR) .................... 28 3.4.5.5. Binary controlled step position information (BSC) .......................................................... 28 3.4.5.6. Complex measured value (CMV) ............... 29 3.4.5.7. Delta (DEL) ................................................. 30 3.4.5.8. Controllable double point (DPC) ................. 30 3.4.5.9. Device Name Plate (DPL) .......................... 31
3
3.4.
1MRS756704
Double point status (DPS) .......................... 32 Controllable integer status (INC) ................ 33 Integer status (INS) .................................... 33 Integer controlled step position information (ISC) ........................................................... 34 Logical Node Name Plate (LPL) ................. 34 Measured value (MV) ................................. 35 Controllable single point (SPC) .................. 36 Single point status (SPS) ........................... 37 WYE ........................................................... 37
Operation ............................................................................................... 40 4.1. 4.2. 4.3. 4.4. 4.5. 4.6. About this section ......................................................................... 40 Activating COM600 with new configurations ............................... 40 IEC104 OPC Server diagnostics .................................................. 40 Monitoring and controlling IEC104 Channel Activity .................... 42 Monitoring and controlling IEC104 Device communication ......... 42 Data object diagnostics ................................................................ 43
5.
Technical reference .............................................................................. 44 5.1. 5.2. About this section ......................................................................... 44 IEC 61850 data modeling ............................................................ 44 5.2.1. General about IEC 61850 data modeling ...................... 44 5.2.2. Single point status (SPS) .............................................. 44 5.2.3. Double point status (DPS) ............................................ 45 5.2.4. Integer status (INS) ....................................................... 45 5.2.5. Protection activation information (ACT) ........................ 45 5.2.6. Directional protection activation information (ACD) ...... 46 5.2.7. Binary counter reading (BCR) ....................................... 47 5.2.8. Measured value (MV) .................................................... 47 5.2.9. Complex measured value (CMV) .................................. 47 5.2.10. WYE .............................................................................. 48 5.2.11. Delta (DEL) ................................................................... 48 5.2.12. Controllable single point (SPC) ..................................... 49 5.2.13. Controllable double point (DPC) ................................... 49 5.2.14. Controllable integer status (INC) ................................... 50 5.2.15. Binary controlled step position information (BSC) ........ 50 5.2.16. Integer controlled step position information (ISC) ......... 50 5.2.17. Analogue set point (APC) ............................................. 51 Status codes ................................................................................ 51 5.3.1. Introduction ................................................................... 51 5.3.2. Link layer status codes ................................................. 51 5.3.3. Application layer status codes ...................................... 52 Attributes ...................................................................................... 53 5.4.1. Server attributes ............................................................ 53 5.4.2. Channel attributes ......................................................... 53 5.4.3. Device attributes ........................................................... 54
5.3.
5.4.
1MRS756704
Appendix 1 ................................................................................................... 56 Interoperability list for IEC104 OPC Server ............................................ 56 Index .............................................................................................................. 73
1MRS756704
1.
1.1.
1.2.
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.
1.3.
General
This manual provides thorough information on the IEC 60870-5-104 Master protocol (later referred to as IEC104 OPC Server) and the central concepts and instructions related to it. The basic operation procedures are also discussed. Information in this users manual is intended for application engineers who configure IEC104 OPC Server. As a prerequisite, you should understand IEC870-5-104 protocol and the basic procedures in Station Automation Builder 600 (later referred to as SAB600). This users manual is divided into following sections:
1MRS756704
Introduction
This section gives an overview of the IEC104 Master OPC Server and states the system requirements to be met.
Configuration
In this section you find an overview of the configuration tasks and instructions on how to create and configure IEC104 Master OPC Server related objects.
Operation
This section covers the basic operation procedures you can carry out when transferring or activating the Station Automation COM600 (later referred to as COM600) with new configurations. You are also given instructions on how to monitor and control the IEC104 communication.
Technical reference
This section contains a list of status codes and information about the IEC 61850 data modeling.
1.4.
Document conventions
The following conventions are used for the presentation of material: The words in names of screen elements (for example, the title in the title bar of a window, the label for a field of a dialog box) are initially capitalized. Capital letters are used for the name of a keyboard key if it is labeled on the keyboard. For example, press the ENTER key. Lowercase letters are used for the name of a keyboard key that is not labeled on the keyboard. For example, the space bar, comma key, and so on. Press CTRL+C indicates that you must hold down the CTRL key while pressing the C key (to copy a selected object in this case). Press ESC E C indicates that you press and release each key in sequence (to copy a selected object in this case). The names of push and toggle buttons are boldfaced. For example, click OK. The names of menus and menu items are boldfaced. For example, the File menu. The following convention is used for menu operations: MenuName > MenuItem > CascadedMenuItem. For example: select File > New > Type. The Start menu name always refers to the Start menu on the Windows taskbar. System prompts/messages and user responses/input are shown in the Courier font. For example, if you enter a value out of range, the following message is displayed:
1MRS756704
You can be asked to enter the string MIF349 in a field. The string is shown as follows in the procedure: MIF349 Variables are shown using lowercase letters: sequence name
1.5.
Use of symbols
This publication includes warning, caution, and information icons that point out safetyrelated conditions or other important information. It also includes tip icons to point out useful information to the reader. The corresponding icons should be interpreted as follows. The electrical warning icon indicates the presence of a hazard which could result in electrical shock.
The warning icon indicates the presence of a hazard which could result in personal injury.
The caution icon indicates important information or warning related to the concept discussed in the text. It may indicate the presence of a hazard which could result in corruption of software or damage to equipment or property.
The information icon alerts the reader to relevant facts and conditions.
The tip icon indicates advice on, for example, how to design your project or how to use a certain function.
1MRS756704
1.6.
Terminology
The following is a list of terms associated with COM600 that you 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 Alarm Alarms and Events; AE Data Access; DA Data Object; DO Description An abnormal state of a condition. An OPC service for providing information about alarms and events to OPC clients. An OPC service for providing information about process data to OPC clients. Part of a logical node object representing specific information, for example, 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; that is, they are data structures. The data set is the content basis for reporting and logging. The data set contains references to the data and data attribute values. A physical device that behaves as its own communication node in the network, for example, protection relay. Change of process data or an OPC internal value. Normally, an event consists of value, quality, and timestamp. A physical IEC 61850 device that behaves as its own communication node in the IEC 61850 protocol. Representation of a group of functions. Each function is defined as a logical node. A physical device consists of one or several LDs. The smallest part of a function that exchanges data. An LN is an object defined by its data and methods. A communication protocol developed by Echelon. A proprietary method of ABB on top of the standard LON protocol. Series of standards specifications aiming at open connectivity in industrial automation and the enterprise systems that support industry. 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. Named data item. 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.
Data Set
Logical Node; LN LON LON Application Guideline for substation automation; LAG OPC
OPC item
10
1MRS756704
Description ABB proprietary communication protocol used in substation automation. Protection and/or Control Product supporting the SPA protocol version 2.5 or earlier.
Substation Configuration Lan- XML-based description language for configurations of electrical guage; SCL substation IEDs. Defined in IEC 61850 standard.
1.7.
Abbreviations
The following is a list of abbreviations associated with COM600 that you should be familiar with. See also 1.6,Terminology.
Abbreviation AE ASDU BRCB DA DMCD DO GW HMI IEC IED LAG LAN LD LMK Description Alarms and Events Application Service Data Unit Buffered Report Control Block Data Access Data Message Code Definition Data Object Gateway, component connecting two communication networks together Human Machine Interface International Electrotechnical Commission Intelligent Electronic Device LON Application Guideline for substation automation Local Area Network Logical Device 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. Logical Node LON SPA Gateway Network Control Center Norwegian User Convention Network Variable Object Linking and Embedding OLE for Process Control Protection & Control
11
1MRS756704
Abbreviation RTS SA SAB600 SCL SLD SNTP SOAP RCB URCB XML
Description Request To Send Substation Automation Station Automation Builder 600 Substation Configuration Language Single Line Diagram Simple Network Time Protocol Simple Object Access Protocol Report Control Block Unbuffered Report Control Block eXtended Markup Language
1.8.
Related documents
Name of the manual COM600 Users Manual MRS number 1MRS756125
1.9.
Document revisions
Document version/date A/13.2.2009 B/06.11.2009 Product revision 3.3 3.4 History Document created Document revised
12
1MRS756704
2.
2.1.
Introduction
Functional overview
The IEC104 OPC Server provides methods for OPC clients to exchange data with devices communicating via the IEC 60870-5-104 Master protocol.
IEC104_master_protocol.JPG
(1) NCC (Network Control Center) (2) COM600 with IEC 104 OPC Server (3) Station Automation Builder 600 (SAB600) (4) Protection and control devices communicating through the IEC 104 master protocol The IEC104 OPC Server software has two parts: Engineering and diagnostic tools and the actual IEC104 OPC Server. Engineering and diagnostic tools utilize the SAB600 framework and provide the user interface for engineering and diagnosing the IEC104 OPC Server. The IEC104 OPC Server handles the data transfer and conversion between the IEC104 protocol and OPC interfaces. To create a common and protocol independent data interface between the OPC server and client, the process data from the IEC104 devices is remodeled using the IEC 61850 data modeling. The configuration data is stored in the SCL format. After the IEC104 OPC Server has been launched, it reads the configuration file and establishes communication with the IEC104 devices through the IEC104 protocol stack.
13
1MRS756704
Configured IEC104 devices and data modeled according to the IEC 61850 model, are then exposed to OPC clients through a Data Access (DA) server.
2.2.
14
1MRS756704
3.
3.1.
Configuration
About this section
This section guides you in the configuration tasks required before you can start using the IEC104 OPC Server. For information on the IEC 61850 data modeling, refer to COM600 User's Manual. Start SAB600 to open and name a project. 1. 2. Select File > Open/Manage Project.... In the Open/Manage Project dialog, select the required location for the project: Projects on my computer Projects on network Select New Project on the left. Enter a Project Name. The Description is optional. Click Create. Click Open Project.
3. 4. 5.
3.2.
Overview of configuration
Before you can start using the IEC104 OPC Server, build, and configure an object tree in SAB600 to define the Communication structure. The possible objects are: Gateway IEC104 OPC Server IEC104 Channel IEC104 IED Logical Device objects Logical Node objects Data objects
Figure3.2-1 shows an example view of SAB600 including an object tree in the communication structure on the left and Object Properties window displaying the object properties on the right. When configuring OPC servers the following characters cannot be used in object names: \ ` ' ' #
15
1MRS756704
IEC104_master_conf_overview.bmp
The configuration work can basically be divided into two separate tasks: 1. building an object tree, and 2. configuring object properties. First, build an object tree by adding objects to the object tree, see 3.3.1,General about building object tree and 3.3.8,Adding data objects. Connectivity Packages for certain Protection and Control products usually contain preconfigurations and tools to facilitate the building of the object tree. Figure3.2-1shows an example of how the object tree looks like after it has been built. In the example tree, you can see the IEC104 OPC Server object and its child objects like channels, devices, and data objects. Indentation is used to indicate the parent-child relationship between the objects. After you have added the necessary objects to the object tree in the communication structure, configure them. See 3.4.1,General about configuring objects. Table3.2-1 describes the objects shown in the object tree (Figure3.2-1).
16
1MRS756704
3.3.
3.3.1.
17
1MRS756704
3.3.2.
3.3.3.
3.3.4.
3.3.5.
18
1MRS756704
3.3.6.
3.3.7.
3.3.8.
3.4.
3.4.1.
Configuring objects
General about configuring objects
After the objects have been added, configure the object properties. Figure3.4.1-1 shows an example of how to use SAB600 to configure the object properties for IEC104 Device. To configure an object: 1. Select an object in the object tree of the communication structure. a. The object properties appear now in the Object Properties window. The properties and their values can be viewed as shown in Figure3.4.1-1.
19
1MRS756704
ObjProp_IEC104_Master.jpg
2.
Select the property you want to configure. Depending on the property value type, configuring is always done either by selecting a predefined value from a drop-down menu, or entering a text string or a numerical value in a text field.
The available properties for different objects are listed in the following subsections.
3.4.2.
20
1MRS756704
3.4.3.
Response Timeout
0...255 Default: 15
21
1MRS756704
Default: 127.0.0.1
3.4.4.
22
1MRS756704
Value/Value range 0...255 or 0...65535 Default: 1 The maximum value depends on the corresponding Station Address Length property value as follows: when Station Address Length property value is 1, the value range for the Information Address is 0...255 and when Station Address Length property value is 2, the value range for the Station Address is 0...65535
Description The station address of the IEC 60870-5-104 slave station, the common address of ASDU in an IEC message.
Communication Control Acknowledge Timeout 0...100 Default: 10 The timeout for sending an acknowledgement if the amount of APDUs defined by the Unacknowledge Receive property is not received. The maximum time the IEC master station waits for an activation confirmation message from the IEC slave. The maximum time the IEC master station waits for an activation termination message from the IEC slave. The waiting of the activation termination message. With value false, the timer length defined with the CT attribute is not started. False is needed with some IEC60870-5-104 slave implementations, which do no send activation termination messages at all.
0...255 Default: 10
Activation Termination Timeout 0...255 Default: 60 Activation Termination waited True False Default: True
23
1MRS756704
Name
Value/Value range
Description Sending of the general interrogation command when the master gets the zero (OK) status. When this is false, a general interrogation command is always sent when the object status of the IEC master station gets the value zero, e.g. when set in use or after a suspension. When this is true, general interrogation is not sent automatically at zero status. Sending of the general interrogation command when the master receives ASDU 70. When this is false, a general interrogation command is always sent when the end of initialization message (ASDU 70) is received from the IEC slave. When this is true, general interrogation is not sent automatically when receiving ASDU 70. Private ASDU handling. When this is true, the private range ASDUs 146, 148 and 160 are handled as unknown ASDUs. Thus, the contents of these ASDUs are sent to a bitstream process object if the Unrecognized Command Handling is set to true. The interval of reconnecting attempt while communication is not established. The maximum number of APDUs that are received without acknowledging them to the remote host. The maximum number of APDUs sent without receiving acknowledgment from the remote host.
Disable automatic GI sending True during communication initializaFalse tion Default: False
Reconnecting Timeout
0...255 Default: 30
Unacknowledge Receive
0...65535 Default: 8
Unacknowledge Send
0...65535 Default: 12
Command Handling
24
1MRS756704
Description Parallel commands. When this is true, the sending of parallel commands is possible. The control is returned immediately back to application and the return status of command must be checked from the command termination process object. When this is false, sending another command is not possible before the previous command has been completed or the confirmation timeout has occurred.
Lengths Information Address Length 1...3 Default: 3 1 = 0...255, 2 = 0...65535 3 = 0...16777215 Length of Cause of Transmission Maximum Message Length 1...2 Default: 2 20...255 Default: 230 Station Address Length 1...2 Default: 2 Time Handling Disable Hour Change Clock Message True False Default: False The hour transmission method of the events to the master. When this is false, the master gets the year, date, and hour from the slave as hourly clock synchronization (ASDU 103). When this is true, the master adds the year, date, and hour from its internal clock to the events. Minutes and seconds should be provided in timetagged events by the slave. Time synchronization interval in seconds. The length of the station address in octets. The length of the Cause Of Transmission field in an IEC 60870-5-104 message. The maximum length of transmitted message in octets. The length of the information object address in octets.
0...65535 Default: 0
25
1MRS756704
Description Device Connection Status Class is used for device connection status conditions.
3.4.5. 3.4.5.1.
26
1MRS756704
3.4.5.2.
3.4.5.3.
27
1MRS756704
Value or Value range/ Default Description /Example APC Common Data Class according to IEC 61850.
3.4.5.4.
3.4.5.5.
28
1MRS756704
Property/Parameter OPC Alarm and Event Command Tracking Event Indication Event
Command tracking event class used with this data object. Indication event used with this data object.
3.4.5.6.
29
1MRS756704
3.4.5.7.
Delta (DEL)
Table 3.4.5.7-1 Configurable DEL properties for OPC client
Property/ Parameter Basic Common Data Class Sub-Type Sub Type DEL Full DEL Simple Default: DEL Simple Addresses Phase AB Address 0...16777215 Default: 0 Phase BC Address 0...16777215 Default: 0 Phase CA Address 0...16777215 Default: 0 Scale and Unit Phase Multiplier Phase Scale Default: Deka Lookup Table Scale Stepwise Linear Scale Default: None Phase Unit Limit Value Supervision Max Min 20000 0 Maximum value for measurement. Minimum value for measurement. Default: Dimensionless Unit for phase. Multiplier for phase. Scale for phase. IEC Address for phase CA (0 = Not in use). IEC Address for phase BC (0 = Not in use). IEC Address for phase AB (0 = Not in use). Sub Type description. DEL Common data class according to IEC 61850. Value or Value range/ Default Description
3.4.5.8.
30
1MRS756704
Value or Value range/ Default Description DPC Common data class according to IEC 61850.
Object subtype.
Addresses Command Address 0...16777215 Default: 8 DMCD-Type Single command Double command Default: Single command Indication Address 0...16777215 Default: 0 Selected Address 0...65535 Default: 0 OPC Alarm and Event Command Tracking SwitchOperation Command tracking event used with this Event data object. TapchangerSingleParallelOperation Indication Event Scale and Unit Scale Lookup Table Scale Stepwise Linear Scale Default: None Scale for indication. Indication event used with this data object. IEC Address for selected. IEC address for indication. DMCD-Type to be used. IEC address for command.
3.4.5.9.
31
1MRS756704
Property/ Parameter Common Data Class Vendor Vendor Hardware Revision Hardware Revision Software Revision Software Revision Serial Number Serial Number Location Location
Value or Value range/ Default Description DPL Common data class according to IEC 61850.
ABB
3.4.5.10.
32
1MRS756704
3.4.5.11.
3.4.5.12.
33
1MRS756704
Value or Value range/ Default Description Indication event used with this data object.
3.4.5.13.
3.4.5.14.
34
1MRS756704
Property/ Parameter Common Data Class Vendor Vendor Software Revision Software Revision Description Description
Value or Value range/ Default Description LPL Common data class according to IEC 61850.
ABB
3.4.5.15.
35
1MRS756704
Value or Value range/ Default Description Default: 0 Minimum value for measurement.
3.4.5.16.
36
1MRS756704
Value or Value range/ Default Description Lookup Table Scale Stepwise Linear Scale Default: None Scale for measurement.
3.4.5.17.
3.4.5.18.
WYE
Table 3.4.5.18-1 Configurable WYE properties for OPC client
Property/ Parameter Basic Common Data Class Sub-Type WYE Common data class according to IEC 61850. Value or Value range/ Default Description
37
1MRS756704
Value or Value range/ Default Description WYE Full WYE Simple Default: WYE Simple Object subtype.
Addresses NetAddress 0...16777215 Default: 0 Neutral Address 0...16777215 Default: 0 Phase A Address 0...16777215 Default: 0 Phase B Address 0...16777215 Default: 0 Phase C Address 0...16777215 Default: 0 ResAddress 0...16777215 Default: 0 OPC Alarm and Event ResMappedEvent Scale and Unit Net Multiplier Net Scale Net Unit Neutral Multiplier Neutral Scale Neutral Unit Phase Multiplier Phase Scale Phase Unit Res Multiplier Res Scale Res Unit Default: Deka Default: None Default: Dimensionless Default: Deka Default: None Default: Dimensionless Default: Deka Default: None Default: Dimensionless Default: Deka Default: None Default: Dimensionless Multiplier for net. Scale for net. Unit for net. Multiplier for neutral. Scale for neutral. Unit for neutral. Multiplier for phase. Scale for phase. Unit for phase. Multiplier for res. Scale for res. Unit for res. Default: None ResMappedEventDesc ResAddress description. IEC Address for phase C (0 = Not in use). IEC Address for phase B (0 = Not in use). IEC Address for phase A (0 = Not in use). IEC Address for neutral (0 = Not in use). NetAddress description.
38
1MRS756704
Property/ Parameter Net Limit Value Supervision Net Max Limit Net Min Limit Phase Limit Value Supervision Max Min Res Limit Value Supervision Res Max Limit Res Min Limit Neutral Limit Value Supervision Max Limit Min Limit
39
1MRS756704
4.
4.1.
Operation
About this section
This section describes the basic operation procedures you can carry out after the IEC104 OPC Server has been configured. After this, you can, for example, monitor and control the condition of connections in an IEC104 network by using the Online diagnostics function SAB600.
4.2.
4.3.
IEC104_OPC_Server_Online_diagnostics.bmp
You have the following alternatives: to view version information to reset the IEC104 OPC Server to view the event log file, see Figure4.3-2 to clear the log file
40
1MRS756704
IEC104_OPC_Server_Event_Log.bmp
Diagnostic AE Client
Diagnostic events can be monitored and controlled using the Diagnostic AE Client function, see Figure4.3-3. Click Refresh to update the status information. To be able to receive events from a certain device, diagnostic events must be enabled for this respective device. To enable diagnostic events: 1. Right-click the device. 2. Select Online diagnostics. 3. Mark the Diagnostic events enabled check box. See Figure4.3-3 for example.
IEC104_OPC_Server_Diagnostic_AE_Client.bmp
41
1MRS756704
4.4.
IEC104_OPC_Subnetwork_Online_Diagnostics.bmp
In the Diagnostic counters field, you can monitor the channel activity. The available attributes can be seen in Figure4.4-1. To reset Diagnostic counters, click Reset counters. You can take an IEC104Channel into use by marking the In use check box. If you unmark the check box, the channel is taken out of use. Diagnostic counters are updated every 2 seconds. To update them manually, click Refresh.
4.5.
42
1MRS756704
To monitor and control IEC104 Device communication: 1. Select the device you want to monitor in the object tree of SAB600. 2. Right-click the device. 3. Select Online diagnostics. In the Status information field, you can monitor the device status. The Diagnostic counters field provides information on device activity. To reset diagnostic counters, click Reset counters. You can take an IEC104 Device into use by marking the In use check box. If you unmark the check box, the device is taken out of use. To update diagnostic counters manually, click Refresh.
IEC104_OPC_IED_Online_Diagnostics.bmp
4.6.
43
1MRS756704
5.
5.1.
Technical reference
About this section
This section provides reference information about the following issues: IEC 61850 data modeling Attributes Status codes
5.2.
5.2.1.
5.2.2.
Name stVal q t
Protocol informa- OPC data types tion element SPI(0=ON, 1=OFF) VT_BOOL BL, SB, NT, IV CP24Time2a CP56Time2a VT_I4 VT_DATE
Description
Text
VT_BSTR
44
1MRS756704
5.2.3.
Name stVal
Type ENUMERATED
Value/ Value range Intermediate-state (0) off (1) on (2) bad-state (3)
Mandatory/Optional M
q t
Quality TimeStamp
M M
VT_I4 VT_DATE
Description
Text
VT_BSTR
5.2.4.
Name stVal q t d
Mandatory/Optional M M M
Protocol informa- OPC data types tion element NVA, COI VT_I4
Text
5.2.5.
Mandatory/Optional M O O O O
Protocol informa- OPC data types tion element SPI SPI SPI SPI SPI VT_BOOL VT_BOOL VT_BOOL VT_BOOL VT_BOOL
45
1MRS756704
Name q
Type Quality
Mandatory/Optional M
Protocol informa- OPC data types tion element EI, BL, SB, NT, IV
5.2.6.
Mandatory/Optional M
Protocol informa- OPC data types tion element SPI VT_BOOL VT_I4
phsA dirPhsA
O O
SPI
VT_BOOL VT_I4
phsB dirPhsB
O O
SPI
VT_BOOL VT_I4
phsC dirPhsC
O O
SPI
VT_BOOL VT_I4
neut dirNeut
O O
SPI
VT_BOOL VT_I4
q t d
M M O
46
1MRS756704
5.2.7.
Name actVal q t
Mandatory/Optional M M M
Protocol informa- OPC data types tion element BCR CY, CA, IV CP24Time2a CP56Time2a VT_I4 VT_I4 VT_DATE
Description
Text
VT_BSTR
5.2.8.
Mandatory/Optional M O M M
Protection inform- OPC data types ation element SVA, NVA, IEEE STD 754 L1, L2, L3, L4 VT_R4 VT_I4
OV, BL, SB, NT, IV VT_I4 CP24Time2a CP56Time2a <none> | Time of occurence VT_DATE
O O O O O O O O Config
5.2.9.
47
1MRS756704
5.2.10.
WYE
WYE represent DMCD M_ME_NA_1, M_ME_TA_1, M_ME_TD_1, M_ME_NB_1, M_ME_TB_1, M_ME_NC_1, M_ME_TC_1, M_ME_TF_1.
Name phsA.cVal.mag phsA.q phsA.t phsB.cVal.mag phsB.q phsB.t phsC.cVal.mag phsC.q phsC.t neut.cVal.mag neut.q neut.t
Type AnalogueValue Quality TimeStamp AnalogueValue Quality TimeStamp AnalogueValue Quality TimeStamp AnalogueValue Quality TimeStamp
Mandatory/Optional M M M O O O O O O O O O
Protocol informa- OPC data types tion element SVA, NVA VT_R4
OV, BL, SB, NT, IV VT_I4 CP24Time2A SVA, NVA VT_DATE VT_R4
OV, BL, SB, NT, IV VT_I4 CP24Time2A SVA, NVA VT_DATE VT_R4
OV, BL, SB, NT, IV VT_I4 CP24Time2A SVA, NVA VT_DATE VT_R4
5.2.11.
Delta (DEL)
DEL represents DMCD M_ME_NA_1, M_ME_TA_1, M_ME_TD_1, M_ME_NB_1, M_ME_TB_1, M_ME_NC_1, M_ME_TC_1, M_ME_TF_1.
Mandatory/Optional M M M M M M M M M
Protocol informa- OPC data types tion element SVA, NVA VT_R4
OV, BL, SB, NT, IV VT_I4 CP24Time2A SVA, NVA VT_DATE VT_R4
OV, BL, SB, NT, IV VT_I4 CP24Time2A SVA, NVA VT_DATE VT_R4
48
1MRS756704
5.2.12.
Type SPI
Mandatory/Optional M
Protocol informa- OPC data types tion element SCO SPI BL, SB, NT, IV CP24Time2A VT_BOOL VT_BOOL VT_I4 VT_DATE VT_BSTR
M M M O
5.2.13.
Type SPI
Value/ Value range FALSE | TRUE FALSE | TRUE FALSE | TRUE FALSE | TRUE
Mandatory/Optional O O O O M
Protocol informa- OPC data types tion element SCO SCO SCO SCO DPI VT_BOOL VT_BOOL VT_BOOL VT_BOOL VT_I4
ENUMERATED
q t ctlCan stSeld d
Quality TimeStamp BOOLEAN BOOLEAN Description FALSE | TRUE FALSE | TRUE Text
M M O O O
49
1MRS756704
5.2.14.
Mandatory/Optional M M M M
Protocol informa- OPC data types tion element NVA VAI32 BL, SB, NT, IV CP24TIME2A VT_I4 VT_I4 VT_I4 VT_DATE VT_BSTR
Text
5.2.15.
Name ctlVal
Type ENUMERATED
Value/ Value range stop (0) lower (1) higher (2) reserved (3)
Mandatory/Optional M
valWTr q t d
M M M O
5.2.16.
Mandatory/Optional M M M M
Protocol informa- OPC data types tion element NVA VTI BL, SB, NT, IV CP24TIME2A VT_I4 VT_I4 V_I4 V_DATE VT_BSTR
Text
50
1MRS756704
5.2.17.
Name spMag d
Mandatory/Optional M
Protocol informa- OPC data types tion element IEEE STD 754, BSI, SVA VT_R4 VT_BSTR
Text
5.3.
5.3.1.
Status codes
Introduction
The following status codes are defined for the IEC 60870-5-104 master protocol. Some typical reasons for some of the status codes are also given.
5.3.2.
17610 17620
51
1MRS756704
5.3.3.
13864 13865
52
1MRS756704
5.4.
5.4.1.
Attributes
Server attributes
Table 5.4.1-1 IEC 104 OPC Server attributes
Property / Parameter Value or Value range/ Default Description The version information of the Protocol Stack.
5.4.2.
Channel attributes
Table 5.4.2-1 Channel attributes
Property / Parameter Basic In use 0 = Not in use, the channel communication is stopped. 1 = In use. The state of the channel - whether it is in use or not. When a channel is not in use, no data can be transmitted on it, and no data is received from it. The channel attributes can be read as usual. Generally, a channel must be taken out of use by setting this attribute to 0 before the channel attributes can be written. When a channel is stopped by setting the In use attribute to 0, all data transmission on the channel ceases. However, before that, the protocol stack executes to the end all on-going data transactions. For example, the station in turn is completed. Diagnostic Counters Transmitted telegrams Failed transmissions Transmit errors Transmitted I format messages Transmitted S format messages Transmitted U format messages The number of transmitted data messages. The number of failed transmissions. The number of transmitted commands. The number of transmitted information messages. The number of transmitted supervisory messages. The number of transmitted unnumbered messages. Value or Value range/ Default Description
53
1MRS756704
Property / Parameter Received I format messages Received S format messages Received U format messages Received messages TCP Connect count TCP Accept count TCP Close count Duplicates and losses Buffer overflow errors
Value or Value range/ Default Description The number of received information messages. The number of received supervisory messages. The number of received unnumbered messages. The number of received messages. The count of TCP connect request. The count of accepted TCP connect request. The count of closed TCP connection. The number of times duplicates and losses has occurred. The number of times there as been a buffer overflow.
5.4.3.
Device attributes
Table 5.4.3-1 Device attributes
Property / Parameter Basic In use 0 = Out of use 1 = In use Default: 1 The operational status of the device - in use or out of use. Taking the device out of use with this attribute stops all data communication with the device. All operations that would result in a data exchange are disabled. The device itself is not affected by the attribute, only the protocol stacks image of the device. Setting In use to 1 is allowed only if the device address is legal. This attribute enables or disables diagnostic events. Value or Value range/ Default Description
Status Information Connection Status True = Device connection OK False = Device connection suspended. Indicates the status of the device connection.
54
1MRS756704
Value or Value range/ Default Description When written: 1 = Re-transmit system message When read: A status code, e.g. 0 = OK (communication works properly) 13863 = Device suspended. For more information, see 5.3.2, Link layer status codes and 5.3.3, Application layer status codes. Indicates the detailed information about the station device status. Setting Detailed Status of a device to 1 makes the protocol stack to re-transmit the last system message caused by the device. Possible Stopped and Suspended messages cause old marking of OPC items.
Diagnostic counters Suspensions Transmitted Data Messages Transmitted Command Messages Transmitted Confirmation Messages Received Data Messages Received Command Messages Received Confirmation Messages Received Unknown Messages Indicates the number of times the connection has been suspended. The number of transmitted data messages. The number of transmitted command messages. The number of transmitted confirmation messages. The number of received data messages. The number of received command messages. The number of received confirmation messages. The number of unknown messages received.
55
1MRS756704
Appendix 1
Interoperability list for IEC104 OPC Server
Not supported Supported Supported, may need additional engineering
This companion standard presents sets of parameters and alternatives from which subsets must be selected to implement particular tele control systems. Certain parameter values, such as the choice of structured or unstructured fields of the Information Object Address (IOA) of ASDUs represent mutually exclusive alternatives. This means that only one value of the defined parameters is admitted per system. Other parameters, such as the listed set of different process information types in command and in monitor direction allow the specification of the complete set or subsets, as appropriate for the applications. This clause summarizes the parameters of the previous clauses to facilitate a suitable selection for a specific application. If a system is composed of equipment stemming from different manufacturers, it is necessary that all partners agree on the selected parameters. The interoperability list is defined as in the IEC 60870-5-104 protocol and extended with parameters used in this standard. The text descriptions of parameters which are not applicable to this companion standard are struck out (the corresponding check box is marked black). The full specification of a system can require individual selection of certain parameters for certain parts of the system, for example, individual selection of scaling factors for individually addressable measured values.
56
1MRS756704
The possible selection (blank, X, R, B or A) is specified for each specific clause or parameter. A black check box indicates that the option cannot be selected in this companion standard.
57
1MRS756704
When using an unbalanced link layer, the following ASDU types are returned in class 2 messages (low priority) with the indicated causes of transmission:
The standard assignment of ASDUs to class 2 messages is used as follows: Type identification 9, 11, 13, 21 Cause of transmission <1>
A special assignment of ASDUs to class 2 messages is used as follows: Type identification Cause of transmission
58
1MRS756704
Application layer
Transmission mode for application data Mode 1 (the least significant octet first), as defined in clause 4.10 of IEC 870-5-4, is used exclusively in this companion standard. Common address of ASDU (system-specific parameter)
One octet Two octets
59
1MRS756704
<6> <7> <8> <9> <10> <11> <12> <13> <14> <15> <16> <17> <18> <19> <20> <21>
:=Step position information with time tag :=Bitstring of 32 bit :=Bitstring of 32 bit with time tag :=Measured value, normalized value :=Measured value, normalized value with time tag :=Measured value, scaled value :=Measured value, scaled value with time tag :=Measured value, short floating point value
:=Measured value, short floating point value with time M_ME_TC_1 tag :=Integrated totals :=Integrated totals with time tag :=Event of protection equipment with time tag :=Packed start events of protection equipment with time tag :=Packed output circuit information of protection equipment with time tag :=Packed single point information with time tag M_IT_NA_1 M_IT_TA_1 M_EP_TA1 M_EP_TB1 M_EP_TC_1 M_PS_NA_1
:=Measured value, normalized value without quality M_ME_ND_1 descriptor :=Single-point information with time tag CP56Time2a M_SP_TB_1 :=Double-point information with time tag CP56Time2a M_DP_TB_1 :=Step position information with time tag CP56Time2a M_ST_TB_1 :=Bitstring of 32 bit with time tag CP56Time2a :=Measured value, normalized value with time tag CP56Time2a :=Measured value, scaled value with time tag CP56Time2a M_BO_TB_1 M_ME_TD_1 M_ME_TE_1
<30> <31> <32> <33> <34> <35> <36> <37> <38> <39>
:=Measured value, short floating point value with time M_ME_TF_1 tag CP56Time2a :=Integrated totals with time tag CP56Time2a :=Event of protection equipment with time tag CP56Time2a :=Packed start events of protection equipment with time tag CP56Time2a M_IT_TB_1 M_EP_TD_1 M_EP_TE_1
60
1MRS756704
<40>
:=Packed output circuit information of protection equipment with time tag CP56Time2a
M_EP_TF_1
Either the ASDUs of the set <2>, <4>, <6>, <8>, <10>, <12>, <14>, <16>, <17>, <18>, <19> or of the set <30> - <40> are used.
:=Set point command, normalized value with time tag C_SE_TA_1 CP56Time2a :=Set point command, scaled value with time tag CP56Time2a C_SE_TB_1
:=Set point command, short floating point value with C_SE_TC_1 time tag CP56Time2a :=Bitstring of 32 bit with time tag CP56Time2a C_BO_TA_1
Either the ASDUs of the set <45> - <51> or of the set <58> - <64> are used.
61
1MRS756704
:=Parameter of measured value, short floating point P_ME_NC_1 value :=Parameter activation P_AC_NA_1
62
1MRS756704
63
1MRS756704
64
1MRS756704
65
1MRS756704
An indication ASDU Controlling Station Initialized sent to the Controlled Station is not used.
Double transmission of information objects with cause of spontaneous transmission (station-specific parameter)
The following type identifications can be transmitted in succession caused by a single status change of an information object. The particular information object addresses for which double transmission is enabled are defined in a project-specific list.
Single-point information M_SP_NA1, M_SP_TA_1, M_SP_TB_1 and M_PS_NA_1 Double-point information M_DP_NA_1, M_DP_TA_1 and M_DP_TB_1 Step position information M_ST_NA_1, M_ST_TA_1 and M_ST_TB_1 Bitstring of 32 bit M_BO_NA_1, M_BO_TA_1 and M_BO_TB_1 (if defined for a specific project) Measured value, normalized value M_ME_NA_2, M_ME_TA_1, M_ME_ND_ 1 and M_ME_TD_1 Measured value, scaled value M_ME_NB_1, M_ME_TB_1 and M_ME_TE_1 Measured value, short floating point number M_ME_NC_1, M_ME_TC_1 and M_ME_TF_1
66
1MRS756704
67
1MRS756704
68
1MRS756704
Definition of time-outs
Parameter t0 t1 t2 t3 Default-value 30 s 15 s 10 s 20 Remarks Selected value
Time-out for acknowledges in case of 1 - 255 s no data messages t2 < t1 Time-out for sending test frames in case of a long idle state 1 - 255 s
69
1MRS756704
Maximum range of values for all the time-outs: 1 seconds to 255 seconds , accuracy 1 s.
Maximum number of outstanding I format APDUs (k) and the latest acknowledgment (w)
Parameter k Default value 12 APDU Remarks Maximum difference receive sequence number to send state variable Selected value 1-32767 s
8 APDUs
Maximum range of values k: 1 to 32767 (215-1) APDUs, accuracy 1 APDU. Maximum range of values w: 1 to 32767 APDUs, accuracy 1 APDU (Recommendation: w should not exceed 2/3 of k).
Port number
Parameter Port number Default value 2404 Remarks In all cases
70
1MRS756704
1. 2. 3. 4. 5. 6. 7.
71
72
1MRS756704
Index A
activating COM600 ............................................................................................. 40 activation information properties ....................................................................................................... 27 adding channel object ................................................................................................ 18 data object ..................................................................................................... 19 device object .................................................................................................. 18 Gateway object ............................................................................................... 18 Logical Device object ...................................................................................... 19 Logical node ................................................................................................... 19 OPC Server object .......................................................................................... 18 analog set point properties ....................................................................................................... 27 Analogue set point (APC) IEC 61850 data modeling ................................................................................ 51 attributes channel .......................................................................................................... 53 client .............................................................................................................. 53 device ............................................................................................................ 54
B
Binary controlled step position information (BSC) IEC 61850 data modeling ................................................................................ 50 properties ....................................................................................................... 28 Binary counter reading (BCR) IEC 61850 data modeling ................................................................................ 47 properties ....................................................................................................... 28
C
channel attributes ........................................................................................................ 53 diagnostics ..................................................................................................... 42 properties ....................................................................................................... 21 channel object adding ........................................................................................................... 18 Complex measured value (CMV) IEC 61850 data modeling ................................................................................ 47 properties ....................................................................................................... 29 configuring object ............................................................................................................. 19 Controllable double point (DPC) IEC 61850 data modeling ................................................................................ 49
73
1MRS756704
properties ....................................................................................................... 30 Controllable integer status (INC) IEC 61850 data modeling ................................................................................ 50 properties ....................................................................................................... 33 Controllable single point (SPC) IEC 61850 data modeling ................................................................................ 49 properties ....................................................................................................... 36
D
data object adding ........................................................................................................... 19 diagnostics ..................................................................................................... 43 Delta (DEL) IEC 61850 data modeling ............................................................................... 48 properties ....................................................................................................... 30 device attributes ........................................................................................................ 54 diagnostics ..................................................................................................... 42 properties ....................................................................................................... 22 device name plate properties ....................................................................................................... 31 device object adding ........................................................................................................... 18 diagnostics channel .......................................................................................................... 42 device ............................................................................................................ 42 server ............................................................................................................ 40 Directional protection activation information (ACD) IEC 61850 data modeling ................................................................................ 46 properties ....................................................................................................... 26 Double point status (DPS) IEC61860 data modeling ................................................................................. 45 properties ....................................................................................................... 32
G
Gateway object adding ........................................................................................................... 18
I
IEC 61850 data modeling Analogue set point (APC) ................................................................................ 51 Binary counter reading (BCR) .......................................................................... 47 Complex measured value (CMV) ..................................................................... 47 Controllable double point (DPC) ...................................................................... 49 Controllable integer status (INC) ...................................................................... 50 Controllable single point (SPC) ........................................................................ 49 Delta (DEL) .................................................................................................... 48
74
1MRS756704
L
Logical Device object adding ........................................................................................................... 19 Logical node adding ........................................................................................................... 19 logical node name plate properties ....................................................................................................... 34
M
Measured value (MV) IEC 61850 data modeling ................................................................................ 47 properties ....................................................................................................... 35
O
object configuring ..................................................................................................... 19 OPC server features ......................................................................................................... 14 OPC Server properties ....................................................................................................... 20 OPC Server object adding ........................................................................................................... 18
P
properties activation information ...................................................................................... 27 analog set point .............................................................................................. 27 Binary controlled step position (BSC) ............................................................... 28 Binary counter reading (BCR) .......................................................................... 28 channel .......................................................................................................... 21
75
1MRS756704
Complex measured value (CMV) ..................................................................... 29 Controllable double point (DPC) ...................................................................... 30 Controllable integer status (INC) ...................................................................... 33 Controllable single point (SPC) ........................................................................ 36 Delta (DEL) .................................................................................................... 30 device ............................................................................................................ 22 device name plate .......................................................................................... 31 Directional protection activation information (ACD) ............................................ 26 Double point status (DPS) ............................................................................... 32 Integer controlled step position (ISC) ............................................................... 34 Integer status (INS) ......................................................................................... 33 logical node name plate .................................................................................. 34 Measured value (MV) ...................................................................................... 35 OPC Server .................................................................................................... 20 Single point status (SPS) ................................................................................ 37 WYE .............................................................................................................. 37 Protection activation information (ACT) IEC 61850 data modeling ................................................................................ 45
S
server attributes ........................................................................................................ 53 diagnostics ..................................................................................................... 40 Single point status (SPS) IEC 61850 data modeling ................................................................................ 44 properties ....................................................................................................... 37
W
WYE IEC 61850 data modeling ................................................................................ 48 properties ....................................................................................................... 37
76
Contact us
ABB Oy Distribution Automation P.O. Box 699 FI-65101 VAASA, FINLAND Tel. +358 10 22 11 Fax. +358 10 224 1094
ABB Inc. Distribution Automation 655 Century Point Lake Mary, FL 32746, USA Tel: +1 407 732 2000 Fax: +1 407 732 2335 www.abb.com/substationautomation