Communication systems for meters - Part 3: Application protocols

This European Standard specifies application protocols for communication systems for meters.
This European Standard specifies application protocols, especially the M-Bus application protocol.
This European Standard is intended to be used with the lower layer specifications determined in
EN 13757-2, EN 13757-4, EN 13757-5, EN 13757-6 and EN 13757-7.

Kommunikationssysteme für Zähler - Teil 3: Anwendungsprotokolle

Diese Europäische Norm legt Anwendungsprotokolle für Kommunikationssysteme für Zähler fest.
Diese Europäische Norm legt Anwendungsprotokolle, insbesondere das M Bus Anwendungs¬protokoll fest.
Diese Europäische Norm soll mit den in EN 13757 2, EN 13757 4, EN 13757 5, EN 13757 6 und EN 13757 7 festgelegten Spezifikationen der unteren Schicht verwendet werden.

Systèmes de communication pour compteurs - Partie 3 : Protocoles d'application

La présente Norme européenne spécifie des protocoles d’application pour les systèmes de communication pour compteurs.
La présente Norme européenne spécifie des protocoles d’application, notamment le protocole d’application M-Bus.
La présente Norme européenne est destinée à être utilisée avec les spécifications relatives aux couches inférieures déterminées dans les normes EN 13757 2, EN 13757 4, EN 13757 5, EN 13757 6 et EN 13757 7.

Komunikacijski sistemi za merilnike - 3. del: Aplikacijski protokoli

Ta evropski standard določa aplikacijske protokole za komunikacijske sisteme za merilnike. Ta evropski standard določa aplikacijske protokole, predvsem aplikacijski protokol prek M-vodila. Ta evropski standard je namenjen uporabi v povezavi s specifikacijami spodnje plasti, ki so določene v standardih EN 13757-2, EN 13757-4, EN 13757-5, EN 13757-6 in EN 13757-7.

General Information

Status
Published
Public Enquiry End Date
30-Sep-2016
Publication Date
17-Apr-2018
Technical Committee
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
12-Apr-2018
Due Date
17-Jun-2018
Completion Date
18-Apr-2018

Relations

Buy Standard

Standard
EN 13757-3:2018
English language
104 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day
Draft
prEN 13757-3:2016
English language
97 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.Komunikacijski sistemi za merilnike - 3. del: Aplikacijski protokoliKommunikationssysteme für Zähler - Teil 3: AnwendungsprotokolleSystèmes de communication pour compteurs - Partie 3 : Protocoles d'applicationCommunication systems for meters - Part 3: Application protocols35.100.70Uporabniški slojApplication layer33.200Daljinsko krmiljenje, daljinske meritve (telemetrija)Telecontrol. TelemeteringICS:Ta slovenski standard je istoveten z:EN 13757-3:2018SIST EN 13757-3:2018en,fr,de01-junij-2018SIST EN 13757-3:2018SLOVENSKI
STANDARDSIST EN 13757-3:20131DGRPHãþD



SIST EN 13757-3:2018



