cosem identification system and interface...

101
TECHNICAL REPORT Companion Specification for Energy Metering COSEM Identification System and Interface Classes DLMS User Association device language message specification Reference number: DLMS UA 1000-1:2002, Fifth Edition ' Copyright 1997-2002 DLMS User Association

Upload: others

Post on 13-Mar-2020

14 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

TECHNICAL REPORT Companion Specification for Energy Metering COSEM Identification System and Interface Classes DLMS User Association

device languagemessagespecification

Reference number: DLMS UA 1000-1:2002, Fifth Edition © Copyright 1997-2002 DLMS User Association

Page 2: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

DLMS User Association DLMS UA 1000-1 ed.5 2/101

© Copyright 1997-2002 DLMS User Association

Page 3: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Table of Contents

1. Foreword .................................................................................................................................6

2. Scope.......................................................................................................................................7

3. Introduction ............................................................................................................................8 3.1 Referenced Documents .........................................................................................................8 3.2 Terms, Definitions and Abbreviations ....................................................................................9 3.3 Revision History .....................................................................................................................9

4. COSEM Interface Classes....................................................................................................10 4.1 Basic Principles....................................................................................................................10 4.1.1 Introduction ........................................................................................................................10 4.1.2 Class Description Notation ................................................................................................11 4.1.3 Common Data Types.........................................................................................................13 4.1.4 Data formats for date and time notation ............................................................................13 4.1.5 The COSEM server model.................................................................................................15 4.1.6 COSEM Logical Device .....................................................................................................16 4.1.6.1 General............................................................................................................................16 4.1.6.2 COSEM Logical Device Name ........................................................................................16 4.1.6.3 The "Association View" of the Logical Device .................................................................16 4.1.6.4 Mandatory Contents of a COSEM Logical Device...........................................................16 4.1.7 Authentication Procedures.................................................................................................17 4.1.7.1 Low Level Security (LLS) Authentication.........................................................................17 4.1.7.2 High Level Security (HLS) Authentication .......................................................................17 4.2 The interface classes ...........................................................................................................18 4.2.1 Data (class_id: 1)...............................................................................................................19 4.2.2 Register (class_id: 3) .........................................................................................................19 4.2.3 Extended register (class_id: 4) ..........................................................................................21 4.2.4 Demand register (class_id: 5)............................................................................................22 4.2.5 Register activation (class_id: 6).........................................................................................24 4.2.6 Profile generic (class_id: 7) ...............................................................................................26 4.2.7 Clock (class_id: 8) .............................................................................................................29 4.2.8 Script table (class_id: 9) ....................................................................................................32 4.2.9 Schedule (class_id: 10) .....................................................................................................34 4.2.10 Special days table (class_id: 11) .......................................................................................37 4.2.11 Activity calendar (class_id: 20) ..........................................................................................38 4.2.12 Association LN (class_id: 15) ............................................................................................40 4.2.13 Association SN (class_id: 12) ............................................................................................44 4.2.14 SAP assignment (class_id: 17)..........................................................................................46 4.2.15 Register monitor (class_id: 21) ..........................................................................................46 4.2.16 Utility tables (class_id: 26) .................................................................................................47 4.2.17 Single action schedule (class_id: 22) ................................................................................48 4.3 Maintenance of the Interface Classes..................................................................................49 4.3.1 New Interface Classes.......................................................................................................49 4.3.2 New Versions of Interface Classes....................................................................................50 4.3.3 Removal of Interface Classes............................................................................................50 4.4 Protocol related interface classes ........................................................................................50 4.4.1 IEC local port setup (class_id: 19) .....................................................................................50 4.4.2 PSTN modem configuration (class_id: 27) ........................................................................51 4.4.3 PSTN auto answer (class_id: 28) ......................................................................................53

DLMS User Association DLMS UA 1000-1 ed.5 3/101

© Copyright 1997-2002 DLMS User Association

4.4.4 PSTN auto dial (class_id: 29) ............................................................................................54

Page 4: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

4.4.5 IEC HDLC setup (class_id: 23) ..........................................................................................55 4.4.6 IEC twisted pair (1) setup (class_id: 24) ............................................................................56 4.5 Using short names for accessing attributes and methods....................................................57 4.5.1 Guidelines for assigning short names................................................................................57 4.5.2 Reserved base_names for special COSEM objects ..........................................................62 4.6 Relation to OBIS...................................................................................................................63 4.6.1 Mapping of data items to COSEM objects and attributes ..................................................63 4.6.1.1 Abstract COSEM Objects ................................................................................................63 4.6.1.2 Electrical Energy related COSEM Objects ......................................................................71 4.6.2 Coding of OBIS identifications ...........................................................................................75 4.7 Previous versions of interface classes .................................................................................76 4.7.1 Profile generic, version 0 ...................................................................................................76 4.7.2 Association SN, version 0 ..................................................................................................79

5. COSEM Object Identification System (OBIS) .....................................................................82 5.1 Introduction...........................................................................................................................82 5.2 Scope ...................................................................................................................................82 5.3 OBIS structure......................................................................................................................83 5.3.1 Value group A ....................................................................................................................83 5.3.2 Value group B ....................................................................................................................83 5.3.3 Value group C ....................................................................................................................83 5.3.4 Value group D ....................................................................................................................83 5.3.5 Value group E ....................................................................................................................83 5.3.6 Value group F ....................................................................................................................83 5.3.7 Manufacturer specific codes ..............................................................................................83 5.4 Value group definitions.........................................................................................................84 5.4.1 Value group A ....................................................................................................................84 5.4.2 Value group B ....................................................................................................................84 5.4.3 Value group C ....................................................................................................................84 5.4.3.1 Abstract objects ...............................................................................................................84 5.4.3.2 Quantities for electricity related objects ...........................................................................85 5.4.4 Value group D ....................................................................................................................87 5.4.4.1 Electricity related objects .................................................................................................87 5.4.4.2 Value group D for country specific identifiers ..................................................................89 5.4.5 Value group E ....................................................................................................................90 5.4.5.1 Usage of value group E for current and voltage measurements .....................................91 5.4.5.2 Usage of value group E for measuring angles.................................................................91 5.4.6 Value group F ....................................................................................................................92 5.4.6.1 Usage of value group F for billing periods .......................................................................92 5.4.7 Abstract objects .................................................................................................................92 5.4.8 Electricity-related General purpose objects .......................................................................94 5.4.9 List objects .........................................................................................................................95 5.4.10 Electricity data profile objects ............................................................................................96 5.5 Code presentation ................................................................................................................96 5.5.1 Reduced ID codes (e.g. for IEC 62056-21)........................................................................96 5.5.2 Display ...............................................................................................................................97 5.5.3 Special handling of value group F......................................................................................97 5.5.4 COSEM..............................................................................................................................98

Bibliography ...................................................................................................................................99

Index..............................................................................................................................................100

DLMS User Association DLMS UA 1000-1 ed.5 4/101

© Copyright 1997-2002 DLMS User Association

Page 5: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Figures

Figure 1 The three steps approach of COSEM: Modelling - Messaging - Transporting ................................ 7 Figure 2 An interface class and its instances ............................................................................................... 10 Figure 3 The COSEM server model ............................................................................................................. 15 Figure 4 Combined metering device............................................................................................................. 15 Figure 5 Overview of the interface classes................................................................................................... 18 Figure 6 The attributes when measuring sliding demand............................................................................. 22 Figure 7 The attributes when measuring current_average_value if number of periods is 1 ........................ 22 Figure 8 The attributes if number of periods is 3.......................................................................................... 23 Figure 9 The generalised time concept ........................................................................................................ 30 Figure 10 OBIS code structure ..................................................................................................................... 83 Figure 11 Quadrants for power measurement ............................................................................................. 87 Figure 12 Reduced ID code presentation..................................................................................................... 97

Tables Table 1 Class description template .............................................................................................................. 11 Table 2 Examples of values.......................................................................................................................... 21 Table 3 Schedule.......................................................................................................................................... 34 Table 4 Special Days Table.......................................................................................................................... 34 Table 5 Reserved base_names for Special COSEM Objects...................................................................... 63 Table 6 Value group A codes ....................................................................................................................... 84 Table 7 Value group B codes ....................................................................................................................... 84 Table 8 Value group C codes (abstract objects) .......................................................................................... 85 Table 9 Value group C codes (electricity objects) ........................................................................................ 85 Table 10 Value group D codes (electricity)................................................................................................... 87 Table 11 Value group D codes (country specific)......................................................................................... 89 Table 12 Value group E codes (electricity)................................................................................................... 90 Table 13 Extended current/voltage measurement ....................................................................................... 91 Table 14 Extended angle measurement....................................................................................................... 92 Table 15 Abstract object codes .................................................................................................................... 92 Table 16 General error messages................................................................................................................ 93 Table 17 General purpose codes (electricity)............................................................................................... 94 Table 18 General list objects ........................................................................................................................ 96 Table 19 Profile codes (electricity) ............................................................................................................... 96 Table 20 Example of display code replacement........................................................................................... 97 Table 21 Values of billing periods................................................................................................................. 97

DLMS User Association DLMS UA 1000-1 ed.5 5/101

© Copyright 1997-2002 DLMS User Association

Page 6: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

1. Foreword

Copyright

© Copyright 1997-2002 DLMS User Association. This document is confidential. It may not be copied, nor handed over to persons outside the stan-dardisation environment. The copyright is enforced by national and international law. The "Berne Convention for the Protec-tion of Literary and Artistic Works", which is signed by 121 countries world-wide, and other treaties apply. Acknowledgement

The actual document has been established by a team of experts working for the meter manufac-turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with input from other mem-bers of the DLMS User Association and from working group members of standardisation bodies, e.g. IEC TC13 WG14 and CEN TC294 WG2. Status of standardisation

The actual edition 5 of this document provides the same information as IEC 62056-62 (Interface Classes) and IEC 62056-61 (OBIS Object Identification System). These International Standards were published in 2002.

DLMS User Association DLMS UA 1000-1 ed.5 6/101

© Copyright 1997-2002 DLMS User Association

Page 7: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

2. Scope

This document specifies the functionality of the meter which is available at its inter-face (internal issues concerning the im-plementation are not covered by the specification) and how the functions and the data can be accessed from the out-side. The complex functionality of the meter is divided into generic building blocks. The COSEM specifications follow a three step approach as illustrated in Figure 1: Step 1: The meter model and data identi-fication (data model); Step 2: The mapping of the model into protocol data units (pdu); Step 3: The transportation of the bits and bytes through the communication chan-nel. The data model uses generic building blocks to define the complex functionality of the metering equipment. It provides a view of this functionality of the meter, as it is available at its interface(s). The model does not cover internal, implemen-tation specific issues. The communica-tion protocol defines how the data can be accessed and exchanged.

• The COSEM specification specifies

functionality of the meter is defined COSEM objects. This is defined in thcodes), identifying the COSEM objec

• The attributes and methods of these messaging services of the application

• The lower layers of the protocol trans

DLMS User Association

© Copyright 19

3. Transporting

C0 01 00 03 01 01 01 08 00 FF 02

2. Messaging

Protocol Services to access attributes and methods

ISO, IEC,...

Communication Protocol

Messages :Service_Id( Class_Id, Instance_Id, Attribute_Id/Method_Id )

Encoding: ( APDU )

1. Modelling COSEM Interface Objects

_id=3,Min

ictype

m/oo

DLMS User Associatio

n

Figure 1 –

The three steps approach of COSEM: Modelling - Messaging - Transporting

