Electricity metering - Data exchange for meter reading, tariff and load control -- Part 47: COSEM transport layers for IPv4 networks

This part of IEC 62056 specifies the transport layers for COSEM communication profiles for use on IPv4 networks. These communication profiles contain a connection-less and a connection-oriented transport layer, providing OSI-style services to the service user COSEM application layer. The connection-less transport layer is based on the Internet standard User Datagram Protocol. The connection-oriented transport layer is based on the Internet standard Transmission Control Protocol. Although the major part of the COSEM transport layers is the UDP and TCP as they are specified in the relevant Internet standards, they include an additional sub-layer, called wrapper. Annex A shows how the OSI-style transport layer services can be converted to and from UDP and TCP function calls.

Messung der elektrischen Energie - Zählerstandsübertragung, Tarif- und Laststeuerung -- Teil 47: COSEM Transportschichten für IPv4 Netzwerke

Equipements de mesure de l'énergie électrique - Echange des données pour la lecture des compteurs, le contrôle des tarifs et de la charge - Partie 47 : Couches de transport COSEM pour réseaux IPv4

Merjenje električne energije – Izmenjevanje podatkov za odbiranje stanja električnih števcev ter krmiljenje tarife in obremenitve – 47. del: Transportne plasti za omrežja IPv4 (IEC 62056-47:2006)

General Information

Status
Withdrawn
Publication Date
18-Sep-2007
Withdrawal Date
12-Feb-2023
Current Stage
9900 - Withdrawal (Adopted Project)
Start Date
13-Feb-2023
Due Date
08-Mar-2023
Completion Date
13-Feb-2023

Relations

Buy Standard

Standard
EN 62056-47:2007
English language
42 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)

2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.Messung der elektrischen Energie - Zählerstandsübertragung, Tarif- und Laststeuerung -- Teil 47: COSEM Transportschichten für IPv4 NetzwerkeEquipements de mesure de l'énergie électrique - Echange des données pour la lecture des compteurs, le contrôle des tarifs et de la charge - Partie 47 : Couches de transport COSEM pour réseaux IPv4Electricity metering - Data exchange for meter reading, tariff and load control -- Part 47: COSEM transport layers for IPv4 networks91.140.50Sistemi za oskrbo z elektrikoElectricity supply systems35.100.40Transportni slojTransport layer17.220.20Measurement of electrical and magnetic quantitiesICS:Ta slovenski standard je istoveten z:EN 62056-47:2007SIST EN 62056-47:2007en,de01-november-2007SIST EN 62056-47:2007SLOVENSKI
STANDARD



SIST EN 62056-47:2007



EUROPEAN STANDARD EN 62056-47 NORME EUROPÉENNE
EUROPÄISCHE NORM January 2007
CENELEC European Committee for Electrotechnical Standardization Comité Européen de Normalisation Electrotechnique Europäisches Komitee für Elektrotechnische Normung
Central Secretariat: rue de Stassart 35, B - 1050 Brussels
© 2007 CENELEC -
All rights of exploitation in any form and by any means reserved worldwide for CENELEC members.
Ref. No. EN 62056-47:2007 E
ICS 91.140.50; 35.100.40
English version
Electricity metering -
Data exchange for meter reading, tariff and load control -
Part 47: COSEM transport layers for IPv4 networks (IEC 62056-47:2006)
Equipements de mesure
de l'énergie électrique -
Echange des données pour la lecture
des compteurs, le contrôle des tarifs
et de la charge -
Partie 47 : Couches de transport COSEM pour réseaux IPv4
(CEI 62056-47:2006)
Messung der elektrischen Energie -
Zählerstandsübertragung,
Tarif- und Laststeuerung -
Teil 47: COSEM Transportschichten
für IPv4 Netzwerke (IEC 62056-47:2006)
This European Standard was approved by CENELEC on 2006-12-01. CENELEC members are bound to comply with the CEN/CENELEC Internal Regulations which stipulate the conditions for giving this European Standard the status of a national standard without any alteration.
Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the Central Secretariat or to any CENELEC member.
This European Standard exists in three official versions (English, French, German). A version in any other language made by translation under the responsibility of a CENELEC member into its own language and notified to the Central Secretariat has the same status as the official versions.
CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Cyprus, the Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland and the United Kingdom.
SIST EN 62056-47:2007