EUROPEAN STANDARD NORME EUROPÉENNE EUROPÄISCHE NORM
EN 13757-3
April
t r s z ICS
u uä t r râ
u wä s r rä y râ
u wä t v rä { {â
{ sä s v rä w r Supersedes EN
s u y w yæ uã t r s uEnglish Version
Communication systems for meters æ Part
uã Application protocols Systèmes de communication pour compteurs æ Partie
u ã Protocoles d 5application
Kommunikationssysteme für Zähler æ Teil
uã Anwendungsprotokolle This European Standard was approved by CEN on
z February
t r s zä
egulations 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 CENæCENELEC Management Centre or to any CEN memberä
translation under the responsibility of a CEN member into its own language and notified to the CENæCENELEC Management Centre has the same status as the official versionsä
CEN members are the national standards bodies of Austriaá Belgiumá Bulgariaá Croatiaá Cyprusá Czech Republicá Denmarká Estoniaá Finlandá Former Yugoslav Republic of Macedoniaá Franceá Germanyá Greeceá Hungaryá Icelandá Irelandá Italyá Latviaá Lithuaniaá Luxembourgá Maltaá Netherlandsá Norwayá Polandá Portugalá Romaniaá Serbiaá Slovakiaá Sloveniaá Spainá Swedená Switzerlandá Turkey and United Kingdomä
EUROPEAN COMMITTEE FOR STANDARDIZATION COMITÉ EUROPÉEN DE NORMALISATION EUROPÄISCHES KOMITEE FÜR NORMUNG
CEN-CENELEC Management Centre:
Rue de la Science 23,
B-1040 Brussels
9
t r s z CEN All rights of exploitation in any form and by any means reserved worldwide for CEN national Membersä Refä Noä EN
s u y w yæ uã t r s z ESIST EN 13757-3:2018



EN 13757-3:2018 (E) 2 Contents Page
European foreword . 4 Introduction . 6 1 Scope . 6 2 Normative references . 8 3 Terms and definitions . 8 4 Abbreviations and symbols . 9 4.1 Abbreviations . 9 4.2 Symbols . 10 5 Selection of an application protocol . 10 6 M-Bus protocol . 10 6.1 General . 10 6.2 M-Bus data record . 11 6.3 Data Information Block (DIB) . 11 6.4 Value Information Block (VIB) . 15 6.5 Manufacturer specific unstructured data block . 27 7 Application reset and application select . 28 7.1 Application reset . 28 7.2 Application select with subcode . 28 7.3 Overview about CI-Fields for Application reset and Application select . 30 7.4 Rules for application selection . 31 7.5 Rules for block selection. 32 7.6 Selected application block in M-Bus Application protocol . 32 8 Clock synchronization . 32 9 Report of alarm status (slave to master) . 33 10 Report of application error . 33 10.1 General . 33 10.2 Status field . 33 10.3 General application layer errors . 33 11 Switching baud rate for M-Bus link layer according to EN 13757-2 . 34 12 Synchronize action . 35 13 Manufacturer specific protocols . 35 14 Other application protocols . 35 15 Image transfer . 35 Annex A (normative)
Coding of data records . 36 Annex B (normative)
Interpretation of hex-codes Ah–Fh in BCD-data fields . 44 B.1 General description standard reference . 44 SIST EN 13757-3:2018



EN 13757-3:2018 (E) 3 B.2 Definition . 44 Annex C (normative)
VIF coding for special units . 45 C.1 Non-metric units . 45 C.2 Plain text units . 45 C.3 Remote enablement/disablement of valve/breaker . 46 Annex D (informative)
Alarm protocol . 47 D.1 M-Bus according EN 13757-2 . 47 D.2 Wireless M-Bus according to EN 13757-4 . 47 Annex E (informative)
Special sequences for M-Bus devices . 48 E.1 VIF/VIFE/VIFE = FDh 97h 1Dh (error flag) . 48 E.2 VIF/VIFE/VIFE = FDh 9Fh 1Dh for passing remote control on a node . 50 E.3 Clock synchronization . 51 Annex F (normative)
Transmission of profiles . 53 F.1 The standard load profile . 53 F.2 The M-Bus compact profile . 53 Annex G (normative)
Compact M-Bus frame. 59 G.1 General . 59 G.2 CI-fields of the Full and the Compact M-Bus frame . 59 G.3 Calculation of the Full-Frame-CRC . 61 G.4 Calculation of the Format Signature . 61 G.5 Frame examples . 61 Annex H (normative)
Translating M-Bus type record descriptors to OBIS-type record descriptors . 64 H.1 General . 64 H.2 Translation of predefined data record types . 64 H.3 Online addition of an entry for the M-Bus to OBIS conversion table . 82 Annex I (normative)
Image Transfer . 83 I.1 Image Transfer Phases . 83 I.2 Commands for Image Transfer . 85 I.3 Overview Image Transfer . 101 Bibliography . 104
SIST EN 13757-3:2018



EN 13757-3:2018 (E) 4 European foreword This document (EN 13757-3:2018) has been prepared by Technical Committee CEN/TC 294 “Communication systems for meters”, the secretariat of which is held by DIN. This European Standard shall be given the status of a national standard, either by publication of an identical text or by endorsement, at the latest by October 2018 and conflicting national standards shall be withdrawn at the latest by October 2018. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. CEN shall not be held responsible for identifying any or all such patent rights. This document together with EN 13757-7:2018 and CEN/TR 17167:2018 will supersede EN 13757-3:2013. This document has been prepared under a mandate given to CEN by the European Commission and the European Free Trade Association. This document falls under Mandate EU M/441 “Standardisation mandate to CEN, CENELEC and ETSI in the field of measuring instruments for the development of an open architecture for utility meters involving communication protocols enabling interoperability” by providing the relevant definitions and methods for meter data transmission on application layer level. The M/441 Mandate is driving significant development of standards in smart metering. The following significant technical changes have been incorporated in the new edition of this European Standard: — extension of application select; — introduction of second level table for VIFE = FDh; — introduction of inverse compact load profile; — introduction of new VIFE for descriptor; — extension of VIFE = FCh table; — extension of definitions for DIF = 0Fh/1Fh; — transport and security services were moved to EN 13757-7; — informative annexes from previous version of EN 13757-3 were moved to a new technical report CEN/TR 17167. EN 13757 is currently composed with the following parts: — Communication systems for meters — Part 1: Data exchange; — Communication systems for meters — Part 2: Wired M-Bus communication; — Communication systems for meters — Part 3: Application protocols ; SIST EN 13757-3:2018



EN 13757-3:2018 (E) 5 — Communication systems for meters and remote reading of meters — Part 4: Wireless meter readout (Radio meter reading for operation in SRD bands); — Communication systems for meters — Part 5: Wireless M-Bus relaying; — Communication systems for meters — Part 6: Local Bus; — Communication systems for meters — Part 7: Transport and security services ; — CEN/TR 17167, Communication systems for meters — Accompanying TR to EN 13757-2,-3 and
¯ }á Examples and supplementary information. According to the CEN-CENELEC Internal Regulations, the national standards organisations of the following countries are bound to implement this European Standard: Austria, Belgium, Bulgaria, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Finland, Former Yugoslav Republic of Macedonia, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Serbia, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey and the United Kingdom. SIST EN 13757-3:2018



EN 13757-3:2018 (E) 6 Introduction This European Standard belongs to the EN 13757 series, which covers communication systems for meters. EN 13757-1 contains generic descriptions and a communication protocol. EN 13757-2 contains a physical and a link layer for twisted pair based Meter-Bus (M-Bus). EN 13757-4 describes wireless communication (often called wireless M-Bus or wM-Bus). EN 13757-5 describes the wireless network used for repeating, relaying and routing for the different modes of EN 13757-4. EN 13757-6 describes a twisted pair local bus for short distance (Lo-Bus). EN 13757-2 describes transport mechanism and security methods for data. The Technical Report CEN/TR 17167 contains informative annexes for EN 13757-2, EN 13757-3:2018 and EN 13757-7. These upper M-Bus protocol layers can be used with various Physical Layers and with Data Link Layers and Network Layers, which support the transmission of variable length binary transparent messages. Frequently, the Physical and Link Layers of EN 13757-2 (twisted pair) and EN 13757-4 (wireless) as well as EN 13757-5 (wireless with routing function) or the alternatives described in EN 13757-1 are used. These upper M-Bus protocol layers have been optimized for minimum battery consumption of meters, especially for the case of wireless communication, to ensure long battery lifetimes of the meters. Secondly, it is optimized for minimum message length to minimize the wireless channel occupancy and hence the collision rate. Thirdly, it is optimized for minimum requirements towards the meter processor regarding requirements of RAM size, code length and computational power. An overview of communication systems for meters is given in EN 13757-1, which also contains further definitions. This standard concentrates on the meter communication. The meter communicates with one (or occasionally several) fixed or mobile communication partners which again might be part of a private or public network. These further communication systems might use the same or other application layer protocols, security, privacy, authentication, and management methods. To facilitate common communication systems for CEN-meters (e.g. gas, water, thermal energy and heat cost allocators) and for electricity meters, in this standard occasionally electricity meters are mentioned. All these references are for information only and are not standard requirements. The definition of communication standards for electricity meters (possibly by a reference to CEN standards) remains solely in the responsibility of CENELEC. NOTE 1 CEN/TR 17167:2018, Annex C specifies how parts of this standard and of EN 13757–2 and EN 13757–4 can be used to implement smart meter functionalities. Similar functionalities could also be implemented using other physical and link layers. NOTE 2 For information on installation procedures and their integration in meter management systems, see CEN/TR 17167:2018, Annex D. The European Committee for Standardization (CEN) draws attention to the fact that it is claimed that compliance with this document may involve the use of a patent concerning Image Transfer given in Annex I. CEN takes no position concerning the evidence, validity and scope of this patent right. The holder of this patent right has ensured CEN that he/she is willing to negotiate licences either free of charge or under reasonable and non-discriminatory terms and conditions with applicants throughout the world. In this respect, the statement of the holder of this patent right is registered with CEN. Information may be obtained from: ITRON, INC Shig Furukawa, Associate General Counsel IP, Legal Department 2111 N. Molter Road SIST EN 13757-3:2018



EN 13757-3:2018 (E) 7 Liberty Lake, Washington 99019 USA Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights other than those identified above. CEN shall not be held responsible for identifying any or all such patent rights. CEN and CENELEC maintain online lists of patents relevant to their standards. Users are encouraged to consult the lists for the most up to date information concerning patents (ftp://ftp.cencenelec.eu/EN/IPR/Patents/IPRdeclaration.pdf). SIST EN 13757-3:2018



EN 13757-3:2018 (E) 8 1 Scope This European Standard specifies application protocols for communication systems for meters. This European Standard specifies application protocols, especially the M-Bus application protocol. This European Standard is intended to be used with the lower layer specifications determined in EN 13757-2, EN 13757-4, EN 13757-5, EN 13757-6 and EN 13757-7. 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 referenced document (including any amendments) applies. EN 13757-2, Communication systems for meters - Part 2: Wired M-Bus communication EN 13757-4, Communication systems for meters and remote reading of meters - Part 4: Wireless meter readout (Radio meter reading for operation in SRD bands) EN 13757-5, Communication systems for meters - Part 5: Wireless M-Bus relaying EN 13757-6, Communication systems for meters - Part 6: Local Bus EN 13757-7, Communication systems for meters — Part 7: Transport and security services ISO/IEC 8859-1, Information technology — 8-bit single-byte coded graphic character sets — Part 1: Latin alphabet No. 1 ISO/IEC/IEEE 60559:2011, Information technology — Microprocessor Systems — Floating-Point arithmetic 3 Terms and definitions For the purposes of this document, the following terms and definitions apply. 3.1 byte octet of bits 3.2 datagram unit of data transferred from source to destination Note 1 to entry: In previous versions of EN 13757–3 datagram was called telegram. 3.3 fragment datagram of a fragmented message 3.4 Final DIFE additional last DIFE with the value 00h that marks a storage number as a register number SIST EN 13757-3:2018



EN 13757-3:2018 (E) 9 3.5 Hex-ASCII base-16 numbers encoded as ASCII characters (‘0’–‘9’, ‘A’–‘F’) [SOURCE: ANSI X9 TR-31:2010] 3.6 message functional set of data transferred from source to destination Note 1 to entry: A message may consist of one or more datagrams. 3.7 Register number number of a predefined historical value register (like consumption value) corresponding to an OBIS value group F value 3.8 sublayer subdivision of a layer [SOURCE: ISO/IEC 7498-1] 4 Abbreviations and symbols 4.1 Abbreviations ACK Acknowledge AES Advanced Encryption Standard AFL Authentication and Fragmentation Sublayer APL Application Layer ASCII American Standard Code for Information Interchange BCD Binary Coded Decimal numbers CI Control Information field CMD Command DIB Data Information Block DIF Data Information Field DIFE Data Information Field Extensions DLMS Device Language Message Specification DRH Data Record Header E Extension bit LSB Least Significant Byte LSBit Least Significant Bit MDH Manufacturer Data Header MSB Most Significant Byte SIST EN 13757-3:2018



EN 13757-3:2018 (E) 10 MSBit Most Significant Bit OBIS Object Identification System (EN 62056–6-1) REQ-UD Request User Data (class 1 or 2), (EN 13757–4) RSP-UD Respond User Data (EN 13757–4) RSSI Received Signal Strength Indicator SND-NKE Send Link Reset (EN 13757–4) SND-UD Send User Data (EN 13757–4) SND-UD2 Send User Data 2 (EN 13757–4) TPL Transport Layer VIB Value Information Block VIF Value Information Field VIFE Value Information Field Extensions 4.2 Symbols Hexadecimal numbers are designated by a following “h”. Binary numbers are designated by a following “b”. Decimal numbers have no suffix. 5 Selection of an application protocol This European Standard supports several application protocols. A specific protocol shall be chosen accordingly to the selected CI-Field described in EN 13757-7:2018, 4.2. Beside the M-Bus protocol there are specific protocols described in the following clauses. Further application protocols applying DLMS/COSEM or M-Bus based usage of OBIS-type value descriptors are referenced in EN 13757-7:2018, Table 2. Annex H defines translation from M-Bus type record descriptors to OBIS-type record descriptors. The support for the different commands or protocols declared by the CI-field is optional in the meter. 6 M-Bus protocol 6.1 General The single datagram has a maximum length of 255 bytes. The data, together with information regarding coding, length and the type of data, is transmitted in data records in arbitrary sequence. According to EN 13757-2, the maximum space for data are 252 bytes. The effective usable space depends on the layers with variable length below the application layer and the applied header type and the encryption method. This restriction is required to enable gateways to other link- and application layers. The M-Bus Application Layer data may consist of two segments of data. The first segment holds M-Bus data records (see 6.2). The second, optional segment, holds manufacturer specific data. (see Table 1). Table 1 — Structure of a M-Bus APL with manufacturer specific data APL Variable data blocks (Records) MDH (optional) Manufacturer specific data (optional) Variable number 1 byte Variable number SIST EN 13757-3:2018



EN 13757-3:2018 (E) 11 A Manufacturer Data Header (MDH) shall be inserted before the manufacturer specific data. The MDH is one of the characters 0Fh or 1Fh. The MDH shall be omitted if there is no manufacturer specific data (see 6.5). Unencrypted data following encrypted data shall start at a data record boundary, i.e. the first byte of unencrypted data shall be interpreted as a DIF. Special data structures are defined in Annex F and in Annex G. If nothing other declared then multi byte fields shall be transmitted with least significant byte first (little endian). 6.2 M-Bus data record The structure of an M-Bus data record is shown in Table 2. The transmission order of the element is from left to right. Table 2 — Data record structure DIF DIFE VIF VIFE Data 1 byte 0 to 10 (1 byte each) 1 byte 0 to 10 (1 byte each) 0 to N bytes Data Information Block (DIB) Value Information Block (VIB)
Data Record Header (DRH)
Each data record consists of a Data Record Header (DRH) and the value (data). The DRH consists of a Data Information Block (DIB) and a Value Information Block (VIB). The DIB specifies the length, type and coding of the data. The VIB specifies the unit for the data and the multiplier to use. NOTE An application message can contain either just a single data record but also an arbitrary number of such data records in arbitrary order, each describing and containing a data element. For examples of such multi record messages see FprCEN/TR 17167:2017, Annex A, or for further information on M-Bus see FprCEN/TR 17167:2017, Annex C. 6.3 Data Information Block (DIB) 6.3.1 General The DIB contains at least one byte of Data Information Field (DIF), and can be extended by a maximum of 10 Data Information Field Extensions (DIFE). 6.3.2 Data Information Field (DIF) The coding of the DIF is shown in Table 3. Table 3 — Data Information Field (DIF) Bit 7 6 5 4 3 2 1 0 Extension bit (E) LSBit of storage number Function field Data field: Length and coding of data 6.3.3 Data field The data field shows how length and coding of data shall be interpreted. Table 4 shows the allowed codes for the data field. SIST EN 13757-3:2018



EN 13757-3:2018 (E) 12 Table 4 — Coding of the data field Code LengthSize in bit Data type 0000b 0 No data 0001b 8 8 bit integer/binary 0010b 16 16 bit integer/binary 0011b 24 24 bit integer/binary 0100b 32 32 bit integer/binary 0101b 32 32 bit real 0110b 48 48 bit integer/binary 0111b 64 64 bit integer/binary 1000b 0 Selection for readout 1001b 8 2 digit BCD 1010b 16 4 digit BCD 1011b 24 6 digit BCD 1100b 32 8 digit BCD 1101b N Variable length 1110b 48 12 digit BCD 1111b — Special functions For a detailed description of data types, refer to Annex A “Coding of data records” (e.g. BCD = type A, Real = type H). The coding as integer/binary by default implies coding type B (signed integer). The coding may however be overridden by the settings in VIF/VIFE of the record (e.g. date/time). Variable length: A Code of 1101b implies data with variable length. The length is coded in the first byte of the data, after the DRH and is named LVAR. (e.g. LVAR = 02h shows that two bytes of data follows.) If LVAR is used as the variable length of a wireless M-Bus data container (see FprCEN/TR 17167:2017, Annex F) it counts the number of bytes inside the container (Table 5). SIST EN 13757-3:2018



EN 13757-3:2018 (E) 13 Table 5 — LVAR interpretation Range Data Type Calculation 00h–BFha 8-bit text string according to ISO/IEC 8859-1 LVAR (0 to 191) characters C0h–C9h Positive BCD number (LVAR–C0h)*2 digits, 0 to 18 digits D0h–D9h Negative BCD number (LVAR–D0h)*2 digits, 0 to 18 digits E0h–EFh Binary number (LVAR–E0h) bytes, 0 to 15 bytes F0h–F4h Binary number 4*(LVAR–ECh) bytes, 16, 20, 24, 28, 32 bytes F5h Binary number 48 bytes F6h Binary number 64 bytes Others LVAR values Reserved
a If a wireless M-Bus data container is used it counts the number of bytes inside the container (see also Table 12, Footnote f). All multi byte fields following LVAR (according Table 5) shall be transmitted with Least Significant Byte first. A Code of 1111b implies coding for special functions as specified in Table 6. Table 6 — DIF-coding for special functions DIF Function 0Fh Start of manufacturer specific data structures to end of user data (see 6.5) 1Fh Same meaning as DIF = 0Fh + more records follow in next datagram (see 6.5) 2Fh Idle filler (not to be interpreted), following byte = DIF of next record 3Fh to 6Fh Reserved 7Fh Global readout request (all storage numbers, units, tariffs, function fields) 6.3.4 Function field The Function Field gives the type of value as specified in Table 7. Table 7 — Function field Code Description 00b Instantaneous value 01b Maximum value 10b Minimum value 11b Value during error state 6.3.5 Storage number Bit 6 of the DIF serves as the LSBit of the storage number of the data concerned, and the
...

SLOVENSKI STANDARD
oSIST prEN 13757-3:2016
01-september-2016
Komunikacijski sistemi za merilnike - 3. del: Aplikacijski protokoli
Communication systems for meters - Part 3: Application protocols
Kommunikationssysteme für Zähler - Teil 3: Anwendungsprotokolle
Systèmes de communication pour compteurs - Partie 3 : Protocoles d'application
Ta slovenski standard je istoveten z: prEN 13757-3
ICS:
33.200 Daljinsko krmiljenje, daljinske Telecontrol. Telemetering
meritve (telemetrija)
35.100.70 Uporabniški sloj Application layer
oSIST prEN 13757-3:2016 en,fr,de
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------
oSIST prEN 13757-3:2016

---------------------- Page: 2 ----------------------
oSIST prEN 13757-3:2016


DRAFT
EUROPEAN STANDARD
prEN 13757-3
NORME EUROPÉENNE

EUROPÄISCHE NORM

July 2016
ICS 33.200; 35.100.70 Will supersede EN 13757-3:2013
English Version

Communication systems for meters - Part 3: Application
protocols

This draft European Standard is submitted to CEN members for enquiry. It has been drawn up by the Technical Committee
CEN/TC 294.

If this draft becomes a European Standard, CEN 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.

This draft European Standard was established by CEN in three official versions (English, French, German). A version in any other
language made by translation under the responsibility of a CEN member into its own language and notified to the CEN-CENELEC
Management Centre has the same status as the official versions.

CEN members are the national standards bodies of Austria, Belgium, Bulgaria, Croatia, Cyprus, Czech Republic, Denmark, Estonia,
Finland, Former Yugoslav Republic of Macedonia, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania,
Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey and
United Kingdom.

Recipients of this draft are invited to submit, with their comments, notification of any relevant patent rights of which they are
aware and to provide supporting documentation.

Warning : This document is not a European Standard. It is distributed for review and comments. It is subject to change without
notice and shall not be referred to as a European Standard.


EUROPEAN COMMITTEE FOR STANDARDIZATION
COMITÉ EUROPÉEN DE NORMALISATION

EUROPÄISCHES KOMITEE FÜR NORMUNG

CEN-CENELEC Management Centre: Avenue Marnix 17, B-1000 Brussels
© 2016 CEN All rights of exploitation in any form and by any means reserved Ref. No. prEN 13757-3:2016 E
worldwide for CEN national Members.

---------------------- Page: 3 ----------------------
oSIST prEN 13757-3:2016
prEN 13757-3:2016 (E)
Contents Page
European foreword . 8
Introduction . 10
1 Scope . 11
2 Normative references . 11
3 Terms and definitions . 11
4 Abbreviations and symbols. 12
4.1 Abbreviations . 12
4.2 Symbols . 13
5 Application Layer (APL) . 13
5.1 Introduction . 13
5.2 M-Bus protocol . 13
5.2.1 General . 13
5.2.2 M-Bus data record . 14
5.2.3 Data Information Block (DIB) . 14
5.2.4 Value Information Block (VIB) . 18
5.2.5 Manufacturer specific unstructured data block . 28
5.3 Application reset and application select (Cl = 50 , 53 ) . 29
h h
5.3.1 Application reset . 29
5.3.2 Application select with subcode . 29
5.3.3 Overview about CI-Fields for Application reset and Application select . 31
5.3.4 Rules for application selection . 31
5.3.5 Rules for block selection . 32
5.3.6 Selected application block in M-Bus Application protocol . 32
5.4 Clock synchronization (CI = 6C , 6D ) . 32
h h
5.5 Report of alarm status (slave to master) (Cl = 71 , 74 and 75 ) . 32
h h h
5.6 Report of application error . 33
5.6.1 General . 33
5.6.2 Status field . 33
5.6.3 General application layer errors. 33
5.6.4 Record errors . 34
5.7 Switching baud rate for M-Bus link layer according to EN 13757-2 . 35
5.8 Synchronize action (Cl = 5Ch) . 36
5.9 Manufacturer specific protocols . 36
5.10 Other application protocols . 36
5.11 Image transfer . 36
Annex A (normative) Coding of data records . 37
Annex B (normative) Interpretation of hex-codes A – F in BCD-data fields . 45
h h
B.1 General description standard reference . 45
B.1.1 General . 45
B.1.2 Purpose . 45
B.2 Definition . 45
B.2.1 Hex code meanings. 45
B.2.2 LCD-decoding table . 46
Annex C (normative) VIF coding for special units. 47
2

---------------------- Page: 4 ----------------------
oSIST prEN 13757-3:2016
prEN 13757-3:2016 (E)
C.1 Non-metric units . 47
C.2 Plain text units . 47
C.3 Remote enablement/disablement of valve/breaker . 48
Annex D (informative) Alarm protocol . 49
D.1 M-Bus according EN 13757-2 . 49
D.2 Wireless M-Bus according to EN 13757-4 . 49
Annex E (informative) Special sequences for wireless M-Bus devices . 50
E.1 VIF/VIFE/VIFE = FD 97 1D (error flag) . 50
h h h
E.2 VIF/VIFE/VIFE = FD 9F 1D for passing remote control on a node . 50
h h h
E.3 Clock synchronization. 51
Annex F (normative) Transmission of profiles . 54
F.1 The standard load profile . 54
F.2 The M-Bus compact profile . 55
F.2.1 General . 55
F.2.2 The base value and base parameter . 55
F.2.3 The base time . 55
F.2.4 Structure of the compact profile . 55
F.2.5 Types of Compact profile . 57
F.2.6 Compact profile with registers (orthogonal VIFE = 1E ) . 57
h
F.2.7 Compact profile without registers (orthogonal VIFE = 1Fh) . 58
F.2.8 Inverse compact profile without registers (orthogonal VIFE = 13h) . 59
Annex G (normative) Compact M-Bus frame . 60
G.1 General . 60
G.2 CI-fields of the Full and the Compact M-Bus frame . 60
G.2.1 General . 60
G.2.2 Full M-Bus frame . 61
G.2.3 M-Bus- Compact frame . 61
G.2.4 M-Bus-Format frame . 62
G.3 Calculation of the Full-Frame-CRC . 62
G.4 Calculation of the Format Signature . 62
G.5 Frame examples . 63
G.5.1 General . 63
G.5.2 Example without data header . 63
G.5.3 Example with short data header, no encryption . 63
G.5.4 Example with short data header, encryption mode 5 . 64
Annex H (normative) Translating M-Bus type record descriptors to OBIS-type record
descriptors . 65
H.1 General . 65
H.2 Translation of predefined data record types . 66
H.3 Online addition of an entry for the M-Bus to OBIS conversion table . 81
Annex I (normative) Image Transfer . 82
I.1 Image Transfer Phases . 82
I.1.1 General . 82
I.1.2 Transfer Preparation . 82
I.1.3 Transfer Synchronization . 83
I.1.4 Image Transfer . 83
I.1.5 Image Validation . 84
I.1.6 Image Activation . 84
I.2 Commands for Image Transfer . 84
I.2.1 General . 84
I.2.2 Command and response structure . 84
3

---------------------- Page: 5 ----------------------
oSIST prEN 13757-3:2016
prEN 13757-3:2016 (E)
I.2.3 Function Field: . 85
I.2.4 Prepare command . 86
I.2.5 Prepare response . 88
I.2.6 Synchronize Command . 89
I.2.7 Transfer command . 89
I.2.8 Completion command . 91
I.2.9 Completion response. 91
I.2.10 State command . 92
I.2.11 State Response . 93
I.2.12 Validate command . 95
I.2.13 Activate command . 95
I.2.14 Terminate Command. 96
Bibliography . 97

Figures
Figure A.1 — Change of time by daylight savings . 41

Tables
Table 1 — Structure of a M-Bus APL with manufacturer specific data . 13
Table 2 — Data record structure . 14
Table 3 — Data Information Field (DIF) . 14
Table 4 — Coding of the data field . 15
Table 5 — LVAR interpretation . 16
Table 6 — DIF-coding for special functions . 16
Table 7 — Function field . 16
Table 8 — Coding of the Data Information Field Extension (DIFE) . 17
Table 9 — Coding of the Value Information Field (VIF) . 18
Table 10 — Primary VIF-codes . 19
Table 11 — Special VIF-codes . 20
Table 12 — Main VIFE-code extension table . 21
Table 13 — 2nd level VIFE code extension table . 23
Table 14 — Alternate extended VIF-code table . 24
Table 15 — Combinable (orthogonal) VIFE-table . 25
Table 16 — Extension of combinable VIFE-table (following VIFE = FCh of combinable
(orthogonal) VIFE-table) . 27
Table 17 — Action codes for the generalized object layer (master to slave) . 28
Table 18 —Coding of the message application . 30
Table 19 — CI fields for application select . 31
Table 20 — Application error (no header) . 33
Table 21 — Application error (short data header) . 33
Table 22 — Application error (long data header) . 33
4

---------------------- Page: 6 ----------------------
oSIST prEN 13757-3:2016
prEN 13757-3:2016 (E)
Table 23 — First error code byte for general application errors . 34
Table 24 — Codes for record errors (E = Extension bit) . 35
Table 25 — CI-field codes for baud rate switching . 36
Table A.1 — Type A: Unsigned BCD . 37
Table A.2 — Type B: Signed integer . 37
Table A.3 — Type C: Unsigned integer . 37
Table A.4 — Type D: Boolean . 38
Table A.5 — Type F: Date and time (CP32) . 38
Table A.6 — Type G: Date (CP16) . 38
Table A.7 — Type H: Floating point . 39
Table A.8 — Type I: Date and time (CP48) . 40
Table A.9 — Type J = Time (CP24) . 41
Table A.10 — Type K: Daylight savings . 42
Table A.11 — Type L: Listening window management . 43
Table A.12 — Type M: Date and time (CP_LVAR) . 44
Table B.1 — Decoding table . 46
Table C.1 — Metric/non-metric units . 47
Table C.2 — Data record structure for plain text VIF usage . 47
Table C.3 — Values for the remote control of the valve . 48
Table E.1 — Least significant error byte (EF1) . 50
Table E.2 — Meaning of error bits in the least significant error byte (EF1). 50
Table E.3 — Second least significant error byte (EF2) . 50
Table E.4 — Least significant byte of the remote control (RC1) . 51
Table E.5 — Remote control (RC1): adjust power . 51
Table E.6 — Remote control (RC1): enable test mode . 51
Table E.7 — Remote control (RC1): power save mode . 51
Table E.8 — Remote control (RC1): reserved . 51
Table E.9 — Structure of TC-field . 52
Table E.10 — Application frame “time setting” with CI = 6C (Set date and time) . 52
h
Table E.11 — Application frame “time adjustment” with CI = 6D (Add/Subtract
h
Time Offset) . 52
Table F.1 — Example for load profile: plain data . 54
Table F.2 — Example for load profile: M-Bus-sequence . 54
Table F.3 — Base value record (connected via storage-, tariff-, subunit number and
VIF/VIFEx) . 55
Table F.4 — Base time record (connected via the storage number) . 55
Table F.5 — Profile record (connected via storage-, tariff-, subunit number and
VIF/VIFEx) . 55
5

---------------------- Page: 7 ----------------------
oSIST prEN 13757-3:2016
prEN 13757-3:2016 (E)
Table F.6 — Spacing control byte . 56
Table F.7 — Structure of spacing control byte . 56
Table F.8 — Spacing value byte . 57
Table F.9 — Example of compact profile with registers: Plain data . 58
Table F.10 — Example of compact profile with registers: M-Bus data records . 58
Table F.11 — Example of compact profile without registers: Plain data. 59
Table F.12 — Example of compact profile without registers: M-Bus data records . 59
Table F.13 — Example of inverse compact profile without registers: Plain data . 59
Table F.14 — Example of inverse compact profile without registers: M-Bus data
records . 59
Table G.1 — CI-fields for the request of Full and Compact and Format M-Bus frame
format . 61
Table G.2 — CI-fields for the full and Compact and Format M-Bus frame format . 61
Table G.3 — Structure of full M-Bus frame . 61
Table G.4 — Structure of M-Bus-Compact frame . 61
Table G.5 — Structure of M-Bus-Format frame . 62
Table H.1 — M-Bus to OBIS translation: symbol explanation . 66
Table H.2 — M-Bus to OBIS translation: general data (for all devices) . 67
Table H.3 — M-Bus to OBIS translation: electricity meter . 68
Table H.4 — M-Bus to OBIS translation: heat cost allocator . 70
Table H.5 — M-Bus to OBIS translation: cooling meter . 71
Table H.6 — M-Bus to OBIS translation: combined heat and cooling meter . 73
Table H.7 — M-Bus to OBIS translation: heat meter . 75
Table H.8 — M-Bus to OBIS translation: gas meter. 77
Table H.9 — M-Bus to OBIS translation: water meter (cold) . 79
Table H.10 — M-Bus to OBIS translation: water meter (hot, warm) . 80
Table I.1 — Image Transfer CI-fields . 84
Ta
...

Questions, Comments and Discussion

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