metering domain specific interface classes. The by the instances of these interface classes, called e first part of this document. Logical names (OBIS ts are defined in the second part of this document.

COSEM objects can be accessed and used via the layer.

port the information.

Register 0..n Class Version=0Attribute(s) Data Type Max Def1. logical_name (static) octet-string2. value (dyn.) instance specif3. scaler-unit (static) scal_unit_Method(s)1. reset

DLMS UA 1000-1 ed.5 7/101 97-2002 DLMS User Association

Page 8: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

3. Introduction

Driven by the need of the utilities to optimise their business processes, the meter becomes more and more part of an integrated metering and billing system. Whereas in the past the commercial value of a meter was mainly generated by its data acquisition and processing capabilities, nowa-days the critical issues are system integration and interoperability. The Companion Specification for Energy Metering (COSEM) addresses these challenges by look-ing at the meter as an integrated part of a commercial process which starts with the measurement of the delivered product (energy) and ends with the revenue collection. The meter is specified by its behaviour as seen from the utility's business processes. The formal specification of the behaviour is based on object modelling techniques (interface classes and ob-jects). The specification of these objects forms a major part of COSEM. The COSEM server model (comp. chapter 4.1.5) represents only the externally visible elements of the meter. The client applications that support the business processes of the utilities, of the cus-tomers and of the meter manufacturers make use of this server model. The meter offers means to retrieve its structural model (the list of objects visible through the interface), and provides access to the attributes and specific methods of these objects. The set of different interface classes (see chapter 4) form a standardised library from which the manufacturer can assemble (model) its individual products. The elements are designed such that with them the entire range of products (from residential to commercial and industrial applications) can be covered. The choice of the subset of interface classes used to build a meter, their instantia-tion and their implementation are part of the product design and therefore left to the manufacturer. The concept of the standardised metering interface class library provides the different users and manufacturers with a maximum of diversity without having to sacrifice interoperability. The competitive energy markets require an ever-increasing amount of timely information concern-ing the usage of electrical energy. Recent technology developments enable to build intelligent static metering equipment, which are capable of capturing, processing and communicating this in-formation to all parties involved. For further analysis of this information, for the purposes of billing, load-, customer- and contract management, it is necessary to uniquely identify all data in a manufacturer independent way col-lected manually or automatically, via local or remote data exchange. The definition of identification codes (see chapter 5) is based on DIN 43863-3:1997, Electric-ity meters – Part 3: Tariff metering device as additional equipment for electricity meters – EDIS – Energy Data Identification .

3.1 Referenced Documents Ref. Title DLMS UA 1000-2 COSEM Three Layer Connection Oriented Architecture, Third Edition (2002) IEC 61268:1995 Alternating current static var-hour meters for reactive energy (classes 2 and 3) IEC 61334-4-41:1996 Distribution automation using distribution line carrier systems - Part 4: Data com-

munication protocols - Section 41: Application protocols - Distribution line message specification

DLMS User Association DLMS UA 1000-1 ed.5 8/101

© Copyright 1997-2002 DLMS User Association

Page 9: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Ref. Title IEC 62056-21:2002 Data exchange for meter reading, tariff and load control Part 21: Direct local data

exchange IEC 62056-31:1999 Electricity metering Data exchange for meter reading, tariff and load control

Part 31- Using local area networks on twisted pair with carrier signalling IEC 62056-46:2002 Electricity metering Data exchange for meter reading, tariff and load control

Part 46 Data link layer using HDLC-protocol IEC 62056-53:2002 Electricity metering Data exchange for meter reading, tariff and load control

Part 53- COSEM Application layer IEC 62056-61:2002 Electricity metering Data exchange for meter reading, tariff and load control

Part 61- OBIS Object Identification System IEC 62056-62:2002 Electricity metering Data exchange for meter reading, tariff and load control

Part 62: Interface Classes ANSI C12.19:1997 IEEE 1377:1998, Utility industry end device data tables

3.2 Terms, Definitions and Abbreviations Abbreviation ExplanationAARE Application Association Response AARQ Application Association Request ACSE Application Control Service Element APDU Application protocol data unit ASE Application Service Element A-XDR Adapted Extended Data Representation base_name The short_name corresponding to the first attribute (logical_name)of a COSEM object.. Class_id Class identification code COSEM Companion Specification for Energy Metering COSEM object An instance of an interface class DLMS Distribution Line Message Specification GMT Greenwich Mean Time HLS High Level Security IC Interface Class IEC International Electrotechnical Commission LLS Low Level Security LSB Least significant bit m mandatory, used in conjunction with attribute and method definitions MSB Most significant bit o optional, used in conjunction with attribute and method definitions OBIS Object Identification System PDU Protocol data unit UTC Universal Time Co-ordinated

3.3 Revision History Version Date Author Comment Release 1 01 April 1998 DLMS -UA initial version First Edition 12 Nov. 1998 DLMS -UA considering comments received after R1 Second Edition 03 May 1999 DLMS -UA major rework, classes and associations added Third Edition 29 Feb. 2000 DLMS -UA major rework, adapted to CDVs of IEC TC13, OBIS added Fourth Edition 25 March 2001 DLMS -UA considering comments to CDVs by IEC National Committees Fifth Edition 05 March 2002 DLMS -UA content adapted to IEC International Standards

DLMS User Association DLMS UA 1000-1 ed.5 9/101

© Copyright 1997-2002 DLMS User Association

Page 10: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

4. COSEM Interface Classes

4.1 Basic Principles

4.1.1 Introduction This subclause describes the basic principles on which the COSEM interface classes are built. It also gives a short overview on how interface objects (instantiations of the interface classes) are used for communication purposes. Meters, support tools and other system components that follow these specifications can communicate with each other in an interoperable way. Object modelling: for specification purposes this standard uses the technique of object modelling. An object is a collection of attributes and methods. The information of an object is organized in attributes. They represent the characteristics of an ob-ject by means of attribute values. The value of an attribute may affect the behaviour of an object. The first attribute in any object is the logical_name. It is one part of the identification of the object. An object offers a number of methods to either examine or modify the values of the attributes. Ob-jects that share common characteristics are generalized as an interface class with a class_id. Within a specific class the common characteristics (attributes and methods) are described once for all objects. Instantiations of an interface class are called COSEM objects. Manufacturers may add proprietary methods or attributes to any object, using negative numbers. Figure 2 illustrates these terms by means of an example:

Register class_id=3logical_name: octet-string value: instance specific ...

value = 57

Total Positive Reactive Energy: Register

logical_name = [1 1 1 8 0 255] value = 1483

Total Positive Active Energy: Register

Class Methods Object Attribute Values class identifier Attributes Instantiation

reset

logical_name = [1 1 3 8 0 255]

Figure 2 – An interface class and its instances

DLMS User Association DLMS UA 1000-1 ed.5 10/101

© Copyright 1997-2002 DLMS User Association

Page 11: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

The interface class register is formed by combining the features necessary to model the behav-iour of a generic register (containing measured or static information) as seen from the client (cen-tral unit, hand held terminal). The contents of the register are identified by the attribute logi-cal_name. The logical_name contains an OBIS identifier (see Clause 5 or IEC 62056-61). The actual (dynamic) content of the register is carried by its value attribute. Defining a specific meter means defining several specific registers. In the example of Figure 2 the meter contains two registers; i.e. two specific COSEM objects of the class register are instanti-ated. This means that specific values are assigned to the different attributes. Through the instantia-tion one COSEM object becomes a total, positive, active energy register whereas the other be-comes a total, positive, reactive energy register. REMARK The COSEM objects (instances of interface classes) represent the behaviour of the meter as seen from the outside. Therefore, modifying the value of an attribute must always be initiated from the outside (e.g. resetting the value of a register). Internally initiated changes of the attributes are not described in this model (e.g. updating the value of a register).

4.1.2 Class Description Notation This subclause describes the notation used to define the interface classes. A short text describes the functionality and application of the class. A table gives an overview of the class including the class name, the attributes and the methods (class description template):

Table 1 – Class description template

Class name Cardinality class_id, version Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. .. (..) ….. 3. (..) ….. Specific method(s) (if required) m/o 1. .. ….. 2. .. …..

Each attribute and method must be described in detail. Class name Describes the class (e.g. register, clock, profile, ...) Cardinality Specifies the number of instances of the class within a logical device (see 4.1.5). value The class shall be instantiated exactly value times. min...max. The class shall be instantiated at least min. times and

at most max. times. If min. is zero (0) then the class is optional, otherwise (min. > 0) "min." instantiations of the class are mandatory.

class_id Identification code of the class (range 0 to 65 535). The class_id can be obtained from an association object. The class_id's from 0 to 8 191 are reserved to be specified by the DLMS UA. Class_id's from 8 192 to 32 767 are reserved for manufacturer specific interface classes. Class_id's from 32 768 to 65 535 are reserved for user group specific interface classes. DLMS UA reserves the right to assign ranges to individual manufacturers or user groups.

Version Identification code of the version of the class. The version can be obtained from an association object. Within one logical device all instances of a certain class must be of the same version.

DLMS User Association DLMS UA 1000-1 ed.5 11/101

© Copyright 1997-2002 DLMS User Association

Page 12: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Attribute(s) Specifies the attribute(s) that belong to the class.

(dyn.) Classifies an attribute that carries a process value, which is

updated by the meter itself.

(static) Classifies an attribute which is not updated by the meter itself (e.g. configuration data).

logical_name octet-string The logical name is always the first attribute of a class. It identifies the instantiation (COSEM object) of this class. The value of the logical_name conforms to OBIS (see Clause 5 or IEC 62056-61).

Data type Defines the data type of an attribute (see 4.1.3). Min. Specifies if the attribute has a minimum value.

x The attribute has a minimum value.

<empty> The attribute has no minimal value. Max. Defines if the attribute has a maximum value.

x The attribute has a maximum value.

<empty> The attribute has no maximum value. Def Specifies if the attribute has a default value. This is the value of the attribute after

reset.

x The attribute has a default value.

<empty> The default value is not defined by the class definition. . Specific method(s)

Provides a list of the specific methods that belong to the object

Method Name () The method has to be described in the subsection "Method description".

m / o Defines if the method is mandatory or optional.

m (mandatory) The method is mandatory.

o (optional) The method is optional. Attribute Description Describes each attribute with its data type (if the data type is not simple), its data formats and its properties (minimum value, maximum value and default value). Method Description Describes each method and the invoked behaviour of the instantiated COSEM object(s). NOTE Services for accessing attributes or methods by the protocol are described in DLMS UA 1000-2 or IEC 62056-53. Selective Access The common methods READ/WRITE and GET/SET typically reference the entire attribute ad-dressed. However, for certain attributes selective access to just part of the attribute may be pro-vided. The part of the attribute is identified by specific selective access parameters. These selec-tive access parameters are defined as part of the attribute specification.

DLMS User Association DLMS UA 1000-1 ed.5 12/101

© Copyright 1997-2002 DLMS User Association

Page 13: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

4.1.3 Common Data Types The following list contains some data types common to all interface classes. Simple data types Data types carrying one data item only integer, long, double-long, unsigned, long-unsigned, double-long-unsigned, boo-lean

Simple data types as defined in IEC 61334-4-41:1996, clause A.12, Data Examples: integer Integer8 1 byte long Integer16 2 bytes double-long Integer32 4 bytes

enum The elements of the enumeration type need to be defined in the sub-section Attribute description. Any not listed value for an enumeration is reserved by default.

real32, real64 Real data types according to the REAL specification of IEC 61334-4-41:1996.

visible-string, octet-string An ordered sequence of ASCII-characters respectively octets (8-bit bytes).

bit-string An ordered sequence of boolean values.

Complex data types More than one data item is included, or the data item itself

is not simple. array The array elements need to be defined in the subsection Attribute

description. compact array The array elements need to be defined in the subsection Attribute

description. structure The structure type needs to be defined in the subsection Attribute

description.

instance specific The data type of the attribute needs to be specified in the instantia-tion of the object for a particular meter (instance model).

4.1.4 Data formats for date and time notation Date and time notations are normally using octet-string as data type, but the formatting of the data is defined precisely.

DLMS User Association DLMS UA 1000-1 ed.5 13/101

© Copyright 1997-2002 DLMS User Association

date octet-string year highbyte, year lowbyte, month, day of month, day of week

year: interpreted as unsigned16 range 0..big 0xFFFF = not specified year highbyte and year lowbyte reference the 2 bytes of the unsigned 16

month: interpreted as unsigned8 range 1..12, 0xFD,0xFE,0xFF 1 is January 0xFD= daylight_savings_end 0xFE= daylight_savings_begin 0xFF = not specified

dayOfMonth: interpreted as unsigned8 range 1..31, 0xFD, 0xFE, 0xFF 0xFD = 2nd last day of month 0xFE = last day of month

Page 14: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

0xE0 to 0xFC = reserved 0xFF = not specified dayOfWeek: interpreted as unsigned8 range 1..7, 0xFF 1 is Monday 0xFF = not specified For repetitive dates the unused parts must be set to not specified.

time octet-string hour, minute, second, hundredths hour: interpreted as unsigned8 range 0..23, 0xFF 0xFF = not specified minute: interpreted as unsigned8 range 0..59, 0xFF 0xFF = not specified second: interpreted as unsigned8 range 0..59, 0xFF 0xFF = not specified hundredths: interpreted as unsigned8 range 0..99, 0xFF 0xFF = not specified For repetitive times the unused parts must be set to not specified.

deviation Integer16 720..720: in minutes of local time to GMT 0x8000 = not specified

clock_status Unsigned8 interpreted as 8 bit string The status bits are defined as follows: bit 0 (LSB): invalid a value bit 1: doubtful b value bit 2: different clock base c bit 3: invalid clock status d bit 4: reserved bit 5: reserved bit 6: reserved bit 7 (MSB): daylight saving active e

date_time octet-string year highbyte year lowbyte month day of month day of week hour minute second hundredths of second deviation highbyte deviation lowbyte clock status Individual fields of date_time are encoded as defined above. Some may be set to not specified as described above in date and time.

DLMS User Association DLMS UA 1000-1 ed.5 14/101

© Copyright 1997-2002 DLMS User Association

Page 15: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

a Time could not be recovered after an incident. Detailed conditions are manufacturer specific (e.g. after the power to the clock has been interrupted).

b Time could be recovered after an incident but the value cannot be guaranteed. Detailed conditions are manufacturer specific.

c Bit is set if the basic timing information for the clock is at the actual moment taken from a timing source dif-ferent from the source specified in clock_base.

d This bit indicates that at least one bit of the clock status is invalid. Some bits may be correct. The exact meaning shall be explained in the manufacturers documentation.

e Flag set to true: the transmitted time contains the daylight saving deviation (summer time), Flag set to false: the transmitted time does not contain daylight saving deviation (normal time).

4.1.5 The COSEM server model The COSEM server is structured into 3 hierarchical levels as shown in Figure 3: Level 1: Physical Device Level 2: Logical Device Level 3: Accessible COSEM objects

COSEM physical device A

COSEMLogical device 2

COSEM Objects

COSEMManagement logical

device

COSEM Objects

Figure 3 – The COSEM server model

The following example (see Figure 4) shows how a combined metering device can be structured using the COSEM server model.

Combined metering device

Management logicaldevice

Registertotal energy

Register tariff 1

Logical device 2

Registertotal volume

Logical device 3

Registertotal volume

LDN

A

Physical device

Logical device

Objects

A: Association object

LDN LDN

AA

LDN: COSEM logicaldevice name object

Figure 4 – Combined metering device

DLMS User Association DLMS UA 1000-1 ed.5 15/101

© Copyright 1997-2002 DLMS User Association

Page 16: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

4.1.6 COSEM Logical Device

4.1.6.1 General The COSEM logical device is a set of COSEM objects. Each physical device shall contain a man-agement logical device The addressing of COSEM logical devices shall be provided by the addressing scheme of the lower layers of the protocol used.

4.1.6.2 COSEM Logical Device Name The COSEM logical device can be identified by its unique COSEM logical device name. This name can be retrieved from an instance of IC "SAP assignment" (see 4.2.14), or of a COSEM object "COSEM logical device name" (see 4.6.1.1.17). This name is defined as an octet-string of up to 16 octets. The first three octets uniquely identify the manufacturer of the device1. The manufacturer is responsible for guaranteeing the uniqueness of the octets that follow (up to 13 octets).

4.1.6.3 The "Association View" of the Logical Device In order to access COSEM objects in the server, an application association shall first be estab-lished. This characterizes the context within which the associated applications will communicate. The major parts of this context are

• information on the application context; • information on the COSEM context; • information on the authentication mechanism used; • etc.

This information is contained in a special COSEM object, the association object. There are two types of this association object defined. One for associations using short name referencing (asso-ciation SN) and one for using logical name referencing (association LN). Depending on the association established between the client and the server different access rights may be granted by the server. Access rights concern a set of COSEM objects the visible objects which can be accessed (seen) within the given association. In addition, ac-cess to attributes and methods of these COSEM objects may also be restricted within the as-sociation (e.g. a certain type of client can only read a particular attribute of a COSEM object). The list of the visible COSEM objects the association view can be obtained by the client by reading the object_list attribute of the appropriate association object. Additional information about the access rights (read only, write only, read and write) to the attributes and the availability of the methods (within the established association) can be found via specific attributes (Logical name referencing, see 0) or special methods (Short name referencing, see 4.2.13) provided by the association objects.

4.1.6.4 Mandatory Contents of a COSEM Logical Device The following objects shall be part of each COSEM logical device. They shall be accessible for GET/READ in all application associations with this logical device:

• COSEM logical device name object • current association (LN or SN) object.

DLMS User Association DLMS UA 1000-1 ed.5 16/101

© Copyright 1997-2002 DLMS User Association

1 Administered by the DLMS User Association, equivalent to the manufacturers identification in IEC 62056-21

Page 17: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

4.1.7 Authentication Procedures

4.1.7.1 Low Level Security (LLS) Authentication As described in DLMS UA 1000-2 or IEC 62056-53 the ACSE provides the authentication services for low level security (LLS). Low level security authentication is typically used when the communi-cation channel offers adequate security to avoid eavesdropping and message (password) replay. For LLS all the authentication services are provided by the ACSE. The association objects provide only the method/attribute (see 0, 4.2.13) to change the "secret" (e.g. password). For LLS authentication the client transmits a "secret" (e.g. a password) to the server, by using the "Calling_Authentication_Value" parameter of the COSEM-OPEN.request service primitive of the client application layer. The server checks if the received "secret" corresponds to the client identifi-cation. If yes, the client is authenticated and the association can be established.

4.1.7.2 High Level Security (HLS) Authentication As described in DLMS UA 1000-2 or IEC 62056-53 the ACSE provides part of the authentication services for high level security (HLS). High-level security authentication is typically used when the communication channel offers no intrinsic security and precautions have to be taken against eavesdroppers and against message (password) replay. In this case a 4-pass authentication pro-tocol is foreseen. The 4-pass authentication allows the authentication of the client as well as of the server in the following way: Pass1: The client transmits "challenge" CtoS (e.g. a random number) to the server Pass2: The server transmits "challenge" StoC (e.g. a random number) to the client. Pass3: The client processes StoC in a secret way (e.g. encrypting with a secret key). The

result - f(StoC) - is sent back to the server. The server checks if f(StoC) is the result of correct processing and - if correct - the server accepts the authentication of the client.

Pass4: If the client is authenticated, the server processes CtoS in a secret way (e.g. en-crypting with a secret key). The result - f(CtoS) - is sent back to the client. The client checks if f(CtoS) is the result of the correct processing and - if correct - the client accepts the authentication of the server.

The HLS authentication service, supporting Pass1 is provided by the COSEM-OPEN.request ser-vice primitive of the client application layer. The parameter "Security_Mechanism_Name" carries the identifier of the HLS mechanism, and the parameter "Calling_Authentication_Value" carries the challenge CtoS. The HLS authentication service, supporting Pass2 is provided by the COSEM-OPEN.response service primitive of the server application layer. The parameter "Security_Mechanism_Name" car-ries the identifier of the HLS mechanism, and the parameter "Responding_Authentication_Value" carries the challenge StoC. After Pass2 the association is formally established, but the access of the client is restricted to the method "reply_to_HLS_authentication" of the current "association" object. Pass3 and Pass4 are supported by the method reply_to HLS_authentication of the association object(s), (see 0, 4.2.13). If both passes are successfully executed, then full access is granted ac-cording to the current association. Otherwise either the client or the server aborts the association. In addition, the association object provides the method to change the HLS "secret" (e.g. the en-cryption key): change_HLS_secret.

REMARK

DLMS User Association DLMS UA 1000-1 ed.5 17/101

© Copyright 1997-2002 DLMS User Association

Page 18: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

After the client has issued the change_HLS_secret() (or change_LLS_secret() ) method it expects a response from the server acknowledging that the secret has been changed. It is possible that the server transmits the acknowledgement, but due to communication problems the acknowledgement is not received at the client-side. Therefore, the client does not know if the secret has been changed or not. For simplicity reasons the server does not offer any special support for this case; i.e. it is left to the client to cope with this situation.

4.2 The interface classes The currently defined interface classes for meters and the relations between them are illustrated in Figure 5. Base

Data

Register

Extended register

Demand register

Association LN

Clock

Profile generic

Register activation

Script table

Schedule

SAP assignment

Activity calendar

Register monitor

Special days table

Association SN

IEC local port setup

Single action schedule

PSTN modem config.

PSTN auto answer

PSTN auto dial

IEC HDLC setup

IEC twisted pair (1) setup

Utility tables

NOTE 1 The interface class base itself is not specified explicitly. It contains only one attribute "logical_name".

NOTE 2 In the description of the "demand register", clock and profile generic inter-face classes, the 2nd attributes are labelled differently from that of the 2nd attribute of the data interface class, namely "current_average_value", time and buffer vs. value. This is to emphasize the specific nature of the value.

Figure 5 – Overview of the interface classes

DLMS User Association DLMS UA 1000-1 ed.5 18/101

© Copyright 1997-2002 DLMS User Association

Page 19: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

4.2.1 Data (class_id: 1) A data object stores data related to internal meter object(s). The meaning of the value is identified by the logical_name. The data type of the value is instance specific. Data is typically used to store configuration data and parameters. Data 0..n class_id = 1, version = 0 Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. value instance specific Specific method(s) m/o

Attribute description logical_name Identifies the data contained in value. Identifiers are specified in 4.6.1. value Contains the data. instance specific The data type of the value depends on

the instantiation defined by logi-cal_name.

4.2.2 Register (class_id: 3) A Register object stores a process value or a status value with its associated unit. The register ob-ject knows the nature of the process value or of the status value. The nature of the value is de-scribed by the attribute "logical name" using the OBIS identification system (see 4.6.1). Register 0..n class_id = 3, version = 0 Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. value (dyn.) instance specific 3. scaler_unit (static) scal_unit_type Specific method(s) m/o 1. reset o

Attribute description value Contains the current process or status value.

instance specific The data type of the value depends on the

instantiation defined by logical_name and possibly from the manufacturer. Therefore, this attribute must provide the value and the data type when it is ac-cessed by a client. The type has to be chosen so that, to-gether with the logical_name, an unambi-guous interpretation of the value is possi-ble.

scaler_unit Provides information on the unit and the scaler of the value. If the value uses a complex data type, the scaler and unit apply to all ele-ments.

scal_unit_type: structure scaler, unit

scaler: integer This is the exponent (to the base of 10) of DLMS User Association DLMS UA 1000-1 ed.5 19/101

© Copyright 1997-2002 DLMS User Association

Page 20: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

unit: enum

the multiplication factor REMARK If the value is not numerical then the scaler shall be set to 0.

Enumeration defining the physical unit; for details see below.

Method description reset (data) This method forces a reset of the object. By invoking this method the

value is set to the default value. The default value is an instance specific constant. data ::= integer(0)

unit ::= enum Code // Unit Quantity Unit SI definition (1) a // time year (2) mo // time month (3) wk // time week 7*24*60*60 s (4) d // time day 24*60*60 s (5) h // time hour 60*60 s (6) min. // time minute 60 s (7) s // time (t) second s (8) ° // (phase) angle degree rad*180/π (9) °C // temperature (Θ) degree centi-

grade K-273.15

(10) currency // (local) currency (11) m // length (l) meter m (12) m/s // speed (v) m/s (13) m3 // volume (V) m3 (14) m3 // corrected volume m3 (15) m3/h // volume flux m3/(60*60s) (16) m3/h // corrected volume flux m3/(60*60s) (17) m3/d // volume flux m3/(24*60*60s) (18) m3/d // corrected volume flux m3/(24*60*60s) (19) l // volume 10-3 m3 (20) kg // mass (m) kilogram kg (21) N // force (F) newton N (22) Nm // energy newtonmeter J = Nm = Ws (23) Pa // pressure (p) pascal N/m2 (24) bar // pressure (p) bar 10-5 N/m2 (25) J // energy joule J = Nm = Ws (26) J/h // thermal power J/(60*60s) (27) W // active power (P) watt W = J/s (28) VA // apparent power (S) (29) var // reactive power (Q) (30) Wh // active energy W*(60*60s) (31) VAh // apparent energy VA*(60*60s) (32) varh // reactive energy var*(60*60s) (33) A // current (I) ampere A (34) C // electrical charge (Q) coulomb C = As (35) V // voltage (U) volt V (36) V/m // electrical field strength (E) V/m (37) F // capacity (C) farad C/V = As/V (38) Ω // resistance (R) ohm Ω = V/A (39) Ωm2/m // resistivity (ρ) Ωm (40) Wb // magnetic flux (Φ) weber Wb = Vs (41) T // induction (T) tesla Wb/m2 (42) A/m // magnetic field strength (H) A/m (43) H // inductivity (L) henry H = Wb/A

DLMS User Association DLMS UA 1000-1 ed.5 20/101

© Copyright 1997-2002 DLMS User Association

Page 21: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Code // Unit Quantity Unit SI definition (44) Hz // frequency (f, ω) hertz 1/s (45) Rac // active energy meter con-

stant 1/(Wh)

(46) Rre // reactive energy meter con-stant

(47) Rap // apparent energy meter con-stant

(48) V2h // voltage square hour V2(60*60s) (49) A2h // ampere square hour A2(60*60s) (50) kg/s // mass flux kg/s (51) S mho // conductance siemens 1/Ω (52)

... (253)

//////

reserved ... reserved

(254) other // other unit (255) count // no unit, unitless, count 1

Table 2 – Examples of values Value Scaler Unit Data 263788 -3 m3 263,788 m3 593 3 Wh 593 kWh 3467 0 V 3467 V

4.2.3 Extended register (class_id: 4) Instances of an extended register class store a process value with its associated status, unit, and time information. The extended register object knows the nature of the process value. The nature of the value is described by the attribute logical name using the OBIS identification system. Extended register 0..n class_id = 4, version = 0 Attribute(s) Data type Min. Max. Def. 1. logical_name (static) octet-string 2. value (dyn.) instance specific 3. scaler_unit (static) scal_unit_type 4. status (dyn.) instance specific 5. capture_time (dyn.) octet-string Specific method(s) m/o 1. reset o

Attribute description For the definition of the attributes logical_name ... scaler_unit, see description of class "register". Status Provides an extended register specific status information. The data type and

encoding of the status shall be provided for each instance of an extended register.

Instance specific

Def Depending on the status type definition. capture_time Provides an extended register specific date and time information showing

when the value of the attribute "value" has been captured.

octet-string, formatted as set in 4.1.4 for date_time.

DLMS User Association DLMS UA 1000-1 ed.5 21/101

© Copyright 1997-2002 DLMS User Association

Page 22: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Method description reset (data) This method forces a reset of the object. By invoking this method the attribute

value is set to the default value. The default value is an instance specific con-stant. The attribute status is set so that it shows that a reset method has been in-voked. The attribute capture_time is set to the time of the reset execution. data ::= integer(0)

4.2.4 Demand register (class_id: 5) Instances of a demand register class store a demand value with its associated status, unit, and time information. The demand register measures and computes its current_average_value periodically. The time interval T over which the demand is measured or computed is defined by specifying number_of_periods and period.

12N

period

T = number_of_periods * period

nowcapture_timestart_time_currentt

T is the time intervalused for calculationof the current_valueof a sliding demandregister

Figure 6 – The attributes when measuring sliding demand

The demand register delivers two types of demand: the current_average_value and the last_average_value (see Figure 7 and Figure 8). The demand register knows its type of process value which is described in "logical name" using the OBIS identification system.

period

now start_time+periodstart_time_currentt

current_average_value

energy/period

0

last_average_value

Figure 7 – The attributes when measuring current_average_value if number of periods is 1

DLMS User Association DLMS UA 1000-1 ed.5 22/101

© Copyright 1997-2002 DLMS User Association

Page 23: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

number_of_periodslast_average_value:current_average_value:energy accumulatedduring period k:

= 3lavcav

ak

timea0

3*periodenergy

0 t1 t2 t3 t4 t5 t6

lav3

lav4lav5

lav6

sliding window (t3)

sliding window (t4)

sliding window (t5)

sliding window (t6)

period

now

cav

a1

a2

-a0 a3

-a1 a4

-a2 a5-a3

Figure 8 – The attributes if number of periods is 3

Demand register 0..n class_id = 5, version =

0 Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. current_average_value (dyn.) instance specific 0 3. last_average_value (dyn.) instance specific 0 4. scaler_unit (static) scal_unit_type 5. status (dyn.) instance specific 6. capture_time (dyn.) octet-string 7. start_time_current (dyn.) octet-string 8. period (static) double-long-unsigned 1 9. number_of_periods (static) long-unsigned 1 1 Specific method(s) m/o 1. reset o 2. next_period o

Attribute description For the attributes logical_name, scaler_unit, see description of class register. status Provides demand register associated status information. The

type and encoding of the status shall be provided for each in-stance of a demand register.

instance specific Def Depending on the status type definition.

DLMS User Association DLMS UA 1000-1 ed.5 23/101

© Copyright 1997-2002 DLMS User Association

Page 24: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

current_average_value Provides the current value (running demand) of the energy accumu-

lated since start_time divided by number_of_periods*period. Only simple data types shall be used.

last_average_value Provides the value of the accumulated energy (over the last num-ber_of_periods*period) divided by number_of_periods*period. The energy of the current (not terminated) period is not considered by the calculation. Only simple data types shall be used.

capture_time Provides the date and time when the last_average_value has been calculated.

octet-string, formatted as set in 4.1.4 for date_time. start_time_current Provides the date and time when the measurement of the cur-

rent_average_value has been started. octet-string, formatted as set in 4.1.4 for date_time. period Period is the interval between two successive updates of the

last_average_value. (number_of_periods*period is the denominator for the calculation of the demand)

double-long-unsigned Measuring period in seconds The behaviour of the meter after writing a new value to this attribute

shall be specified by the manufacturer. number_of_periods The number of periods used to calculate the last_average_value.

number_of_periods >= 1. long-unsigned number_of_periods > 1 indicates that the

last_average_value represents sliding demand. number_of_periods == 1 indicates that the last_average_value represents "block demand".

The behaviour of the meter after writing a new value to this attribute shall be specified by the manufacturer.

Method description reset (data) This method forces a reset of the object. Activating this method pro-

vokes the following actions: The current period is terminated. The current_average_value and the last_average_value are set to their default values. The capture_time and the start_time_current are set to the time of the execution of reset(data). data ::= integer(0)

next_period (data) This method is used to trigger the regular termination (and restart) of a period. Closes (terminates) the current measuring period. Updates cap-ture_time and start_time and copies current_average_value to last_average_value, sets current_average_value to its default value. Starts the next measuring period. REMARK The old last_average_value (and capture_time) can be read during the time period. The old current_average_value is not available anymore at the interface.

data ::= integer(0)

4.2.5 Register activation (class_id: 6) An instance of the register activation class is used to handle different tariffication structures. It specifies which register, extended register and demand register objects are enabled if a specific activation mask is active (active_mask). All other register objects defined in register_assignment not being part of the active_mask are disabled. All register objects not defined in any register_assignment are enabled by default.

DLMS User Association DLMS UA 1000-1 ed.5 24/101

© Copyright 1997-2002 DLMS User Association

Page 25: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Register activation 0..n class_id = 6, version = 0 Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. register_assignment (static) array 3. mask_list (static) array 4. active_mask (dyn.) octet-string Specific method(s) m/o 1. add_register o 2. add_mask o 3. delete_mask o

Attribute description logical_name Contains an identifier for the group of masks (representing tariff/rates)

which are defined in the COSEM object. Normally, this identifier is linked to the nature of the registers which are defined in the regis-ter_assignment (e.g. energy registers, demand registers, ).

register_assignment Specifies an ordered list of COSEM objects that are assigned to this reg-ister activation object. The list can contain different kinds of COSEM ob-jects (e.g. register, extended register and demand register objects, etc. ) simultaneously. array object_definition object_definition ::= structure class_id: long-unsigned; logical_name: octet-string (SIZE(6))

mask_list Specifies a list of register activation masks. Each entry (mask) is identi-fied by its mask_name and contains an array of indices referring to the registers assigned to the mask (the first object in register_assignment is referenced by index 1, the second object by index 2, ,). Array register_act_mask register_act_mask ::= structure mask_name: octet-string; index_list: index_array index_array ::= array unsigned mask_name has to be uniquely defined within the object.

active_mask Defines the currently active mask. The mask is defined by its mask_name (see mask_list). octet-string This is a mask_name from the mask_list. The active_mask defines the registers currently enabled, all other regis-ters listed in the register_assignment are disabled.

Method description add_register (data) This method adds one more register to the attribute regis-

ter_assignment. The new register is added at the end of the array; i.e. the new register has the highest index. The indices of the existing regis-ters are not modified. data ::= structure class_id: long-unsigned logical_name: octet-string;

DLMS User Association DLMS UA 1000-1 ed.5 25/101

© Copyright 1997-2002 DLMS User Association

Page 26: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

add_mask (data) This method adds another mask to the attribute mask_list. If there exists

already a mask with the same name, the existing mask will be overwrit-ten by the new mask. data ::= register_act_mask (see above)

delete_mask (data) This method deletes a mask from the attribute mask_list. The mask is defined by its mask name. data ::= octet-string (mask_name)

4.2.6 Profile generic (class_id: 7) The profile generic class defines a generalized concept to store dynamic process values of capture objects. A capture object is either a register, a clock or a profile. The capture objects are collected periodically or occasionally. A profile has a buffer to store the captured data. To retrieve a part of the buffer, either a value range or an entry range may be specified, asking to retrieve all entries whose values or entry numbers fall within the given range. Assigning the corresponding objects to the profile specifies the capture objects the values of which have to be retained (with method capture). The buffer has homogenous entries (all have the same size and structure), and the assignment is defined statically. The modification of the capture object assignment clears the buffer of the profile completely. All profiles capturing this modified profile will be cleared as well to guarantee the homogeneity of their entries. The buffer may be defined as sorted by one of the registers or by a clock, or the entries are stacked in a last in first out order. So for example, it is very easy to build a maximum demand register with a one entry deep sorted profile capturing and sorted by a demand register. It is just as simple to define a profile retaining the three largest values of some period. The size of profile data is determined by three parameters:

a) the number of entries filled. This will be zero after clearing the profile; b) the maximum number of entries to retain. If all entries are filled and a capture () request

