BS EN 62056-6-2:2016:2017 Edition
$215.11
Electricity metering data exchange. The DLMS/COSEM suite – COSEM interface classes
Published By | Publication Date | Number of Pages |
BSI | 2017 | 316 |
This part of IEC 62056 specifies a model of a meter as it is seen through its communication interface(s). Generic building blocks are defined using object-oriented methods, in the form of interface classes to model meters from simple up to very complex functionality.
Annexes A to F (informative) provide additional information related to some interface classes.
PDF Catalog
PDF Pages | PDF Title |
---|---|
9 | English CONTENTS |
16 | FOREWORD |
19 | INTRODUCTION |
21 | 1 Scope 2 Normative references |
23 | 3 Terms, definitions and abbreviations 3.1 Terms and definitions related to the Image transfer process (see 5.3.6) |
24 | 3.2 Terms and definitions related to the S-FSK PLC setup classes (see 5.8) Figures Figure 1 – Meaning of the definitions concerning the Image |
25 | 3.3 Terms and definitions related to the PRIME NB OFDM PLC setup ICs (see 5.10) |
27 | 3.4 Terms and definitions related to ZigBee® (see 5.12) |
29 | 3.5 Abbreviations |
33 | 4 Basic principles 4.1 General Figure 2 – An interface class and its instances |
34 | 4.2 Referencing methods 4.3 Reserved base_names for special COSEM objects 4.4 Class description notation Tables Table 1 – Reserved base_names for SN referencing |
37 | 4.5 Common data types Table 2 – Common data types |
38 | 4.6 Data formats 4.6.1 Date and time formats |
40 | 4.6.2 Floating point number formats |
42 | 4.7 The COSEM server model Figure 3 – The COSEM server model |
43 | 4.8 The COSEM logical device 4.8.1 General 4.8.2 COSEM logical device name (LDN) 4.8.3 The “association view” of the logical device Figure 4 – Combined metering device |
44 | 4.8.4 Mandatory contents of a COSEM logical device 4.8.5 Management logical device 4.9 Information security |
45 | 5 The COSEM interface classes 5.1 Overview Figure 5 – Overview of the interface classes – Part 1 |
46 | Figure 6 – Overview of the interface classes – Part 2 |
47 | Table 3 – List of interface classes by class_id |
49 | 5.2 Interface classes for parameters and measurement data 5.2.1 Data (class_id = 1, version = 0) 5.2.2 Register (class_id = 3, version = 0) |
51 | Table 4 – Enumerated values for physical units |
53 | 5.2.3 Extended register (class_id = 4, version = 0) Table 5 – Examples for scaler_unit |
54 | 5.2.4 Demand register (class_id = 5, version = 0) Figure 7 – The time attributes when measuring sliding demand Figure 8 – The attributes in the case of block demand |
55 | Figure 9 – The attributes in the case of sliding demand (number of periods = 3) |
57 | 5.2.5 Register activation (class_id = 6, version = 0) |
59 | 5.2.6 Profile generic (class_id = 7, version = 1) |
64 | 5.2.7 Utility tables (class_id = 26, version = 0) |
65 | 5.2.8 Register table (class_id = 61, version = 0) |
67 | 5.2.9 Status mapping (class_id = 63, version = 0) |
68 | 5.3 Interface classes for access control and management 5.3.1 Overview 5.3.2 Client user identification |
69 | 5.3.3 Association SN (class_id = 12, version = 3) |
73 | 5.3.4 Association LN (class_id = 15, version = 2) |
79 | 5.3.5 SAP assignment (class_id = 17, version = 0) 5.3.6 Image transfer |
85 | Figure 10 – Image transfer process flow chart |
86 | 5.3.7 Security setup (class_id = 64, version = 0) |
88 | 5.3.8 Push interface classes and objects |
89 | Figure 11 – COSEM model of push operation |
90 | Figure 12 – Push windows and delays |
94 | 5.4 Interface classes for time- and event bound control 5.4.1 Clock (class_id = 8, version = 0) Table 6 – Encoding of selective access parameters with data_index |
95 | Figure 13 – The generalized time concept |
97 | 5.4.2 Script table (class_id = 9, version = 0) |
98 | 5.4.3 Schedule (class_id = 10, version = 0) Table 7 – Schedule |
99 | Table 8 – Special days table |
101 | 5.4.4 Special days table (class_id = 11, version = 0) |
102 | 5.4.5 Activity calendar (class_id = 20, version = 0) |
105 | 5.4.6 Register monitor (class_id = 21, version = 0) |
107 | 5.4.7 Single action schedule (class_id = 22, version = 0) |
108 | 5.4.8 Disconnect control (class_id = 70, version = 0) Figure 14 – State diagram of the Disconnect control IC |
109 | Table 9 – Disconnect control IC – states and state transitions |
110 | 5.4.9 Limiter (class_id = 71, version = 0) |
113 | 5.4.10 Parameter monitor (class_id = 65, version = 0) |
114 | 5.4.11 Sensor manager interface class |
117 | Figure 15 – Definition of upper and lower thresholds |
118 | 5.5 Interface classes for setting up data exchange via local ports and modems 5.5.1 IEC local port setup (class_id = 19, version = 1) Table 10 – Explicit presentation of threshold value arrays Table 11 – Explicit presentation of action_sets |
119 | 5.5.2 IEC HDLC setup (class_id = 23, version = 1) |
121 | 5.5.3 IEC twisted pair (1) setup (class_id = 24, version = 1) |
123 | Table 12 – ADS address elements Table 13 – Fatal error register |
124 | 5.5.4 Modem configuration (class_id = 27, version = 1) |
125 | 5.5.5 Auto answer (class_id = 28, version = 2) |
128 | 5.5.6 Auto connect (class_id = 29, version = 2) |
130 | 5.5.7 GPRS modem setup (class_id = 45, version = 0) |
131 | 5.5.8 GSM diagnostic (class_id = 47, version = 0) |
133 | 5.6 Interface classes for setting up data exchange via M-Bus 5.6.1 M-Bus slave port setup (class_id = 25, version = 0) |
134 | 5.6.2 M-Bus client (class_id = 72, version = 1) |
139 | 5.6.3 Wireless Mode Q channel (class_id = 73, version = 1) |
140 | 5.6.4 M-Bus master port setup (class_id = 74, version = 0) 5.7 Interface classes for setting up data exchange over the Internet 5.7.1 TCP-UDP setup (class_id = 41, version = 0) |
141 | 5.7.2 IPv4 setup (class_id = 42, version = 0) |
144 | 5.7.3 IPv6 setup (class_id = 48, version = 0) |
147 | 5.7.4 MAC address setup (class_id = 43, version = 0) |
148 | 5.7.5 PPP setup (class_id = 44, version = 0) |
152 | 5.7.6 SMTP setup (class_id = 46, version = 0) |
153 | 5.8 Interface classes for setting up data exchange using S-FSK PLC 5.8.1 General 5.8.2 Overview |
154 | Figure 16 – Object model of DLMS/COSEM servers |
155 | Table 14 – Mapping IEC 61334-4-512:2001 MIB variables to COSEM IC attributes / methods |
156 | 5.8.3 S-FSK Phy&MAC set-up (class_id = 50, version = 1) |
160 | 5.8.4 S-FSK Active initiator (class_id = 51, version = 0) Table 15 – MAC addresses in the S-FSK profile |
162 | 5.8.5 S-FSK MAC synchronization timeouts (class_id = 52, version = 0) |
164 | 5.8.6 S-FSK MAC counters (class_id = 53, version = 0) |
167 | 5.8.7 IEC 61334-4-32 LLC setup (class_id = 55, version = 1) |
168 | 5.8.8 -FSK Reporting system list (class_id = 56, version = 0) |
169 | 5.9 Interface classes for setting up the LLC layer for ISO/IEC 8802-2 5.9.1 General 5.9.2 ISO/IEC 8802-2 LLC Type 1 setup (class_id = 57, version = 0) |
170 | 5.9.3 ISO/IEC 8802-2 LLC Type 2 setup (class_id = 58, version = 0) |
171 | 5.9.4 ISO/IEC 8802-2 LLC Type 3 setup (class_id = 59, version = 0) |
173 | 5.10 Interface classes for setting up and managing DLMS/COSEM narrowband OFDM PLC profile for PRIME networks 5.10.1 Overview Figure 17 – Object model of DLMS/COSEM servers |
174 | 5.10.2 Mapping of PRIME NB OFDM PLC PIB attributes to COSEM IC attributes Table 16 – Mapping of PRIME NB OFDM PLC PIB attributes to COSEM IC attributes |
176 | 5.10.3 61334-4-32 LLC SSCS setup (class_id = 80, version = 0) |
177 | 5.10.4 PRIME NB OFDM PLC Physical layer parameters 5.10.5 PRIME NB OFDM PLC Physical layer counters (class_id = 81, version = 0) |
178 | 5.10.6 PRIME NB OFDM PLC MAC setup (class_id = 82, version = 0) |
179 | 5.10.7 PRIME NB OFDM PLC MAC functional parameters (class_id = 83 version = 0) |
181 | 5.10.8 PRIME NB OFDM PLC MAC counters (class_id = 84, version = 0) |
182 | 5.10.9 PRIME NB OFDM PLC MAC network administration data (class_id = 85, version = 0) |
184 | 5.10.10 PRIME NB OFDM PLC MAC address setup (class_id = 43, version = 0) 5.10.11 PRIME NB OFDM PLC Application identification (class_id = 86, version = 0) |
185 | 5.11 Interface classes for setting up and managing the DLMS/COSEM narrowband OFDM PLC profile for G3-PLC networks 5.11.1 Overview |
186 | 5.11.2 Mapping of G3-PLC PIB attributes to COSEM IC attributes Table 17 – Mapping of G3-PLC IB attributes to COSEM IC attributes |
187 | 5.11.3 G3-PLC MAC layer counters (class_id = 90, version = 1) |
188 | 5.11.4 G3-PLC MAC setup (class_id = 91, version = 1) |
194 | 5.11.5 G3-PLC 6LoWPAN adaptation layer setup (class_id = 92, version = 1) |
199 | 5.12 ZigBee® setup classes 5.12.1 Overview |
200 | Figure 18 – Example of a ZigBee® network |
201 | 5.12.2 ZigBee® SAS startup (class_id = 101, version = 0) Table 18 – Use of ZigBee® setup COSEM interface classes |
203 | 5.12.3 ZigBee® SAS join (class_id = 102, version = 0) |
204 | 5.12.4 ZigBee® SAS APS fragmentation (class_id = 103, version = 0) |
205 | 5.12.5 ZigBee® network control (class_id = 104, version = 0) |
211 | 5.12.6 ZigBee® tunnel setup (class_id = 105, version = 0) |
212 | 5.13 Maintenance of the interface classes 5.13.1 New versions of interface classes 5.13.2 New interface classes 5.13.3 Removal of interface classes |
213 | 6 Relation to OBIS 6.1 General 6.2 Abstract COSEM objects 6.2.1 Use of value group C |
214 | 6.2.2 Data of historical billing periods Table 19 – Use of value group C for abstract objects in the COSEM context |
215 | Figure 19 – Data of historical billing periods – example with module 12, VZ = 5 |
216 | 6.2.3 Billing period values / reset counter entries 6.2.4 Other abstract general purpose OBIS codes |
217 | 6.2.5 Clock objects (class_id = 8) 6.2.6 Modem configuration and related objects 6.2.7 Script table objects (class_id = 9) |
218 | 6.2.8 Special days table objects (class_id = 11) 6.2.9 Schedule objects (class_id = 10) 6.2.10 Activity calendar objects (class_id = 20) |
219 | 6.2.11 Register activation objects (class_id = 6) 6.2.12 Single action schedule objects (class_id = 22) 6.2.13 Register monitor objects (class_id = 21) 6.2.14 Parameter monitor objects (class_id = 65) 6.2.15 Limiter objects (class_id = 71) |
220 | 6.2.16 IEC local port setup objects (class_id = 19) 6.2.17 Standard readout profile objects (class_id = 7) 6.2.18 IEC HDLC setup objects (class_id = 23) 6.2.19 IEC twisted pair (1) setup objects (class_id =24) |
221 | 6.2.20 Objects related to data exchange over M-Bus |
222 | 6.2.21 Objects to set up data exchange over the Internet |
223 | 6.2.22 Objects for setting up data exchange using S-FSK PLC 6.2.23 Objects for setting up the ISO/IEC 8802-2 LLC layer |
224 | 6.2.24 Objects for data exchange using narrowband OFDM PLC for PRIME networks |
225 | 6.2.25 Objects for data exchange using narrow-band OFDM PLC for G3-PLC networks 6.2.26 ZigBee® setup objects 6.2.27 Association objects (class_id = 12, 15) 6.2.28 SAP assignment object (class_id = 17) |
226 | 6.2.29 COSEM logical device name object 6.2.30 Information security related objects 6.2.31 Image transfer objects (class_id = 18) 6.2.32 Utility table objects (class_id = 26) |
227 | 6.2.33 Device ID objects 6.2.34 Metering point ID objects |
228 | 6.2.35 Parameter changes and calibration objects 6.2.36 I/O control signal objects 6.2.37 Disconnect control objects (class_id = 70) 6.2.38 Status of internal control signals objects |
229 | 6.2.39 Internal operating status objects 6.2.40 Battery entries objects 6.2.41 Power failure monitoring objects |
230 | 6.2.42 Operating time objects 6.2.43 Environment related parameters objects 6.2.44 Status register objects |
231 | 6.2.45 Event code objects 6.2.46 Communication port log parameter objects 6.2.47 Consumer message objects 6.2.48 Currently active tariff objects 6.2.49 Event counter objects |
232 | 6.2.50 Meter tamper event related objects 6.2.51 Error register objects |
233 | 6.2.52 Alarm register, Alarm filter and Alarm descriptor objects 6.2.53 General list objects |
234 | 6.2.54 Event log objects 6.2.55 Inactive objects 6.3 Electricity related COSEM objects 6.3.1 Value group D definitions 6.3.2 Electricity ID numbers Table 20 – Representation of various values by appropriate ICs |
235 | 6.3.3 Billing period values / reset counter entries 6.3.4 Other electricity related general purpose objects |
236 | 6.3.5 Measurement algorithm |
237 | Table 21 – Measuring algorithms – enumerated values |
238 | 6.3.6 Metering point ID (electricity related) 6.3.7 Electricity related status objects 6.3.8 List objects – Electricity (class_id = 7) |
239 | 6.3.9 Threshold values 6.3.10 Register monitor objects (class_id = 21) Table 22 – Threshold objects, electricity |
240 | 6.4 Coding of OBIS identifications Table 23 – Register monitor objects, electricity |
241 | 7 Previous versions of interface classes 7.1 General 7.2 Profile generic (class_id = 7, version = 0) |
244 | 7.3 Association SN (class_id = 12, version = 0) |
246 | 7.4 Association SN (class_id = 12, version = 1) |
249 | 7.5 Association SN (class_id = 12, version = 2) |
252 | 7.6 Association LN (class_id = 15, version = 0) |
257 | 7.7 Association LN (class_id = 15, version = 1) |
262 | 7.8 IEC local port setup (class_id = 19, version = 0) |
263 | 7.9 IEC HDLC setup, (class_id = 23, version = 0) |
265 | 7.10 IEC twisted pair (1) setup (class_id = 24, version = 0) |
266 | 7.11 PSTN modem configuration (class_id = 27, version = 0) |
268 | 7.12 Auto answer (class_id = 28, version = 0) |
269 | 7.13 PSTN auto dial (class_id = 29, version = 0) |
270 | 7.14 Auto connect (class_id = 29, version = 1) |
272 | 7.15 S-FSK Phy&MAC setup (class_id = 50, version = 0) |
275 | 7.16 S-FSK IEC 61334-4-32 LLC setup (class_id = 55, version = 0) |
276 | 7.17 M-Bus client (class_id = 72, version = 0) |
281 | 7.18 G3 NB OFDM PLC MAC layer counters (class_id = 90, version = 0) |
282 | 7.19 G3 NB OFDM PLC MAC setup (class_id = 91, version = 0) |
286 | 7.20 G3 NB OFDM PLC 6LoWPAN adaptation layer setup (class_id = 92, version = 0) |
292 | Annexes Annex A (informative) Additional information on Auto answer and Auto connect ICs Figure A.1 – Network connectivity example for a GSM/GPRS network |
294 | Annex B (informative) Additional information to M-Bus client (class_id = 72, version 1) Figure B.1 – Encryption key status diagram |
295 | Table B.1 – Encryption key is preset in the slave and cannot be changed Table B.2 – Encryption key is preset in the slave and new key is set after installation Table B.3 – Encryption key is not preset in the slave, but can be set, case a) Table B.4 – Encryption key is not preset in the slave, but can be set, case b) |
296 | Annex C (informative) Additional information on IPv6 setup class (class_id = 48, version = 0) C.1 General C.2 IPv6 addressing |
297 | Figure C.1 – IPv6 address formats |
298 | C.3 IPv6 header format Figure C.2 – IPv6 header format Figure C.3 – Traffic class parameter format |
299 | C.4 IPv6 header extensions C.4.1 Overview Table C.1 – IPv6 header vs. IPv6 IC Table C.2 – Optional IPv6 header extensions vs. IPv6 IC |
300 | C.4.2 Hop-by-Hop options C.4.3 Destination options C.4.4 Routing options C.4.5 Fragment options |
301 | C.4.6 Security options |
302 | Annex D (informative) Overview of the narrow-band OFDM PLC technology for PRIME networks |
303 | Annex E (informative) Overview of the narrow-band OFDM PLC technology for G3-PLC networks |
304 | Annex F (informative) Significant technical changes with respect to IEC 62056-6-2:2013 |
306 | Bibliography |
308 | Index |