EN 62056-47:2007 - 2 -
Foreword The text of document 13/1386/FDIS, future edition 1 of IEC 62056-47, prepared by IEC TC 13, Electrical energy measurement, tariff- and load control, was submitted to the IEC-CENELEC parallel vote and was approved by CENELEC as EN 62056-47 on 2006-12-01. The following dates were fixed: – latest date by which the EN has to be implemented
at national level by publication of an identical
national standard or by endorsement
(dop)
2007-09-01 – latest date by which the national standards conflicting
with the EN have to be withdrawn
(dow)
2009-12-01 The International Electrotechnical Commission (IEC) and CENELEC draw attention to the fact that it is claimed that compliance with this International Standard / European Standard may involve the use of a maintenance service concerning the stack of protocols on which the present standard IEC 62056-47 / EN 62056-47 is based.
The IEC and CENELEC take 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 terms and conditions with 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 1) User Association Geneva / Switzerland www.dlms.ch Annex ZA has been added by CENELEC. __________ Endorsement notice The text of the International Standard IEC 62056-47:2006 was approved by CENELEC as a European Standard without any modification. In the official version, for Bibliography, the following note has to be added for the standard indicated: IEC 62056-46 NOTE
Harmonized as EN 62056-46:2002 (not modified). __________
1) Device Language Message Specification SIST EN 62056-47:2007



- 3 - EN 62056-47:2007 Annex ZA
(normative)
Normative references to international publications with their corresponding European publications
The following referenced documents are indispensable for the application 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.
NOTE
When an international publication has been modified by common modifications, indicated by (mod), the relevant EN/HD applies.
Publication Year Title EN/HD Year
IEC 60050-300 2001 International Electrotechnical Vocabulary - Electrical and electronic measurements and measuring instruments -
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/TR 62051-1
2004 Electricity metering -Data exchange for meter reading, tariff and load control - Glossary of terms -
Part 1: Terms related to data exchange with metering using DLMS/COSEM - -
IEC 62056-53 2006 Electricity metering -Data exchange for meter reading, tariff and load control -
Part 53: COSEM application layer EN 62056-53 2007
IEC 62056-62 2006 Electricity metering -Data exchange for meter reading, tariff and load control -
Part 62: Interface classes EN 62056-62 2007
STD 0005 1981 Internet Protocol - -
STD 0006 1980 User Datagram Protocol - -
STD 0007 1981 Transmission Control Protocol - -
SIST EN 62056-47:2007



SIST EN 62056-47:2007



INTERNATIONAL STANDARD IEC62056-47 First edition2006-11 Electricity metering – Data exchange for meter
reading, tariff and load control – Part 47: COSEM transport layers for IPv4 networks © IEC 2006

Copyright - all rights reserved No part 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 Commission,
3, rue de Varembé, PO Box 131, CH-1211 Geneva 20, SwitzerlandTelephone: +41 22 919 02 11 Telefax: +41 22 919 03 00 E-mail: inmail@iec.ch
Web: www.iec.ch W For price, see current cataloguePRICE CODE
Commission Electrotechnique InternationaleInternational Electrotechnical CommissionSIST EN 62056-47:2007