occurs, the least important entry (according to the requested sorting method) will get lost. This maximum number of entries may be specified. Upon changing it, the buffer will be adjusted;

c) the physical limit for the buffer. This limit typically depends on the objects to capture. The object will reject an attempt of setting the maximum number of entries that is larger than physically possible.

Profile generic 0..n class_id = 7, version = 1 Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. buffer (dyn.) compact array or array x 3. capture_objects (static) array 4. capture_period (static) double-long-unsigned x 5. sort_method (static) enum x 6. sort_object (static) object_definition x 7. entries_in_use (dyn.) double-long-unsigned 0 0 8. profile_entries (static) double-long-unsigned 1 1 Specific method(s) m/o 1. reset o 2. capture o 3. reserved from previous versions o 4. reserved from previous versions o

Attribute description buffer The buffer attribute contains a sequence of entries. Each entry

DLMS User Association DLMS UA 1000-1 ed.5 26/101

© Copyright 1997-2002 DLMS User Association

Page 27: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

contains values of the captured objects (as they would be re-turned to a GET or READ.request). The sequence of the val-ues of the captured objects within the structure (see below) corresponds to the order defined in the attribute cap-ture_objects. The sequence of the entries within the array (see below) is ordered according to the specified sort method. The buffer gets filled by subsequent calls of the method capture ().

compact-array or array entry entry ::=

structure instance specific

Default: The buffer is empty after reset Remark 1: Reading the entire buffer delivers only those entries which are in use

Remark 2: The value of a captured object may be replaced by null-data if it can be unambiguously recovered from the previous value (e.g. for time: if it can be calculated from the previous value and cap-ture_period; or for a value: if it is equal to the previous value)

selective access (see 4.1.2) to the attribute buffer may be available (optional). The selective access parameters are as defined below.

capture_objects Specifies the list of capture objects (registers, clocks and pro-files) that are assigned to this profile object. Upon a call of the capture () method, the specified attributes of these objects are copied into the buffer of the profile. array capture_object_definition capture_object_definition ::= structure class_id: long-unsigned; logical_name: octet-string; attribute_index: integer; data_index: long-unsigned where attribute_index is a pointer to the attribute within the ob-ject. attribute_index 1 refers to the first attribute (i.e. logi-cal_name), attribute_index 2 to the 2nd, etc.); attribute_index 0 refers to all public attributes. Where data_index is a pointer selecting a specific element of the attribute. The first element in the attribute structure is itified by data_index 1. If the attribute is not a structure, then data_index has no meaning. If the capture object is the bufferof a profile, then the data_index identifies the captured oof the buffer (i.e. the column) of the inner profile.

den-the

bject

data_index 0: references the whole attribute. capture_period >= 1: Automatic capturing assumed. Specifies the capturing

period in seconds. 0: No automatic capturing; capturing is triggered exter-nally or capture events occur asynchronously.

sort_method If the profile is unsorted, it works as a first in first out buffer (it is hence sorted by capturing, and not necessarily by the time maintained in the clock object). If the buffer is full, the next call to capture () will push out the first (oldest) entry of the buffer to make space for the new entry.

DLMS User Association DLMS UA 1000-1 ed.5 27/101

© Copyright 1997-2002 DLMS User Association

Page 28: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

If the profile is sorted, a call to capture () will store the new en-try at the appropriate position in the buffer, moving all following entries and probably losing the least interesting entry. If the new entry would enter the buffer after the last entry and if the buffer is already full, the new entry will not be retained at all.

enum (1) fifo (first in first out), (2) lifo (last in first out), (3) largest, (4) smallest, (5) nearest_to_zero, (6) farest_from_zero

Def fifo sort_object If the profile is sorted, this attribute specifies the register or

clock that the ordering is based upon.

capture_object_definition see above Def no object to sort by (only possi-

ble with sort_method fifo or lifo) entries_in_use Counts the number of entries stored in the buffer. After a call of

reset () the buffer does not contain any entries, and this value is zero. Upon each subsequent call of capture (), this value will be incremented up to the maximum number of entries that will get stored (see profile_entries).

double-long-unsigned 0profile_entries Def 0 profile_entries Specifies how many entries should be retained in the buffer.

double-long-unsigned 1 (limited by physical size) Def 1

Parameters for selective access to the buffer attribute Access selector value

Parameter Comment

1 range_descriptor In this case, only buffer elements corresponding to the range_descriptor shall be returned in the response.

2 entry_descriptor In this case, only buffer elements corresponding to the en-try_descriptor shall be returned in the response.

range_descriptor ::= structure

restricting_object capture_object_ definition

Defines the register or clock restricting the range of entries to be retrieved

from_value instance_specific Oldest or smallest entry to retrieve to_value instance_specific Newest or largest entry to retrieve selected_values array cap-

ture_object_ defini-tion

List of columns to retrieve. If the array is empty (has no entries), all captured data is returned. Otherwise, only the columns specified in the array are returned. The type capture_object_definition is speci-fied above (capture_objects)

DLMS User Association DLMS UA 1000-1 ed.5 28/101

© Copyright 1997-2002 DLMS User Association

Page 29: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

entry_descriptor ::= structure from_entry double-long-

unsigned First entry to retrieve

to_entry double-long-unsigned

Last entry to retrieve. to_entry==0: highest possible entry.

from_selected_value long-unsigned Index of first value to retrieve to_selected_value long-unsigned Index of last value to retrieve.

to_selected_value==0: highest possible selected_value.

Method description reset (data) Clears the buffer. The buffer has no valid entries afterwards,

entries_in_use is zero after this call. This call does not trigger any additional operations of the capture objects, specifically, it does not reset any captured buffers or registers. data ::= integer(0)

capture (data) Copies the values of the objects to capture into the buffer by reading <object_attribute> of each capture object. Depending on the sort_method and the actual state of the buffer this pro-duces a new entry or a replacement for the less significant en-try. As long as not all entries are already used, the en-tries_in_use attribute will be incremented. This call does not trigger any additional operations within the capture objects such as capture () or reset (). Note that only some attributes of the captured objects might be stored, not the complete object. data ::= integer(0)

Behaviour of the object after modification of certain attributes Any modification of one of the attributes describing the static

structure of the buffer will automatically call a reset () and this call will propagate to all other profiles capturing this profile. If writing to profile_entries is attempted with a value too large for the buffer, it will be rejected.

Restrictions When defining the capture objects, circular reference to the profile shall be avoided. Profile used to define a subset of preferred readout values By setting profile_entries to 1, the profile object can be used to define a set of preferred readout-values. In the "capture_objects" attributes, those objects and attributes are pre-defined which should be readable with one single command. Setting capture_period to 1 ensures that the values are updated every second.

4.2.7 Clock (class_id: 8) An instance of the clock interface class handles all information that is related to date and time, including leap years and the deviation of the local time to a generalized time reference (Greenwich Mean Time GMT). The deviation from the local time to the generalized time reference can change depending on the season (e.g. summertime vs. wintertime). The interface to an external client is based on date information specified in day, month and year, time information given in hundredths DLMS User Association DLMS UA 1000-1 ed.5 29/101

© Copyright 1997-2002 DLMS User Association

Page 30: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

of seconds, seconds, minutes and hours and the deviation from the local time to the generalized time reference. It also handles the daylight savings function in that way; i.e. it modifies the deviation of local time to GMT depending on the attributes. The start and end point of that function is normally set once. An internal algorithm calculates the real switch point depending on these settings.

Figure 9 – The generalised time concept

Clock 0..1 class_id = 8, version = 0 Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. time (dyn.) octet-string 3. time_zone (static) long 4. status (dyn.) unsigned8 5. daylight_savings_begin (static) octet-string 6. daylight_savings_end (static) octet-string 7. daylight_savings_deviation (static) integer 8. daylight_savings_enabled (static) boolean 9. clock_base (static) enum Specific method(s) m/o 1. adjust_to_quarter o 2. adjust_to_measuring_period o 3. adjust_to_minute o 4. adjust_to_preset_time o 5. preset_adjusting_time o 6. shift_time o

Attribute description Time Contains the meters local date and time, its deviation to GMT

and the status. See also the description in 4.1.4.

When this value is set, only specified fields of the date_time are changed. For example for setting the date without chang-ing the time, all time relevant octets of the date_time shall be set to not specified. The clock_status shall always be set when writing the time.

octet-string, formatted as set in 4.1.4 for date_time. time_zone The deviation of local, normal time to GMT in minutes.

long Status The status is equal to the status read in time. See also the de-

local time

ation devi

daylight_savings_end daylight_savings_begin

DLMS User Association DLMS UA 1000-1 ed.5 30/101

© Copyright 1997-2002 DLMS User Association

Page 31: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

scription in 4.1.4.

unsigned8, formatted as set in 4.1.4 for clock_status daylight_savings_begin Defines the local switch date and time when the local time has

to be deviated from the normal time. For generic definitions wildcards are allowed.

octet-string, formatted as set in 4.1.4 for date_time. daylight_savings_end See above.

octet-string, formatted as set in 4.1.4 for date_time. daylight_savings_deviation Contains the number of minutes by which the deviation in gen-

eralized time must be corrected at daylight savings begin.

integer Deviation range of up to ± 120 min daylight_savings_enabled TRUE enables daylight savings function.

boolean

clock_base Defines where the basic timing information comes from.

enum (0) not defined

(1) internal crystal (2) mains frequency 50 Hz (3) mains frequency 60 Hz (4) GPS (global positioning system) (5) radio controlled

Method description adjust_to_quarter (data)

Sets the meters time to the nearest (+/-) quarter of an hour value (*:00, *:15, *:30, *:45). data ::= integer (0).

adjust_to_measuring_period (data)

Sets the meters time to the nearest (+/-) starting point of a measuring period. data ::= integer (0).

adjust_to_minute (data)

Sets the meters time to the nearest minute. If second_counter < 30 s, so second_counter is set to 0. If second_counter ≥ 30 s, so second_counter is set to 0 and minute_counter and all depending clock values are incre-mented if necessary. data ::= integer(0)

adjust_to_preset_time (data) This method is used in conjunction with the pre-set_adjusting_time method. If the meters time lies between validity_interval_start and validity_interval_end, then time is set to preset_time. data ::= integer(0)

preset_adjusting_time (data) Presets the time to a new value (preset_time) and defines a validity_interval within which the new time can be activated. data ::= structure preset_time: octet-string; validity_interval_start: octet-string;

validity_interval_end: octet-string

DLMS User Association DLMS UA 1000-1 ed.5 31/101

© Copyright 1997-2002 DLMS User Association

Page 32: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

all octet-strings formatted as set in 4.1.4 for date_time.

shift_time (data) Shifts the time by n (-900 <= n <= 900) s. data ::= long

4.2.8 Script table (class_id: 9) The IC script table provides the possibility to trigger a series of actions by activating an execute method. For that purpose, script table contains a table of script entries. Each table entry (script) consists of a script_identifier and a series of action_specifications. An action_ specification activates a method of a COSEM object or modifies attributes of a COSEM object within the logical device. A specific script may be activated by other COSEM objects within the same logical device or from the outside. If two scripts have to be executed at the same time instance, then the one with the smaller index is executed first. Script table 0..n class_id = 9, version = 0 Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. scripts (static) array Specific method(s) m/o 1. execute m

Attribute description scripts Specifies the different scripts, i.e. the lists of actions. array script script structure

script_identifier: long-unsigned actions: array action_specification The script_identifier 0 is reserved. If speci-fied with an execute method, it results in a null script (no actions to perform).

action_specification structure service_id: enum class_id: long-unsigned logical_name: octet-string index: integer parameter: service specific where service_id: defines which action shall be applied to the referenced object (1) write attribute (2) execute specific method index: defines (with service_id 1) which attrib-ute of the selected object is affected or (with service_id 2) which specific method is to be executed.

DLMS User Association DLMS UA 1000-1 ed.5 32/101

© Copyright 1997-2002 DLMS User Association

Page 33: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

The first attribute (logical_name) has index 1, the first specific method has index 1 as well.

NOTE The action_specification is limited to activate methods that do not produce any response (from the server to the client).

DLMS User Association DLMS UA 1000-1 ed.5 33/101

© Copyright 1997-2002 DLMS User Association

Page 34: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Method description execute (data) Execute the script specified in parameter data.

long-unsigned

If data matches one of the script_identifiers in the script table, then the corresponding ac-tion_specification is executed.

4.2.9 Schedule (class_id: 10) The IC schedule together with an object of the IC special days table handles time and date driven activities within a device. The following picture gives an overview and shows the interactions between them:

Table 3 – Schedule

enable action (script)

switch_ time

exec_weekdays exec_specdays date range

Mo Tu Th Fr Sa S1 S2 ... S9 begin_ date

end_ date

120 Yes xxxx:yy 0xFFFF x x x x x

data

Index validity_ window

We Su S8

06:00 x 01-04-xx 30-09-xx

121 Yes 22:00 15 x x x x 01-04-xx 30-09-xx

122 Yes xxxx:yy 0 x 01-04-xx 30-09-xx

200 No

xxxx:yy x

12:00

xxxx:yy 06:30 x x x x x 30-09-xx

201 xxxx:yy 21:30 x x x

x 01-04-xx

No x x 01-04-xx 30-09-xx

No xxxx:yy 11:00 x 01-04-xx 30-09-xx

202

Table 4 – Special Days Table

Index special_ day_date

day_id

12 24-12-xx S1 33 25-12-xx S3 77 31-03-97 S3 Schedule 0..n class_id = 10, version = 0 Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. entries (static) array Specific method(s) m/o 1. enable/disable o 2. insert o 3. delete o

Attribute description

DLMS User Association DLMS UA 1000-1 ed.5 34/101

© Copyright 1997-2002 DLMS User Association

entries Specifies the scripts to be executed at given times. There is only one script that can be executed per entry.

array schedule_table_entry schedule_table_entry structure

Page 35: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

index: long-unsigned (1..9999) enable: boolean script_logical_name: octet-string script_selector long-unsigned switch_time: octet-string validity_window: long-unsigned exec_weekdays: bit-string exec_specdays: bit-string begin_date: octet-string end_date: octet-string script_logical_name: defines the logical name of the script object script_selector: defines the script_identifier of the script to be executed. switch_time accepts wildcards to define repeti-tive entries. The format of the octet-string fol-lows the rule set in 4.1.4 for time. valid-ity_window defines a period in minutes, in which an entry must be processed after power fail. (time between defined switch_time and actual power_up) 0xFFFF: the script must be processed any time. exec_specdays perform the link to the IC Spe-cial Days Table, day_ID. begin_date and end_date define the date pe-riod in which the entry is valid (wildcards are allowed). The format follows the rule set in 4.1.4 for date.

Method description enable/disable (data) Sets the disabled bit of range A entries to true and then enables

the entries of range B.

data ::= structure firstIndexA; lastIndexA; firstIndexB; lastIndexB

firstIndexA First index of the range that is disabled. long-unsigned

lastIndexA Last index of the range that is disabled. long-unsigned

firstIndexB First index of the range that is enabled. long-unsigned

lastIndexB Last index of the range that is enabled. long-unsigned

firstIndexA/B < lastIndexA/B : all entries of the range A/B are disabled/enabled firstIndexA/B == lastIndexA/B : one entry is disabled/enabled firstIndexA/B > lastIndexA/B : nothing disabled/enabled firstIndexA/B and lastIndexA/B > 9999: No entry is dis-

DLMS User Association DLMS UA 1000-1 ed.5 35/101

© Copyright 1997-2002 DLMS User Association

Page 36: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

abled/enabled

insert (data) Inserts a new entry in the table. If the index of the entry exists already the existing entry is overwritten by the new entry.

entry schedule_table_entry data corresponding to entry

delete (data) Deletes a range of entries in the table. data ::= structure

firstIndex; lastIndex

firstIndex First index of the range that is deleted. long-unsigned

lastIndex Last index of the range that is deleted. long-unsigned

firstIndex < lastIndex: all entries of the range A/B are deleted firstIndex ::= lastIndex : one entry is deleted firstIndex > lastIndex : nothing deleted

Remarks concerning “inconsistencies” in the table entries

If the same script should be executed several times at a specific time instance, then it is executed only once.

If different scripts should be executed at the same time instance, then the execution order is according to the index. The script with the lowest index is executed first.

Recovery after Power Fail After a power failure the whole schedule is processed to execute all the necessary scripts that would get lost during a power failure. For this, the entries that were not executed during the power failure must be detected. Depending on the validity window attribute they are executed in the correct order (as they would have been executed in normal operation). Handling of Time Changes There are four different "actions" of time changes:

a) time setting forward; b) time setting backwards; c) time synchronisation; d) daylight saving action.

All these four actions need a different handling executed by the schedule in interaction with the time setting activity. Time setting forward* This is handled the same way as a power failure. All entries missed are executed depending on the validity window attribute. A (manufacturer specific defined) short time setting can be handled like time synchronisation. * Writing to the attribute "time" of the "clock" object

Time setting backward*

DLMS User Association DLMS UA 1000-1 ed.5 36/101

© Copyright 1997-2002 DLMS User Association

This results in a repetition of those entries that are activated during the repeated time. A (manufac-turer specific defined) short time setting can be handled like time synchronisation.

Page 37: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

* Writing to the attribute "time" of the "clock" object

Time synchronisation* Time synchronization is used to correct small deviations between a master clock and the local clock. The algorithm is manufacturer specific. It shall guarantee that no entry of the schedule gets lost or gets executed twice. The validity window attribute has no effect, because all entries must be executed in normal operation. * Using the method Adjust_to_quarter of the clock object

Daylight saving If the clock is put forward, then all scripts which fall into the forwarding interval (and would therefore get lost) are executed. If the clock is put back, re-execution of the scripts which fall into the backwarding interval is suppressed.

4.2.10 Special days table (class_id: 11) The interface class allows defining dates, which will override normal switching behaviour for special days. The interface class works in conjunction with the class "schedule" or "activity calendar" and the linking data item is day_id. Special days table 0..1 class_id = 11, version = 0 Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. entries (static) array Specific method(s) m/o 1. insert o 2. delete o

Attribute description entries Specifies a special day identifier for a given date.

The date may have wildcards for repeating special days like Christmas.

array spec_day_entry spec_day_entry structure

index: long-unsigned specialday_date: octet-string day_id: unsigned specialday_date formatting follows the rule set in 4.1.4. for date.The range of the day_id must match the length of the bit-string exec_specdays in the related object of inteface class schedule.

Method description insert (data) Inserts a new entry in the table. entry spec_day_entry

DLMS User Association DLMS UA 1000-1 ed.5 37/101

© Copyright 1997-2002 DLMS User Association

Page 38: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

If a special day with the same index or with the same date as

an already defined day is inserted, the old entry will be over-written.

delete (data) Deletes an entry in the table. index Index of the entry that shall be deleted.

long-unsigned data ::= long-unsigned

