《IEC-62056-42-2002.pdf》由会员分享,可在线阅读,更多相关《IEC-62056-42-2002.pdf(34页珍藏版)》请在三一文库上搜索。
1、INTERNATIONAL STANDARD IEC 62056-42 First edition 2002-02 Electricity metering Data exchange for meter reading, tariff and load control Part 42: Physical layer services and procedures for connection-oriented asynchronous data exchange Reference number IEC 62056-42:2002(E) Publication numbering As fr
2、om 1 January 1997 all IEC publications are issued with a designation in the 60000 series. For example, IEC 34-1 is now referred to as IEC 60034-1. Consolidated editions The IEC is now publishing consolidated versions of its publications. For example, edition numbers 1.0, 1.1 and 1.2 refer, respectiv
3、ely, to the base publication, the base publication incorporating amendment 1 and the base publication incorporating amendments 1 and 2. Further information on IEC publications The technical content of IEC publications is kept under constant review by the IEC, thus ensuring that the content reflects
4、current technology. Information relating to this publication, including its validity, is available in the IEC Catalogue of publications (see below) in addition to new editions, amendments and corrigenda. Information on the subjects under consideration and work in progress undertaken by the technical
5、 committee which has prepared this publication, as well as the list of publications issued, is also available from the following: IEC Web Site (www.iec.ch) Catalogue of IEC publications The on-line catalogue on the IEC web site (www.iec.ch/catlg-e.htm) enables you to search by a variety of criteria
6、including text searches, technical committees and date of publication. On-line information is also available on recently issued publications, withdrawn and replaced publications, as well as corrigenda. IEC Just Published This summary of recently issued publications (www.iec.ch/JP.htm) is also availa
7、ble by email. Please contact the Customer Service Centre (see below) for further information. Customer Service Centre If you have any questions regarding this publication or need further assistance, please contact the Customer Service Centre: Email: custserviec.ch Tel: +41 22 919 02 11 Fax: +41 22 9
8、19 03 00 INTERNATIONAL STANDARD IEC 62056-42 First edition 2002-02 Electricity metering Data exchange for meter reading, tariff and load control Part 42: Physical layer services and procedures for connection-oriented asynchronous data exchange PRICE CODE IEC 2002 Copyright - all rights reserved No p
9、art of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the publisher. International Electrotechnical Commission3, rue de Varemb Geneva, Switzerland Telefax: +41 22 919 0300e
10、-mail: inmailiec.ch IEC web site http:/www.iec.ch N For price, see current catalogue Commission Electrotechnique Internationale International Electrotechnical Commission 2 62056-42 IEC:2002(E) CONTENTS FOREWORD 4 1Scope.5 2Normative references .5 3Terms, definitions and abbreviations 6 4Overview 7 5
11、Service specification.8 5.1List of services 8 5.1.1Connection establishment/release related services8 5.1.2Data communication services 8 5.1.3Layer management services 8 5.2Use of the physical layer services .9 5.3Service definitions.9 5.3.1PH-CONNECT.request 9 5.3.2PH-CONNECT.indication .10 5.3.3PH
12、-CONNECT.confirm 10 5.3.4PH-ABORT.request .11 5.3.5PH-ABORT.confirm .11 5.3.6PH-ABORT.indication 11 5.3.7PH-DATA.request12 5.3.8PH-DATA.indication.12 6Protocol specification .13 6.1Physical layer protocol data unit13 6.2Transmission order and characteristics .13 6.3Physical layer operation descripti
13、on of the procedures .13 6.3.1General .13 6.3.2Setting up a physical connection .14 6.3.3The identification service.15 6.3.4Data communications 19 6.3.5Disconnection of an existing physical connection.19 Annex A (informative) An example: PH service primitives and Hayes commands 20 Annex B (informati
14、ve) Data model and protocol 25 Bibliography26 Figure 1 Typical PSTN configuration7 Figure 2 The location of the physical layer .8 Figure 3 Protocol layer services of the COSEM 3-layer connection oriented profile9 Figure 4 MSC for physical connection establishment15 Figure 5 MSC for IDENTIFY.request/
15、.response message exchange .17 Figure 6 Handling the identification service at the COSEM server side.17 Figure 7 Partial state machine for the client side physical layer18 Figure A.1 MSC for physical connection request 20 Figure A.2 Physical connection establishment at the CALLING station.21 Figure
16、A.3 MSC for physical connection establishment 22 Figure A.4 Data exchange between the calling and called stations.23 Figure A.5 MSC for a physical disconnection .24 Figure B.1 The three-step approach of COSEM .25 62056-42 IEC:2002(E) 3 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ ELECTRICITY METERING
17、 DATA EXCHANGE FOR METER READING, TARIFF AND LOAD CONTROL Part 42: Physical layer services and procedures for connection-oriented asynchronous data exchange FOREWORD 1)The IEC (International Electrotechnical Commission) is a worldwide organization for standardization comprising all national electrot
18、echnical committees (IEC National Committees). The object of the 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, the IEC publishes International Standards. Their prepara
19、tion is entrusted to technical committees; any IEC National Committee interested in the subject dealt with may participate in this preparatory work. International, governmental and non-governmental organizations liaising with the IEC also participate in this preparation. The IEC collaborates closely
20、 with the International Organization for Standardization (ISO) in accordance with conditions determined by agreement between the two organizations. 2)The formal decisions or agreements of the IEC on technical matters express, as nearly as possible, an international consensus of opinion on the releva
21、nt subjects since each technical committee has representation from all interested National Committees. 3)The documents produced have the form of recommendations for international use and are published in the form of standards, technical specifications, technical reports or guides and they are accept
22、ed by the National Committees in that sense. 4) In order to promote international unification, IEC National Committees undertake to apply IEC International Standards transparently to the maximum extent possible in their national and regional standards. Any divergence between the IEC Standard and the
23、 corresponding national or regional standard shall be clearly indicated in the latter. 5) The IEC provides no marking procedure to indicate its approval and cannot be rendered responsible for any equipment declared to be in conformity with one of its standards. The International Electrotechnical Com
24、mission (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 protocols on which the present standard IEC 62056-42 is based. The IEC takes no position concerning the evidence, validit
25、y 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 terms and conditions for applicants throughout the world. In this respect, the statement of the provider of the maintena
26、nce service is registered with the IEC. Information (see also 6.3.3) may be obtained from: DLMS1 User Association Geneva / Switzerland www.dlms.ch International Standard IEC 62056-42 has been prepared by IEC technical committee 13: Equipment for electrical energy measurement and load control. The te
27、xt of this standard is based on the following documents: FDISReport on voting 13/1266/FDIS13/1272/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. _ 1 Device Language Message Specification. 4 62056-42 IEC:2002(E)
28、This publication has been drafted in accordance with the ISO/IEC Directives, Part 3. Annexes A and B are for information only. The committee has decided that the contents of this publication will remain unchanged until 2006. At this date, the publication will be reconfirmed; withdrawn; replaced by a
29、 revised edition, or amended. A bilingual version of this publication may be issued at a later date. 62056-42 IEC:2002(E) 5 ELECTRICITY METERING DATA EXCHANGE FOR METER READING, TARIFF AND LOAD CONTROL Part 42: Physical layer services and procedures for connection-oriented asynchronous data exchange
30、 1 Scope This part of IEC 62056 specifies the physical layer services and protocols within the Companion Specification for Energy Metering (COSEM) three-layer connection oriented profile for asynchronous data communication. The document does not specify physical layer signals and mechanical aspects.
31、 Local, implementation-specific issues are also not specified. In annex A, an example of how this physical layer can be used for data exchange through the Public Switched Telephone Network (PSTN) using intelligent Hayes modems is given. The use of the physical layer for the purposes of direct local
32、data exchange using an optical port or a current loop physical interface is specified in IEC 62056-21. Annex B gives an explanation of the role of data models and protocols in electricity meter data exchange. 2 Normative references The following referenced documents are indispensable for the applica
33、tion of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. IEC 60050-300:2001, International Electrotechnical Vocabulary Electrical and electronic measurements and measuring in
34、struments Part 311: General terms relating to measurements Part 312: General terms relating to electrical measurements Part 313: Types of electrical measuring instruments Part 314: Specific terms according to the type of instrument IEC/TR 62051:1999, Electricity metering Glossary of terms IEC 62056-
35、21, Electricity metering Data exchange for meter reading, tariff and load control Part 21: Direct local data exchange 1 IEC 62056-46, Electricity metering Data exchange for meter reading, tariff and load control Part 46: Data link layer using HDLC protocol 1 IEC 62056-53, Electricity metering Data e
36、xchange for meter reading, tariff and load control Part 53: COSEM application layer 1 IEC 62056-61, Electricity metering Data exchange for meter reading, tariff and load control Part 61: OBIS Object identification system 1 IEC 62056-62, Electricity metering Data exchange for meter reading, tariff an
37、d load control Part 62: Interface objects 1 NEMA C12.21:1999, Protocol Specification for Telephone Modem Communication _ 1 To be published. 6 62056-42 IEC:2002(E) 3 Terms, definitions and abbreviations 3.1 Terms and definitions For the purpose of this part of IEC 62056, the definitions in IEC 60050-
38、300 and IEC/TR 62051 as well as the following definitions apply: 3.1.1 client a station asking for services, normally the master station 3.1.2 master central station station which takes the initiative and controls the data flow 3.1.3 server a station delivering services. The tariff device (meter) is
39、 normally the server, delivering the requested values or executing the requested tasks 3.1.4 slave station responding to requests of a master station. The tariff device (meter) is normally a slave station 3.2 Abbreviations COSEMCOmpanion Specification for Energy Metering DCEData Communication Equipm
40、ent (communications interface or modem) DTEData Terminal Equipment (computers, terminals or printers) MSCMessage Sequence Chart PDUProtocol Data Unit PHPHysical layer PHPDUPHysical layer Protocol Data Unit PHSDUPHysical layer Service Data Unit SDUService Data Unit 62056-42 IEC:2002(E) 7 4 Overview F
41、rom the external point of view, the physical layer provides the interface between the DTE and the DCE, see Figure 2. Figure 1 shows a typical configuration for data exchange through a wide area network, for example the PSTN. kWh Schlumberger 00001,6 10 (40)A 230V 50Hz (o) N 00012356 Transit network
42、DTE to DCE ITU-T V series EIA RS232, RS485 Hayes, etc. DCE to DTE ITU-T V series EIA RS232, RS485 Hayes, etc Figure 1 Typical PSTN configuration From the physical connection point of view, all communications involve two sets of equipment represented by the terms caller system and called system. The
43、caller is the system that decides to initiate a communication with a remote system known as the called party; these denominations remain valid throughout the duration of the communication. A communication is broken down into a certain number of transactions. Each transaction is represented by a tran
44、smission from the transmitter to the receiver. During the sequence of transactions, the caller and called systems take turns to act as transmitter and receiver. From the data link point of view the central station normally acts as a master, taking the initiative and controlling the data flow. The ta
45、riff device is the slave, responding to the master station. From the application point of view the central station normally acts as a client asking for services, and the tariff device acts as a server delivering the requested services. The situation involving a caller client and a called server is u
46、ndoubtedly the most frequent case, but a communication based on a caller server and a called client is also possible, in particular to report the occurrence of an urgent alarm. For the purpose of local data exchange, two DTEs can be directly connected using appropriate connections. To allow using a
47、wide variety of media, this standard does not specify the physical layer signals and their characteristics. However, the following assumptions are made: the communication is point to point or point to multipoint; both half-duplex and duplex connections are possible; asynchronous transmission with 1
48、start bit, 8 data bits, no parity and 1 stop bit (8N1). COSEM client COSEM server DTEDTE DCE DCE IEC 235/02 8 62056-42 IEC:2002(E) From the internal point of view, the physical layer is the lowest layer in the protocol stack. Figure 2 The location of the physical layer This standard defines the serv
49、ices of the physical layer towards its peer layer(s) and the upper layers, and the protocol of the physical layer. 5 Service specification 5.1 List of services ITU-T X.211 defines a set of capabilities to be made available by the physical layer over the physical media. These capabilities are available via service primitives, as follows: 5.1.1 Connection establishment/release related services PH-CONNECT.request / PH-CONNECT.i