– 2 – 62056-47 © IEC:2006(E) CONTENTS FOREWORD.3
1 Scope.5 2 Normative references.5 3 Terms, definitions and abbreviations.6 4 Overview.6 5 The COSEM connection-less, UDP-based transport layer.8 5.1 General.8 5.2 Service specification for the COSEM UDP-based transport layer.9 5.3 Protocol specification for the COSEM UDP-based transport layer.12 6 The COSEM connection-oriented, TCP-based transport layer.14 6.1 General.14 6.2 Service specification for the COSEM TCP-based transport layer.15 6.3 Protocol specification for the COSEM TCP-based transport layer.25
Annex A (informative)
Converting OSI-style transport layer services
to and from RFC-style TCP function calls.32
Bibliography.38
INDEX.39
Figure 1 – COSEM as a standard Internet application protocol.7 Figure 2 – Transport layers of the COSEM_on_IP profile.8 Figure 3 – Services of the COSEM connection-less, UDP-based transport layer.9 Figure 4 – The wrapper protocol data unit (WPDU).13 Figure 5 – The COSEM connection-less, UDP-based transport layer PDU (UDP-PDU).13 Figure 6 – Services of the COSEM connection-oriented, TCP-based transport layer.16 Figure 7 – The TCP packet format.26 Figure 8 – Figure TCP connection establishment.27 Figure 9 – Disconnecting a TCP connection.28 Figure 10 – Data communication using the COSEM TCP-based transport layer.30 Figure 11 – High-level state transition diagram for the wrapper sub-layer.30 Figure A.1 – TCP connection state diagram.32 Figure A.2 – MSC and state transitions for establishing
a transport layer and TCP connection.33 Figure A.3 – MSC and state transitions for closing a transport layer and TCP connection.34 Figure A.4 – Polling the TCP sub-layer for TCP abort indication.35 Figure A.5 – Sending an APDU in three TCP packets.36 Figure A.6 – Receiving the message in several packets.37
Table 1 – Reserved wrapper Port numbers in the UDP-based COSEM profile.14 SIST EN 62056-47:2007



62056-47 © IEC:2006(E) – 3 – INTERNATIONAL ELECTROTECHNICAL COMMISSION ____________
ELECTRICITY METERING –
DATA EXCHANGE FOR METER READING,
TARIFF AND LOAD CONTROL –
Part 47: COSEM transport layers for IPv4 networks
FOREWORD 1) The International Electrotechnical Commission (IEC) is a worldwide organization for 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 publishes 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 participate 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 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 Publications 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 for 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 corresponding national or regional publication shall be clearly indicated in the latter. 5) IEC provides no marking procedure to indicate its approval and cannot be rendered responsible for any equipment declared to be in conformity with an IEC Publication. 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 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) Attention 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 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 protocols on which the present standard IEC 62056-47 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 terms and conditions with 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: DLMS1 User Association Geneva / Switzerland www.dlms.ch International Standard IEC 62056-47 has been prepared by IEC technical committee 13: Equipment for electrical energy measurement and load control. ——————— 1 Device Language Message Specification SIST EN 62056-47:2007



– 4 – 62056-47 © IEC:2006(E) The text of this standard is based on the following documents: FDIS Report on voting 13/1386/FDIS 13/1397/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. 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 maintenance result date indicated on the IEC web site under "http://webstore.iec.ch" in the data related to the specific publication. At this date, the publication will be
• reconfirmed, • withdrawn, • replaced by a revised edition, or • amended. A list of all parts of IEC 62056 series, published under the general title Electricity metering – Data exchange for meter reading, tariff and load control, can be found on the IEC website.
A bilingual version of the publication may be issued at a later date. SIST EN 62056-47:2007