4.2.11 Activity calendar (class_id: 20) An instance of the activity calendar class is typically used to handle different tariff structures. It is a definition of scheduled actions inside the meter, which follow the classical way of calendar based schedules by defining seasons, weeks It can coexist with the more general object schedule and can even overlap with it. If actions are scheduled for the same activation time in an object schedule and in the object activity calendar, the actions triggered by schedule are executed first. After a power failure only the last action missed from the object activity calendar is executed (delayed). This is to ensure proper tariffication after power up. If a schedule object is present, then the missed last action of the activity calendar must be executed at the correct time within the sequence of actions requested by the schedule. The activity calendar defines the activation of certain scripts, which can perform different activities inside the logical device. The interface to the object script is the same as for the object schedule (see 0). If an instance of the interface class special days table (see 0) is available, relevant entries there take precedence over the activity calendar object driven selection of a day profile. The day profile referenced in the special days table activates the day_schedule of the day_profile_table in the activity calendar object by referencing through the day_id. Activity calendar 0..1 class_id = 20, version = 0 Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. calendar_name_active (static) octet-string 3. season_profile_active (static) array 4. week_profile_table_active (static) array 5. day_profile_table_active (static) array 6. calendar_name_passive (static) octet-string 7. season_profile_passive (static) array 8. week_profile_table_passive (static) array 9. day_profile_table_passive (static) array 10. acti-

vate_passive_calendar_time (static) octet-string

Specific method(s) m/o 1. activate_passive_calendar o

Attribute description Attributes called _active are currently active, attributes called _passive will be activated by the specific method activate_passive_calendar calendar_name Typically contains an identifier, which is descriptive to the set of scripts

which are activated by the object. season_profile Contains a list defining the starting date of a season. This list is sorted

according to season_start. Each season activates a specific week_profile.

DLMS User Association DLMS UA 1000-1 ed.5 38/101

© Copyright 1997-2002 DLMS User Association

Page 39: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

array season

season ::= structure

season_profile_name: octet-string season_start: octet-string week_name: octet-string . where season_profile_name is a user defined name identifying the current season_profile; season_start defines the starting time of the season, formatted as set in 4.1.4 for date_time. REMARK The current season is terminated by the season_start of the next season. week_name defines the week_profile active in this season.

week_profile_table Contains an array holding the correlation between day_profiles for every day of the week to be used in different seasons.

array week_profile week_profile ::= structure

week_profile_name: octet-string; monday: day_id; tuesday: day_id; wednesday: day_id; thursday: day_id; friday: day_id; saturday: day_id; sunday: day_id day_id: unsigned where week_profile_name is a user defined name identifying the current week_profile; Monday defines the day_profile valid on Monday; Sunday defines the day_profile valid on Sunday.

day_profile_table Contains a list of scripts and the corresponding activation times. Within each day_profile the list is sorted according to start_time.

array day_profile

day_profile ::= structure day_id: unsigned; day_schedule: array (day_profile_action) day_profile_action ::= structure start_time: octet-string; script_logical_name: octet-string; script_selector: long-unsigned where day_id is a user defined identifier, identi-

DLMS User Association DLMS UA 1000-1 ed.5 39/101

© Copyright 1997-2002 DLMS User Association

Page 40: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

fying the current day_profile. start_time: defines the time when the script is to be executed (no wildcards); the format follows the rule set in 4.1.4 for time. script_logical_name: defines the logical name of the script object. script_selector: defines the script_identifier of the script to be executed.

activate_passive_ calendar_time

Defines the time when the object itself calls the specific method acti-vate_passive_calendar. A definition with "not specified" notation in all fields of the attribute will deactivate this automatism. Partial "not speci-fied" notation in just some fields of date and time are not allowed. octet-string, formatted as set in 4.1.4 for date_time.

Method description activate_passive_ calendar(data)

This method copies all attributes called _passive to the corresponding attributes called _active data ::= integer(0)

4.2.12 Association LN (class_id: 15) COSEM logical devices able to establish application associations within a COSEM context using logical name references, model the associations through instances of the association LN class. A COSEM logical device has one instance of this IC for each association the device is able to support. Association LN 0..MaxNbofAss. class_id = 15, ver-

sion = 0 Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. object_list (static) object_list_type 3. associated_partners_id associated_partners_type 4. application_context_name application-context-name 5. xDLMS_context_info xDLMS-context-type 6. authentica-

tion_mechanism_name mechanism-name

7. LLS_secret octet-string 8. association status enum Specific method(s) m/o 1. reply_to_HLS_authentication o 2. change_HLS_secret o 3. add_object o 4. remove_object o

Attribute description logical_name Identifies the association LN object instance. The value of this

attribute is indicated to the client application during the application association establishment.

object_list Contains the list and the access right descriptor of all COSEM object instances which are visible can be accessed within the given association. object_list_type ::= array object_list_element object_list_element ::= structure

DLMS User Association DLMS UA 1000-1 ed.5 40/101

© Copyright 1997-2002 DLMS User Association

Page 41: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

class_id: long-unsigned; version: unsigned; logical_name: octet-string; access_rights: access_right; access_right ::= structure attribute_access: attribute_access_descriptor; method_access: method_access_descriptor; attribute_access_descriptor ::= array attribute_access_item attribute_access_item ::= structure attribute_id : integer; access_mode : enum no_access (0); read_only (1) ; write_only (2); read_and_write (3); ; access_selectors ::= CHOICE null-data array of integer8 ; method_access_descriptor ::= array method_access_item method_access_item ::= structure method_id : integer; access_mode : boolean The attribute_access_descriptor and the method_access_descriptor always contain all implemented attrib-utes or methods. access_selectors contain a list of the supported selector values. selective access (see 4.1.2) to the attribute object_list may be available (optional). The selective access parameters are as de-fined below.

associated_partners_id Contains the identifiers of the COSEM client and the COSEM server which are associated. This attribute contains the address of the client and server application processes. Associated_partners_id ::= structure client_SAP: integer; server_SAP: long-unsigned;

application_context_name In the COSEM environment, it is intended that an application con-text pre-exists and is referenced by its name during the estab-lishment of an application association. This attribute contains the

DLMS User Association DLMS UA 1000-1 ed.5 41/101

© Copyright 1997-2002 DLMS User Association

Page 42: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

name of the application context for that association. application-context-name ::= OBJECT IDENTIFIER;

• See DLMS UA 1000-2 or IEC 62056-53 xDLMS_context_info Contains all the necessary information on the xDLMS context for

the given association xDLMS-context-type ::= structure confor-mance : bitstring(24) ; max_receive_pdu_size : long-unsigned ; max_send_pdu_size : long-unsigned ; dlms_version_number : unsigned ; quality_of_service : integer; cyphering_info : octet-string The conformance element contains the xDLMS conformance block supported by the server.

The max_receive_pdu_size element contains the maximum length for a xDLMS PDU, expressed in bytes, that the client may send. This is the same as the server-max-receive-pdu-size parameter of the DLMS-Initiate.response pdu (See DLMS UA 1000-2 or IEC 62056-53).

The max_send_pdu_size, in an active association contains the maximum length for a xDLMS PDU, expressed in bytes, that the server may send. This is the same as the client-max-receive-pdu-size parameter of the DLMS-Initiate.request pdu (See DLMS UA 1000-2 or IEC 62056-53).

The dlms_version_number element contains the DLMS version number supported by the server.

The quality_of _service element is not used.

The cyphering_info, in an active association, contains the dedi-cated key parameter of the DLMS-Initiate.request pdu (See DLMS UA 1000-2 or IEC 62056-53).

authentica-tion_mechanism_name

This attribute contains the name of the authentication mechanism for that association. mechanism-name ::= OBJECT IDENTIFIER; See DLMS UA 1000-2 or IEC 62056-53 No mechanism-name is required when no authentication is used.

LLS_secret This attribute contains the authentication value for the LLS au-thentication process.

association_status This attribute indicates the current status of the association, which is modelled by that object. Association-status : enum (0) non-associated; (1) association-pending; (2) associated;

A SET operation on an attribute of an association LN object becomes effective when this association object is used to establish a new association. Parameters for selective access to the object_list attribute

DLMS User Association DLMS UA 1000-1 ed.5 42/101

© Copyright 1997-2002 DLMS User Association

Page 43: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

• If no selective access is demanded, (no access-selection-parameters parameter is present

in the GET.request (.indication) service invocation for the object_list attribute) the corresponding .response (.confirmation) service shall contain all object_list_elements of the object_list attribute.

• When selective access is demanded to the object_list attribute (the access-selection-parameters parameter is present), the response shall contain a filtered list of object_list_elements, as follows:

Access selector

value Service parameters Comment

1 NULL All information excluding the access_rights shall be included in the response.

2 class_list Access by class. In this case, only those object_list_elements of the object_list shall be included in the response, which have a class_id equal to one of the class_ids of the class-list. No access_right information is included. class_list ::= array class_id class_id ::= long-unsigned

3 object_Id_list Access by object. The full information record of object instances on the object_Id_list shall be returned. object_Id_list ::= array object_Id

4 object_Id In this case, the full information record of the required COSEM ob-ject instance shall be returned. object_Id ::= structure class_id: long-unsigned; logical_name: octet-string

Method description reply_to_HLS_ authentication (data)

The remote invocation of this method delivers the client's secretly proc-essed challenge StoC (f(StoC)) back to the server as the data service pa-rameter of the invoked ACTION.request service. (see 4.1.7.2) data ::= octet-string clients response to the challenge If the authentication is accepted, then the response (ACTION.confirm) con-tains Result==OK and the servers "secretly" processed "challenge CtoS" (f(CtoS)) back to the client in the data service parameter of the response ser-vice. data ::= octet-string server's response to the challenge If the authentication is not accepted, then the result parameter in the re-sponse shall contain a non-OK value, and no data shall be sent back.

change_HLS_secret (data)

Changes the HLS secret (e.g. encryption key). data ::= octet-stringa new HLS secret

Add_object(data) Adds the referenced object to the object_list. data ::= object_list_element (see above)

Remove_object(data) Removes the referenced object from the object_list. data ::= object_list_element (see above)

a The structure of the new secret depends on the security mechanism implemented. The new secret may contain addi-tional checkbits and it may be encrypted.

DLMS User Association DLMS UA 1000-1 ed.5 43/101

© Copyright 1997-2002 DLMS User Association

Page 44: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

4.2.13 Association SN (class_id: 12) COSEM logical devices able to establish application associations within a COSEM context using short name references, model the associations through instances of the association SN class. A COSEM logical device has one instance of this IC for each association the device is able to support. The short_name of the association SN object itself is fixed within the COSEM context. It is given in 0 as 0xFA00 Association SN 0..n class_id = 12, version = 1 Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. object_list (static) objlist_type Specific method(s) m/o 1. reserved from previous versions o 2. reserved from previous versions o 3. read_by_logicalname o 4. get_attributes&methods o 5. change_LLS_secret o 6. change_HLS_secret o 7. reserved from previous versions 8. reply_to_HLS_authentication o

Attribute description object_list Contains the list of all objects with their base_names (short_name),

class_id, version and logical_name. The base_name is the DLMS objectName of the first attribute (logical_name) objlist_type ::= array objlist_element objlist_element ::= structure

base_name: long; class_id: long-unsigned; version: unsigned; logical_name: octet-string

selective access (see 4.1.2) to the attribute object_list may be avail-able (optional). The selective access parameters are as defined be-low.

Parameters for selective access to the object_list attribute Access selec-torvalue

Parameter Comment

1 class_id: long-unsigned Delivers the subset of the object_list for a specific class_id. For the response: data ::= objlist_type

2 structure class_id: long-unsigned; logical_name: octet-string

Delivers the entry of the object_list for a specific class_id and logical_name. For the response: data ::= objlist_element

DLMS User Association DLMS UA 1000-1 ed.5 44/101

© Copyright 1997-2002 DLMS User Association

Page 45: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Method description read_by_logicalname (data)

Reads attributes for selected objects. The objects are specified by their class_id and their logical_name. data ::= array attribute_identification attribute_identification ::= structure class_id: long-unsigned; logical_name: octet-string; attribute_index: integer where attribute_index is a pointer (i. e. offset) to the attribute within the object. attribute_index 0 delivers all attributesa, attribute_index 1 delivers the first attribute (i. e. logical_name), etc.). For the response: data is according to the type of the attribute.

get_attributes& methods(data)

Delivers information about the access rights to the attributes and methods within the actual association. The objects are specified by their class_id and their logical_name. data ::= array object_identification object_identification ::= structure class_id: long-unsigned; logical_name: octet-string For the response data ::= array access_description access_description ::= structure read_attributes: bit-string; write_attributes: bitstring; methods: bit-string The position in the bitstring identifies the attribute/method (first posi-tion ↔ first attribute, first position ↔ first method) and the value of the bit specifies whether the attribute/method is available (bit set) or not available (bit clear).

change_LLS_secret (data)

Changes the LLS secret (e.g. password). data ::= octet-string new LLS secret

change_HLS_secret (data)

Changes the HLS secret (e.g. encryption key). data ::= octet-stringb new HLS secret

reply_to_HLS_ authentication (data)

The remote invocation of this method delivers the client's secretly processed challenge StoC (f(StoC)) back to the server as the data service parameter of the invoked WRITE.request service. (see 4.1.7.2) data ::= octet-string clients response to the challenge If the authentication is accepted, then the response (WRITE.confirm) contains Result==OK and the servers "secretly" processed "chal-lenge CtoS" (f(CtoS)) back to the client in the data service parameter of the response service. data ::= octet-string server's response to the challenge

DLMS User Association DLMS UA 1000-1 ed.5 45/101

© Copyright 1997-2002 DLMS User Association

Page 46: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

If the authentication is not accepted, then the result parameter in the response shall contain a non-OK value, and no data shall be sent back.

a If at least one attribute has no read access right under the current association, then a read_by_logicalname() to attribute index 0 reveals the error message scope of access violation (see IEC 61334-4-41:1996, p. 221). b The structure of the new secret depends on the security mechanism implemented. The new secret may contain additional checkbits and it may be encrypted.

4.2.14 SAP assignment (class_id: 17) The interface class SAP assignment contains the information on the assignment of the logical devices to their SAPs (see DLMS UA 1000-2 or IEC 62056-46). SAP assignment 0..1 class_id = 17, version = 0 Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. SAP_assignment_list (static) asslist_type 0 Specific method(s) m/o 1. connect_logical_device o

Attribute description SAP_assignment_list Contains the list of all logical devices and their SAP addresses within

the physical device. asslist_type ::= array asslist_element asslist_element ::= structure

SAP: instance specific; (see remark below)

logical_device_name: oc-tet-string

REMARK The actual addressing is performed by the lower communication layers. For a three-layer connection oriented architecture more details can be found in DLMS UA 1000-2 or IEC 62056-46.

Method description connect_logical_device(data) Connects a logical device to a SAP. Connecting to SAP 0 will

disconnect the device. More than one device cannot be con-nected to one SAP (exception SAP 0) data ::= asslist_element.

4.2.15 Register monitor (class_id: 21) This interface class allows to define a set of scripts (see 0) that are executed when the value of an attribute of a monitored register type object (data, register, extended register, demand register, etc.) crosses a set of threshold values. The IC register monitor requires an instantiation of the IC script table in the same logical device.

DLMS User Association DLMS UA 1000-1 ed.5 46/101

© Copyright 1997-2002 DLMS User Association

Page 47: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Register monitor 0..n class_id = 21, version = 0 Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. thresholds (static) array 3. monitored_value (static) value_definition 4. actions (static) array Specific method(s) m/o

Attribute description thresholds Provides the threshold values to which the attribute of the referenced regis-

ter is compared. array threshold

threshold: instance specific The threshold is of the same type as the

monitored attribute of the referenced ob-ject.

monitored_value This defines which attribute of an object is to be monitored. Only values with simple data types are allowed

value_definition ::= structure class_id: long unsigned; logical_name: octet-string; attribute_index: integer

actions Defines the scripts to be executed when the monitored attribute of the ref-erenced object crosses the corresponding threshold. The attribute actions has exactly the same number of elements as the attribute thresholds. The ordering of the action_items corresponds to the ordering of the thresholds (see above).

array action_set action_set ::= structure

action_up: action_item; action_down: action_item where action_up defines the action when the attribute data of the monitored regis-ter crosses the threshold in the upwards direction and vice versa.

action_item ::= structure script_logical_name: octet-string; script_selector: long-unsigned

4.2.16 Utility tables (class_id: 26) An instance of the utility tables class encapsulates ANSI C12.19:1997 table data. With this interface class definition, each table is represented as an instance. The specific instance is identified by its logical_name.

DLMS User Association DLMS UA 1000-1 ed.5 47/101

© Copyright 1997-2002 DLMS User Association

Page 48: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Utility tables 0..n class_id = 26, version = 0 Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. table_ID (static) long-unsigned 3. length double-long-unsigned 4. buffer octet-string Specific method(s) m / o

Attribute description

table_ID Table number. This table number is as specified in the ANSI standard and may be either a standard table or a manufacturers table.

Length Number of octets in table buffer. Buffer Contents of table.

Selective access (see 4.1.2) to the attribute buffer may be available (optional). The selective access parameters are as de-fined below.

Parameters for selective access to the buffer attribute Access selector

Parameter Comment

1 offset_access Access to table by offset and count using offset_selector for parameter data.

2 index_access Access to table by element id and number of elements using index_selector for parameter data.

offset_selector ::= structure

Offset double-long-unsigned

Offset in octets to the start of access area, relative to the start of the table.

Count long-unsigned Number of octets requested or transferred.

index_selector ::= structure

Index array of long-unsigned

Sequence of indices to identify elements within the tables hier-archy.

Count long-unsigned Number of elements requested or transferred. Values of count greater than 1 return up to that many elements. A value of zero, when given in the context of a request, refers to the entire sub-tree of the hierarchy starting at the selection point.

4.2.17 Single action schedule (class_id: 22) Many applications request periodic actions within a meter. These actions are not necessarily linked to tariffication (activity calendar or schedule).

DLMS User Association DLMS UA 1000-1 ed.5 48/101

© Copyright 1997-2002 DLMS User Association

Page 49: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Single action schedule 0..n class_id = 22, version = 0 Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. executed_script (static) script 3. type (static) enum 4. execution_time (static) array Specific method(s) m / o

Attribute description

executed_script Contains the logical name of the script table and the script selector of the script to be executed.

script Structure

Script_logical_name octet-string Script_selector long_unsigned

Logical_name and script_selector define the script to be executed. type enum

(1) size of execution_time = 1; wildcard in date al-lowed

(2) size of execution_time = n; all time values are the same; wildcards in date not allowed

(3) size of execution_time = n; all time values are the same; wildcards in date are allowed

(4) size of execution_time = n; time values may be different; wildcards in date not allowed

(5) size of execution_time = n; time values may be different; wildcards in date are allowed

execution_time Specifies the time of day the script is executed

array octet-string, octet-string The two octet-strings contain time and date, in this order, structure time: octet-string; date: octet-string time and date are formatted as defined in 4.1.4. WILDCARDS in time are not allowed; seconds and hundredths of seconds must be zero

4.3 Maintenance of the Interface Classes Any modification of interface classes as described below in 4.3.2 will be recorded by moving the old or obsolete version of an interface class into 4.7 "Previous versions of interface classes". Versions of interface classes prior to the establishment of the current document are kept by the DLMS UA only.

4.3.1 New Interface Classes The DLMS UA reserves the right to be the exclusive administrator of interface classes.

DLMS User Association DLMS UA 1000-1 ed.5 49/101

© Copyright 1997-2002 DLMS User Association

Page 50: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

4.3.2 New Versions of Interface Classes Any modification of an existing interface class results in a new version (version ::= version+1) and shall be documented accordingly. The following rules shall be followed: a) new attributes and methods may be added; b) existing attributes and methods may be invalidated BUT the indices of the invalidated attributes

and methods must not be re-used by other attributes and methods; c) if these rules cannot be met, then a new interface class shall be created; d) new versions of COSEM interface classes are administered by the DLMS UA.

4.3.3 Removal of Interface Classes Besides one association object and the logical device name object no instantiation of an interface class is mandatory within a meter. Therefore even unused interface classes will not be removed from the standard. They will be kept to ensure compatibility with possibly existing implementations.

4.4 Protocol related interface classes Each communication device and / or protocol needs some setup parameters to be defined for proper operation.

4.4.1 IEC local port setup (class_id: 19) Instances of this interface class define the operational parameters for communication using IEC 62056-21. Several ports can be configured. The logical_names shall be as defined in 4.6.1.1.11. IEC local port setup 0..n class_id = 19, version = 0 Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. default_mode (static) enum 3. default_baud (static) enum 4. prop_baud (static) enum 5. response_time (static) enum 6. device_addr (static) octet-string 7. pass_p1 (static) octet-string 8. pass_p2 (static) octet-string 9. pass_w5 (static) octet-string Specific method(s) m/o

Attribute description default_mode Defines the protocol used by the meter on the port enum (0) protocol according to

IEC 62056-21 (modes A..E) (1) protocol according to DLMS UA 1000-2 or IEC 62056-46. Using this enu-meration value all other attributes of this class are not applicable.

default_baud Defines the baud rate for the opening sequence enum (0) 300 baud

(1) 600 baud (2) 1 200 baud

DLMS User Association DLMS UA 1000-1 ed.5 50/101

© Copyright 1997-2002 DLMS User Association

Page 51: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

(3) 2 400 baud (4) 4 800 baud (5) 9 600 baud (6) 19 200 baud (7) 38 400 baud (8) 57 600 baud (9) 115 200 baud

prop_baud Defines the baud rate to be proposed by the meter enum (0) 300 baud

(1) 600 baud (2) 1 200 baud (3) 2 400 baud (4) 4 800 baud (5) 9 600 baud (6) 19 200 baud (7) 38 400 baud (8) 57 600 baud (9) 115 200 baud

response_time Defines the minimum time between the reception of a request

(end of request telegram) and the transmission of the response (begin of response telegram). enum (0) 20 milliseconds (1) 200 milliseconds

device_addr Device address according to IEC 62056-21 octet-string pass_p1 Password 1 according to IEC 62056-21 octet-string pass_p2 Password 2 according to IEC 62056-21 octet-string pass_w5 Password W5 reserved for national applications. octet-string

4.4.2 PSTN modem configuration (class_id: 27) An instance of the PSTN modem configuration class stores data related to the initialisation of mo-dems, which are used for data transfer from/to a device. Several modems can be configured. The logical_names shall be as defined in 4.6.1.1.2. PSTN modem configuration 0..n class_id = 27, version = 0 Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. comm_speed (static) enum 0 9 5 3. initialization_string (static) array 4. modem_profile (static) array Specific method(s) m / o

