IEC 62056 6 2 Edition 2 0 201 6 02 INTERNATIONAL STANDARD NORME INTERNATIONALE Electricity metering data exchange – The DLMS/COSEM suite – Part 6 2 COSEM interface classes Échange des données de compt[.]
Trang 1Elect ricit y met ering dat a ex change – The DLMS/COSEM suit e –
Part 6- 2: COSEM inter ace classes
Trang 2THIS PUBLICATION IS COPYRIGHT PROT CTED
Copyr ight © 2 15 IEC, Ge e a, Switzer la d
Al r i hts r es r ve Unle s oth r wis s e ifi d, n p r t of this p blc tio ma b r epr od c d or uti z d in a y for m
or b a y me n ,ele tr onic or me h nic l in lu in p oto o yin a d microfim, with ut p r mis io in wr itin fr om
eith r IEC or IEC's memb r Natio al Commite in th c u tr y of th r eq e ter If y u h v a y q e tio s a o t IEC
c p r i ht or h v a e q iry a o t o tainin a ditio al r i hts to this p blc tio , ple s c nta t th a dr es b low or
y ur lo al IEC memb r Natio al Commite for f ur th r infor matio
Droits d r epro u tio r és r vé Sa f in ic tio c ntrair e, a c n p r tie d c te p blc tio n p ut êtr e r epro uite
ni uti s e s u q elq e forme q e c s it et p r a c n pr oc d , éle tr oniq e o mé a iq e, y c mp s la p oto o ie
et le micr ofims, s n la c r d é r it d l EC o d Comité n tio al d l EC d p y d d ma d ur Si v u a e d s
q e tio s s r le c p r i ht d l EC o si v u d sire o te ir d s dr oits s p léme tair es s r c te p blc tio , uti s z
le c or do n e ci-a r ès o c nta te le Comité n tio al d l EC d v tr e p y d ré id n e
Th Inter natio al Ele tr ote h ic l Commis io (IEC) is th le din glo al or ga iz tio th t pr ep r es a d p bls e
Intern tio al Sta d r ds for al ele tr i al ele tr onic a d relate te h olo ie
A bout IEC publc tio s
Th te h ic l c nte t of IEC p blc tio s is k pt u d r c n ta t r eview b th IEC Ple s ma e s r e th t y u h v th
late t e itio , a c r r ig n a or a ame dme t mig t h v b e p bls e
IEC Catalo u - webstore.e ch/cat alo u
Th st an -alo e a plc at io for c on ult in t he e t ire
biblo ra hic al informat io o IEC Int ern tio al St an ard ,
Te h ic al Sp cific at io s, Tec hnic al R ep rt s a d ot her
d c ume t s A v aia le for PC, Ma OS, A ndroid Ta let s a d
iPa
IEC publc t io s s arch - w w w.e ch/s arch ub
Th a v anc ed s arc h e a le t o fin IEC p blc t io s b a
v riety of c riteria (efere c e n mb r, text, t ec hnic l
c mmit t ee,…) It als giv es informat io o projec t s, re lac ed
Ele tro edia - www.ele tro edia.org
Th world's le din o ln dict io ary of elec t ro ic a d
elec t ric l t erms c ont ainin more t ha 3 0 0 t erms a d
d finit io s in En ls a d Fre c , wit h e uiv le t t erms in 15
a dit io al la g a e Als k now n a t he Int ern t io al
Ele t rot ec hnic al V oc b lary (IEV ) o ln
IEC Glos ar y - st d.e ch/glos ary
More t ha 6 0 0 elec t rotec nic l t ermin lo y e t rie in
En ls a d Fre c extra t ed fom t he Terms a d Definit io s
cla s of IEC p blc t io s is u d sinc e 2 0 Some e trie
h v b e c ole t ed fom e rler p blc t io s of IEC TC 3 ,
7 ,8 a d CIS R
IEC Cu t omer Servic Centre - webst ore.e ch/cs
If y ou wis t o giv u your fe d ac k o t his p blc t io or
n e furt her a sist anc e,ple s c ont ac t the Cu t omer Serv ic e
Ce t re: c sc@ie c h
A pro os de l'IEC
L Commis io Ele trote h iq e Inter natio ale (IEC) e t la pr emièr e org nis tio mo diale q i éla ore et p ble d s
Nor me intern tio ale p ur to t c q i a tr ait à léle tr i ité, à léle tr oniq e et a x te h olo ie a p r enté s
A pro os de publc t io s IEC
L c nte u te h iq e d s p blc tio s IEC e t c n tamme t r ev Ve i e v u a s r er q e v u p s é e lé itio la
plu ré e te, u c r r ig n um o ame d me t p ut a oir été p blé
Cat alo u IEC - webstore.e ch/cat alo u
A pplc t io a t on me p ur c n ult er tou le re s ig eme t s
biblo ra hiq e s r le Norme intern t io ale ,
Sp cific t io s t ec niq e , R ap ort s t ec hniq e et a t re
d c ume t s d l EC Dis o ible p ur PC, Ma OS, t ablett es
A ndroid et iPa
R echerche de publc t io s IEC - w w w.e ch/se rch ub
L rec herc e a a c ée p rmet d t ro v r d s p blc at io s IEC
e ut ils nt difére t s crit ère (n méro d référen e, t ex t e,
c mit é d’ét ud s,…) Ele d n e a s i d s informat io s s r le
projet s et le p blc t io s remplac ée o ret iré s
IEC J st Publshed - webstore.e ch/j stpublshed
R est ez informé s r le n uv ele p blc at io s IEC Ju t
Pu ls e d t ai e le n u ele p blc tio s p ru s
Dis o ible e lg e et a s i u e fois p r mois p r emai
Ele tro edia - www.ele tro edia.org
L premier dic t io n ire e lg e d t erme éle tro iq e et
élec t riq e I c ont ie t plu d 3 0 0 terme et d finit io s e
a glais et e fa ç is, ain i q e le t erme é uiv ale ts d n
15 la g e a dit io n le Eg leme t a p lé V oc b laire
Ele t rot ec hniq e Int ern tio al (IEV ) e lg e
Glos aire IEC - st d.e ch/glos ary
Plu d 6 0 0 e t ré s termin lo iq e éle t rot ec hniq e ,e
a glais et e fa ç is, extrait es d s art icle Terme et
Définit io s d s p blc t io s IEC p ru s d p is 2 0 Plu
c rt ain s e t ré s a t érie re e t rait es d s p blc t io s d s
CE 3 ,7 ,8 et CIS R d l EC
Servic Clent s - webstore.e ch/cs
Si v u d sire n u d n er d s c mme t aire s r c t t e
p blc at io o si v u a e d s q e t io s c nt act ez-n u :
c c@ie c
Trang 3Electricit y metering dat a ex change – The DLMS/COSEM suit e –
Part 6- 2: COSEM int er ace classes
Échange des données de compt age de l'électricit é – La suite DLMS/COSEM –
Trang 4CONTENTS
FOREWORD 9
INTRODUCTION 12 1 Sco e 14 2 Normative ref eren es 14 3 Terms, def i ition an a breviation 16 3.1 Terms an def i ition related to the Image tran fer proces (se 5.3.6) 16 3.2 Terms an def i ition related to the S-FSK PLC setup clas es (se 5.8) 17 3.3 Terms an def i ition related to the PRIME NB OFDM PLC setup ICs (se 5.10) 18 3.4 Terms an def i ition related to ZigBe ® (se 5.12) 20 3.5 Ab reviation 2
4 Basic prin iples 2
4.1 General 2
4.2 Ref eren in method 2
4.3 Reserved b se_names for sp cial COSEM o jects 27 4.4 Clas des ription notation 2
4.5 Common data typ s 3
4.6 Data f ormats 31
4.6.1 Date an time formats 31
4.6.2 Flo tin p int n mb r f ormats 3
4.7 The COSEM server model 3
4.8 The COSEM logical device 3
4.8.1 General 3
4.8.2 COSEM logical device name (LDN) 3
4.8.3 The “as ociation view” of the logical device 3
4.8.4 Man atory contents of a COSEM logical device 3
4.8.5 Management logical device 3
4.9 Inf ormation sec rity 3
5 The COSEM interf ace clas es 3
5.1 Overview 3
5.2 Interface clas es f or p rameters an me s rement data 42 5.2.1 Data (clas _id = 1, version = 0) 4
5.2.2 Register (clas _id = 3, version = 0) 4
5.2.3 Exten ed register (clas _id = 4, version = 0) 46 5.2.4 Deman register (clas _id = 5, version = 0) 4
5.2.5 Register activation (clas _id = 6, version = 0) 5
5.2.6 Prof ile generic (clas _id = 7, version = 1) 5
5.2.7 Uti ty ta les (clas _id = 2 , version = 0) 5
5.2.8 Register ta le (clas _id = 61, version = 0) 5
5.2.9 Statu ma pin (clas _id = 6 , version = 0) 6
5.3 Interface clas es f or ac es control an management 61
5.3.1 Overview 61
5.3.2 Cl ent u er identifi ation 61
5.3.3 As ociation SN (clas _id = 12, version = 3) 6
5.3.4 As ociation LN (clas _id = 15, version = 2) 6
5.3.5 SAP as ig ment (clas _id = 17, version = 0) 72
Trang 55.3.6 Image tran fer 7
5.3.7 Sec rity setup (clas _id = 6 , version = 0) 7
5.3.8 Pu h interf ace clas es an o jects 81
5.4 Interface clas es f or time- an event b u d control 8
5.4.1 Cloc (clas _id = 8, version = 0) 8
5.4.2 Script ta le (clas _id = 9, version = 0) 9
5.4.3 Sc ed le (clas _id = 10, version = 0) 91
5.4.4 Sp cial day ta le (clas _id = 1 , version = 0) 9
5.4.5 Activity calen ar (clas _id = 2 , version = 0) 9
5.4.6 Register monitor (clas _id = 21, version = 0) 9
5.4.7 Sin le action s hed le (clas _id = 2 , version = 0) 10
5.4.8 Dis on ect control (clas _id = 7 , version = 0) 101
5.4.9 Limiter (clas _id = 71, version = 0) 10
5.4.10 Parameter monitor (clas _id = 6 , version = 0) 10
5.4.1 Sen or manager interface clas 10
5.5 Interface clas es f or set in up data ex han e via local p rts an modems 1 1
5.5.1 IEC local p rt setup (clas _id = 19, version = 1) 1 1
5.5.2 IEC HDLC setup (clas _id = 2 , version = 1) 1 2
5.5.3 IEC twisted p ir (1) setup (clas _id = 2 , version = 1) 1 4
5.5.4 Modem con g ration (clas _id = 2 , version = 1) 1 7
5.5.5 Auto an wer (clas _id = 2 , version = 2) 1 8
5.5.6 Auto con ect (clas _id = 2 , version = 2) 121
5.5.7 GPRS modem setup (clas _id = 4 , version = 0) 12
5.5.8 GSM diag ostic (clas _id = 4 , version = 0) 12
5.6 Interface clas es f or set in up data ex han e via M-Bu 12
5.6.1 M-Bu slave p rt setup (clas _id = 2 , version = 0) 12
5.6.2 M-Bu cl ent (clas _id = 7 , version = 1) 12
5.6.3 Wireles Mode Q c an el (clas _id = 7 , version = 1) 13
5.6.4 M-Bu master p rt setup (clas _id = 7 , version = 0) 13
5.7 Interface clas es f or set in up data ex han e over the Internet 13
5.7.1 TCP-UDP setup (clas _id = 41, version = 0) 13
5.7.2 IPv4 setup (clas _id = 4 , version = 0) 13
5.7.3 IPv6 setup (clas _id = 4 , version = 0) 13
5.7.4 MAC ad res setup (clas _id = 4 , version = 0) 14
5.7.5 PPP setup (clas _id = 4 , version = 0) 141
5.7.6 SMTP setup (clas _id = 4 , version = 0) 14
5.8 Interface clas es f or set in up data ex han e u in S-FSK PLC 14
5.8.1 General 14
5.8.2 Overview 14
5.8.3 S-FSK Ph &MAC set-up (clas _id = 5 , version = 1) 14
5.8.4 S-FSK Active initiator (clas _id = 51, version = 0) 15
5.8.5 S-FSK MAC s n hronization time uts (clas _id = 5 , version = 0) 15
5.8.6 S-FSK MAC cou ters (clas _id = 5 , version = 0) 15
5.8.7 IEC 613 4-4-3 L C setup (clas _id = 5 , version = 1) 16
Trang 65.9.4 ISO/IEC 8 0 -2 L C Typ 3 setup (clas _id = 5 , version = 0) 16
5.10 Interface clas es f or set in up an managin DLMS/COSEM nar owb n
OFDM PLC prof ile f or PRIME network 16
5.10.1 Overview 16
5.10.2 Ma pin of PRIME NB OFDM PLC PIB at ributes to COSEM IC
atributes 16
5.10.3 613 4-4-3 L C SSCS setup (clas _id = 8 , version = 0) 16
5.10.4 PRIME NB OFDM PLC Ph sical layer p rameters 17
5.10.5 PRIME NB OFDM PLC Ph sical layer cou ters (clas _id = 81, version =
0) 17
5.10.6 PRIME NB OFDM PLC MAC setup (clas _id = 8 , version = 0) 171
5.10.7 PRIME NB OFDM PLC MAC f un tional p rameters (clas _id = 8
version = 0) 17
5.10.8 PRIME NB OFDM PLC MAC cou ters (clas _id = 8 , version = 0) 17
5.10.9 PRIME NB OFDM PLC MAC network administration data (clas _id = 8 ,
version = 0) 17
5.10.10 PRIME NB OFDM PLC MAC ad res setup (clas _id = 4 , version = 0) 17
5.10.1 PRIME NB OFDM PLC Ap l cation identifi ation (clas _id = 86, version
= 0) 17
5.1 Interface clas es f or set in up an managin the DLMS/COSEM
nar owb n OFDM PLC prof ile for G3-PLC network 17
5.1 1 Overview 17
5.1 2 Ma pin of G3-PLC PIB atributes to COSEM IC at ributes 17
5.1 3 G3-PLC MAC layer cou ters (clas _id = 9 , version = 1) 18
5.12.4 ZigBe ® SAS APS fragmentation (clas _id = 10 , version = 0) 19
5.12.5 ZigBe ® network control (clas _id = 10 , version = 0) 19
5.12.6 ZigBe ® tu nel setup (clas _id = 10 , version = 0) 2 4
6.2.1 Use of value group C 2 6
6.2.2 Data of historical bi in p riod 2 7
6.2.3 Bi in p riod values / reset cou ter entries 2 9
6.2.4 Other a stract general purp se OBIS codes 2 9
Trang 76.2.1 Register activation o jects (clas _id = 6) 212
6.2.12 Sin le action s hed le o jects (clas _id = 2 ) 212
6.2.13 Register monitor o jects (clas _id = 21) 212
6.2.14 Parameter monitor o jects (clas _id = 6 ) 212
6.2.15 Limiter o jects (clas _id = 71) 212
6.2.16 IEC local p rt setup o jects (clas _id = 19) 213
6.2.17 Stan ard re dout prof ile o jects (clas _id = 7) 213
6.2.18 IEC HDLC setup o jects (clas _id = 2 ) 213
6.2.19 IEC twisted p ir (1) setup o jects (clas _id =2 ) 213
6.2.2 Objects related to data ex han e over M-Bu 214
6.2.21 Objects to set up data ex han e over the Internet 215
6.2.2 Objects for setin up data ex han e u in S-FSK PLC 216
6.2.2 Objects for setin up the ISO/IEC 8 0 -2 L C layer 216
6.2.2 Objects for data ex han e u in nar owb n OFDM PLC for PRIME
6.2.2 SAP as ig ment o ject (clas _id = 17) 218
6.2.2 COSEM logical device name o ject 219
6.2.3 Inf ormation sec rity related o jects 219
6.2.31 Image tran fer o jects (clas _id = 18) 219
6.2.3 Uti ty ta le o jects (clas _id = 2 ) 219
6.2.3 Device ID o jects 2 0
6.2.3 Meterin p int ID o jects 2 0
6.2.3 Parameter c an es an cal bration o jects 2 1
6.2.3 I/O control sig al o jects 2 1
6.2.3 Dis on ect control o jects (clas _id = 7 ) 2 1
6.2.3 Statu of internal control sig als o jects 2 1
6.2.3 Internal o eratin statu o jects 2 2
6.2.4 Bat ery entries o jects 2 2
6.2.41 Power f ai ure monitorin o jects 2 2
6.2.4 Op ratin time o jects 2 3
6.2.4 En ironment related p rameters o jects 2 3
6.2.4 Statu register o jects 2 3
6.2.4 Event code o jects 2 4
6.2.4 Commu ication p rt log p rameter o jects 2 4
6.2.4 Con umer mes age o jects 2 4
6.2.4 Cur ently active tarif f o jects 2 4
6.2.4 Event cou ter o jects 2 4
6.2.5 Meter tamp r event related o jects 2 5
6.2.51 Er or register o jects 2 5
6.2.5 Alarm register, Alarm f ilter an Alarm des riptor o jects 2 6
6.2.5 General l st objects 2 6
Trang 86.3.2 Electricity ID n mb rs 2 7
6.3.3 Bi in p riod values / reset cou ter entries 2 8
6.3.4 Other electricity related general purp se o jects 2 8
6.3.5 Me s rement algorithm 2 9
6.3.6 Meterin p int ID (electricity related) 2 1
6.3.7 Electricity related statu o jects 2 1
6.3.8 List o jects – Electricity (clas _id = 7) 2 1
6.3.9 Thres old values 2 2
6.3.10 Register monitor o jects (clas _id = 21) 2 2
7.6 As ociation LN (clas _id = 15, version = 0) 2 5
7.7 As ociation LN (clas _id = 15, version = 1) 2 0
7.8 IEC local p rt setup (clas _id = 19, version = 0) 2 5
7.9 IEC HDLC setup, (clas _id = 2 , version = 0) 2 6
7.10 IEC twisted p ir (1) setup (clas _id = 2 , version = 0) 2 8
7.1 PSTN modem con g ration (clas _id = 2 , version = 0) 2 9
7.12 Auto an wer (clas _id = 2 , version = 0) 2 1
7.13 PSTN auto dial (clas _id = 2 , version = 0) 2 2
7.14 Auto con ect (clas _id = 2 , version = 1) 2 3
7.15 S-FSK Ph &MAC setup (clas _id = 5 , version = 0) 2 5
7.16 S-FSK IEC 613 4-4-3 L C setup (clas _id = 5 , version = 0) 2 8
7.17 M-Bu cl ent (clas _id = 7 , version = 0) 2 9
7.18 G3 NB OFDM PLC MAC layer cou ters (clas _id = 9 , version = 0) 2 4
7.19 G3 NB OFDM PLC MAC setup (clas _id = 91, version = 0) 2 5
7.2 G3 NB OFDM PLC 6 oWPAN ada tation layer setup (clas _id = 9 , version
= 0) 2 9
An ex A (informative) Ad itional information on Auto an wer an Auto con ect ICs 2 5
An ex B (informative) Ad itional information to M-Bu clent (clas _id = 7 , version 1) 2 7
An ex C (informative) Ad itional information on IPv6 setup clas (clas _id = 4 ,
Trang 9An ex E (inf ormative) Overview of the nar ow-b n OFDM PLC tec nolog f or G
3-PLC network 2 6
An ex F (informative) Sig if i ant tec nical c an es with resp ct to IEC 6 0
6-6-2:2 13 2
7 Bibl ogra h 2 9 In ex 3 1 Fig re 1 – Me nin of the def i ition con ernin the Image 1
7 Fig re 2 – An interface clas an its in tan es 2
Fig re 3 – The COSEM server model 3
Fig re 4 – Combined meterin device 3
Fig re 5 – Overview of the interface clas es – Part 1 3
Fig re 6 – Overview of the interface clas es – Part 2 3
Fig re 7 – The time at ributes when me s rin sl din deman 4
Fig re 8 – The atributes in the case of bloc deman 4
Fig re 9 – The atributes in the case of sl din deman (n mb r of p riod = 3) 4
Fig re 10 – Image tran fer proces f low c art 7
Fig re 1 – COSEM model of pu h o eration 8
Fig re 12 – Pu h win ows an delay 8
Fig re 13 – The general zed time con e t 8
Fig re 14 – State diagram of the Dis on ect control IC 101 Fig re 15 – Def i ition of up er an lower thres old 1 0 Fig re 16 – Object model of DLMS/COSEM servers 14 Fig re 17 – Object model of DLMS/COSEM servers 16 Fig re 18 – Example of a ZigBe ® network 19 Fig re 19 – Data of historical bi in p riod – example with mod le 12, VZ = 5 2 8 Fig re A.1 – Network con ectivity example f or a GSM/GPRS network 2 5 Fig re B.1 – En ryption key statu diagram 2 7 Fig re C.1 – IPv6 ad res formats 2 0 Fig re C.2 – IPv6 he der format 2 1 Fig re C.3 – Traf f ic clas p rameter f ormat 2 1 Ta le 1 – Reserved b se_names f or SN ref eren in 2
Ta le 2 – Common data typ s 30 Ta le 3 – List of interf ace clas es by clas _id 4
Ta le 4 – En merated values f or ph sical u its 4
Ta le 5 – Examples f or s aler_u it 46 Ta le 6 – En odin of selective ac es p rameters with data_in ex 8
Ta le 7 – Sc ed le 91
Ta le 8 – Sp cial day ta le 92
Trang 10Ta le 13 – Fatal er or register 1 6
Ta le 14 – Ma pin IEC 613 4-4-512:2 01 MIB varia les to COSEM IC at ributes /
method 14
Ta le 15 – MAC ad res es in the S-FSK prof ile 15
Ta le 16 – Ma pin of PRIME NB OFDM PLC PIB atributes to COSEM IC atributes 16
Ta le 17 – Ma pin of G3-PLC IB at ributes to COSEM IC at ributes 17
Ta le 18 – Use of ZigBe ® setup COSEM interface clas es 19
Ta le 19 – Use of value group C f or a stract o jects in the COSEM context 2 7
Ta le 2 – Re resentation of variou values by a pro riate ICs 2 7
Ta le 21 – Me s rin algorithms – en merated values 2 0
Ta le 2 – Thres old o jects, electricity 2 2
Ta le 2 – Register monitor o jects, electricity 2 3
Ta le B.1 – En ryption key is preset in the slave an can ot b c an ed 2 8
Ta le B.2 – En ryption key is preset in the slave an new key is set af ter in tal ation 2 8
Ta le B.3 – En ryption key is not preset in the slave, but can b set, case a) 2 8
Ta le B.4 – En ryption key is not preset in the slave, but can b set, case b) 2 8
Ta le C.1 – IPv6 he der v IPv6 IC 2 2
Ta le C.2 – Optional IPv6 he der exten ion v IPv6 IC 2 2
Trang 11INTERNATIONAL ELECTROTECHNICAL COMMISSION
1 Th Intern tio al Ele trote h ic l Commis io (IEC) is a worldwid org niz tio for sta d rdiz tio c mprisin
al n tio al ele trote h ic l c mmite s (IEC Natio al Commite s) Th o je t of IEC is to promote
intern tio al c -o eratio o al q e tio s c n ernin sta d rdiz tio in th ele tric l a d ele tro ic f i ld To
this e d a d in a ditio to oth r a tivitie , IEC p bls e Intern tio al Sta d rd , Te h ic l Sp cif i atio s,
Te h ic l Re orts, Pu lcly Av ia le Sp cific tio s (PAS) a d Guid s (h re f ter refere to a “IEC
Pu lc tio (s)”) Th ir pre aratio is e tru te to te h ic l c mmite s; a y IEC Natio al Commite intere te
in th s bje t d alt with ma p rticip te in this pre aratory work Intern tio al g v rnme tal a d n
n-g v rnme tal org niz tio s laisin with th IEC als p rticip te in this pre aratio IEC c la orate clo ely
with th Intern tio al Org niz tio for Sta d rdiz tio (ISO) in a c rd n e with c n itio s d termin d b
a re me t b twe n th two org niz tio s
2) Th formal d cisio s or a re me ts of IEC o te h ic l maters e pre s, a n arly a p s ible, a intern tio al
c n e s s of o inio o th rele a t s bje ts sin e e c te h ic l c mmite h s re re e tatio f rom al
intere te IEC Natio al Commite s
3) IEC Pu lc tio s h v th form of re omme d tio s f or intern tio al u e a d are a c pte b IEC Natio al
Commite s in th t s n e Whie al re s n ble eforts are ma e to e s re th t th te h ic l c nte t of IEC
Pu lc tio s is a c rate, IEC c n ot b h ld re p n ible for th wa in whic th y are u e or f or a y
misinterpretatio b a y e d u er
4) In ord r to promote intern tio al u iformity, IEC Natio al Commite s u d rta e to a ply IEC Pu lc tio s
tra s are tly to th ma imum e te t p s ible in th ir n tio al a d re io al p blc tio s An div rg n e
b twe n a y IEC Pu lc tio a d th c r e p n in n tio al or re io al p blc tio s al b cle rly in ic te in
th later
5) IEC its lf d e n t pro id a y ate tatio of c nformity In e e d nt c rtific tio b die pro id c nformity
a s s me t s rvic s a d, in s me are s, a c s to IEC mark of c nformity IEC is n t re p n ible for a y
s rvic s c rie o t b in e e d nt c rtif i atio b die
6) Al u ers s o ld e s re th t th y h v th late t e itio of this p blc tio
7) No la i ty s al ata h to IEC or its dire tors, emplo e s, s rv nts or a e ts in lu in in ivid al e p rts a d
memb rs of its te h ic l c mmite s a d IEC Natio al Commite s for a y p rs n l injury, pro erty d ma e or
oth r d ma e of a y n ture wh ts e er, wh th r dire t or in ire t, or for c sts (in lu in le al fe s) a d
e p n e arisin o t of th p blc tio , u e of, or rela c u o , this IEC Pu lc tio or a y oth r IEC
Pu lc tio s
8) Ate tio is drawn to th Normativ refere c s cite in this p blc tio Us of th refere c d p blc tio s is
in is e s ble for th c re t a plc tio of this p blc tio
9) Ate tio is drawn to th p s ibi ty th t s me of th eleme ts of this IEC Pu lc tio ma b th s bje t of
p te t rig ts IEC s al n t b h ld re p n ible f or id ntifyin a y or al s c p te t rig ts
The International Electrotec nical Commis ion (IEC) draws atention to the f act that it is
claimed that complan e with this doc ment may in olve the u e of a p tent con ernin the
Image tran fer proced re
The IEC takes no p sition con ernin the eviden e, val dity an s o e of this p tent rig t
The holder of this p tent rig t has as ured the IEC that he/s e is wi in to negotiate lcen es
either f re of c arge or u der re sona le an non-dis riminatory terms an con ition with
a pl cants throu hout the world In this resp ct, the statement of the holder of this p tent
rig t is registered with the IEC Inf ormation may b o tained f rom Itron, In Lib rty L ke,
Trang 12IEC (htp:/p tents.iec.c ) maintain on-l ne data ases of p tents relevant to their stan ard
Users are en ouraged to con ult the data ases f or the most up to date inf ormation
con ernin p tents
The International Electrotec nical Commis ion (IEC) draws atention to the f act that it is
claimed that compl an e with this International Stan ard may in olve the u e of a
maintenan e service con ernin the stac of protocols on whic the present stan ard
IEC 6 0 6-6-2 is b sed
The IEC takes no p sition con erning the eviden e, val dity an s o e of this maintenan e
service
The provider of the maintenan e service has as ured the IEC that he is wi in to provide
services u der re sona le an non-dis riminatory terms an con ition for a pl cants
throu hout the world In this resp ct, the statement of the provider of the maintenan e service
is registered with the IEC Inf ormation may b o tained f rom:
DLMS1
User As ociation
Zu /Switzerlan
www.dlms.com
International Stan ard IEC 6 0 6-6-2 has b en pre ared by IEC tec nical commite 13:
Electrical energ me s rement an control
This secon edition can els an re laces the first edition of IEC 6 0 6-6-2, publ s ed in
2 13 It con titutes a tec nical revision
The sig if i ant tec nical c an es with resp ct to IEC 6 0 6-6-2:2 13 are l sted in An ex F
(inf ormative)
The text of this stan ard is b sed on the fol owin doc ments:
13/16 1A/FDIS 13/16 9/R D
Ful inf ormation on the votin f or the a proval of this stan ard can b f ou d in the re ort on
votin in icated in the a ove ta le
This publcation has b en draf ted in ac ordan e with the ISO/IEC Directives, Part 2
A lst of al the p rts in the IEC 6 0 6 series, publ s ed u der the general title Electricity
metering data ex ch n e – Th DLM S/COSEM s ite, can b fou d on the IEC we site
1
De ic L n u g Me s g Sp cif i atio
Trang 13The commit e has decided that the contents of this publ cation wi remain u c an ed u ti
the sta i ty date in icated on the IEC we site u der "htp:/we store.iec.c " in the data
related to the sp cifi publ cation At this date, the publ cation wi b
• recon rmed,
• with rawn,
• re laced by a revised edition, or
IMPORTANT – Th 'colour in ide' logo on the cov r pa e of this publ c tion indic te
understa ding of its conte ts Us rs s ould therefore print this doc me t usin a
colour printer
Trang 14This secon edition of IEC 6 0 6-6-2 has b en pre ared by IEC TC13 WG14 with a
sig if i ant contribution of the DLMS User As ociation, its D-typ l aison p rtner
This edition is in lne with the DLMS UA Blue Bo k Edition 1 0 The main new f eatures are
the cl ent u er identif i ation mec anism, the “Pu h setup”, the ”Parameter monitor”, the “GSM
diag ostic”, the “IPv6 setup”, the “Prime NB OFDM PLC setup”, the “G3-PLC setup” an the
“ZigBe ® setup”
2
interf ace clas es
In 2 14, the DLMS UA has publs ed Blue Bo k Edition 12.0 ad in several new f eatures
regardin fun tional ty, ef f icien y an sec rity whi e ke pin ful b c ward comp tibi ty
The intention of the DLMS UA is to brin also these latest develo ments to international
stan ardization Therefore, IEC TC13 WG14 lau c ed a project to brin these new elements
also to the IEC 6 0 6 s ite that wi le d to Edition 3.0 of the stan ard
Obje t model ng a d data ide tif ic tion
Driven by the bu ines ne d of the energ market p rticip nts – generaly in a l b ral zed,
comp titive en ironment – an by the desire to manage natural resources ef f iciently an to
in olve the con umers, the uti ty meter b came p rt of an integrated meterin , control an
bi in s stem The meter is not an more a simple data recordin device but it rel es criticaly
on commu ication ca a i ties Ease of s stem integration, intero era i ty an data sec rity
are imp rtant req irements
COSEM, the Comp nion Sp cif i ation f or Energ Meterin , ad res es these c alen es by
lo kin at the uti ty meter as p rt of a complex me s rement an control s stem The meter
has to b a le to con ey me s rement res lts from the meterin p ints to the bu ines
proces es whic u e them It also has to b a le to provide inf ormation to the con umer an
manage con umption an eventual y local generation
COSEM ac ieves this by u in o ject model n tec niq es to model al fun tion of the
meter, without makin an as umption a out whic f un tion ne d to b s p orted, how
those f un tion are implemented an how the data are tran p rted The f ormal sp cif i ation
of COSEM interf ace clas es f orms a major p rt of COSEM
To proces an manage the information it is neces ary to u iq ely identif y al data items in a
man facturer in e en ent way The def i ition of OBIS, the Object Identif i ation Sy tem is
another es ential p rt of COSEM It is b sed on DIN 4 8 3-3:19 7, E l ect ri ci t y met ers –
Part 3: Tarif meterin devic a add itio al e uipme t for electricity meters – EDI S – Energ
Data I dentific tio Sy tem The set of OBIS codes has b en con idera ly exten ed over the
ye rs to me t new ne d
COSEM models the uti ty meter as a server a pl cation – se 4.7 – u ed by cl ent
a pl cation that retrieve data from, provide control information to, an in tigate k own
action within the meter via control ed ac es to the COSEM o jects The clents act as
agents f or third p rties i.e the bu ines proces es of energ market p rticip nts
The stan ardized COSEM interf ace clas es form an exten ible l brary Man facturers u e
elements of this l brary to desig their prod cts that me t a wide variety of eq irements
2 ZigBe ® is a tra emark own d b ZigBe c rp ratio This informatio is giv n f or th c n e ie c of u ers of
this d c me t a d d e n t c n titute a e d rs me t b th IEC of th pro u t n me
Trang 15The server of f ers me n to retrieve the f un tion s p orted, i.e the COSEM o jects
in tantiated The o jects can b organized to logical devices an a plcation as ociation an
to provide sp cif i ac es rig ts to variou clents
The con e t of the stan ardized interf ace clas l brary provides dif f erent u ers an
man facturers with a maximum of diversity whi e en urin intero era i ty
Trang 16ELECTRICITY METERING DATA EXCHANGE –
THE DLMS/COSEM SUITE –
Part 6-2: COSEM interf ace classes
This p rt of IEC 6 0 6 sp cif ies a model of a meter as it is se n throu h its commu ication
interf ace(s) Generic bui din bloc s are def i ed u in o ject-oriented method , in the f orm of
interf ace clas es to model meters from simple up to very complex f un tional ty
An exes A to F (inf ormative) provide ad itional inf ormation related to some interf ace clas es
The f olowin doc ments, in whole or in p rt, are normatively referen ed in this doc ment an
are in isp n a le f or its a pl cation For dated ref eren es, only the edition cited a pl es For
u dated ref eren es, the latest edition of the referen ed doc ment (in lu in an
amen ments) a pl es
IEC 613 4-4-3 :19 6, Distrib tion a tomatio u in distrib tio li e c rier s stems – P art 4:
Data c mmu ic tio proto ols – Se tion 3 : Data link lay r – L gic l li k c ntrol (L C)
IEC 613 4-4-41:19 6, Distrib tio a tomatio u in distrib tio li e c rier s stems – P art 4:
Data c mmu ic tio proto ols – Se tion 41: Ap li atio protoc ls – Distrib tion line me s g
s e ific tio
IEC 613 4-4-51 :2 0 , Distrib tio a tomation u in d istrib tion li e c rier s stems –
P art 4-51 : Data c mmu ic tio protoc ls – Sy tems ma a eme t – CI ASE protoc l
IEC 613 4-4-512:2 01, Distrib tio a tomatio u ing distrib tion li e c rier s stems –
P art 4-512: Data c mmu ic tio protoc ls – Sy tem ma a eme t u ing profile 613 4-5-1 –
Man g me t I nformation Ba e (M I B)
IEC 613 4-5-1:2 01, Distrib tio a tomatio u in distrib tio li e c r ier s stems – P art 5-1:
L wer lay r profiles – Th s re d fe u n y s ift k yin (S-FSK) profile
IEC 613 4-6:2 0 , Distrib tio a tomation u in distrib tion li e c r ier s stems – P art 6:
A-XDR e c d in rule
IEC 6 0 6-21:2 0 , Ele tricity meterin – Data ex ch n e for meter re d in , tariff a d load
c ntrol – P art 21: Dire t loc l d ata ex ch n e
IEC 6 0 6-31:19 9, Electricity meterin – Data ex ch n e for meter re d in , tariff a d lo d
c ntrol – P art 31: U sing loc l are n twork o twisted p ir with c rier sig allin
NOT This Editio is refere c d in th intera e cla s “IEC twiste p ir ( ) s tu ” (cla s_id:2 , v rsio : 0)
IEC 6 0 6-3-1:2 13, Ele tricity meterin data exch n e – Th DLM S/COSEM s ite –
P art 3-1: U se of loc l are n twork o twisted p ir with c rier sig a ing
NOT This Editio is refere c d in th intera e cla s “IEC twiste p ir ( ) s tu ” (cla s_id:2 , v rsio : 1
Trang 17IEC 6 0 6-4 :2 0 , Electricity meterin – Data ex ch n e for meter re d in , tariff a d lo d
c ntrol – P art 46: Data li k la er u in H DLC protoc l
IEC 6 0 6-5-3:2 16, Ele tricity metering data ex ch n e – Th DLM S/COSEM s ite –
P art 5-3: DLM S/COSEM a p c tion la er
IEC 6 0 6-6-1:2 15, Electricity meterin data exch n e – Th DLMS/COSEM s ite –
P art 6-1: Obje t identific tio s stem (OBIS)
ISO/IEC 8 0 -2:19 8, Informatio tec n lo y – Tele ommu ic tio s a d informatio
ex ch n e b twe n s stems – L c l a d metro olita are n twork – Sp cific re uireme ts –
P art 2: L gic l Lin Co trol
ISO/IEC/IEEE 6 5 9:2 1 , I nformatio tec n log – Micro ro e s r Sy tems – Floatin -P oint
arithmetic
EN 13 5 -2:2 0 , Commu ic tio s stem for a d remote re d in of meters – P art 2: P hy ic l
a d link lay r
EN 13 5 -3:2 0 , Commu ic tio s stems for a d remote re ding of meters – P art 3:
Dedic ted a p c tio lay r
NOT This sta d rd is refere c d in th “M-Bu cle t s tu ” intera e cla s v rsio 0
EN 13 5 -3:2 13 , Commu ic tio s stems for a d remote re din of meters – P art 3:
Dedic ted a p c tio lay r
NOT This sta d rd is refere c d in th M-Bu cle t s tu intera e cla s v rsio 1
EN 13 5 -5:2 15, Commu ic tio s stems for meters – P art 5: Wireles relayin
IEEE 8 2.15.4:2 0 , Standard for I nformatio tec n lo y – Tele ommu ic tio s a d
informatio ex ch n e b twe n s stems – L c l a d metro olita are n twork – Sp cific
re uireme ts – P art 15.4: Wirele s Med ium Ac e s Co trol (MAC) a d P hy ic l L y r (P H Y)
Sp cific tio s for L w-Rate Wirele s P ers n l Are N etwork (WP AN s)
NOT This sta d rd is als a aia le a ISO/IEC/IE E 8 0 - 5-4:2 10
ITU-T G.9 01:2 14, SERI ES G: TRAN SMI SSION SYSTEMS AN D M EDI A, DI GITAL
ortho o al fe u n y d ivision multiplex in p wer li e c mmu ic tio tra s eiv rs – P ower
s e tral d en ity s e ific tio
ITU-T G.9 0 Amd 1:2 13, SERI ES G: TRAN SM I SSI ON SYSTEMS AN D MEDI A, DI GI TAL
SYSTEM S AN D N ETWORKS – Ac e s n twork – I n premise n twork – N arow-b nd
ortho o al fe u n y d ivision multiplex in p wer li e c mmu ic tio tra s eiv rs for G3-P LC
ITU-T G.9 0 :2 14, SERIES G: TRAN SM I SSI ON SYSTEMS AN D M EDI A, DI GI TAL
SYSTEM S AN D N ETWORKS – Ac e s n twork – I n premis s n twork – N arow-b nd
ortho o al fe u n y d ivision multiplex in p wer li e c mmu ic tio tra s eiv rs for G3-P LC
Trang 18ETSI GSM 0 0 , Digital c llular telec mmu ic tio s s stem (P ha e 2 ) Radio s b y tem
li k c ntrol
ANSI C12.19:19 7, I EEE 1377:19 7, U tility ind ustry e d d evice data ta les
The f ol owin RFCs are avaia le onl ne f rom the Internet En ine rin Tas Force (IETF):
ht p:/ www.ietf rg/rfc/std-in ex.txt, htp:/ www.ietf org/rfc/
IETF STD 51, Th P oint-to-P oint P rotoc l (P P P ), 19 4 (Als RFC 16 1, RFC 16 2)
RFC 7 1, I ntern t P roto ol (Als : I ETF ST 0 05), 19 1 RFC 13 2, Th P P P Intern t
P rotoc l Co trol P roto ol (I P CP ), 19 2, U pdated b : RFC 3 41 Ob oletes: RFC 1 72
RFC 2 0 , I P H eader Compre sion, 19 9
RFC 2 5 , M icro oft P P P CH AP Ex ten io s, Version 2, 2 0
RFC 3 41 Ro u t H ead er Compre sio (ROH C) o er P P P , 2 0 Updates: RFC13 2
RFC 3 13, I ntern t P roto ol Version 6 (I P v6) Addre sin Arc ite ture, 2 0
RFC 3 4 , I P H eader Compre sio o er P P P , 2 0
RFC 4 61, N eig b r Dis o ery for I P v rsio 6 (IP v6), 2 0
P ointto-P oint (P P P ) P rotoc l Field As ig me ts Onl ne data ase Avai a le from:
3 Terms, def initions and a bre iations
For the purp ses of this doc ment, the fol owin terms, defi ition an a breviation a ply
3.1 Terms a d def initions relate to the Ima e tra sf er proc s (s e 5.3.6)
3.1.1
Ima e
binary data of a sp cif ied size
Trang 19(i mage to a t ivat e) whic are tra sfere , v rif i da d a tiv te to eth r.
3.1.2
Ima eSize
size of the whole Image to b tran fer ed
Note 1 to e try: Ima eSiz is e pre s d ino tets
3.1.3
Ima eBloc
p rt of the Image of size ImageBloc Size
Note 1 to e try: Th Ima e is tra sfere in Ima eBlo k Ea h blo k is id ntif i d b its Ima eBlo kNumb r
Fig re 1 – Me ning of the definitions con erning the Ima e
3.2 Terms a d def initions relate to the S-FSK PLC s tup cla s s (s e 5.8)
3.2.1
initiator
u er element of a cl ent Sy tem Management Ap lcation Entity (SMAE)
Note 1 to e try: Th initiator u e th CIAS a d xDLMS AS a dis id ntif i d b its s stem title
Trang 20rep rting s stem
server s stem whic is ues a Dis overRe ort
IEC 613 4-4-51 :2 0 ]
3.2.7
s b-slot
time ne ded to tran mit two bytes by the ph sical layer
Note 1 to e try: Time lots are divid d to s b-slots in th Re e terCal mo e of th p y ic l la er
3.2.8
time lot
time ne ded to tran mit a ph sical frame
Note 1 to e try: As s e ifie in IEC 613 4-5- , 3.3.1, a p y ic l fame c mpris s 2 b te pre mble, 2 b te start
s bfame d lmiter, 3 b te P D a d 3 b te p u e
3.3 Terms a d def initions relate to the PRIME NB OFDM PLC s tup ICs (s e 5.10)
Definitio s related to the p y ic l a er
Trang 21dis onne te state <of a s rvic node
initial f un tional state f or al service nodes When dis on ected, a service node is not a le to
commu icate data or switc other nodes’ data; its main f un tion is to se rc for a s bnetwork
within its re c an try to register on it
[SOURCE: ITU-T G.9 0 :2 12, 8.1]
3.3.8
terminal state <of a s rvic node
when in this f un tional state a service node is a le to esta l s con ection an commu icate
data, but it is not a le to switc other nodes’ data
[SOURCE: ITU-T G.9 0 :2 12, 8.1]
3.3.9
switc state <of a s rvic nod >
when in this f un tional state a service node is a le to p rform al Terminal fun tion
Ad itional y, it is a le to f orward data to an f rom other nodes in the same s bnetwork It is a
bran h p int on the tre stru ture
[SOURCE: ITU-T G.9 0 :2 12, 8.1]
Trang 22re resents the tran ition b twe n Terminal an Switc state When a service node is in the
Dis on ected state, it can ot directly tran ition to Switc state
[SOURCE: ITU-T G.9 0 :2 12, 8.1]
3.3.1
demotion
proces by whic a service node ce ses to b a bran h p int on the s bnetwork tre
stru ture A s c es ful demotion re resents the tran ition b twe n Switc an Terminal state
[SOURCE: ITU-T G.9 0 :2 12, 8.1]
3.4 Terms a d definitions relate to ZigBe ® (s e 5.12)
NOT Terms mark d with * are fomth ZigBe ® Sp cific tio
3.4.1
CAD
Con umer Ac es Device; a ZigBe ® gateway device that acts l ke an IHD within the
ZigBe ® network, but has an ad itional con ection to a dif f erent network (i.e WiFi)
a Has ed (via MMO) Pre-Con g red Lin ed Key (PCLK) that is provided to a Tru t Center via
out-of-b n commu ication
Note 1 to e try: A n w d vic wis in to join th n twork wo ld n e to s n this in tal c d to th Tru t Ce ter,
whic wo ld alow th Tru t Ce ter to e e ute th joinin pro e s, u in this in tal c d a p rt of th s c rity
MAC a dre s/IEEE a dre s
these are u ed s non mou ly to re resent the EUI-6 code al ocated to the ZigBe ® Radio
3.4.6
ZigBe ®
sp cif i ation f or a s ite of hig level commu ication protocols u ed to cre te p rsonal are
network bui t f rom smal , low-p wer digital radios ZigBe ® is b sed on an IEEE 8 2.15
stan ard Thou h low-p wered, ZigBe ® devices of ten tran mit data over lon er distan es by
p s in data throu h intermediate devices to re c more distant ones, cre tin a mes
Trang 233.4.8
ZigBe ® coordin tor *
an IEEE 8 2.15.4-2 0 PAN co rdinator that is the prin ip l control er of an IEEE 8 2.15
4-2 0 -b sed network that is resp n ible f or network formation The PAN co rdinator mu t b a
device whic ec o s data b in publ s ed by a b t ery o erated ZigBe ® device, alowin
other network actors to o tain data whi e the b t ery o erated device is u avai a le d e to
p wer savin
3.4.1
ZigBe ® PRO
alternative name for the ZigBe ® 2 0 protocol ZigBe ® 2 0 , now the c r ent stac
rele se, contain two stac prof iles, stac prof ile 1 (simply caled ZigBe ®), f or home an
l g t commercial u e, an stac prof ile 2 (cal ed ZigBe ® PRO) ZigBe ® PRO off ers more
f eatures, s c as multi-castin , man -to-one routin an hig sec rity with Symmetric-Key
Key Ex han e (SKKE), whi e ZigBe ® (stac prof ile 1) of fers a smal er footprint in RAM an
flas Both of f er f ul mes networkin an work with al ZigBe ® a pl cation prof iles
3.4.12
ZigBe ® router *
an IEEE 8 2.15.4-2 0 FFD p rticip tin in a ZigBe ® network, whic is not the ZigBe ®
co rdinator but may act as an IEEE 8 2.15.4-2 0 co rdinator within its p rsonal o eratin
sp ce, that is ca a le of routin mes ages b twe n devices an s p ortin as ociation
3.4.13
ZigBe ® s rv r
this is simi ar to the role of the DLMS/COSEM Server
Note 1 to e try: For a gre ter u d rsta din of th intera tio b twe n th cle t a d s rv r th ZigBe ® PRO
s e ific tio s o ld b re d
3.4.14
ZigBe ® Trust Ce ter *
device tru ted by devices within a ZigBe ® network to distribute key for the purp se of
network an en -to-en a plcation con g ration management
Trang 243.5 Abbre iations
6 oWPA IPv o er L w-Power Wirele s Pers n l Are Network
A S As o iatio Co trol Servic Eleme t
AP Ap lc tio Su p rt Su la er (ZigBe ® term)
A-X R Ad pte Exte d d Data Re re e tatio (IEC 613 4-6)
b s _n me Th s ort_n me c re p n in to th first atrib te (lo ic l_n me”) of a COS M o je t
CIAS Co fig ratio Initiatio Ap lc tio Servic Eleme t (S-F K PLC profie)
cla s_id Intera e cla s id ntific tio c d
COS M Comp nio Sp cif i atio f or En rg Meterin
COS M o je t An in ta c of a COS M intera e cla s
DIB Data Informatio Blo k (M-Bu )
DIF Data Informatio Field (M-Bu )
EAP Exte sible Auth ntic tio Proto ol
EDGE En a c d Data rate for GSM Ev lutio
Trang 25Ab reviatio E planatio
EUI-4 4 -bit Exte d d Uniq e Id ntifier
EUI-6 6 -bit Exte d d Uniq e Id ntifier
FCC Fe eral Commu ic tio s Commis io
FIFO First-In-First-Out
GCM Galois/Co nter Mo e, a alg rithm for a th ntic te e cry tio with a s ciate d ta
GMT Gre nwic Me nTime Re la e b Co rdin te Univ rs l Time (UTC)
GPRS Ge eral Pa k t Ra io Servic
GSM Glo al Sy tem for Mo ie Commu ic tio s
HA T Hig wa Ad re s ble RemoteTra s u er s e htp:/ww h rtc mm.org/ (in relatio with th
IEC Intern tio al Ele trote h ic lCommis io
IE E In titute of Ele tric l a d Ele tro ic En in ers
IE F Intern t En in erin Ta k Forc
IPCP Intern t Proto ol Co trol Proto ol
ISO Intern tio al Org niz tio for Sta d rdiz tio
Trang 26Ab reviatio E planatio
LOA n 6 oWPA AdHo On-Dema d Dista c Ve tor Ro tin Ne t Ge eratio (LOA n )
LQI Lin Qu lty In ic tor (ZigBe ® term)
MIB Ma a eme t Informatio Ba e (S-F K PLC profie)
MID Me s rin In trume ts Dire tiv 2 0 /2 /EC of th Euro e n Parlame t a d of th Co n i
MPA (U term) Meter Point Ac e s Numb r – refere c of th lo atio of th Ele tricity meter o
th ele tricity distrib tio n twork
OFDM Orth g n l Fre u n y Divisio Multiple in
OTA Ov r th Air – Refers to Firmware Up ra e u in ZigBe ®
PA Pers n l Are Network (Term u e in relatio toG3-PLC
1
) a d ZigBe ®
PCLK Pre-Co f i ure Lin Ke (ZigBe ® term)
P D Ph sic l Proto ol DataUnit
P P Point-to-Point Proto ol
REJ PD Reje t Proto ol Data Unit
RFC Re u stf or Comme ts; a d c me t p bls e b th Intern t En in erin Ta k Forc
Trang 27Ab reviatio E planatio
S P Smart En rg Pro le (ZigBe ® term )
S-F K Spre d – Fre u n y Shift Ke in
SGERG8 Meth d for c lc latio of c mpre sibi ty (Ga meterin )
TAB In th c s of th EU IDIS profie with ut DLMS a d with ut DLMS/COS M: d ta c d
In th c s of profie u in DLMS or DLMS/COS M: v lu at whic th e uipme t is
pro ramme for Dis o ery
TC Tra smis io Co trol Co e (IPv )
UMT Univ rs l Mo ie Tele ommu ic tio s Sy tem
VIB Valu Informatio Blo k (M-Bu )
VIF Valu Informatio Field (M-Bu )
VZ Bi in p rio c u ter (Form Vorwertz ähler in Germa , s e DIN 4 8 3-3)
wa e-u trig er th meter to c n e t to th c mmu ic tio n twork to b a aia leto a cle t (e.g
Trang 284 Basic principles
This Clau e 4 des rib s the b sic prin iples on whic the COSEM interface clas es (ICs) are
bui t It also gives a s ort overview on how interf ace o jects – in tantiation of the ICs – are
u ed f or commu ication purp ses Data col ection s stems an meterin eq ipment f rom
dif f erent ven ors, fol owin these sp cif i ation , can ex han e data in an intero era le way
For sp cif i ation purp ses, this stan ard u es the tec niq e of o ject model n
An o ject is a col ection of atributes an method At ributes re resent the c aracteristic of
an o ject The value of an at ribute may af fect the b haviour of an o ject The f irst at ribute of
an o ject is the logic l_ ame It is one p rt of the identifi ation of the o ject An o ject may
of f er a n mb r of method to either examine or modif y the values of the atributes
Objects that s are common c aracteristic are generalzed as an interface clas , identified
with a clas _id Within a sp cif i IC, the common c aracteristic (at ributes an method ) are
des rib d on e for al o jects In tantiation of ICs are cal ed COSEM interf ace o jects
Man facturers may ad pro rietary method an at ributes to an o ject; se 4.2
Fig re 2 i u trates these terms by me n of an example:
R egist er cla s_id
The IC “Register” is f ormed by combinin the features neces ary to model the b haviour of a
generic register (containin me s red or static information) as se n f rom the clent (data
col ection s stem, han held terminal) The contents of the register are identif ied by the
at ribute lo ical_ ame The logic l_n me contain an OBIS identif ier (se IEC 6 0
6-6-1:2 15) The actual (d namic) content of the register is car ied by its v lue at ribute
Def i in a sp cif i meter me n def i in several sp cif i o jects In the example of Fig re 2,
the meter contain two registers; i.e two sp cif i in tan es of the IC “Register” are
in tantiated Throu h the in tantiation, one COSEM o ject b comes a “ otal, p sitive, active
energ register” where s the other b comes a “ otal, p sitive, re ctive energ register”
Trang 29fom th “o tsid ” Th ref ore, mo ifyin th v lu of a atrib te – f or e ample re etin th value atrib te of a
re ister – is alwa s initiate fom th o tsid Intern ly initiate c a g s of th atrib te – for e ample u d tin
th value atrib te of a re ister – are n t d s rib d in this mo el
4.2 Ref ere cing methods
Atributes an method of COSEM o jects can b ref eren ed in two dif ferent way :
Using logic l name (LN referencing): In this case, the at ributes an method are
ref eren ed via the identifier of the COSEM o ject in tan e to whic they b lon
The referen e f or an atribute is: clas _id, value of the logic l_n me at ribute,
at ribute_in ex
The ref eren e f or a method is: clas _id, value of the logic l_ ame atribute, method_in ex,
where:
• atribute_in ex is u ed as the identif ier of the at ribute req ired At ribute in exes are
sp cif ied in the def i ition of e c IC They are p sitive n mb rs startin with 1
Pro rietary at ributes may b ad ed: these s al b identif ied with negative n mb rs;
• method_in ex is u ed as the identif ier of the method req ired Method in exes are
sp cif ied in the def i ition of e c IC They are p sitive n mb rs startin with 1
Pro rietary method may b ad ed: these s al b identified with negative n mb rs
Using short name (SN referencing): This kin of ref eren in is inten ed for u e in simple
devices In this case, e c at ribute an method of a COSEM o ject is identif ied with a 13-bit
integer The s ntax f or the s ort name is the same as the s ntax of the name of a DLMS
named varia le Se IEC 613 4-4-41:19 6 an IEC 6 0 6-5-3:2 16, Clau e 8
4.3 Re erv d ba e n me f or spe ial COSEM obje ts
In order to faci tate ac es to devices u in SN referen in , some s ort_names are reserved
as b se_names f or sp cial COSEM o jects The ran e f or reserved b se_names is from
0xFA0 to 0xFF 8 The f ol owin sp cif i b se_names are def i ed, se Ta le 1
Table 1 – Re erv d ba e n me f or SN ref eren ing
A s ort text des rib s the f un tional ty an a pl cation of the IC A ta le gives an overview of
the IC in lu in the clas name, the at ributes, an the method Eac at ribute an method
s al b des rib d in detai The template is s own b low
Trang 30Cla s name Cardinalty cla s_id, versio
Cla s name Des rib s the interface clas (e.g “Register”, “Cloc ”, “Profile generic” .)
NOT 1 Interf ac cla s s n me are me tio e in q otatio mark
Cardinal ty Sp cif ies the n mb r of in tan es of the IC within a logical device (se
4.8)
v lu The IC s al b in tantiated exactly “value” times
min .max The IC s al b in tantiated at le st “min.” times an at most
“max.” times If min is zero (0) then the IC is o tional,
otherwise (min > 0) "min." in tantiation of the IC are
cla s id
Identif i ation code of the IC (ran e 0 to 6 5 5) The clas _id of e c
o ject is retrieved together with the logical name by re din the o ject_ st
at ribute of an “As ociation LN” / ”As ociation SN” o ject
– clas _id-s f rom 0 to 8 191 are reserved to b sp cif ied by the DLMS
The DLMS UA reserves the rig t to as ig ran es to in ivid al
man facturers or u er groups
Version Identif i ation code of the version of the IC The version of e c o ject is
retrieved together with the clas _id an the logical name by re din the
o ject_li t at ribute of an “As ociation LN” / ”As ociation SN” o ject
Within one logic l de ic , al insta c s of a c rtain IC s al be of the
s me v rsion
At ribute
Sp cif ies the atributes that b lon to the IC
(dyn.) Clas ifies an atribute that car ies a proces value, whic is
updated by the meter itself
(static) Clas ifies an atribute, whic is not updated by the meter itself
(for example con g ration data)
NOT 2 Th re are s me atrib te whic ma b eith r static or d n mic d p n in o
th a plc tio In th s c s s this pro erty is n t in ic te
NOT 3 Atrib te n me u e th u d rs ore n tatio Wh n me tio e in th te t th y are
in i t al i c Ex mple: logi cal_ ame
logic l_ ame octet-strin It is alway the f irst atribute of an IC It identifies the
in tantiation (COSEM o ject of this IC The value of the
lo i cal_n me conforms to OBIS; see Clau e 6 an
IEC 6 0 6-6-1:2 15
Trang 31Data type Def i es the data typ of an at ribute; se 4.5.
< mpty The default value is not defi ed by the IC sp cif i ation
Short name When Short Name (SN) ref eren in is u ed, e c atribute an method of
o ject in tan es has to b ma p d to s ort names
The b se_name x of e c o ject in tan e is the DLMS named varia le the
logical name at ribute is ma p d to It is selected in the implementation
phase The IC def i ition sp cifies the of fsets f or the other at ributes an
f or the method
Spe ific
method(s)
Provides a l st of the sp cifi method that b lon to the o ject
Method Name ( The method has to b des rib d in the s bsection
"Method des ription"
NOT 4 Meth d n me u e th u d rs ore n tatio Wh n me tio e in th te t th y are
in i tal i c Ex mple: ad d _o j ec
m/o Def i es if the method is man atory or o tional
m (ma d atory) The method is man atory
o (o tio a The method is o tional
At ribute de cription
Des rib s e c at ribute with its data typ (if the data typ is not simple), its data format an
its pro erties (minimum, maximum an def ault values)
Method de cription
Des rib s e c method an the in oked b haviour of the COSEM object s) in tantiated
NOT Servic s for a c s in atrib te or meth d b th proto ol are s e ifie in IEC 6 0 6-5-3:2 16, 6.6 to
6.16
Sele tiv a c s
The xDLMS atribute- elated services typical y ref eren e the entire at ribute However, for
certain at ributes selective ac es to ju t a p rt of the atribute may b provided The p rt of
the atribute is identif ied by sp cif i selective ac es p rameters These are def i ed as p rt of
the atribute sp cif i ation
Trang 324.5 Common d ta type
Ta le 2 contain the l st of data typ s u a le for atributes of COSEM o jects
Table 2 – Common data type
o tet-strin [9] An ord re s q e c of o tets (8 bit b te )
visible-strin [10] An ord re s q e c of ASCI c ara ters
6
At t ri bute d es ri pti on or M et hod d es ri pti on s ctio of a
COS M IC s e ific tio
ara [1] Th eleme ts of th ara are d fin d in th Att ri but e or
Met hod d es ri pt i on s ctio of a COS M IC s e ific tio
stru ture [2] Th eleme ts of th stru ture are d fin d in th At t ri but e or
Met hod de cri pt i on s ctio of a COS M IC s e ific tio
c mp ct ara [19] Pro id s a altern tiv , c mp ct e c din of c mple d ta
- C OICE For s me COS M intera e o je ts atrib te , th d ta ty e ma b c o e at
in ta tiatio , in th impleme tatio p a e of th COS M s rv r Th s rv r
alwa s s al s n b c th d ta ty e a d th v lu of e c atrib te, s th t
to eth r with th lo ic l n me a u ambig o s interpretatio is e s re Th
lst of p s ible d ta ty e is d fin din th “Atrib te d s riptio ” s ctio of a
COS M IC s e ific tio
a
Th ta s are a d fin d in IEC 6 0 6-5-3:2 16, Cla s 8
Trang 334.6 Data f ormats
4.6.1 Date a d time formats
Date an time information may b re resented u in the data typ o tetstrin
NOT 1 In this c s th e c din in lu e th ta of th d ta ty e o t etstri ng, th le gth of th o tet-strin a d
th eleme ts of d at e, ti me a d /or dat e-ti me a a plc ble
Date an time inf ormation may b also re resented u in the data typ s d ate, time an
date-time
NOT 2 In th s c s s, th e c din in lu e o ly th ta of th d ta ty e d at e, t i me or d at e-t i me a a plc ble
a d th eleme ts of d te, time or d te-time
NOT 3 Th (SIZ ( ) s e if i atio s are a plc ble o ly wh n d te, time or d te time are re re e te b th
d ta ty e d ate, t i me or d ate-t i me
Trang 34The elements dayOfMonth an dayOfWe k s al b interpreted together:
– if last dayOf Month is sp cif ied (0xFE) an dayOf We k is wi d ard, this sp cif ies the last
calen ar day of the month;
– if last dayOf Month is sp cif ied (0xFE) an an expl cit dayOfWe k is sp cified (f or
example 7, Su day) then it is the last oc ur en e of the we k ay sp cified in the month,
i.e the last Su day;
– if the ye r is not sp cified (0xFF F), an dayOf Month an dayOf We k are b th
expl citly sp cif ied, this s al b interpreted as the dayOfWe k on, or fol owin
dayOfMonth;
– if the ye r an month are sp cif ied, an b th the dayOfMonth an dayOf We k are
expl citly sp cif ied but the values are not con istent it s al b con idered as an er or
3) y ar = 0 F F , mo th = 0 0 , d yOfMo th = 0 F , d y fWe k = 0 0 : la t Su d y in Marc in e ery y ar;
4) y ar = 0 F F , mo th = 0 0 , d yOfMo th = 0 01, d y fWe k = 0 0 : f irst Su d y inMarc in e ery y ar;
5) y ar = 0 F F , mo th = 0 0 , d yOfMo th = 0 16, d y fWe k = 0 0 : fo rth Frid y in Marc in e ery
y ar;
6) y ar = 0 F F , mo th = 0 0A, d yOfMo th = 0 16, d y fWe k = 0 0 : fo rth Su d y in Octo er in e ery
y ar;
7) y ar = 0 0 DE, mo th = 0 0 , d yOfMo th = 0 13, (2 14.0 13, We n s a ) d y fWe k = 0 0
(Tu s a ): eror, a th d yOfMo th a d d yOfWe k in th giv n y ar a d mo th d n t matc
For hour, min te, secon an h n redth : 0xFF = not sp cif ied
For re etitive times the u u ed p rts s al b set to “not sp cif ied”
Trang 35date-time OCTET STRING (SIZE(12)
deviation hig byte,
deviation lowbyte,
cloc statu
}
The elements of date an time are en oded as def i ed a ove Some may b
set to “not sp cif ied” as defi ed a ove
In ad ition:
deviation: interpreted as lon
ran e -7 0…+ 2 in min tes of local time to UTC
0x8 0 = not sp cif ied
Deviation hig byte an deviation lowbyte re resent the 2 bytes of the lon
cloc _statu interpreted as u sig ed The bits are def i ed as f ol ows:
Time c uld n t b re o ere after a in id nt Detaie c n itio s are ma ufa turer s e if i (or e ample
after th p wer to th clo k h s b e interu te ) For a v ld statu , bit 0 s al n t b s t if bit 1 is s t
b
Time c uld b re o ere af ter a in id nt b t th v lu c n ot b g ara te d Detaie c n itio s are
ma ufa turer s e ific For a v ld statu , bit 1 s al n t b s t if bit 0 is s t
c
Bit is s t if th b sic timin informatio for th clo k at th a tu l mome t is ta e fom a timin s urc
diff ere t fom th s urc s e if i d in clo k_b s
d
This bit in ic te th t at le st o e bit of th clo k statu is in ald Some bits ma b c re t Th e a t
me nin s al b e plain d in th ma uf acturer’s d c me tatio
e
Fla s t to tru : th tra smite time c ntain th d ylg t s vin d viatio (s mmer time)
Fla s t to fals : th tra smite time d e n t c ntaind ylg t s vin d viatio (n rmal time)
4.6.2 Floatin point number f ormats
Flo tin p int n mb r f ormats are def i ed in ISO/IEC/IEEE 6 5 9:2 1
The sin le format is:
Trang 36fe
)1(
10 3
fe
For detai s, se ISO/IEC/IEEE 6 5 9:2 1
Flo tin -p int n mb rs s al b re resented as a f i ed len th octet-strin , containin the 4
bytes (f lo t3 ) of the sin le f ormat or the 8 bytes (f lo t6 ) of the double f ormat f lo tin -p int
n mb r as sp cif ied a ove, most sig if i ant byte f irst
EX MPLE 1 Th d cimal v lu “ ” re re e te in sin le f l atin -p int format is:
Decimal value of the sig if i an : 1.0 0 0 0
NOT Th sig ific n is th bin ry n mb r 1 folowe b th ra ix p int folowe b th bin ry bits of th
fa tio
Th e c din , in lu in th ta of th d ta ty e is (al v lu s are h x d cimal): 17 3F 8 0 0
EX MPLE 2 Th d cimal v lu “ ” re re e te in d u le f l atin -p int format is:
Trang 37EX MPLE 3 Th d cimal v lu “6 0 6” re re e te insin le f l atin -p int format is:
The COSEM server is stru tured into thre hierarc ical levels as s own in Fig re 3:
L vel 1: Ph sical device
L vel 2: L gical device
Trang 38Combin d met ering d vic
The COSEM logical device contain a set of COSEM o jects Eac ph sical device s al
contain a “Management logical device”
The ad res in of COSEM logical devices s al b provided by the ad res in s heme of the
lower layers of the protocol stac u ed
4.8.2 COSEM logic l de ic name (LDN)
The COSEM logical device can b identif ied by its u iq e COSEM LDN This name can b
retrieved from an in tan e of IC “SAP as ig ment (se 5.3.5), or from a COSEM o ject
“COSEM logical device name” (se 6.2.2 )
The LDN is def i ed as an octet-strin of up to 16 octets The f irst thre octets s al car y the
man facturer identifier
3
The man f acturer s al en ure that the LDN, startin with the thre
octets identif yin the man facturer an folowed by up to 13 octets, is u iq e
4.8.3 The “a sociation view” of the logic l de ic
In order to ac es COSEM o jects in the server, an a plcation as ociation (AA) s al f irst b
esta l s ed with a cl ent AAs identify the p rtners an c aracterize the context within whic
the as ociated a pl cation wi commu icate The major p rts of this context are:
• the a pl cation context;
• the authentication mec anism;
• the xDLMS context
AAs are modeled by sp cial COSEM o jects:
• in tan es of the IC “As ociation SN” – se 5.3.3 – are u ed with s ort name referen in ;
• in tan es of the IC “As ociation LN” – se 5.3.4 – are u ed with logical name ref eren in ;
3
Administere b th DLMS Us r As o iatio , in c o eratio with th FLAG As o iatio
Trang 39De en in on the AA esta l s ed b twe n the cl ent an the server, dif f erent ac es rig ts
may b granted by the server Ac es rig ts con ern a set of COSEM o jects – the visible
o jects – that can b ac es ed (‘se n’) within the given AA In ad ition, ac es to atributes
an method of these COSEM o jects may also b restricted within the AA (f or example a
certain typ of cl ent can only re d a p rtic lar at ribute of a COSEM o ject, but can ot write
it Ac es rig t may also stipulate req ired cryptogra hic protection
The l st of the visible COSEM o jects – the “as ociation view” – can b o tained by the cl ent
by re din the o je t_li t atribute of the a pro riate as ociation o ject
4.8.4 Ma datory conte ts of a COSEM logic l de ic
The f ol owin o jects s al b present in e c COSEM logical device They s al b
ac es ible for GET/Re d in al AAs with this logical device:
• COSEM logical device name o ject;
• c r ent “As ociation” (LN or SN) o ject
If the “SAP As ig ment o ject is present, then the COSEM logical device name o ject do s
not have to b present
4.8.5 Ma a eme t logic l de ic
As sp cif ied in 4.8.1, the management logical device is a man atory element of an ph sical
device It has a reserved ad res It s al s p ort an AA to a publ c cl ent with the lowest level
sec rity (no sec rity) authentication Its role is to s p ort reve l n the internal stru ture of
the ph sical device an to s p ort notif i ation of events in the server
In ad ition to the “As ociation” o ject model n the AA with the publc clent, the management
logical device s al contain a “SAP as ig ment o ject, givin its SAP an the SAP of al other
logical devices within the ph sical device The SAP as ig ment o ject s al b re da le at
• data ac es sec rity controls ac es to the data held by a DLMS/COSEM server;
• data tran p rt sec rity al ows the sen in p rty to a ply cryptogra hic protection to the
xDLMS APDUs sent This req ires ciphered APDUs The receivin p rty can remove or
c ec this protection
For a des ription of these sec rity mec anisms, se IEC 6 0 6-5-3:2 16, Clau e 5
Inf ormation sec rity is provided on the DLMS/COSEM Ap l cation layer level an on the
COSEM o ject level an it is s p orted / managed by the f olowin o jects:
• “As ociation SN”, se 5.3.3;
• “As ociation LN”, se 5.3.4; an
Trang 405 The COSEM interf ace classes
The ICs defi ed c r ently an the relation b twe n them are s own in Fig re 5 an Fig re 6
NOT 1 Th IC “b s ” its lf is n t s e ifie e plcitly It c ntain o ly o e atrib te logi cal_ ame
NOT 2 In th d s riptio of th "Dema d re ister, “Clo k” a d “Pro le g n ric” ICs, th 2
n
atrib te are
la ele dif fere tly fom th t of th 2
n
atrib te of th “Data” IC, n mely cure t _average value, ti me a d bufer
v value This is to emp a iz th s e if i n ture of th val ue
NOT 3 On th s Fig re th intera e cla s s are pre e te in e c gro p b in re sin cla s_id In th
cla s s s e if yin th v rio s gro p of intera e cla s s, th n w interf ac cla s s are p t at th e d of th
rele a t cla s
Figure 5 – Ov rview of the interf ac cla s s – Part 1
IEC