1、 IEC 62056-9-7 Edition 1.0 2013-04 INTERNATIONAL STANDARD NORME INTERNATIONALE Electricity metering data exchange The DLMS/COSEM suite Part 9-7: Communication profile for TCP-UDP/IP networks change des donnes de comptage de llectricit La suite DLMS/COSEM Partie 9-7: Profil de communication pour rsea
2、ux TCP-UDP/IP IEC 62056-9-7:2013 colour inside THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2013 IEC, Geneva, Switzerland All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including p
3、hotocopying and microfilm, without permission in writing from either IEC or IECs member National Committee in the country of the requester. If you have any questions about IEC copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or your
4、 local IEC member National Committee for further information. Droits de reproduction rservs. Sauf indication contraire, aucune partie de cette publication ne peut tre reproduite ni utilise sous quelque forme que ce soit et par aucun procd, lectronique ou mcanique, y compris la photocopie et les micr
5、ofilms, sans laccord crit de la CEI ou du Comit national de la CEI du pays du demandeur. Si vous avez des questions sur le copyright de la CEI ou si vous dsirez obtenir des droits supplmentaires sur cette publication, utilisez les coordonnes ci-aprs ou contactez le Comit national de la CEI de votre
6、pays de rsidence. IEC Central Office Tel.: +41 22 919 02 11 3, rue de Varemb Fax: +41 22 919 03 00 CH-1211 Geneva 20 infoiec.ch Switzerland www.iec.ch About the IEC The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes International Standa
7、rds for all electrical, electronic and related technologies. About IEC publications The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the latest edition, a corrigenda or an amendment might have been published. Useful links: IEC publica
8、tions search - www.iec.ch/searchpub The advanced search enables you to find IEC publications by a variety of criteria (reference number, text, technical committee,). It also gives information on projects, replaced and withdrawn publications. IEC Just Published - webstore.iec.ch/justpublished Stay up
9、 to date on all new IEC publications. Just Published details all new publications released. Available on-line and also once a month by email. Electropedia - www.electropedia.org The worlds leading online dictionary of electronic and electrical terms containing more than 30 000 terms and definitions
10、in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical Vocabulary (IEV) on-line. Customer Service Centre - webstore.iec.ch/csc If you wish to give us your feedback on this publication or need further assistance, please contact the Custo
11、mer Service Centre: csciec.ch. A propos de la CEI La Commission Electrotechnique Internationale (CEI) est la premire organisation mondiale qui labore et publie des Normes internationales pour tout ce qui a trait llectricit, llectronique et aux technologies apparentes. A propos des publications CEI L
12、e contenu technique des publications de la CEI est constamment revu. Veuillez vous assurer que vous possdez ldition la plus rcente, un corrigendum ou amendement peut avoir t publi. Liens utiles: Recherche de publications CEI - www.iec.ch/searchpub La recherche avance vous permet de trouver des publi
13、cations CEI en utilisant diffrents critres (numro de rfrence, texte, comit dtudes,). Elle donne aussi des informations sur les projets et les publications remplaces ou retires. Just Published CEI - webstore.iec.ch/justpublished Restez inform sur les nouvelles publications de la CEI. Just Published d
14、taille les nouvelles publications parues. Disponible en ligne et aussi une fois par mois par email. Electropedia - www.electropedia.org Le premier dictionnaire en ligne au monde de termes lectroniques et lectriques. Il contient plus de 30 000 termes et dfinitions en anglais et en franais, ainsi que
15、les termes quivalents dans les langues additionnelles. Egalement appel Vocabulaire Electrotechnique International (VEI) en ligne. Service Clients - webstore.iec.ch/csc Si vous dsirez nous donner des commentaires sur cette publication ou si vous avez des questions contactez-nous: csciec.ch. IEC 62056
16、-9-7 Edition 1.0 2013-04 INTERNATIONAL STANDARD NORME INTERNATIONALE Electricity metering data exchange The DLMS/COSEM suite Part 9-7: Communication profile for TCP-UDP/IP networks change des donnes de comptage de llectricit La suite DLMS/COSEM Partie 9-7: Profil de communication pour rseaux TCP-UDP
17、/IP INTERNATIONAL ELECTROTECHNICAL COMMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE Q ICS 17.220; 35.110; 91.140.50 PRICE CODE CODE PRIX ISBN 978-2-83220-748-2 Registered trademark of the International Electrotechnical Commission Marque dpose de la Commission Electrotechnique Internationale War
18、ning! Make sure that you obtained this publication from an authorized distributor. Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agr. colour inside 2 62056-9-7 IEC:2013 CONTENTS FOREWORD . 3 1 Scope . 5 2 Normative references . 5 3 Terms, definitions and
19、 abbreviations 5 Terms and definitions 5 3.1Abbreviations 5 3.2 4 Targeted communication environments . 6 5 Structure of the profile(s) 7 6 Identification and addressing scheme . 8 7 Supporting layer services and service mapping 10 8 Communication profile specific service parameters of the COSEM AL
20、services 11 9 Specific considerations / constraints . 12 Confirmed and unconfirmed AAs and service invocations, packet types used 12 9.1Releasing application associations: using RLRQ/RLRE is mandatory 13 9.2Service parameters of the COSEM-OPEN / -RELEASE / -ABORT services 13 9.3xDLMS client/server t
21、ype services . 13 9.4EventNotification Service and TriggerEventNotificationSending service . 13 9.5Transporting long messages 13 9.6Allowing COSEM servers to establish the TCP connection 14 9.7The COSEM TCP-UDP/IP profile and real-world IP networks . 14 9.8 Bibliography 15 Index 17 Figure 1 Communic
22、ation architecture . 7 Figure 2 Examples for lower-layer protocols in the TCP-UDP/IP based profile(s) . 8 Figure 3 Identification / addressing scheme in the TCP-UDP/IP based profile(s) . 10 Figure 4 Summary of TCP / UDP layer services . 11 Table 1 Application associations and data exchange in the TC
23、P-UDP/IP based profile . 12 62056-9-7 IEC:2013 3 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ ELECTRICITY METERING DATA EXCHANGE THE DLMS/COSEM SUITE Part 9-7: Communication profile for TCP-UDP/IP networks FOREWORD 1) The International Electrotechnical Commission (IEC) is a worldwide organization for
24、 standardization comprising all national electrotechnical committees (IEC National Committees). The object of IEC is to promote international co-operation on all questions concerning standardization in the electrical and electronic fields. To this end and in addition to other activities, IEC publish
25、es International Standards, Technical Specifications, Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested in the subject dealt with may par
26、ticipate in this preparatory work. International, governmental and non- governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely with the International Organization for Standardization (ISO) in accordance with conditions determined by agreement
27、between the two organizations. 2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international consensus of opinion on the relevant subjects since each technical committee has representation from all interested IEC National Committees. 3) IEC Public
28、ations have the form of recommendations for international use and are accepted by IEC National Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC Publications is accurate, IEC cannot be held responsible for the way in which they are used or fo
29、r any misinterpretation by any end user. 4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications transparently to the maximum extent possible in their national and regional publications. Any divergence between any IEC Publication and the correspon
30、ding national or regional publication shall be clearly indicated in the latter. 5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
31、services carried out by independent certification bodies. 6) All users should ensure that they have the latest edition of this publication. 7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and members of its technical committees and IEC
32、 National Committees for any personal injury, property damage or other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC Publications. 8) Attent
33、ion is drawn to the Normative references cited in this publication. Use of the referenced publications is indispensable for the correct application of this publication. 9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of patent rights. IEC
34、 shall not be held responsible for identifying any or all such patent rights. The International Electrotechnical Commission (IEC) draws attention to the fact that it is claimed that compliance with this International Standard may involve the use of a maintenance service concerning the stack of proto
35、cols on which the present standard IEC 62056-9-7 is based. The IEC takes no position concerning the evidence, validity and scope of this maintenance service. The provider of the maintenance service has assured the IEC that he is willing to provide services under reasonable and non-discriminatory ter
36、ms and conditions for applicants throughout the world. In this respect, the statement of the provider of the maintenance service is registered with the IEC. Information may be obtained from: DLMS 1User Association Zug/Switzerland www.dlms.ch 1Device Language Message Specification. 4 62056-9-7 IEC:20
37、13 International Standard IEC 62056-9-7 has been prepared by IEC technical committee 13: Electrical energy measurement, tariff- and load control. It is based on IEC 62056-53 Ed.2:2006, Electricity metering Data exchange for meter reading, tariff and load control Part 53: COSEM application layer, Ann
38、ex B.3, The TCP- UDP/IP based communication profiles (COSEM_on_IP) and introduces the following significant technical changes: NOTE Whereas IEC 62056-53 Ed. 2.0 contains the specification of the DLMS/COSEM communication profiles, IEC 62056-5-3 Ed.1.0 replacing the earlier edition does not. The title
39、 of the standard has been aligned with the title of other parts of the revised IEC 62056 series; Clause 4, Targeted communication environments has been extended, a functional reference architecture figure has been added; Clause 5, The structure of the profile(s) has been extended, the Figure has bee
40、n generalized and simplified; In clause 6, Identification and addressing scheme, the port number assigned by the IANA for DLMS/COSEM has been added; In subclause 9.1, two paragraphs specifying how confirmed and unconfirmed COSEM- OPEN and xDLMS service invocations have been added; Subclause 9.6, Tra
41、nsporting long messages, has been amended. It specifies now that for transporting long messages, application layer block transfer can be used (also available now with SN referencing); The clause on Multi-drop configurations has been removed. The text of this standard is based on the following docume
42、nts: FDIS Report on voting 13/1520/FDIS 13/1537/RVD Full information on the voting for the approval of this standard can be found in the report on voting indicated in the above table. A list of all parts of IEC 62056, under the general title Electricity metering data exchange The DLMS/COSEM suite, c
43、an be found on the IEC website. This publication has been drafted in accordance with the ISO/IEC Directives, Part 2. The committee has decided that the contents of this publication will remain unchanged until the stability date indicated on the IEC web site under “http:/webstore.iec.ch“ in the data
44、related to the specific publication. At this date, the publication will be reconfirmed, withdrawn, replaced by a revised edition, or amended. IMPORTANT The colour inside logo on the cover page of this publication indicates that it contains colours which are considered to be useful for the correct un
45、derstanding of its contents. Users should therefore print this document using a colour printer. 62056-9-7 IEC:2013 5 ELECTRICITY METERING DATA EXCHANGE THE DLMS/COSEM SUITE Part 9-7: Communication profile for TCP-UDP/IP networks 1 Scope This part of IEC 62056 specifies the DLMS/COSEM communication p
46、rofile for TCP-UDP/IP networks. 2 Normative references The following documents, in whole or in part, are normatively referenced in this document and are indispensable for its application. For dated references, only the edition cited applies. For undated references, the latest edition of the referenc
47、ed document (including any amendments) applies. IEC 62056-47:2006, Electricity metering Data exchange for meter reading, tariff and load control Part 47: COSEM transport layer for IPv4 networks IEC 62056-5-3:2013, Electricity metering data exchange The DLMS/COSEM suite Part 5-3: DLMS/COSEM applicati
48、on layer NOTE See also the Bibliography. 3 Terms, definitions and abbreviations For the purposes of this document, the following terms, definitions and abbreviations apply. Terms and definitions 3.13.1.1 client a station, asking for services. Normally the master station 3.1.2 server a station, deliv
49、ering services. The tariff device (meter) is normally the server, delivering the requested values or executing the requested tasks Abbreviations 3.2AA Application Association AARE A-Associate Response an APDU of the ACSE AARQ A-Associate Request an APDU of the ACSE ACSE Association Control Service Element AL Application Layer AP Application Process APDU Application Layer Protocol Data