DLMS User Association DLMS UA 1000-1 ed.5 51/101

© Copyright 1997-2002 DLMS User Association

Page 52: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Attribute description

comm_speed The communication speed between the device and the modem, not necessarily the communication speed on the WAN. enum: (0) 300 baud (1) 600 baud (2) 1 200 baud (3) 2 400 baud (4) 4 800 baud (5) 9 600 baud (6) 19 200 baud (7) 38 400 baud (8) 57 600 baud (9) 115 200 baud

initialization_string This data contains all the necessary initialization commands to be sent to the modem in order to configure it properly. This may include the configuration of special modem features. initialization_string ::= array initialization_string_element ::= structure request: octet-string; response: octet-string If the array contains more than one initialization string element they are subsequently sent to the modem after receiving an answer matching the defined response. REMARK It is assumed that the modem is pre-configured so that it accepts the initialization_string. If no initialization is needed the initialization string is empty.

modem_profile This data defines the mapping from Hayes standard com-mands/responses to modem specific strings. modem_profile::= array modem_profile_element: octet-string The modem_profile array must contain the corresponding strings for the modem used in following order : Element 0: OK Element 1: CONNECT Element 2: RING Element 3 NO CARRIER Element 4: ERROR Element 5: CONNECT 1 200 Element 6 NO DIAL TONE Element 7: BUSY Element 8: NO ANSWER Element 9: CONNECT 600 Element 10: CONNECT 2 400 Element 11: CONNECT 4 800 Element 12 CONNECT 9 600 Element 13: CONNECT 14 400 Element 14: CONNECT 28 800 Element 15: CONNECT 36 600 Element 16: CONNECT 56 000

DLMS User Association DLMS UA 1000-1 ed.5 52/101

© Copyright 1997-2002 DLMS User Association

Page 53: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

4.4.3 PSTN auto answer (class_id: 28) An instance of the PSTN auto answer class stores data related to the management of data transfer between a device and a modem, which is used to answer incoming calls. Several modems can be configured. The logical_names shall be as defined in 4.6.1.1.4. PSTN auto answer 0..n class_id = 28, version = 0 Attribute(s) Data type Min. Max. Def 1. logical_name (static) octet-string 2. mode (static) enum 3. listening_window (static) array 4. status (dyn) enum 5. number_of_calls (static) unsigned 6. number_of_rings (static) nr_rings_type Specific method(s) m / o

Attribute description

mode Defines the working mode of the PSTN line when the device is auto an-swer. mode ::= enum

(0) Line dedicated to the device. (1) Shared line management with a limited number of calls

allowed. Once the number of calls is reached, the win-dow status becomes inactive until the next start date, whatever the result of the call.

(2) Shared line management with a limited number of suc-cessful calls allowed. Once the number of successful communications is reached, the window status becomes inactive until the next start date.

(3) Currently no modem connected (200..255) manufacturer specific modes

listening_window Contains the start and end instant when the window becomes active (for the start instant), and inactive (for the end instant). The start_date de-fines implicitly the period. Example: when the day of month is not speci-fied (equal to 0xFF) this means that we have a daily share line man-agement. Daily, monthly window management can be defined.

listening_window ::= array window_element window_element ::= structure start _time: octet-string; end_time: octet-string start_time and end_time are formatted as set in 4.1.4 for date_time.

status Here is defined the status of the window. status ::= enum

(0) Inactive: the device will manage no new incoming call. This status is automatically reset to Active when the next listening window starts.

(1) Active: the device can answer to the next incoming call. (2) Locked. This value can be set automatically by the device or by

a specific client when this client has completed its reading ses-sion and wants to give the line back to the customer before the end of the window duration. This status is automatically reset to Active when the next listening window starts.

DLMS User Association DLMS UA 1000-1 ed.5 53/101

© Copyright 1997-2002 DLMS User Association

number_of_calls This number is the reference used in modes 1 and 2. When set to 0, this means there is no limit.

Page 54: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

number_of_rings Defines the number of rings before the meter connects the modem. Two

hin the window defined by at-

: unsigned (0: no connect in window);

)

cases are distinguished: number of rings wittribute listening_window and number of rings outside the listen-ing_window.

