You are on page 1of 13

Reference Manual

UCA 2.0 Master


Protocol
Documentation for part number P-SMPR-1101
© 2012 Cooper Power Systems, LLC – All rights reserved.
The information in this document is subject to change without notice.

Cooper Power Systems


Energy Automation Solutions
730 Commerciale Street
Suite 200
Saint-Jean-Chrysostome, Quebec
Canada G6Z 2C5
Phone: +1.418.834.0009
Fax: +1.514.227.5256
Email: PSMO-sales@cooperindustries.com
Web: http://www.cooperpower.com

Technical Support: PSSJ-support@cooperindustries.com

S1120-65-1, version 5
Contents
1. Introduction ............................................................................................................................. 1
2. Features.................................................................................................................................... 2
2.1 Communication ........................................................................................................................ 2
2.2 Supported MMS Services........................................................................................................... 2
2.2.1 Device Data Retrieval ................................................................................................. 2
2.2.2 Spontaneous Data ..................................................................................................... 2
2.2.3 Device Control ........................................................................................................... 3
2.2.4 Supported Data Types................................................................................................ 3
3. Configuration Settings ............................................................................................................. 5
4. Implementation Details ........................................................................................................... 6
4.1 Startup Sequence ..................................................................................................................... 6
4.2 Scan Cycle ............................................................................................................................... 6
5. Troubleshooting ....................................................................................................................... 7

UCA 2.0 MASTER PROTOCOL REFERENCE MANUAL ●I


Tables
Table 2-1 Communication Features .................................................................................. 2
Table 2-2 Supported MMS Services .................................................................................. 2
Table 2-3 Control Request Processing .............................................................................. 3
Table 2-4 Supported Data Types ....................................................................................... 4
Table 5-1 Troubleshooting ................................................................................................ 7

UCA 2.0 MASTER PROTOCOL REFERENCE MANUAL ● III


1. Introduction
This manual provides the information required to install and set up a UCA 2.0 master protocol
component in an SMP Gateway.
This protocol component is used to retrieve data from any device compatible with the UCA 2.0
protocol definition. It can also be used to control such a device.
You must be familiar with the SMP Gateway environment, master protocol concepts and the
UCA 2.0 protocol specification before proceeding with this document. This information can be
acquired by reading the following documents:
 Utility Communications Architecture (UCATM) Version 2.0, IEEE-SA TR 1550-1999, Volume 1,
November 1999.
 Utility Communications Architecture (UCATM) Version 2.0, IEEE-SA TR 1550-1999, Volume 2,
November 1999.
 Utility Communications Architecture 2.0, Generic Object Models for Substation & Feeder
Equipment (GOMSFE), KC Associates, Version 0.92, May 2001.
 Protocol Common Concepts Reference Manual, S1120-11-1, Cooper Power Systems, LLC.
 61850 Config User Guide, S1120-19-5, Cooper Power Systems, LLC.
 SMP Gateway User Manual, S1120-10-1, Cooper Power Systems, LLC.

UCA 2.0 MASTER PROTOCOL REFERENCE MANUAL ●1


2. Features
This chapter enumerates the features provided by the UCA 2.0 master protocol component.

2.1 Communication
The following communication features are available when connecting devices to the
SMP Gateway hardware:

Feature Comment
TCP/IP The UCA 2.0 master protocol component only supports TCP/IP.

Table 2-1 Communication Features

2.2 Supported MMS Services


UCA 2.0 services are mapped to MMS services. The following table enumerates the services
currently supported by the UCA 2.0 master protocol component.

MMS Service UCA 2.0 Service

Initiate Initiate
Conclude Conclude
Abort Abort
GetNameList GetLogicalDeviceList
GetDataObjectsList
GetDataSetsList
GetCapabilityList GetCapabilities
Identify Identify
Read GetDataObjectValues
Write SetDataObjectValues
GetVariableAccessAttrib GetDataObjectAttributes
utes
InformationReport SetDataObjectValues(unconfirmed)

Table 2-2 Supported MMS Services

2.2.1 Device Data Retrieval


The Read request is used to retrieve data from the device. Data obtained is then transformed to
standard analog or binary input data types, as specified by the configuration settings (see
chapter 3 for further details on configuration), published in the system, and made available to
slave components.
All data is time-stamped by the system when it is received, unless the configuration settings
specify that the device timestamp is to be used.
2.2.2 Spontaneous Data
The UCA 2.0 master protocol component supports the Basic Report Control Block (BasRCB), as
defined in the Generic Object Models for Substation & Feeder Equipment (GOMSFE). The UCA 2.0

2● UCA 2.0 MASTER PROTOCOL REFERENCE MANUAL


master protocol component can subscribe to these reports in order to receive spontaneous data
via the InformationReport MMS service.
2.2.3 Device Control
Binary and analog outputs can be used to control devices. This is done by sending Read and
Write requests to the devices. The following table describes how system control requests are
processed by the master protocol component.

System Request Processing