62056-47 © IEC:2006(E) – 5 – ELECTRICITY METERING –
DATA EXCHANGE FOR METER READING,
TARIFF AND LOAD CONTROL –
Part 47: COSEM transport layers for IPv4 networks
1 Scope This part of IEC 62056 specifies the transport layers for COSEM communication profiles for use on IPv4 networks. These communication profiles contain a connection-less and a connection-oriented transport layer, providing OSI-style services to the service user COSEM application layer. The connection-less transport layer is based on the Internet standard User Datagram Protocol. The connection-oriented transport layer is based on the Internet standard Transmission Control Protocol. Although the major part of the COSEM transport layers is the UDP and TCP as they are specified in the relevant Internet standards, they include an additional sub-layer, called wrapper. Annex A shows how the OSI-style transport layer services can be converted to and from UDP and TCP function calls. 2 Normative references The following referenced documents are indispensable for the application 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 (IEV) – Electrical and electronic measurements and measuring instruments – 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 62051:1999, Electricity metering – Glossary of terms IEC 62051-1:2004, Ed.1., Electricity metering – Data exchange for meter reading, tariff and load control – Glossary of terms – Part 1: Terms related to data exchange with metering equipment using DLMS/COSEM IEC 62056-53, Electricity metering – Data exchange for meter reading, tariff and load control − Part 53: COSEM application layer 3 IEC 62056-62, Electricity metering – Data exchange for meter reading, tariff and load control − Part 62: Interface classes 3 STD0005 – Internet Protocol Author: J. Postel Date: September 1981 Also: RFC0791, RFC0792, RFC0919, RFC0922, RFC0950, RFC1112 SIST EN 62056-47:2007



– 6 – 62056-47 © IEC:2006(E) STD0006 – User Datagram Protocol Author: J. Postel Date: 28 August 1980 Also: RFC0768 STD0007 – Transmission Control Protocol Author: J. Postel Date: September 1981 Also: RFC0793 See also Bibliography for other related Internet RFCs. 3 Terms, definitions and abbreviations 3.1 Terms and definitions For the purposes of this document, the definitions given in IEC 60050-300, IEC 62051 and IEC 62051-1 apply. 3.2 Abbreviations APDU
Application Layer Protocol Data Unit COSEM
COmpanion Specification for Energy Metering COSEM_on_IP The TCP-UDP/IP based COSEM communication profile IP
Internet Protocol PDU
Protocol Data Unit PAR
Positive Acknowledgement with Retransmission TCP
Transmission Control Protocol UDP
User Datagram Protocol WPDU
Wrapper Protocol Data Unit
4 Overview This standard specifies two transport layers for the COSEM_on_IP communication profiles: a connection-less transport layer, based on UDP, Internet standard STD0006 and a connection-oriented transport layer, based on TCP, Internet standard STD0007. In these profiles, the COSEM application layer uses the services of one of these transport layers, which use then the services of the Internet Protocol (IPv4) network layer to communicate with other nodes connected to the abstract IPv4 network. When used in these profiles, the COSEM application layer can be considered as another Internet standard application protocol (like the well-known HTTP, FTP or SNMP) and it may co-exist with other Internet application protocols, as shown in
Figure 1.
SIST EN 62056-47:2007



62056-47 © IEC:2006(E) – 7 – .FilesWEBpagesCOSEMinterface modelApplication / Data modelse.g. FTPe.g. HTTPCOSEM ALACSE + xDLMSInternet Transport Layer (UDP & TCP)WrapperInternet Network layer (IPv4)Data Link LayerPhysical LayerStandard application
protocols
Figure 1 – COSEM as a standard Internet application protocol As the COSEM application layer specified in IEC 62056-53 uses and provides OSI-style services, a wrapper has been introduced between the UDP/TCP layers and the COSEM application layer. Therefore, the COSEM transport layers consist of a wrapper sub-layer and the UDP or TCP transport layer. The wrapper sub-layer is a lightweight, nearly state-less entity: its main function is to adapt the OSI-style service set, provided by the COSEM transport layer, to UDP or TCP function calls and vice versa. In addition, the wrapper sub-layer has the following functions: • it provides an additional addressing capability (wPort) on top of the UDP/TCP port; • it provides information about the length of the data transported. This feature helps the sender to send and the receiver to recognize the reception of a complete APDU, which may be sent and received in multiple TCP packets. As specified in IEC 62056-53, B.3.3, the COSEM application layer is listening only on one UDP or TCP port. On the other hand, as defined in IEC 62056-62, a COSEM physical device may host several client application processes or server logical devices. The additional addressing capability provided by the wrapper sub-layer allows identifying these application processes. The structure of the COSEM transport layer and their place in COSEM-on_IP is shown in Figure 2. SIST EN 62056-47:2007