nr_rings_type := structure nr_rings_in_window nr_rings_out_of_window: unsigned (0: no connect out of window

4.4.4 PSTN auto dial (class_id: 29) data related to the management data transfer be- dialling. Several modems can be configured. The

An instance of the PSTN auto dial class stores tween the device and the modem to perform autological_names shall be as defined in 4.6.1.1.3. PSTN auto dial 0..n class_id = 29, version = 0 Attribute(s) Data type ef Min. Max. D1. logical_name (static) octet-string 2. mode (static) enum 3. repetitions (static) unsigned 4. repetition_delay signed (static) long-un 5. calling_window (static) array 6. phone_list (static) array Specific method(s) m / o

Attribute description

Defines if the device can perform auto dialling. mode ::= enum

auto dialling allowed anytime wed within the validity time of the calling

g window; alarm initiated auto dialling allowed

(200..255)

mode

(0) no auto dialling (1) (2) auto dialling allo

window (3) regular auto dialling allowed within the validity time of

the callinanytime.

manufacturer specific modes

can be repeated. repetition_delay 0 means delay is not specified. Contains the start active (for the start instant), or inactive (for the endefines implicitly the period. Example: when day of month is not specified(equal to 0 x FF) this means that we have a daily share line management. Daily, monthly window management can be defined. calling_window ::= array window_element window_element ::= structure start _time: octet-s start_time and end_time are formatted as seCo

repetitions The maximum number of trials in case of unsuccessful dialling attempts. repetition_delay The time delay, expressed in seconds until an unsuccessful dial attempt

calling_window and end date/time stamp when the window becomes d instant). The start_date

tring; end_time: octet-string

t in 4.1.4 for date_time. phone_list ntains phone numbers, the device modem has to call under certain con-

DLMS User Association DLMS UA 1000-1 ed.5 54/101

© Copyright 1997-2002 DLMS User Association

Page 55: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

ditions. The link between entries in the array and the conditions are not

er: octet-string

contained in here. phone_list ::= array phone_numb

4.4.5 IEC HDLC setup (class_id: 23) ata necessary to set up a communication chan-6. Several communication channels can be con-

An instance of the HDLC setup class contains all dnel according to DLMS UA 1000-2 or IEC 62056-4figured. The logical_names shall be as defined in 4.6.1.1.13. IEC HDLC setup 0..n class_id = 23, version = 0 Attribute(s) Data type Def Min. Max. 1. logical_name (static) string octet- 2. comm_speed (static) enum 0 9 5 3. window_size_

transmit (static) unsigned 1 7 1

4. window_size_ receive

- (static) unsigned 1 7 1

5. max_info_field_ length_transmit

128 128 (static) unsigned 32

6. max_info_field_ length_receive

(static) unsigned 32 128 128

7. in-ter_octet_time_out

ned (static) long-unsig 20 1000 30

8. inaout

ctivity_time_ (static) long-unsigned 0 120

9. device_address (static) long-unsigned 16 0x3FFD 0 Specific method(s) m / o

Attribute description

The communication speed supported by the corresponding port Enum: (0) 300 baud

his co ica be overridden if the HDLC mode f a dev en special mode of another protocol.

comm_speed

(1) 600 baud (2) 1 200 baud (3) 2 400 baud (4) 4 800 baud (5) 9 600 baud (6) 19 200 baud (7) 38 400 baud (8) 57 600 baud (9) 115 200 baud

T mmun tion speed cano ice is tered through aThe maximum number of frames that a device or system can transmit before it needs to receive an acknowledgement from a corresponding station. During logon, other values can be negoated. The maximum number of frames that a device or system can re-ceive bresponding station. During logon, other values can be negotiated

window_size_transmit

ti-

window_size_receive efore it needs to transmit an acknowledgement to the cor-

.

DLMS User Association DLMS UA 1000-1 ed.5 55/101

© Copyright 1997-2002 DLMS User Association

Page 56: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

The maximum information field length that a device can transmit. During logon a smaller value can be negotiated.

The maximum information field length that a devicDuring logon a smaller value can be negotiated. Defines the time, expressed in ms, over which, wter is received from the primary station, the device will treat the already received data as a complete frame. Defines the time, expressed in seconds overframe is received from the primary station, the device will procea disconnection. When this value isis not operational. Contains the physicIn case of single byte addressing: 0x00 NO_STATION A0x01 Reserved for future use 0x10...0x7D Usable address space 0x7E CALLING device addre0x7F Broadcast address In0x0000 NO_STATION a0x0001..0x000F Reserved for future use 0x0010..0x3FFD Usable address space 0x3FFE CALLING physical dev0x3FFF Broadcast address

max_info_length_transmit

max_info_length_receive e can receive.

inter_octet_time_out hen any charac-

inactivity_time_out which, when any ss

set to 0, this means that the inactivity_time_out

device_address al device address of a device:

ddress 0x0F

ss

case of double byte addressing: ddress

ice address

4.4.6 IEC twisted pair (1) setup (class_id: 24) data which are necessary to set up An instance of the IEC twisted pair (1) setup class contains all

a communication channel according to IEC 62056-31:1999. Several communication channels can be configured. The logical_names shall be as defined in 4.6.1.1.14. IEC twisted pair (1) setup 0..n class_id = 24, version = 0 Attribute(s) Data type f Min. Max. De1. logical_name (static) octet-string 2. secondary_address (static) octet-string 3. primary_address_list (static) pri-

mar_type

y_adress_list

tabi_lis5. fatal_error c) (dynami enum Specific method(s) m / o

4. tabi_list (static) t_type

Attribute description Secondary_address memorizes the ADS of the secondary station secondary_address (see IEC 62056-31:1999) that corresponds to the real equipment. octet-string (SIZE(6))

primary_address_list Primary_address_list memorizes the list of ADP or primary station

physical addresses for which each logical device of the real equip-ment (the secondary station) has been programmed (see IEC 62056-31:1999). primary_adress_li

st_type ::= array

DLMS User Association DLMS UA 1000-1 ed.5 56/101

© Copyright 1997-2002 DLMS User Association

Page 57: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

primary_address_element

imary_address_element ::= octet-string (SIZE(1)) tabi_list real equip-

prtabi_list represents the list of the TAB(i) for which thement (the secondary station) has been programmed in case of forgotten station call (see IEC 62056-31:1999). tabi_list_type ::= array tabi_element tabi_element ::= integer FatalError represents terrors of the protocols described in IEC 62056-31:1999.

The initial default value of this variable is "00"H. Then, eafatal error is spotted. enum (0)

(1) t-EP-1F, (2) t-EP-2F , (3) t-EL-4F, (4) t-EL-5F, (5) eT-1F, (6) eT-2F, (7) e-EP-3F, (8) e-EP-4F, (9) e-EP-5F, (10) e-EL-2F

fatal_error he last occurrence of one of the fatal

ch

No-error ,

Attributes and methods of COSEM objects can be referenced in two different ways:

sing COSEM logical names: In this case, the attributes and methods of a COSEM object are

he reference for an attribute is:

lass_id, value of the logical_name attribute, attribute_index;

he reference for a method is:

lass_id, value of the logical_name attribute, method_index;

ttribute_index is used as the identifier of the required attribute.

sing short names: This kind of referencing is intended for use in simple devices. In this case,

4.5.1 Guidelines for assigning short names lic attributes and methods.

4.5 Using short names for accessing attributes and methods

Ureferenced via the identifier of the COSEM object instance to which they belong. T c T c amethod_index is used as the identifier of the required method. Ueach attribute and method of a COSEM object is identified with a 13 bit integer. The syntax for the short name is the same as the syntax of the name of a DLMS named variable.

This clause gives guidelines for assigning short names for pub

DLMS User Association DLMS UA 1000-1 ed.5 57/101

© Copyright 1997-2002 DLMS User Association

Page 58: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Data class_id = 1, version = 0

Short name

Remarks

Attribute(s) logical_name x x is the base_name of the object. value x+8 Specific method(s)

Register class_id = 3, version = 0

Short name

Remarks

Attribute(s) logical_name x x is the base name of the object. value x+8 scaler_unit x+16 Specific method(s) reset x+40

Extended register class_id = 4, version = 0

Short name

Remarks

Attribute(s) logical_name x x is the base name of the object. value x+8 scaler_unit x+16 status x+24 capture_time x+32 Specific method(s) reset x+56

Demand register class_id = 5, version = 0

Short name

Remarks

Attribute(s) logical_name x x is the base name of the object. current_average_value x+8 last_average_value x+16 scaler_unit x+24 status x+32 capture_time x+40 start_time_current x+48 period x+56 number_of_periods x+64 Specific method(s) reset x+72 next_period x+80

Register activation class_id = 6, version = 0

Short name

Remarks

Attribute(s) logical_name x x is the base name of the object. register_assignment x+8 mask_list x+16 active_mask x+24 Specific method(s) add_register x+48 add_mask x+56 delete_mask x+64

DLMS User Association DLMS UA 1000-1 ed.5 58/101

© Copyright 1997-2002 DLMS User Association

Page 59: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Profile generic class_id = 7, version = 1

Short name

Remarks

Attribute(s) logical_name x x is the base name of the object. buffer x+8 Selective access to the buffer is pro-

vided using parameterised access. capture_objects x+16 capture_period x+24 sort_method x+32 sort_object x+40 entries_in_use x+48 profile_entries x+56 Specific method(s) reset x+88 capture x+96

Clock class_id = 8, version = 0

Short name

Remarks

Attribute(s) logical_name x x is the base name of the object. time x+8 time_zone x+16 status x+24 daylight_savings_begin x+32 daylight_savings_end x+40 daylight_savings_deviation x+48 daylight_savings_enabled x+56 clock_base x+64 Specific method(s) adjust_to quarter x+96 adjust_to_measuring_period x+104 adjust_to_minute x+112 adjust_to_preset_time x+120 preset_adjusting_time x+128 shift_time x+136

Script table class_id = 9, Version = 0

Short name

Remarks

Attribute(s) logical_name x x is the base name of the object. scripts x+8 Specific method(s) execute x+32

Schedule class_id = 10, Version = 0

Short name

Remarks

Attribute(s) logical_name x x is the base name of the object. entries x+8 Specific method(s) enable/disable x+32 insert x+40 delete x+48

DLMS User Association DLMS UA 1000-1 ed.5 59/101

© Copyright 1997-2002 DLMS User Association

Page 60: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Special days table class_id = 11, Version = 0

Short name

Remarks

Attribute(s) logical_name x x is the base name of the object. entries x+8 Specific method(s) insert x+16 delete x+24

Activity calendar class_id = 20, version = 0

Short name

Remarks

Attribute(s) logical_name x x is the base name of the object. calendar_name_active x+8 season_profile_active x+16 week_profile_table_active x+24 day_profile_table_active x+32 calendar_name_passive x+40 season_profile_passive x+48 week_profile_table_passive x+56 day_profile_table_passive x+64 activate_passive_calendar_time x+72 Specific method(s) activate_passive_calendar x+80

Association SN class_id = 12, version = 1

Short name

Remarks

Attribute(s) logical_name x a x is the base name of the object. object_list x+8 Selective access to the object_list is

provided using parameterized ac-cess.

Specific method(s) read_by_logicalname x+48 With this method the parameterized

access feature can also be used. get_attributes&methods x+56 With this method the parameterized

access feature can also be used. change_LLS_secret x+64 change_HLS_secret x+72 reply_to_HLS_authentication x+88 a The base name of the object "association SN" corresponding to the current association is 0xFA00

SAP assignment class_id = 17, version = 0

Short name

Remarks

Attribute(s) logical_name x x is the base name of the object. SAP_assignment_list x+8 Specific method(s) connect_logical_device x+32

DLMS User Association DLMS UA 1000-1 ed.5 60/101

© Copyright 1997-2002 DLMS User Association

Page 61: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Register monitor class_id = 21, version = 0

Remarks Short name

Attribute(s) logical_name x thresholds

x+16 actions x+24 Specific method(s)

Utility tables class_id = 26,version = 0

x is the base name of the object. x+8

monitored_value

Short name

Remarks

Attribute(s) logical_name x x is the base name of the object. table_ID x+8 length x+16 buffer x+24 Specific method(s)

Single action schedule class_id = 22,version = 0

Short name

Remarks

Attribute(s) logical_name x x is the base name of the object. executed_script x+8 type x+16 execution_time x+24 Specific method(s)

IEC local port setup class_id = 19,version = 0

Short name

Remarks

Attribute(s) logical_name x x is the base name of the object. default_mode x+8 default_baud x+16 prop_baud x+24 response_time x+32 device_addr x+40 pass_p1 x+48 pass_p2 x+56 pass_w5 x+64 Specific method(s)

PSTN modem configuration class_id = 27,version = 0

Short name

Remarks

Attribute(s) logical_name x x is the base name of the object. comm_speed x+8 initialization_string x+16 modem_profile x+24 Specific method(s)

DLMS User Association DLMS UA 1000-1 ed.5 61/101

© Copyright 1997-2002 DLMS User Association

Page 62: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

PSTN auto answer class_id = 28,version = 0

Short name

Remarks

Attribute(s) logical_name x x is the base name of the object. mode x+8 listening_window x+16 status x+24 number_of_calls x+32 number_of_rings x+40 Specific method(s)

PSTN auto dial class_id = 29,version = 0

Short name

Remarks

Attribute(s) logical_name x x is the base name of the object. mode x+8 repetitions x+16 repetition_delay x+24 calling_window x+32 phone_list x+40 Specific method(s)

IEC HDLC setup class_id = 23,version = 0

Short name

Remarks

Attribute(s) logical_name x x is the base name of the object. comm_speed x+8 window_size_transmit x+16 window_size_receive x+24 max_info_length_transmit x+32 max_info_length_receive x+40 inter_octet_time_out x+48 inactivity_time_out x+56 device_address x+64 Specific method(s)

IEC twisted pair (1) setup class_id = 24,version = 0

Short name

Remarks

Attribute(s) logical_name x x is the base name of the object. secondary_address x+8 primary_address_list x+16 tabi_list x+24 fatal_error x+32 Specific method(s)

4.5.2 Reserved base_names for special COSEM objects In order to grant access for devices offering accessing by short_names some short_names are re-served as base_names for special COSEM objects. The reserved range of names is from 0xFA00 to 0xFFF8.

DLMS User Association DLMS UA 1000-1 ed.5 62/101

© Copyright 1997-2002 DLMS User Association

Page 63: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Table 5 – Reserved base_names for Special COSEM Objects

base_name (objectName)

COSEM object

0x FA00 Association SN 0x FB00 Script table (instantiation: broad-

cast_receiver script) 0x FC00 SAP assignment 0x FD00 Data or register object containing the

COSEM logical device name in the attribute "value"

4.6 Relation to OBIS The OBIS identification system serves as a basis for the COSEM logical names. The system of naming COSEM objects is defined in the basic principles (see 4.1) the identification of real data items is specified in Clause 5 or IEC 62056-61. The following clauses define the usage of those definitions in the COSEM environment. All codes, which are not explicitly listed, but below the manufacturer specific range (128 .. 255) are reserved for future use.

4.6.1 Mapping of data items to COSEM objects and attributes This clause defines the usage of OBIS identifications and their mapping to COSEM objects of cer-tain interface classes and their attributes.

4.6.1.1 Abstract COSEM Objects This subclause contains definitions for data items not directly linked to an energy type.

DLMS User Association DLMS UA 1000-1 ed.5 63/101

© Copyright 1997-2002 DLMS User Association

Value group C Abstract objects (A = 0)

0 General purpose COSEM objects 1 COSEM objects of IC "Clock" 2 COSEM objects IC PSTN modem configura-

tion and related IC-s 10 COSEM objects of IC "script table" 11 COSEM objects of IC "special days table" 12 COSEM objects of IC "schedule" 13 COSEM objects of IC "activity calendar" 14 COSEM objects of IC register activation 15 COSEM objects of IC "single action schedule" 20 COSEM objects of IC "IEC local port setup" 21 Standard readout definitions 22 COSEM objects of IC IEC HDLC setup 23 COSEM objects of IC "IEC twisted pair (1)

setup" 40 COSEM objects of IC association SN/LN 41 COSEM objects of IC SAP assignment 42 COSEM logical device name

Page 64: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

65 COSEM objects of IC utility tables 128 .. 255 Manufacturer specific COSEM related abstract

objects All other codes are reserved

4.6.1.1.1 Clock This COSEM object controls the system clock of the physical device. It is an instance of the inter-face class "clock". Clock OBIS identification IC A B C D E F Clock object Clock 0 x 1 0 x 255

The usage of value group E shall be: • if just one object is instantiated, value E shall be 0; • if more then one object is instantiated in the same physical device, its value group E shall

number the instantiations from 0 to the needed maximum value. 4.6.1.1.2 PSTN modem configuration This COSEM object defines and controls the behaviour of the device regarding the communication through a PSTN modem. It is an instance of the interface class "PSTN modem configuration". PSTN modem configuration OBIS identification IC A B C D E F PSTN modem configuration object PSTN mo-

dem con-figura- tion

0 x 2 0 0 255

The usage of value group B shall be: • if more then one object is instantiated in the same physical device, its value group B shall num-

ber the communication channel. 4.6.1.1.3 PSTN auto dial This COSEM object defines and controls the behaviour of the device regarding the auto dialling function using a PSTN modem. It is an instance of the interface class "PSTN auto dial". PSTN auto dial OBIS identification IC A B C D E F PSTN auto dial object PSTN auto

dial 0 x 2 1 0 255

The usage of value group B shall be: • if more then one object is instantiated in the same physical device, its value group B shall num-

ber the communication channel.

DLMS User Association DLMS UA 1000-1 ed.5 64/101

© Copyright 1997-2002 DLMS User Association

Page 65: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

4.6.1.1.4 PSTN auto answer This COSEM object defines and controls the behaviour of the device regarding the auto answering function using a PSTN modem. It is an instance of the interface class "PSTN auto answer". PSTN auto answer OBIS identification IC A B C D E F PSTN auto answer object PSTN auto

answer 0 x 2 2 0 255

The usage of value group B shall be: • if more then one object is instantiated in the same physical device, its value group B shall

number the communication channel. 4.6.1.1.5 Script tables These COSEM objects control the behaviour of the device. Several instances of the interface class "script table" are predefined and normally available as hid-den scripts only with access to the execute() method. The following table contains only the identifiers for the "standard" instances of the listed scripts. Implementation specific instances of these scripts should use values different from 0 in value group D. Script table objects OBIS identification IC A B C D E F global meter reseta Script table 0 x 10 0 0 255 MDI reset / end of billing perioda Script table 0 x 10 0 1 255 Tariffication script table Script table 0 x 10 0 100 255 Activate test modea Script table 0 x 10 0 101 255 Activate normal modea Script table 0 x 10 0 102 255 Set output signals Script table 0 x 10 0 103 255 Broadcast script table Script table 0 x 10 0 125 255 a The activation of these scripts is performed by calling the execute() method to the script identifier 1 of the corresponding script object.

The tariffication script table defines the entry point into tariffication by standardising utility-wide how to invoke the activation of certain tariff conditions. The broadcast script table allows standardising utility wide the entry point into regularly needed functionality. 4.6.1.1.6 Special days table This COSEM object defines and controls the behaviour of the device regarding calendar functions on special days for clock control. It is an instance of the interface class "special days table". Special days table OBIS identification IC A B C D E F Special days table object Special

days table

0 x 11 0 0 255

DLMS User Association DLMS UA 1000-1 ed.5 65/101

© Copyright 1997-2002 DLMS User Association

Page 66: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

4.6.1.1.7 Schedule This COSEM object defines and controls the behaviour of the device in a sequenced way. It is an instance of the interface class "schedule" Schedule OBIS identification IC A B C D E F Schedule object Schedule 0 x 12 0 x 255

The usage of value group E shall be: • if just one object is instantiated, value E shall be 0 • if more then one object is instantiated in the same physical device, its value group E shall

number the instantiations from 0 to the needed maximum value. 4.6.1.1.8 Activity calendar This COSEM object defines and controls the behaviour of the device in a calendar-based way. It is an instance of the interface class "activity calendar" Activity calendar OBIS identification IC A B D E F Activity calendar object Activity cal-

endar 0 0 x 13 0 255

C

4.6.1.1.9 Register activation This COSEM object is used to handle different tariffication structures. It is an instance of the interface class "Register activation". Register activation OBIS identification IC A B C D E F Register activation object Register

activation x 14 0 0 0 255

4.6.1.1.10 Single action schedule These COSEM objects control the behaviour of the device. One instance of the interface class "single action schedule" is predefined. The following table con-tains only those identifiers for the "standard" instances of the listed "single action schedules". Implementation specific instances of these interface classes should use values different from 0 in value group D. Single action schedule OBIS identification IC A B C D E

Single ac-tion sched-ule

0 x 15 0 0 255 F

End of billing period

4.6.1.1.11 IEC local port setup This COSEM object defines and controls the behaviour of the device regarding the communication parameters on the local port according to IEC 62056-21. It is an instance of the interface class "IEC local port setup"

DLMS User Association DLMS UA 1000-1 ed.5 66/101

© Copyright 1997-2002 DLMS User Association

Page 67: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

IEC local port setup OBIS identification IC B C D IEC optical port setup object IEC local

port setup 0 x 20 0 0 255

IEC electrical port setup object IEC local port setup

0 x 20 0 1

A E F

255

The usage of value group B shall be: • if more then one object is instantiated in the same physical device, its value group B shall

number the communication channel.

62056-21

4.6.1.1.12 Standard readout profile A set of COSEM objects is defined to carry the standard readout as it would appear with IEC

(modes A to D).

Standard readout OBIS identification IC B C F general local port readout Profile 0 0 21 0 0 255 general display readout Profile 0 0 0 21 1 255 alternate display readout Profile 0 0 21 0 2 255 service display readout Profile 0 0 21 0 3 255 list of configurable meter data Profile 0 21 0 0 4 255 Additional readout profile 1 Profile 0 0 21 0 5 255 .. Additional readout profile n Profile N 0 0 21 0 255

A D E

Standard readout objects can also be related to an energy type and to a channel. See Clause 5 or

. IEC 62056-61 4.6.1.1.13 IEC HDLC setup This COSEM object defines and controls the behaviour of the device at the association negotiation instant using HDLC protocol. It is an instance of the interface class "HDLC setup". IEC HDLC setup OBIS identification IC A B C D E F IEC HDLC setup object IEC HDLC

setup 0 x 22 0 0 255

The usage of value group B shall be: • if more then one object is instantiated in the same physical device its value group B shall num-

ber the communication channel. 4.6.1.1.14 IEC twisted pair (1) setup

This COSEM object defines and controls the behaviour of the device regarding the communication parameters according to IEC 62056-31:1999. It is an instance of the interface class " IEC twisted pair (1) setup ".

IEC twisted pair (1) setup OBIS identification IC C D E F IEC twisted pair (1) setup object IEC twisted

pair (1) setup 0 x 23 0 0 255 A B

DLMS User Association DLMS UA 1000-1 ed.5 67/101

© Copyright 1997-2002 DLMS User Association

Page 68: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

The usage of value group B shall be: • if more then one object is instantiated in the same physical device, its value group B shall num-

ber the communication channel. 4.6.1.1.15 Association objects A series of COSEM objects are used to identify association objects within a physical device. Association objects OBIS identification IC A B C D E F Current association Associta-

tion LN/SN 0 0 40 0 0 255

Association, instance 1 Association LN/SN

0 0 40 0 1 255

.. 0 0 40 0 N 255 Association, instance n Association

LN/SN 4.6.1.1.16 SAP assignment object One COSEM object is used to inform about the SAP assignments within a physical device. SAP Assignment object OBIS identification

IC A C D E F SAP assignment of current physical device

SAP assign-ment

0 0 41 0 0 255 B

4.6.1.1.17 COSEM logical device name Each COSEM logical device can be identified world-wide by its logical device name. If addressing with short names, the COSEM logical device name can always be found at the same location. It is a data or register object at the base address 0xFD00. COSEM logical device name OBIS identification IC A B C D F COSEM logical device name Dataa 0 0 42 0 0 255 a In cases where the class data is not available, the class register (with scaler=0, unit=255) may be used.

E

4.6.1.1.18 Utility tables The following summarises the coding of ANSI Utility tables instances using the OBIS coding of logical names. A use value of 0 to specify abstract object B instance of table set C use value 65 - signifies utility tables specific definitions D table group selector E table number within group F use value 255 for data of current billing period

DLMS User Association DLMS UA 1000-1 ed.5 68/101

© Copyright 1997-2002 DLMS User Association

Page 69: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Utility tables OBIS identification

IC A B C E F Standard tables 0-127 Utility tables 0 x 65 0 n 255

Utility tables 0 x 65 1 n ... Standard tables 1920-2047 Utility tables 0 x 65 15 n 255 Manufacturer tables 0-127 Utility tables 0 x 65 16 n 255 Manufacturer tables 128-255 Utility tables 0 x 65 17 n 255 ... Manufacturer tables 1920-2047 Utility tables 0 x 65 31 n 255 Std pending tables 0-127 Utility tables 0 x 65 32 n 255 Std pending tables 128-255 Utility tables 0 x 65 33 n 255 ... Std pending tables 1920-2047 Utility tables 0 x 65 47 n 255

Utility tables 0 x 65 48 n 255 Mfg pending tables 128-255 Utility tables 0 x 65 49 n 255 ... Mfg pending tables 1920-2047 Utility tables 0 x 65 63 n 255

D

Standard tables 128-255 255

Mfg pending tables 0-127

4.6.1.1.19 Device ID A series of COSEM objects is used to communicate ID numbers of the device. These can be numbers defined by the manufacturer (manufacturing number) or defined by the user.

-

The different ID numbers are instances of the interface class "data", with data type octet-string. If more than one of those is used, it is also allowed to combine them into one instance of the inter-face class "profile generic". In this case the captured objects are the device ID data objects, the capture period is 1 to have just actual values, the sort method is FIFO, the profile entries are lim-ited to 1. Device ID OBIS identification IC A B C D E F Device ID 1 object (manufacturing num-ber)

Dataa 0 x 96 1 0 255

Device ID 10 object Dataa 0 x 96 1 9 255 Device ID's object Profile ge-

neric 0 x 96 1 255 255

a In cases w

here the class data is not available, the class register (with scaler=0, unit=255) may be used.

4.6.1.1.20 Parameter changes A set of simple COSEM objects describes the history of the configuration of the device. All values are transported by instances of the interface class "data". Parameter changes OBIS identification B C D E F Number of configuration program changes object

Dataa 0 x 96 2 0 255

Date of last configuration program change object

Dataa 0 x 96 2 1 255

Dataa 0 x 96 2 2 255

IC A

Date of last time switch program change object

DLMS User Association DLMS UA 1000-1 ed.5 69/101

© Copyright 1997-2002 DLMS User Association

Page 70: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Date of last ripple control receiver pro-gram change object

Dataa 0 3 x 96 2 255

Number of protected configuration pro-gram changes b

Dataa 0 x 96 2 10 255

b Dataa 0 x 96 11 255

a In cases where the class data is not available, the class register (with scaler=0, unit=255) may be used. b Protected configuration is characterized by the need to open the main meter cover to modify it.

Date of last protected configuration pro-gram change

2

NOTE For a complete list, see also Table 15 Abstract object codes.

4.6.1.1.21 I/O control signals These COSEM objects define and control the status of I/O lines of the device. Status is defined by an instance of the interface class "data". 4.6.1.1.22 Internal status These COSEM objects define the internal status of control signals and the internal operating status. The interface class used for these objects is "data" with data type octet-string. This data type is used to transport binary information from a bitmap. 4.6.1.1.23 Power failures Different possibilities to represent values coming from power failure monitoring of the device are available. Simple counting of events is represented by COSEM objects of interface class "data" with data type unsigned or long unsigned. If more sophisticated information is presented the CO-SEM object shall be of interface class register or "profile generic". 4.6.1.1.24 Error values A series of COSEM objects is used to communicate error indications of the device. The different error values are instances of the interface class "data", with data type octetstring. If more then one of those is used, it is also allowed to combine them into one instance of the inter-face class "profile generic". In this case the captured objects are the device ID data objects, the capture period is 1 to have just actual values, the sort method is FIFO, the profile entries are lim-ited to 1. Error values OBIS identification IC A B C D E F Error 1 object Dataa 0 0 97 97 0 255 Error 10 object Data 0 a 0 97 97 9 255 Error profile object Profile ge-

neric 0 0 97 97 255 255

a In cases where the class data is not available, the class register (with scaler=0, unit=255) may be used.

Error code objects can also be related to an energy type and to a channel. See Clause 5 or IEC 62056-61. DLMS User Association DLMS UA 1000-1 ed.5 70/101

© Copyright 1997-2002 DLMS User Association

Page 71: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

4.6.1.2 Electrical Energy related COSEM Objects 4.6.1.2.1 Value group D definitions The different values as defined by value group D, and which do not represent data of previous bill-ing periods, are modelled in the following way: • cumulative values are represented by COSEM objects which are instances of interface class

"register"; • maximum and minimum values are represented by COSEM objects which are instances of

interface class "profile generic" with sorting method maximum or minimum, depth according to implementation and captured objects according to implementation. A single maximum value or minimum value can alternatively be represented by an COSEM object which is an instance of the interface class "extended register";

• current and last average values are the respective attributes of COSEM objects which are instances of interface class "demand register", using the OBIS code of the current value as logical name;

4.6.1.2.3 Electricity ID numbers The different Electricity ID numbers are instances of the interface class "data", with data type oc-tetstring.

• time integral values are represented by COSEM objects which are instances of interface class "register" or "extended register".

4.6.1.2.2 Data of previous billing periods COSEM treats values or lists of values for several billing periods as profiles. With value group F having a value between 0 and 99, and 101 direct access to data of previous billing periods is available. (see Clause 5.4.6 or IEC 62056-61, "value group F"). This is managed by COSEM objects of interface class "profile generic" which are 1 entry deep and contain the time-stamp of the storage in addition to the stored value. NOTE: no previous values are available for values of type current and last average.

With value group F having a value between 102 and 126 the data are represented by COSEM objects which are instances of interface class "profile generic", with suitable values for the controlling attributes.

If more than one of those is used it is also allowed to combine them into one instance of the inter-face class "profile generic". In this case the captured objects are the electricity ID data objects, the capture period is 1 to have just actual values, the sort method is FIFO, the profile entries are lim-ited to 1. Electricity ID OBIS identification A B C D E Electricity ID 1 object Dataa 1 x 0 0 0 255

Dataa 1 0 9 255

Electricity ID's object Profile 1 x 0 0 255 255 a In cases where the class data is not available, the class register (with scaler=0, unit=255) may be used.

IC F

Electricity ID 10 object x 0

DLMS User Association DLMS UA 1000-1 ed.5 71/101

© Copyright 1997-2002 DLMS User Association

Page 72: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

4.6.1.2.4 Entries related to billing periods These values are represented by instances of the interface class "data" with data type unsigned. Historical data related entries OBIS identification IC A B C D E F Billing period counter object Dataa 1 x 0 1 0 255 Number of available billing period Data object

Dataa 1 x 255 0 1 1

a In cases where the class data is not available, the class register (with scaler=0, unit=255) may be used. The time stamps of previous data values shall be part of the captured objects within the COSEM objects representing the data of previous billing periods. The values can also be related to a chan-nel. NOTE For a complete list, see also Table 17 General purpose codes (electricity).

4.6.1.2.5 Program entries Those values are represented by instances of the interface class "data" with data type unsigned or long unsigned. Program entries OBIS identification

IC A B C D F Configuration program version number object

Dataa 1 x 0 2 0 255

Time switch program number object Dataa 1 x 0 2 2 255 RCR program number object Dataa 1 x 0 2 3 255 a In cases where the class data is not available, the class register (with scaler=0, unit=255) may be used.

E

Program entries can also be related to a channel. See Clause 5 or IEC 62056-61. NOTE For a complete list, see also Table 17 General purpose codes (electricity).

4.6.1.2.6 Input and output pulse constants, nominal values These values are represented by instances of the interface class "Register". 4.6.1.2.7 Ratios These values are represented by instances of the interface class "data" with useful data types. 4.6.1.2.8 Threshold values These values are represented by instances of the interface class "register monitor" by defining the monitored register, the threshold itself and the actions to be performed, when a threshold is crossed. 4.6.1.2.9 Measurement- Registration – Period values, time entries These values are represented by instances of the interface class "data", or "register".

DLMS User Association DLMS UA 1000-1 ed.5 72/101

© Copyright 1997-2002 DLMS User Association

Page 73: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Time entries OBIS identification B C D E F Clock synchronization method Dataa 1 x 0 9 10 255 a In cases where the class data is not available, the class register (with scaler=0, unit=255) may be used.

IC A

Synchronisation method: enum

(0) no synchronisation (1) adjust to quarter (2) adjust to measuring period (3) adjust to minute (4) reserved (5) adjust to preset time

4.6.1.2.10 Measurement algorithm for active power These values are represented by instances of the interface class "data". Measurement algorithm for active power

OBIS identification

IC A B C D E Measuring algorithm Data 1 x 0 11 1 255 F

Measuring algorithm: enum

(0) not specified (1) only the fundamentals of voltage and current are used (2) all harmonics of voltage and current are used (3) only the DC part of voltage and current is used (4) all harmonics and the DC part of voltage and current are used

4.6.1.2.11 Measurement algorithm for active energy These values are represented by instances of the interface class "data". Measurement algorithm for active energy

OBIS identification

IC A B C D E F Measuring algorithm Data 1 x 0 11 2 255

Measuring algorithm: enum The same enumeration applies for integrated values of active power as described in 4.6.1.2.10. 4.6.1.2.12 Measurement algorithm for reactive power These values are represented by instances of the interface class "data". Measurement algorithm for reactive power

OBIS identification

IC A B C D E F Measuring algorithm Data 1 x 0 11 3 255

Measuring algorithm: enum

(0) not specified;

DLMS User Association DLMS UA 1000-1 ed.5 73/101

© Copyright 1997-2002 DLMS User Association

Page 74: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

(1) (sum of) reactive power of each phase, calculated from the funda-

mental of the per phase voltage and the per phase current; (2) polyphase reactive power calculated from polyphase apparent power

and polyphase active power; (3) (sum of) reactive power calculated from per phase apparent power

and per phase active power. 4.6.1.2.13 Measurement algorithm for reactive energy These values are represented by instances of the interface class "data". Measurement algorithm for reactive energy

OBIS identification

IC A B C D F Data 1 x 0 11

E Measuring algorithm 4 255

Measuring algorithm: enum The same enumeration applies for integrated values of reactive power as described in 4.6.1.2.12. 4.6.1.2.14 Measurement algorithm for apparent power These values are represented by instances of the interface class "data". Measurement algorithm for apparent power

OBIS identification

IC A C D E F Data 1 0 11 5 255

B Measuring algorithm x

Measuring algorithm: enum

(1) not specified (2) , with voltage: only fundamental, and current: only fundamen-

tal IUS ×=

(3) , with voltage: only fundamental, and current: all harmonics and DC part

IUS ×=

(4) , with voltage: all harmonics, and current: only fundamental IUS ×=(5) , with voltage: all harmonics, and current: all harmonics IUS ×=(6) , with voltage: all harmonics, and current: all harmonics IUS ×=(7) , with voltage: all harmonics and DC part, and current: only

fundamental IUS ×=

(8) , with voltage: all harmonics and DC part, and current: all harmonics

IUS ×=

(9) , with voltage: all harmonics and DC part, and current: all har-monics and DC part

IUS ×=

(10) 22 QPS += with P: only fundamental in U and I, and Q: only fundamental in U and I, where P and Q are polyphase quantities

(11) 22 QPS += with P: all harmonics in U and I, and Q: only fundamental in U and I where P and Q are polyphase quantities

(12) 22 QPS += with P: all harmonics and DC part in U and I, and Q: only fundamental in U and I where P and Q are polyphase quantities

DLMS User Association DLMS UA 1000-1 ed.5 74/101

© Copyright 1997-2002 DLMS User Association

Page 75: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

(13) ∑ += 22 QPS , with P: only fundamental in U and I, and Q: only funda-

mental in U and I where P and Q are single phase quantities

(14) ∑ += 22 QPS , with P: all harmonics in U and I, and Q: only fundamental in U and I where P and Q are single phase quantities

(15) ∑ += 22 QPS , with P: all harmonics and DC part in U and I, and Q: only fundamental in U and I where P and Q are single phase quantities

4.6.1.2.15 Measurement algorithm for apparent energy These values are represented by instances of the interface class "data". Measurement algorithm for apparent energy

OBIS identification

IC A B C E Measuring algorithm Data 11 1 x 0 6 255

D F

4.6.1.2.16 Measurement algorithm for power factor calculation

Measuring algorithm: enum The same enumeration applies for integrated values of apparent power as described in 4.6.1.2.14.

These values are represented by instances of the interface class "data". Measurement algorithm for power factor calculation

OBIS identification

IC B C F Measuring algorithm Data 1 x 255 0 11 7

A D E

Measuring algorithm: enum

(0) not specified; (1) displacement power factor: the displacement between fundamental voltage

and current vectors, which can be calculated directly from fundamental active power and apparent power, or another appropriate algorithm;

-

To identify different instances of the same interface class they have to differ in their logical_name. In COSEM the logical_name is taken from the OBIS definition (see Clause 5 or IEC 62056-61).

If a data item is identified by less than 6 value groups, all unused value groups must be filled with 255.

(2) true power factor, the power factor produced by the voltage and current in-cluding their harmonics . It may be calculated from apparent power and ac-tive power, including the harmonics;

4.6.2 Coding of OBIS identifications

OBIS codes are used within the COSEM environment as an octet-string[6]. Each octet contains the unsigned value of the corresponding OBIS value group, coded without tags.

DLMS User Association DLMS UA 1000-1 ed.5 75/101

© Copyright 1997-2002 DLMS User Association

Page 76: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Octet 1 contains the binary coded value of A (A = 0, 1, ...9) in the four rightmost bits. The four left-most bits contain the information on the identification system. The four leftmost bits set to zero indicate that the OBIS identification system (version 1) is used as logical_name .

-

Identification system used Four leftmost bits of octet 1 (MSB left) OBIS, see Clause 5 or IEC 62056-61 0 0 0 0 Reserved for future use

0 0 0 1 ... 1 1 1 1

Within all value groups the usage of a certain selection is fully defined, others are reserved for fu-ture use. Value group A is fully defined respective reserved for all possible values. No defined value group item within groups B to F exists above 127. The usage of the code space 128 to 254 (0xFE) characterises a manufacturer specific code. If one value in a group B to F is used above 127 the whole code is characterised as manufacturer spe-cific and even the other value groups (with the exception of group A) are not necessarily bearing any meaning defined by this standard.

4.7.1 Profile generic, version 0

4.7 Previous versions of interface classes This chapter lists those interface class definitions which where included in previous editions of this document. The previous interface class versions differ form the current versions by at least one attribute and/or method and by the version number. For new implementations in metering devices only the current versions shall be used. Communication drivers at the client side must also support previous versions.

The version listed here was valid in edition 1 and is replaced as of edition 2 and 3. Profile 0..n Class_id=7, version=0 Attribute(s) Data Type Min Max Def

(static) octet-string (dyn.) array X

array (static) double-long-unsigned (static) enum (static) ObjectDefinition X (dyn.) double-long-unsigned 0 0 (static) double-long-unsigned 1 1

Specific Method(s) m / o o

o o

1. logical_name 2. buffer 3. capture_objects (static) 4. capture_period X 5. sort_method X 6. sort_object 7. entries_in_use 8. profile_entries

1. reset () 2. capture () o 3. get_buffer_by_range () 4. get_buffer_by_index ()

Attribute Description

buffer The buffer attribute contains a sequence of entries. Each en-try contains values of the captured objects (as returned by calling read(current_value)). The sequence is ordered ac-cording to the specified sort method. The buffer gets filled by

DLMS User Association DLMS UA 1000-1 ed.5 76/101

© Copyright 1997-2002 DLMS User Association

Page 77: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

subsequent calls to capture ().

Entry Entry ::=

Def

Remark: Reading the entire buffer delivers only those entries which are in use

The buffer is empty at installation.

Capture_objects

Specifies the list of capture objects (registers, clocks and pro-files) that are assigned to this profile object. Upon a call of the capture () service, the specified attributes of these objects are copied into the buffer of the profile. array ObjectDefinition ObjectDefinition ::= stucture

logical_name: octet-string; class_id: long-unsigned; attribute_index: unsigned

where attribute_index is a pointer to the attribute within the object. attribute_index=1 refers to the first attribute (i.e. logi-cal_name), attribute_index =2 to the 2nd, etc.)