SBO Reads an SBO data object.
Open Writes 0 in a BO data object.
Close Writes 1 in a BO data object.
Pulse Writes in a BO data object.
(Before writing in the BO data object, the master can write in the
OnDur data object, so as to specify the On duration time.)
BO Pairing Converts the open/close operation to a pulse operation on two data
objects: one for the open operation and the other for the close
operation.
Set Writes a value in an AO data object.

Table 2-3 Control Request Processing

2.2.4 Supported Data Types


The data type of a data object defines its format or its structure. The following table enumerates
the supported UCA data types.

UCA Standard Description, Range of Values (if applicable)


DataType Name
BOOL Boolean — 1 bit, True (1) or False (0)
BSTR1 Bitstring — 1 bits
BSTR8 Bitstring — 8 bits
BSTR16 Bitstring — 16 bits
BSTR32 Bitstring — 32 bits
INT8U Unsigned integer — 8 bits, 0 to 255
INT16U Unsigned integer — 16 bits, 0 to 65,535
INT32U Unsigned integer — 32 bits, 0 to 4,294,967,295
INT8S Signed integer — 8 bits, -128 to +127
INT16S Signed integer — 16 bits, -32,768 to + 32,767
INT32S Signed integer — 32 bits, -2,147,483,648 to +2,147,483,647
FLT32 Floating point, IEEE format, single precision
FLT64 Floating point, IEEE format, double precision

UCA 2.0 MASTER PROTOCOL REFERENCE MANUAL ●3


UCA Standard Description, Range of Values (if applicable)
DataType Name
VSTR8 Printable ASCII text string — 8 characters
VSTR16 Printable ASCII text string — 16 characters
VSTR32 Printable ASCII text string — 32 characters
BTIME4 Number of ms since midnight — 4 bytes (GMT)
BTIME6 Number of ms since midnight and days since 1 January 1984 — 6
bytes (GMT).
ENUM8 Enumerated value, 8 bits, signed — Well-known values positive,
0 always reserved and unused.
ENUM16 Enumerated value, 16 bits, signed — Well-known values positive,
0 always reserved and unused.
IDENT A printable ASCII text string representation of a DOReference —
identifies a DataObject or subcomponent of a DataObject in the
server.
IDENT A printable ASCII text string representation of a DOReference —
identifies a DataObject or subcomponent of a DataObject in the
server.

Table 2-4 Supported Data Types

4● UCA 2.0 MASTER PROTOCOL REFERENCE MANUAL


3. Configuration Settings
Cooper Power Systems’ 61850 Config software program is used to define settings for the UCA 2.0
master protocol component. The 61850 Config User Guide describe the configuration settings to
be specified for every UCA 2.0 master protocol component instance.

UCA 2.0 MASTER PROTOCOL REFERENCE MANUAL ●5


4. Implementation Details
4.1 Startup Sequence
The protocol component goes through the following steps on startup:
 Parses the configuration file.
 Initializes the various logs, traces, and statistics.
 Creates all I/O points and marks them as invalid (communications failure).
 Initializes the communications link.
 Initiates communication with the device.
 Identifies the server.
 Validates the configuration.
 Subscribes to the report.
 Refreshes all data objects.
 Starts the scan cycle.

4.2 Scan Cycle


The protocol component manages the device polling cycle based on the following principles:
 The protocol is full duplex.
 The device can send up to 5 requests without receiving a request for data (the maximum
number of requests depends on the device).

Whatever the reason, the link is reset from scratch if there are 3 consecutive bad receptions.

Link initialization occurs under the following circumstances:


 The SMP Gateway is being restarted.
 The communications link is being reset, due to 3 consecutive errors of any type.

Once the link has been initialized, and as long as it remains active, the protocol component uses
regular scanning cycles on a continuous basis. Note that the link is not considered active until the
device is identified.

The regular scanning cycle is as follows:


 If there is a request to be sent, send it.
 More than one request can be sent before receiving the first request response.
 If a sent request failed and must be retried, send it again (3 attempts max).

The scanning cycle may be interrupted anytime if there are output control requests.
If the normal scanning cycle is abandoned to cause a link reset, all I/O points are tagged as
being defective due to a communication failure. Analog and binary input points become valid
again on an individual basis only when valid I/O data is received from the device. Binary output
points become valid again as soon as the link is considered active.

6● UCA 2.0 MASTER PROTOCOL REFERENCE MANUAL


5. Troubleshooting
The following table lists solutions to common problems experienced with the UCA 2.0 master
protocol component.

Problem Solution
The SMP Gateway is This problem can be due to one of the following:
not communicating  One of the reasons discussed in the Protocol Common Concepts
with my device. Reference Manual.
 Device addressing problem: The device address general setting,
configured using 61850 Config, does not match the address
configured in the device.

The link to my device This problem can be due to one of the following:
keeps resetting.  One of the reasons discussed in the Protocol Common Concepts
Reference Manual.
 Reception timeout problem: The reception timeout general
setting, configured using 61850 Config, is too small.

Table 5-1 Troubleshooting

UCA 2.0 MASTER PROTOCOL REFERENCE MANUAL ●7

You might also like