– 8 – 62056-47 © IEC:2006(E) COSEM UDP-based Transport LayerCOSEM Application LayerCOSEM WrapperInternet UDPCOSEM application layer servicesCOSEM connectionlesstransport servicesUDP-DATA.req/.ind/(.cnf)UDP function callsSEND, RECEIVEa) the UDP-based profileIP and lower layersCOSEM TCP-based Transport LayerCOSEM Application ProcessCOSEM Application LayerCOSEM WrapperInternet TCPCOSEM applicationlayer servicesCOSEMconnection-orientedtransport servicesTCP-DATA.req/.ind/(.cnf)TCP function callsactive/passive OPEN,SEND, RECEIVEb) the TCP-based profileIP and lower layersTCP ConnectionManagerTCP-CONNECT servicesTCP-DISCONNECT servicesCOSEM Application ProcessTCP-ABORT.ind Figure 2 – Transport layers of the COSEM_on_IP profile The service user of the UDP-DATA and the TCP-DATA services is the COSEM application layer. On the other hand, the service user of the TCP-CONNECT and TCP-DISCONNECT services is the TCP Connection Manager Process. The COSEM TCP-based transport layer also provides a TCP-ABORT.indication service to the service user COSEM application layer. 5 The COSEM connection-less, UDP-based transport layer 5.1 General The COSEM connection-less transport layer is based on the User Datagram Protocol (UDP) as specified in STD0006. UDP provides a procedure for application programs to send messages to other programs with a minimum of protocol mechanism. On the one hand, the protocol is transaction oriented, and delivery and duplicate protection are not guaranteed. On the other hand, UDP is simple, it adds a minimum of overhead, it is efficient and easy to use. Several well-known Internet applications, like SNMP, DHCP, TFTP, etc. take advantage of these performance benefits, either because some datagram applications do not need to be reliable or because the required reliability mechanism is ensured by the application itself. Request/response type applications, like a confirmed COSEM application association established on the COSEM UDP-based transport layer, then invoking confirmed COSEM data communication services is a good example for this second category. Another advantage of UDP is that being connection-less, it is easily capable of multi- and broadcasting. UDP basically provides an upper interface to the IP layer, with an additional identification capability, the UDP port number. This allows distinguishing between application processes, hosted in the same physical device and identified by its IPv4 address2. ——————— 2 The addressing/identification scheme for the COSEM_on_IP profiles is defined in IEC 62056-53, B.3.3. SIST EN 62056-47:2007



62056-47 © IEC:2006(E) – 9 – As already mentioned in Clause 4, the COSEM application layer is listening only on one UDP port. On the other hand, as defined in IEC 62056-62, a COSEM physical device may host several client application processes or server logical devices. The additional addressing capability provided by the wrapper sub-layer, using the wrapper port (wPort) numbers on top of the UDP/TCP port numbers allows identifying these application processes. The wrapper also adds length information to the APDU to be transported. 5.2 Service specification for the COSEM UDP-based transport layer 5.2.1 General The COSEM UDP-based transport layer provides the same set of services both at the Client and at the Server sides, as shown in Figure 3. IPLower layers: Data link and PhysicalCOSEM Client Application LayerCOSEM UDP-based Transport LayerWrapperUDPNCOSEM Client Application ProcessUDP-DATA.reqUDP-DATA.cnfUDP-DATA.indCOSEM Server Application ProcessIPLower layers: Data link and PhysicalCOSEM UDP-based Transport LayerWrapperUDPMCOSEM Server Application LayerUDP-DATA.cnfUDP-DATA.indUDP-DATA.req Figure 3 – Services of the COSEM connection-less, UDP-based transport layer The COSEM UDP-based transport layer provides only data communication services: the connection-less UDP-DATA services. The service set for the UDP-DATA services is the same at both the client and server sides: consequently, the service specification for these services is the same for both the client and server transport layers. The .request and .indication service primitives are mandatory. The implementation of the local .confirm service primitive is optional. NOTE The APDU pre-fixed with the header by the wrapper sub-layer must fit in a single UDP datagram. SIST EN 62056-47:2007