Capture_period >= 1: Automatic capturing assumed. Specifies the capturing period in seconds

0: no automatic capturing, capturing is trigger externally or capture events occur asynchronously

sort_method If the profile is unsorted, it works as a first in first out buffer (it is hence sorted by capturing, and not necessarily by the time maintained in the clock object). If the buffer is full, the next call to capture () will push out the first (oldest) entry of the buffer to make space for the new entry. If the profile is sorted, a call to capture () will store the new entry at the appropriate position in the buffer, moving all fol-lowing entries and probably loosing the least interesting entry. If the new entry would enter the buffer after the last entry and if the buffer is already full, the new entry will not be retained at all.

-

-

enum 1: fifo, 2: lifo (last in first out), 3: larg-est, 4. smallest, 5. nearest_to_zero, 6. farest_from_zero

Def fifo sort_object If the profile is sorted, this attribute specifies the register or

clock that the ordering is based upon. ObjectDefinition see above Def no object to sort by (only possible with

sort_method= fifo or lifo) entries_in_use Counts the number of entries stored in the buffer. After a call

of reset () the buffer does not contain any entries, and this value is zero. Upon each subsequent call of capture (), this value will be incremented up to the maximum number of en-tries that will get stored (see profile_entries).

array structure Instance Specific

DLMS User Association DLMS UA 1000-1 ed.5 77/101

© Copyright 1997-2002 DLMS User Association

Page 78: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

double-long-

unsigned 0profile_entries

Def profile_entries Specifies, how many entries should be retained in the buffer.

0

double-long-unsigned

1 (limited by physical size)

Def 1

Method Description

reset (data) Clears the buffer. The buffer has no valid entries afterwards, entries_in_use is zero after this call. This call does not trigger any additional operations of the capture objects, specifically, it does not reset any captured buffers or registers. data = integer(0)

This call does not trigger any additional operations within the capture objects such as capture () or reset (). Note that only some attributes of the captured objects might be stored, not the complete object. data = integer(0)

write (...) Any write access to one of the attributes describing the static structure of the buffer will automatically call a reset () and this call will propagate to all other profiles capturing this profile. If writing to profile_entries is attempted with a value too large for the buffer, it will be set to the maximum possible value (re-stricted by physical size, typically laid down in the firmware).

get_buffer_by_range (data) Reads all entries between the given limits. restricting_object in

from_value

instance_specific

selected_values

If the array is empty (has no en-tries), all captured data is re-turned. Otherwise only the col-umns specified in the array are returned. The type ObjectDefini-tion is specified above (Capture_-Objects)

ObjectDefinition Defines the register or clock re-stricting the range of entries to be retrieved.

in instance_specific Oldest or smallest entry to re-trieve.

to_value in Newest or largest entry to re-trieve.

in List of columns to retrieve: array ObjectDefinition

entries out See entries_in_use above.

capture (data) Copies the values of the objects to capture into the buffer by calling read(<object_attribute>) of each capture object. De-pending on the sort_method and the actual state of the buffer this produces a new entry or a replacement for the less signifi-cant entry. As long as not all entries are already used, the en-tries_in_use attribute will be incremented.

DLMS User Association DLMS UA 1000-1 ed.5 78/101

© Copyright 1997-2002 DLMS User Association

Page 79: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

array (of instance_-

specific_value) out Sorted sequence of entries con-

taining the requested values of the capture objects.

data = structure restricting_object; from_value; to_value; se-lected_values. In the response data is an array of instance_specific_value.

get_buffer_by_index (data) Read all entries between the given limits. From_index

double-long-unsigned

index of first value to retrieve to_selected_value

data = structure from_index; to_index; selected_values.

in double-long-unsigned First entry to retrieve.

to_index in Last entry to retrieve.

from_selected_value

in long-unsigned

in long-unsigned index of last value to retrieve.

entries out See entries_in_use above. array of instance_-

specific_value out Sorted sequence of entries con-

taining the requested values of the capture objects.

In the response data is an array of instance_specific_value.

4.7.2 Association SN, version 0 The version listed here was valid in edition 1 and is replaced as of edition 2 and 3. Device Association View 0..12 class_id=12, version=0

Attribute(s) Data Type Max Min Def (static) octet-string (static) objlist_type

Specific Method(s) m / o o o o o o o o

1. logical_name 2. object_list

1. getlist_by_classid 2. getobj_by_logicalname 3. read_by_logicalname() 4. get_attributes&services() 5. change_LLS_secret() 6. change_HLS_secret() 7. get_HLS_challenge() 8. reply_to_HLS_challenge() o

Attribute Description

logical_name

Contains the list of all objects with their short_name (DLMS ObjectName of the first attribute), class_id, version3 and logical_name.

Objlist_type ::= array objlist_element

Identifies the type of the client-server association object_list

ob

DLMS User Association DLMS UA 1000-1 ed.5 79/101

© Copyright 1997-2002 DLMS User Association

jlist_element ::= structure 2 Per client server association 3 Note: Within an client-server association, there are never two objects with the same class_id and logical_name differing

only in the versions.

Page 80: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

short_name: Integer16; class_id: long-unsigned; version: unsigned; logical_name: octet-string

Method Description

getlist_by_classid(data) Delivers the subset of the object_list for a specific class_id.

data ::= class_id: long-unsigned

For the response: data ::= objlist_type

getobj_by_logicalname (data)

Delivers the entry of the object_list for a specific logical_name and class_id. data ::= stucture

class_id: long-unsigned; logical_name: octet-string

For the response: data ::= objlist_element

read_by_logicalname (data)

Reads attributes for specific objects. The objects are specified by their class_id and their logical_name.

data ::= array AttributeIdentification

AttributeIdentification ::= stucture class_id: long-unsigned; logical_name: octet-string; attribute_index: unsigned

where attribute_index is a pointer (i. e. offset) to the attribute within the object.

For the response: data is according to the type of the attribute

attribute_index = 0 delivers all attributes4, attribute_index = 1 delivers the first attribute (i. e. logical_name), etc.).

get_attributes&services(data)

Delivers information about the access rights to the attributes and services within the actual association. The objects are specified by their class_id and their logical_name.

data ::= array ObjectIdentification

ObjectIdentification ::= structure class_id: long-unsigned; logical_name: octet-string

For the response data::=array AccessDescription

AccessDescription ::= structure read_attributes: bit-string; write_attributes: bitstring; services: bit-string

The position in the bitstring identifies the attribute/service (first position ↔

DLMS User Association DLMS UA 1000-1 ed.5 80/101

© Copyright 1997-2002 DLMS User Association

4 If at least one attribute has no read access right under the current association, then a read_by_logicalname() to attribute

index = 0 reveals the error message scope-of-access-violated (comp. p. 221). IEC 61334-4-41:1996,

Page 81: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

first attribute, first position ↔ first service) and the value of the bit speci-fies whether the attribute/service is available (bit set) or not available (bit clear).

change_LLS_secret(data) Changes the LLS secret (e.g. password).

data ::= octet-string new LLS secret

change_HLS_secret(data) Changes the HLS secret (e.g. encryption key).

data ::= octet-string5 new HLS secret

get_HLS_challenge(data) Asks the server for the client challenge (e.g. random number).

reply_to_HLS_challenge (data)

Delivers the secretly processed challenge back to the server.

If the authentication is accepted, then the response is successful [0]. If the authentication is not accepted, then the response is set to data-access-error [1].

data ::= octet-string client challenge

data ::= octet-string clients response to the challenge

DLMS User Association DLMS UA 1000-1 ed.5 81/101

© Copyright 1997-2002 DLMS User Association

5 The structure of the new secret depends on the security mechanism implemented. The new secret may contain addi-

tional checkbits and it may be encrypted.

Page 82: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

5. COSEM Object Identification System (OBIS)

5.1 Introduction

For further analysis of this information, for the purposes of billing, load-, customer- and contract management, it is necessary to uniquely identify all data in a manufacturer independent way, col-lected manually or automatically, via local or remote data exchange. The definition of identification codes was based on DIN 43863-3:1997, Electricity meters – Part 3: Tariff metering device as additional equipment for electricity meters – EDIS – Energy Data Identifi-cation System

The competitive electricity market requires an ever-increasing amount of timely information con-cerning the usage of electrical energy. Recent technology developments enable to build intelligent static metering equipment, which are capable of capturing, processing and communicating this in-formation to all parties involved.

5.2 Scope The Object Identification System (OBIS) defines the identification codes (ID-codes) for commonly used data items in electricity metering equipment. This standard specifies the overall structure of the identification system and the mapping of all data items to their identification codes. OBIS provides a unique identifier for all and data within the metering equipment, including not only measurement values, but also abstract values used for configuration or obtaining information about the behaviour of the metering equipment. The ID codes defined in this standard are used for identi-fication of

• data transmitted through communication lines (see 5.5.1); • data displayed on the metering equipment (see 5.5.2).

To cover metering equipment measuring other energy types than electricity, combined metering equipment measuring more than one type of energy or metering equipment with several physical measurement channels, the concept of channels and medium are introduced. This allows meter data originating from different sources to be identified. While this standard fully defines the struc-ture of the identification system for other media, the mapping of non-electrical energy related data items to ID codes needs to be completed separately. NOTE CEN TC 294, "Communication systems for meters and remote reading meters" have implemented some non-electrical energy related codes in draft prEN 13757-1.

• logical names of the various instances of the Interface Classes, or objects, as defined in Clause 4 or IEC 62056-62;

This standard applies to all types of electricity metering equipment, like fully integrated meters, modular meters, tariff attachments, data concentrators etc.

DLMS User Association DLMS UA 1000-1 ed.5 82/101

© Copyright 1997-2002 DLMS User Association

Page 83: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

5.3 OBIS structure OBIS codes are a combination of six value groups, which describe in a hierarchical way the exact meaning of each data item (see Figure 10).

A B C D E F

5.3.1 Value group A The value group A defines the characteristic of the data item to be identified (abstract data, electricity-, gas-, heat-, water-related data).

-

The value group B defines the channel number, i.e. the number of the input of a metering equip-ment having several inputs for the measurement of energy of the same or different types (e.g. in data concentrators, registration units). Data from different sources can thus be identified. The defi-nitions for this value group are independent from the value group A.

For abstract data the hierarchical structure of the 6 code fields is not applicable.

5.3.5 Value group E The value group E defines the further processing of measurement results identified with value groups A to D to tariff registers, according to the tariff(s) in use. For abstract data or for measure-ment results for which tariffs are not relevant, this value group can be used for further classifica-tion.

If any value group C to F contains a value between 128 and 254 the whole code is considered as manufacturer specific.

5.3.2 Value group B

5.3.3 Value group C The value group C defines the abstract or physical data items related to the information source concerned, e.g. current, voltage, power, volume, temperature. The definitions depend on the value of the value group A. Measurement, tariff processing and data storage methods of these quantities are defined by value groups D, E and F.

5.3.4 Value group D The value group D defines types, or the result of the processing of physical quantities identified with the value groups A and C, according to various specific algorithms. The algorithms can deliver energy and demand quantities as well as other physical quantities.

5.3.6 Value group F The value group F defines the storage of data, identified by value groups A to E, according to dif-ferent billing periods. Where this is not relevant, this value group can be used for further classifica-tion.

5.3.7 Manufacturer specific codes

Figure 10 – OBIS code structure

DLMS User Association DLMS UA 1000-1 ed.5 83/101

© Copyright 1997-2002 DLMS User Association

Page 84: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

5.4 Value group definitions

5.4.1 Value group A The range for value group A is 0 to 15 (see Table 6).

Table 6 – Value group A codes

Value group A

0 Abstract objects

1

4

5 Cooling related objects

6 Heat related objects

Gas related objects

8

Electricity related objects

Heat cost allocator related objects

7

Cold water related objects

9 Hot water related objects 6.

5.4.2 Value group B

Table 7 – Value group B codes

Value group B

No channel specified

64 Channel 64

All other possible values are reserved

The range for value group B is 1 to 255 (see Table 7).

0

1 Channel 1

65127 Reserved

128 .. 254 Manufacturer specific codes

255 Reserved

With implementations that contain one channel only, even non-channel-specific data can be as-signed to channel 1.

The range for value group C is 0 to 255 (see Table 8 and Table 9).

5.4.3 Value group C

5.4.3.1 Abstract objects Abstract objects are data items, which are not related to a certain type of physical quantity.

DLMS User Association DLMS UA 1000-1 ed.5 84/101

© Copyright 1997-2002 DLMS User Association

6 Administered by the DLMS User Association

Page 85: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Table 8 – Value group C codes (abstract objects)

Value group C

Abstract objects (A = 0)

0…89 Context specific identifiers a

Country specific identifiers

98 General list objects, see 5.4.9

Inactive objects b

128…254 Manufacturer specific codes

All other Reserved

a Context specific identifiers identify objects specific to a certain

protocol and/or application. For the COSEM context the identifiers are defined in 4.6.1 or IEC 62056-62.

b An inactive object is an object, which is defined and present in a meter, but which has no assigned functionality.

94

96 General service entries, see 5.4.7

97 General error messages, see 5.4.7

127

5.4.3.2 Quantities for electricity related objects

Table 9 – Value group C codes (electricity objects)

Value group C

0 General purpose objects (see 5.4.8 )

1 ΣL i Active power+

2 ΣL i Active power 3 ΣL i Reactive power+ 4 ΣL i Reactive power 5 ΣL i Reactive power QI 6 ΣL i Reactive power QII 7 ΣL i Reactive power QIII 8 ΣL i Reactive power QIV 9 ΣL i Apparent power+ 10 ΣL i Apparent power 11 Current : any phase 12 Voltage : any phase

13 Average power factor

14 Supply frequency 15 ΣL I Active power QI+QIV+QII+QIII

16 ΣL I Active power QI+QIV-QII-QIII

17 ΣL i Active power QI 18 ΣL i Active power QII 19 ΣL i Active power QIII 20 ΣL i Active power QIV

Electricity related objects (A = 1)

DLMS User Association DLMS UA 1000-1 ed.5 85/101

© Copyright 1997-2002 DLMS User Association

Page 86: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

21 L1 Active power+ 22 L1 Active power 23 L1 Reactive power+ 24-30 L1 etc. (see 4-10) 31 L1 Current a

32 L1 Voltage 33 L1 Power factor 34 L1 Frequency 35-40 L1 Active power ... etc. (see 15-20)

41 L2 Active power+

42 L2 Active power 43 L2 Reactive power+ 44-60 L2 etc. (see 24-40) 61 L3 Active power+ 62 L3 Active power 63 L3 Reactive power+ 64-80 L 3 etc. (see 24-40)

Angles b

Unitless quantity (pulses or pieces)

91 L0 current (neutral)

L0 voltage (neutral) 96 Electricity-related service entries, see 5.4.7 97 Electricity-related error messages 98 Electricity list

Electricity data profile see 5.4.10 …127 Reserved 128 .. 254 Manufacturer specific code 255 Reserved

NOTE 1 Li Quantity is the value (to be measured) of a measurement system connected between the phase i and a reference point. In 3-phase 4-wire systems, the reference point is the neutral. In 3-phase 3-wire systems, the reference point is the phase L2.

NOTE 2 ΣLi quantity is the total measurement value across all sys-tems. a For details of extended codes, see 5.4.5.1. b For details of extended codes see 5.4.5.2.

81 82

92

99

DLMS User Association DLMS UA 1000-1 ed.5 86/101

© Copyright 1997-2002 DLMS User Association

Page 87: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

DLMS User Association DLMS UA 1000-1 ed.5 87/101

© Copyright 1997-2002 DLMS User Association

Table 10 – Value group D codes (electricity)

Negative active power (export)

Positive active power (import)

Positive reactive power

Negative reactive power

II cap

III ind IV cap

I

U I ind

S ϕ

P

Q

NOTE The quadrant definitions are according to IEC 61268:1995 Annex E, Figure E.1.

Figure 11 – Quadrants for power measurement

5.4.4 Value group D The range for value group D is 0 to 255 (see Table 10 and Table 11).

5.4.4.1 Electricity related objects

Value group D Electricity related objects A = 1, C <> 0, 96,97,98,99

0 Billing period average (since last reset)

1 Cumulative minimum 1 2 Cumulative maximum 1 3 Minimum 1

4 Current average 1 5 Last average 1 6 Maximum 1

Instantaneous value

8 Time integral 1

Time integral 2

Time integral 3

11 Cumulative minimum 2

12 Cumulative maximum 2 13 Minimum 2 14 Current average 2 15 Last average 2 16 Maximum 2

21 Cumulative minimum 3

22 Cumulative maximum 3

7

9 10

Page 88: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

23 Minimum 3 24 Current average 3 25 Last average 3 26 Maximum 3

27 Current average 5

28 Current average 6

29 Time integral 5

30 Time integral 6

31 Under limit threshold

32 Under limit occurrence counter

33 Under limit duration

34 Under limit magnitude

35 Over limit threshold

36 Over limit occurrence counter

37 Over limit duration

Over limit magnitude

39 Missing threshold

40 Missing occurrence counter

41 Missing duration

42 Missing magnitude

55 Test average 58 Time integral 4 128 .. 254 Manufacturer specific codes all other Reserved

NOTE Averaging Scheme 1 Controlled by measurement period 1 (see 5.4.8), a set of registers is calculated by a meter-ing device (codes 1..6). The typical usage is for billing purposes. Averaging Scheme 2 Controlled by measurement period 2 (see 5.4.8), a set of registers is calculated by a meter-ing device (codes 11..16). The typical usage is for billing purposes. Averaging Scheme 3 Controlled by measurement period 3 (see 5.4.8), a set of registers is calculated by a meter-ing device (codes 21..26). The typical usage is for instantaneous values. Averaging Scheme 4 Controlled by measurement period 4 (see 5.4.8), a test average value. (code 55) is calcu-lated by the metering device. Last average The value of the demand register at the end of the last measurement period. Current average 5 The value of a current demand register using recording interval 1 as a time base. Current average 6 The value of a current demand register using recording interval 2 as a time base. Time integral 1 Without the inclusion of a billing period code (F <> 255): time integral of the quantity cal-

38

DLMS User Association DLMS UA 1000-1 ed.5 88/101

© Copyright 1997-2002 DLMS User Association

Page 89: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

culated from the origin (first start of measurement) to the instantaneous time point. With a billing period code included (0 ≤ F < 100): time integral of the quantity calculated from the origin to the end of the billing period given by the billing period code. Time integral 2 Without the inclusion of a billing period code(F <> 255): Time integral of the quantity cal-culated from the beginning of the current billing period to the instantaneous time point. With a billing period code included (0<=F<100): Time integral of the quantity calculated over the billing period given by the billing period code. Time integral 3 Time integral of the positive difference between the quantity and a prescribed threshold value. Time integral 4 ("Test time integral”) Time integral of the quantity calculated over a time specific to the device or determined by test equipment. Time integral 5 Used as a base for load profile recording: Time integral of the quantity calculated from the beginning of the current recording interval to the instantaneous time point for recording period 1. Time integral 6 Used as a base for load profile recording: Time integral of the quantity calculated from the beginning of the current recording interval to the instantaneous time point for recording period 2. Under limit values Values under a certain threshold (e.g. dips). Over limit values Values above a certain threshold (e.g. swells). Missing values Values considered as missing (e.g. interruptions).

For identifiers of abstract objects see 5.4.7. For identifiers of electricity related general purpose objects see 5.4.8.

5.4.4.2 Value group D for country specific identifiers Table 11 specifies the identifiers for country specific applications. Wherever possible, the phone codes are used. In this table there are no reserved ranges for manufacturer specific codes. The usage of value group E and F are defined in country specific documents.

Table 11 – Value group D codes (country specific)

Value group D

Country specific identifiers a (A = 0, C = 94)

00 Finnish identifiers

01 USA identifiers

02 Canadian identifiers

07 Russian identifiers

10 Czech identifiers

11 Bulgarian identifiers

12 Croatian identifiers

13 Irish identifiers

14 Israeli identifiers

15 Ukraine identifiers

16 Yugoslavian identifiers

DLMS User Association DLMS UA 1000-1 ed.5 89/101

© Copyright 1997-2002 DLMS User Association

Page 90: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

27 South African identifiers

30 Greek identifiers

31 Dutch identifiers

32 Belgian identifiers

33 French identifiers

34 Spanish identifiers

35 Portuguese identifiers

36 Hungarian identifiers

38 Slovenian identifiers

39 Italian identifiers

40 Romanian identifiers

41 Swiss identifiers

42 Slovakian identifiers

43 Austrian identifiers

44 United Kingdom identifiers

Danish identifiers

46 Swedish identifiers

47 Norwegian identifiers

48 Polish identifiers

49 German identifiers

55 Brazilian identifiers

61 Australian identifiers

62 Indonesian identifiers

64 New Zealand identifiers

65 Singapore identifiers

81 Japanese identifiers

86 Chinese identifiers

90 Turkish identifiers

91 Indian identifiers

NOTE 1 All other codes reserved.

NOTE 2 Objects that are already identified in this document but not included in 5.4.4.2 must not be re-identified by a country specific identifier.

a Must be limited to two characters.

45

5.4.5 Value group E The range for value group E is 0 to 255 (see Table 12).

Table 12 – Value group E codes (electricity)

Value group E

Electrical energy related objects (A = 1)

0 Total

DLMS User Association DLMS UA 1000-1 ed.5 90/101

© Copyright 1997-2002 DLMS User Association

Page 91: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

1 Rate 1

2 Rate 2

3 Rate 3

.. ...

9 Rate 9

.. …

63 Rate 63

128254 Manufacturer specific code

all other Reserved

This table is not valid if one of the following separate specifications for value group E apply.

5.4.5.1 Usage of value group E for current and voltage measurements Table 13 shows the meaning of the group E value while measuring current or voltage.

Table 13 – Extended current/voltage measurement

Value group E

Electrical energy related objects (A = 1); current /voltage measurement (C = 31, 51, 71, 32, 52 or 72; D = 7)

0 Total

1 1st harmonic (fundamental)

2 2nd harmonic

n th harmonic

127th harmonic

Manufacturer specific

255

127

128254

Reserved

5.4.5.2 Usage of value group E for measuring angles Table 14 shows the meaning of the group E value while measuring angles.

DLMS User Association DLMS UA 1000-1 ed.5 91/101

© Copyright 1997-2002 DLMS User Association

Page 92: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Table 14 – Extended angle measurement

Value group E

Electrical energy related objects (A = 1); angle measurement (C = 81; D = 7)

Angle

U(L1) U(L2) U(L3) I(L1) I(L2) I(L3) I(L0) <= From

(00) 01 02 04 05 06 07

U(L2) 10 (11) 12 14 15 16 17

U(L3) 20 21 (22) 24 25 26 27

I(L1) 40 41 42 (44) 45 46 47

I(L2) 50 51 52 54 (55)

61 62 64 65 (66) 67

I(L0) 70 71 72 74 75 76 (77)

^ To (reference)

U(L1)

56 57

I(L3) 60

For identifiers of abstract objects see 5.4.7. For identifiers of electricity related general purpose objects see 5.4.8.

In all cases, if value group F is not used, it is set to 255.

Value group F specifies the allocation to different billing periods (sets of historical values) for the objects with following codes: • Value Group A: 1

• Value Group D: 0 to 3; 6; 8 to 13; 16; 21 to 23; 26.

5.4.6 Value group F The range for value group F is 0 to 255.

5.4.6.1 Usage of value group F for billing periods

• Value Group C: 1 to 99

This allocation is valid for 0<=F<100 (see Table 21).

5.4.7 Abstract objects

Table 15 – Abstract object codes

Abstract objects , general service entries OBIS code

A B D E F Device ID numbers (non-energy/channel related)

Complete device ID 0 0 96 1 Device ID 1 (manufacturing number) ............ Device ID 10

0

0

0

96

9 0 96

1 1

0

Parameter changes, calibration and access

Date of last configuration program change Date of last time switch program change Date of last ripple control receiver program change

0

0 0

x x

x

96 96 96

2 2 2 2

0 1 2 3

Status of security switches 0 x 96 2 4 Date of last calibration 0 x 96 2 5 Date of next configuration program change 0 x 96 6 2

C

Number of configuration program changes 0

x

96

DLMS User Association DLMS UA 1000-1 ed.5 92/101

© Copyright 1997-2002 DLMS User Association

Page 93: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Abstract objects , general service entries OBIS code

A B C D E F Number of protected configuration program changesa Date of last protected configuration program changea

0 0

x x

96 96

2 2

10 11

Input/output control signals

State of the input control signals 0 x 96 3 1 State of the output control signals 0 x 96 3 2

State of the internal control signals 0 x 96 4

Internal operating status 0 x 96 5

Battery entries

Battery use time counter Battery charge display Date of next change

0 0 6

6 0

x x x

96 96 96

6 0 1 2

Battery voltage 0 x 96 6 3

Number of power failures

Total failure of all three phases longer than internal autonomy 0 0 96 7 Phase L1 Phase L2 Phase L3

0 0 0

0 0 0

96 96 96

7 7 7

1 2 3

Operating time

Time of operation 0 x 96 8 0 Time of registration rate 1 Time of registration rate 2

0

1

Time of registration rate 63

0 0

x x x

96 96 96

8 8 8

2 63

Environmental related parameters

Ambient temperature 0 x 96 9 0

Manufacturer specific ..................... Manufacturer specific

0

0

x x x

96

96

50

96 x

x x

NOTE If a value field is shaded, then this value group is not used. x is equal to any value within the range. a Protected configuration is characterized by the need to open the main meter cover to modify it, or to break a metrological seal.

0

0

0

In the manufacturer-specific objects, only those values which are not represented by another defined code, but need representation on the display as well shall be placed. If this is not required, the code shall use the possibilities of a value group above 127.

Table 16 – General error messages

Abstract objects, general error messages

A B C D

Error object 0 x 97 97 x a

NOTE If a value field is shaded, then this value group is not used. x is equal to any value within the range. a If only one object is instantiated, the value shall be 0.

OBIS code

E F

DLMS User Association DLMS UA 1000-1 ed.5 93/101

© Copyright 1997-2002 DLMS User Association

Page 94: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

5.4.8 Electricity-related General purpose objects

Table 17 – General purpose codes (electricity) Electricity-related general purpose objects OBIS-code

A B C D E F

Complete combined electricity ID 1 x 0 0 Electricity ID 1 ... Electricity ID 10

1

1

x x

0

0

0

0

0

9

Billing period values/reset counter entries

Billing period counter Number of available billing periods

1 1

x x

0 0

1 1

0 1

Time stamp of the billing period VZ (last reset) Time stamp of the billing period VZ-1

......................................................... Time stamp of the billing period VZ-n

1 1

1

x x x

0 0

..... 0

1 1

...... 1

2 2

...... 2

VZ VZ-1

....... VZ-n

Program entries

Configuration program version number Parameter record number Time switch program number RCR program number

1

x

0

2

0 1 1 1

x x x

0 0 0

2 2

2

1 2 3

Meter connection diagram ID 1 x 0 2 4

Output pulse constants

RLW (Active energy, metrological LED ) RLB (Reactive energy, metrological LED) RLS (Apparent energy, metrological LED) R , output pulse)

1

1

x 0

3

1 2

AW (Active energyRAB (Reactive energy, output pulse) RAS (Apparent energy, output pulse)

1 1

1 1

x x x x x

0

0 0 0 0

3 3 3 3

3

0

3 4 5

Ratios

Reading factor for power Reading factor for energy

1 1

x 1 x

0 0

4 4

0

b Transformer ratio voltage (numerator) b Overall transformer ratio (numerator) b

b Transformer ratio voltage (denominator) b

Overall transformer ratio (denominator) b

1 1

1 1 1

x x x x x x

0 0 0

0 0

4 4 4 4 4 4

2

4 5 6 7

V-ya

V-ya

V-ya

ya

V-ya

V-ya

Nominal values

Voltage [V] Basic/nominal current [A] Frequency [Hz]

1 0

0 6 Maximum current [A]

1 1 1

x x x x

0 0

6 6 6

0 1 2 3

Reference voltage for power quality measurement 1 x 0 6 4 V-ya

Input pulse constants

REW [Imp/kWh] (active energy) REB [Imp/kvarh] (reactive energy) RES [Imp/kVAh] (apparent energy)

1 1 1

x x

0

x

0 0 0

7 7 7

1 2

Measurement-/registration-period duration

Free ID-numbers for utilities

Transformer ratio current (numerator)

Transformer ratio current (denominator)1

0

3

V-

DLMS User Association DLMS UA 1000-1 ed.5 94/101

© Copyright 1997-2002 DLMS User Association

Page 95: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Electricity-related general purpose objects OBIS-code

A B C D E F

Measurement period 1, for average value 1

Recording interval 2, for load profile

1

1

x

x

8

8 4

Measurement period 2, for average value 2 Measurement period 3, for instantaneous value Measurement period 4, for test value Recording interval 1, for load profile

Billing period

1 1 1 1

1

x x x

x x

0 0 0 0 0 0 0

8 8 8

8 8

0 1 2 3

5 6

V-ya

V-ya

V-ya

V-ya

V-ya

V-ya

Time entries

Time expired since last end of billing period 1 x 0 9 0 1 x 0 9 1

Local date 1 x 0 9 2 Reserved 1 x 0 9 3 Reserved 1 x 0 9 4 Week day (0..7) 1 x 0 9 5 Time of last reset 1 x 0 9 6 Date of last reset 1 x 0 9 7 Output pulse duration 1 x 0 9 8 Clock synchronization window 1 x 0 9 9 Clock synchronization method 1 x 0 9 10

Coefficients

Transformer magnetic losses Transformer thermal losses Line resistance losses Line reactance losses

10

1 1 1 1

x x x x

0 0 0 0

10 10 10

0 1 2 3

V-ya

V-ya

V-ya

V-ya

Measurement methods

Algorithm for active power measurement Algorithm for active energy measurement Algorithm for reactive power measurement Algorithm for reactive energy measurement

1

0

4 Algorithm for apparent power measurement Algorithm for apparent energy measurement Algorithm for power factor calculation

1 1 1 1 1 1

x x x x x x x

0

0 0 0 0 0

11 11 11 11 11 11 11

1 2 3

5 6 7

NOTE If the value field F is shaded, then value group F is not used. a y can be set at any value between 1 and n ; for current values group F is not used. b If a transformer ratio is expressed as a fraction the ratio is numerator, divided by denominator. If the transformer ratio is expressed by an integer or real figure, only the numerator is used.

Local time

It should be noted, that some of the codes above are normally not used, as the related data items are covered by attributes of already defined objects (application dependent). See Clause 4 or I

. EC

62056-62

5.4.9 List objects Lists identified with one single OBIS code are defined as a series of any kind of data (e.g. measurement value, constants, status, events).

DLMS User Association DLMS UA 1000-1 ed.5 95/101

© Copyright 1997-2002 DLMS User Association

Page 96: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Table 18 – General list objects

General list objects OBIS code

A B C D E F

Data of billing period 0 x 98 1 x VZ a a see 5.5.3.

5.4.10 Electricity data profile objects Data profiles identified with one single OBIS code are defined as a series of measurement val-ues of the same type or of groups of the same kind consisting of a number of different measure-ment values (see Table 19).

Table 19 – Profile codes (electricity)

Electricity data profile objects OBIS-code

B C D E F

Load profile with recording period 1 1 X 99 1 x a

1 X 99 2 x a

Load profile during test 1 X 99 3 0

Dips voltage profile 1 X 99 10 1 0

1 X 99 10 2 0

Cuts voltage profile 1 X 99 10 3 0

Voltage harmonic profile 1 X 99 11 nth 0

Current harmonic profile 1 X 12 99 nth 0

Voltage unbalance profile 1 99 0 X 13 0

Event log 1 x 99 98 x a

Certification data log 1 x x a 99 99 a If only one object of each kind is instantiated, the value shall be 0.

A

Load profile with recording period 2

Swells voltage profile

To comply with the syntax defined for protocol modes A to D of IEC 62056-21, the range of ID codes is reduced to fulfil the limitations which are usually applied to the number of digits and the ASCII representation of them. All value groups are limited to a range of 0 .. 99 and within that to the limits given in the relevant chapters.

5.5 Code presentation Depending on the environment used, the presentation of codes can be slightly different.

5.5.1 Reduced ID codes (e.g. for IEC 62056-21)

Some value groups may be suppressed, if they are not relevant to an application: Optional value groups: A,B,E,F Mandatory value groups: C,D

DLMS User Association DLMS UA 1000-1 ed.5 96/101

© Copyright 1997-2002 DLMS User Association

Page 97: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

To allow the interpretation of shortened codes delimiters are inserted between all value groups, see Figure 12:

: A - B . D . E * F C Figure 12 – Reduced ID code presentation

The delimiter between value groups E and F can be modified to carry some information about the source of a reset (& instead of * if the reset was performed manually). For compatibility with existing implementations, in value group A an identifier for an energy type may be used even for abstract objects. NOTE The manufacturer shall ensure that the combination of the OBIS code and the interface class (see Clause 4 or IEC 62056-62) uniquely identifies each COSEM object as specified in this standard.

5.5.2 Display The usage of OBIS codes to display values is normally limited in a similar way as for data transfer, e.g. according to IEC 62056-21. Some codes may be replaced by letters to indicate clearly the differences from other data items:

Table 20 – Example of display code replacement

Value group C

Display code

96 C

97 F

98 L

99 P

OBIS code

5.5.3 Special handling of value group F Identifying values from previous billing periods uses the group F field to indicate the actual time periods/point.

Table 21 – Values of billing periods

Value group F

VZ+1 Future period

VZ Period 1

VZ-1 Period 2

VZ-2 Period 3

-3 VZ-4 ...

101 Most recent value

102 Two most recent values

VZ Period 4

etc.

DLMS User Association DLMS UA 1000-1 ed.5 97/101

© Copyright 1997-2002 DLMS User Association

Page 98: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Value group F

….

125 25 most recent values

126 unspecified number of most recent values

The value of the most recent (youngest) billing period is identified using the ID-code VZ (state of the billing period counter), and the second youngest is identified by the code VZ-1 etc. The operat-ing mode of the billing period counter can differ, e.g. modulo-12 or modulo-100. The value that is represented after reaching the limit of the billing period counter, contains the billing period value code 0 for modulo-100, and 1 for other (e.g. modulo-12).

Values above 100 allow to identify profiles which contain values of more than one billing period. The maximum allowed value for this is 125. The value 126 identifies a profile with values of an unspecified number of billing periods.

For thresholds the value group F contains a reference into several threshold levels for the same quantity (if applicable).

5.5.4 COSEM The usage of OBIS codes in the COSEM environment is defined in 4.6.1 or IEC 62056-62.

DLMS User Association DLMS UA 1000-1 ed.5 98/101

© Copyright 1997-2002 DLMS User Association

Page 99: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Bibliography IEC 61334-6:1998, Distribution automation using distribution line carrier systems - Part 6: A-XDR encoding rule

ITU Recommendation X.217 (04/95) - Information technology - Open Systems Interconnection - Service definition for the association control service element

ITU Recommendation X.227 (04/95) - Information technology - Open Systems Interconnection Con-nection-oriented protocol for the association control service element: Protocol specification

IEEE 754:1985 Standard for Binary Floating-Point Arithmetic

DLMS User Association DLMS UA 1000-1 ed.5 99/101

© Copyright 1997-2002 DLMS User Association

Page 100: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Index AARE, 9

apparent, 73, 74 Apparent, 84, 93 ASE, 9

Association SN (class_id: 12), 43

base_name, 9, 43, 56, 61, 62

Broadcast, 55, 64 Calendar, 36, 37, 59, 62, 64, 65

Clock, 11, 18, 29, 30, 35, 36, 58, 62, 63, 76 Coding of OBIS Identifications, 74 Common Data Types, 13

COSEM Logical Device Name, 67 COSEM Object Identification System (OBIS), 81

Current, 84, 85, 86, 87, 95

Device ID, 68, 69, 91 Electrical Energy related COSEM Objects, 70 Electricity, 83, 84, 85, 86, 90, 93, 95

error, 80, 84, 85, 92

fundamental, 72, 73, 74 Gas, 82, 83

Heat, 82, 83

IEC Local Port Setup, 49

Load profile, 95

losses, 94 Maintenance of the Interface Classes, 48

AARQ, 9 abstract, 62, 67, 81, 82 Abstract, 62 Abstract COSEM Objects, 62 Abstract objects, 83, 84, 88, 91, 92, 96 Acknowledgement, 6 ACSE, 9, 17 Activation, 24, 25, 57, 62 active, 72, 74 Active, 84, 85, 93 Activity Calendar, 37, 65 Algorithm, 72, 73, 74, 82 angle, 90 Angle, 91 Angles, 85 APDU, 9

Association, 11, 16, 17, 39, 41, 43, 59, 62, 66, 67, 78

Association LN (class_id: 15), 39 Association Objects, 67

Authentication, 17, 80 A-XDR, 9, 98

Basic Principles, 10 Battery, 92 billing period, 64, 67, 70, 82, 87, 91, 93, 94, 95,

96

calibration, 91 challenge, 17, 42, 44, 78, 80 channel, 17, 54, 63, 69, 71, 81 Channel, 83 Class Description Notation, 11

Complex data types, 13 configuration, 50, 63, 81 Configuration, 50, 60, 62, 71 control signals, 92 Copyright, 6 COSEM Interface Objects, 10

country specific, 88 Country specific, 84, 88 current, 8, 72, 73, 74, 82, 85, 87, 90, 93, 94

current association, 17

Data, 11, 12, 13, 18, 19, 20, 21, 22, 23, 25, 26, 30, 32, 33, 34, 35, 36, 37, 39, 43, 45, 46, 47, 48, 49, 50, 52, 53, 54, 55, 56

Data format, 13 Data formats for date and time notation, 13 Data of previous billing periods, 70 Demand, 18, 22, 23, 24, 25, 45, 57 Demand Register (class_id: 5), 22

Electricity ID Numbers, 70 encryption, 17, 42, 44 Entries related to billing periods, 71

Error, 69 error Values, 69 Extended, 9, 21, 24, 25, 45, 57, 70, 90 Extended Register, 21 Foreword, 6 frequency, 84

General purpose, 84, 93 General service, 84 GMT, 9, 14, 29, 30 Guidelines for Assigning Short Names, 56 harmonic, 72, 73, 74, 90, 95 HDLC, 9, 54, 61, 62, 66 HDLC Setup, 66

I/O Control Signals, 69 IEC HDLC Setup, 54

IEC Twisted Pair (1) Setup, 55, 66 Input and Output Pulse Constants, Nominal

Values, 71 instantiation, 8, 11, 12, 13, 19, 45, 49, 62, 65 Instantiations, 10 interface classes, 18 Internal Status, 69 Introduction, 8 limit, 87, 97

logical device, 15, 16, 49, 67 Logical Device, 16, 39, 43, 62, 63, 67

manufacturer specific, 35, 62, 75, 82 Manufacturer specific, 83, 84, 85, 87, 90, 92 Mapping of Data Items, 62 maximum, 63, 65, 70, 76, 86, 87, 97 Measurement, 71 meter reset, 64 minimum, 70, 86

DLMS User Association DLMS UA 1000-1 ed.5 100/101

© Copyright 1997-2002 DLMS User Association

Page 101: COSEM Identification System and Interface Classesread.pudn.com/downloads193/doc/comm/906962/DLMS_Blue.pdf · turers DZG, Enermet, Schlumberger/Actaris and Siemens/Landis&Gyr, with

DLMS User Association, COSEM Identification System and Interface Classes, Fifth Edition

Modem, 50, 51, 60, 62, 63, 64

physical device, 15, 63, 64, 65 Port Setup, 49, 60, 62, 65, 66

profile, 66, 68, 75, 95

program, 91, 92, 93 program changes, 68, 69

PSTN Modem Configuration, 50, 63

reactive, 8, 72

Relation to OBIS, 62

SAP, 16, 40, 45, 59, 62, 67

Scope, 7

Script, 32, 37, 45, 48, 58, 62, 64

Special Days Table, 36, 64

test mode, 64

Time integral, 70, 86, 87

Twisted Pair, 9, 62, 66

Value Group B, 63, 64, 66, 82, 83

Value group F, 96

voltage, 72, 73, 74, 82, 85, 90, 92, 93, 95

Monitor, 45, 46, 60, 71 New Interface Classes, 48 New Versions of Interface Classes, 49 OBIS, 6, 7, 9, 11, 12, 19, 21, 62, 63, 64, 65, 66,

67, 68, 69, 70, 71, 72, 73, 74, 75 object_list, 16, 39, 42, 43, 59, 78 Parameter Changes, 68 password, 17, 44, 80 PDU, 7, 9, 41

power factor, 74, 84, 94 power fail, 35, 69 power failures, 92 Previous Versions of Interface Classes, 75

Profile, 11, 18, 26, 58, 66 profile Generic (class_id: 7), 26

Program Entries, 71 proprietary, 10 Protocol related Interface Classes, 49 PSTN, 50, 52, 53, 60, 61, 62, 63, 64 PSTN Auto Answer, 52, 64 PSTN Auto Dial, 53, 63

quadrant, 86 Rate, 90 Ratios, 71 RCR, 71

Reactive, 84, 85, 93 readout, 29, 62, 66 Referenced Documents, 8 Referencing COSEM objects, using SN, 56 Register, 11, 18, 19, 21, 22, 23, 24, 25, 45, 46,

57, 60, 62, 70, 82 Register Activation, 24 Register Monitor, 45

Removal of Interface Classes, 49 Reserved base_names, 61 Revision History, 9

SAP Assignment, 45 SAP Assignment Object, 67 Schedule, 33, 36, 37, 47, 48, 58, 60, 62, 65

script, 32, 33, 35, 38, 46, 48, 60, 62, 64

Script Table, 32, 64 secret, 17, 39, 41, 42, 43, 44, 45, 59, 78 selective access, 12, 27, 28, 39, 42, 43, 47 server model, 8, 15 Simple data types, 13 Single Action, 47, 48, 60, 62, 65 Single Action Schedule, 47, 65 Special Days, 33, 36, 37, 59, 62, 64

Standard Readout Profile, 66 Status of standardisation, 6 Table of Contents, 3 Terms, Definitions and Abbreviations, 9

Threshold Values, 71 Time, 9, 13, 86, 87, 92, 93, 94 Time Changes, 35

time setting, 35 Time switch, 71 Total, 90, 92

Utility Tables, 46, 60, 63, 67, 68 Value group A, 83 Value Group A, 75, 82, 91, 96

Value group C, 84, 96 Value Group C, 82, 83, 84, 91 Value group D, 86, 88 Value Group D, 64, 65, 70, 82, 86, 88, 91 Value group E, 90, 91 Value Group E, 63, 65, 82, 88, 89

Value Group F, 70, 82, 91, 96, 97

Voltage, 84, 85, 93, 95 Water, 82, 83

DLMS User Association DLMS UA 1000-1 ed.5 101/101

© Copyright 1997-2002 DLMS User Association