– 10 – 62056-47 © IEC:2006(E) 5.2.2 The UDP-DATA services 5.2.2.1 UDP-DATA.request Function This service primitive is invoked by the service user COSEM application layer to request the transmission of an APDU to the peer COSEM application layer. Service parameters The semantics of the primitive is as follows: UDP-DATA.request ( Local_wPort, Remote_wPort, Local_UDP_Port, Remote_UDP_Port, Local_IP_Address, Remote_IP_Address, Data_Length, Data )
The Local_wPort, Local_UDP_Port and Local_IP_Address parameters indicate wrapper Port number, UDP Port number and IP Address parameters belonging to the device/application process requesting to send the Data. The Remote_wPort, Remote_UDP_Port and Remote_IP_Address parameters indicate the wrapper Port number, UDP Port number and IP Address parameters belonging to the device/application process to which the Data is to be transmitted. The Local_UDP_Port and Remote_UDP_Port parameters identify the local and remote UDP ports respectively. Note, that as no well-known port number is reserved for COSEM communications, the value of these parameters must be in the non-privileged range (above 1024). The Data_Length parameter indicates the length of the Data parameter in bytes.
The Data parameter contains the COSEM APDU to be transferred to the peer application layer. Use The UDP-DATA.request primitive is invoked by either the client or the server COSEM application layer to request sending an APDU to a single peer application layer, or, in the case of multi- or broadcasting, to multiple peer application layers. The reception of this service primitive shall cause the wrapper sub-layer to pre-fix the wrapper header to the APDU received, and then to call the SEND() function of the UDP sub-layer with the properly formed WPDU, see at 5.3.2, as DATA. The UDP sub-layer shall transmit the WPDU to the peer wrapper sub-layer as described in STD0006. SIST EN 62056-47:2007



62056-47 © IEC:2006(E) – 11 – 5.2.2.2 UDP-DATA.indication Function This service primitive is invoked by the COSEM transport layer to indicate to the service user COSEM application layer that an APDU has been received from a remote application layer. Service parameters The semantics of the primitive is as follows: UDP-DATA.indication ( Local_wPort, Remote_wPort, Local_UDP_Port, Remote_UDP_Port, Local_IP_Address, Remote_IP_Address, Data_Length, Data
)
The Local_wPort, Local_UDP_Port and Local_IP_Address parameters indicate wrapper Port number, UDP Port number and IP Address parameters belonging to the device/application process receiving the Data. The Remote_wPort, Remote_UDP_Port and Remote_IP_Address parameters indicate the wrapper Port number, UDP Port number and IP Address parameters belonging to the device/application process, which has sent the data. The Local_UDP_Port and Remote_UDP_Port parameters identify the local and remote UDP ports respectively. Note, that as no well-known port number is reserved for COSEM communications, the value of these parameters must be in the non-privileged range (above 1024). The Data_Length parameter indicates the length of the Data parameter in bytes. The Data parameter contains the COSEM APDU received from the peer application layer. Use The UDP-DATA.indication service primitive is used to indicate to the service user COSEM application layer that an APDU from the peer layer entity has been received. The primitive is generated following the reception of an UDP Datagram by the UDP sub-layer, if both th
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.