SIST EN 62056-31:2000
(Main)Electricity metering - Data exchange for meter reading, tariff and load control -- Part 31: Use of local area networks on twisted pair with carrier signalling
Electricity metering - Data exchange for meter reading, tariff and load control -- Part 31: Use of local area networks on twisted pair with carrier signalling
Describes two new architectures for local bus data exchange with stations either energized or not. For non-energized stations, the bus supplies energy for data exchange. The first architecture completes the base protocol (EN 61142) with remote transfer services. The second architecture allows operation of DLMS services using the same physical medium and the same physical layer. This complete compatibility guarantees the possibility of using EN 61142 and IEC 62056-31 equipment on the same bus.
Messung der elektrischen Energie - Zählerstandsübertragung, Tarif- und Laststeuerung -- Teil 31: Nutzung örtlicher Bereichsnetze mit Trägerfrequenz-Signalübertragung auf verdrillten Zweidrahtleitungen
Comptage de l'électricité - Echange de données pour la lecture des compteurs, le contrôle des tarifs et de la charge -- Partie 31: Utilisation des réseaux locaux sur paire torsadée avec signal de porteuse
Décrit deux nouvelles architectures d'échange de données par bus en local avec des stations alimentées ou non en énergie. Pour les stations télé-alimentées, c'est le bus qui fournit l'énergie pour l'échange des données. La première architecture complète le protocole de base (EN 61142) par des services de téléprogrammation simplifiée. La seconde architecture permet de mettre en oeuvre les services DLMS sur le même support physique et avec la même couche physique. Cette totale compatibilité quarantit qu'il est possible d'utiliser des équipements de type EN 61142 et CEI 62056-31 sur le même bus.
Electricity metering - Data exchange for meter reading, fariff and load control - Part 31: Use of local area networks on twisted pair with carrier signalling
General Information
Relations
Standards Content (Sample)
SLOVENSKI STANDARD
SIST EN 62056-31:2000
01-junij-2000
Electricity metering - Data exchange for meter reading, fariff and load control - Part
31: Use of local area networks on twisted pair with carrier signalling
Electricity metering - Data exchange for meter reading, tariff and load control -- Part 31:
Use of local area networks on twisted pair with carrier signalling
Messung der elektrischen Energie - Zählerstandsübertragung, Tarif- und Laststeuerung -
- Teil 31: Nutzung örtlicher Bereichsnetze mit Trägerfrequenz-Signalübertragung auf
verdrillten Zweidrahtleitungen
Comptage de l'électricité - Echange de données pour la lecture des compteurs, le
contrôle des tarifs et de la charge -- Partie 31: Utilisation des réseaux locaux sur paire
torsadée avec signal de porteuse
Ta slovenski standard je istoveten z: EN 62056-31:2000
ICS:
17.220.20 0HUMHQMHHOHNWULþQLKLQ Measurement of electrical
PDJQHWQLKYHOLþLQ and magnetic quantities
35.240.60 Uporabniške rešitve IT v IT applications in transport
transportu in trgovini and trade
91.140.50 Sistemi za oskrbo z elektriko Electricity supply systems
SIST EN 62056-31:2000 en
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
---------------------- Page: 1 ----------------------
NORME CEI
INTERNATIONALE IEC
62056-31
INTERNATIONAL
Première édition
STANDARD
First edition
1999-11
Comptage de l'électricité – Echange de données
pour la lecture des compteurs, le contrôle des
tarifs et de la charge
Partie 31:
Utilisation des réseaux locaux sur paire torsadée
avec signal de porteuse
Electricity metering – Data exchange for meter
reading, tariff and load control
Part 31:
Use of local area networks on twisted pair with
carrier signalling
IEC 1999 Droits de reproduction réservés Copyright - all rights reserved
Aucune partie de cette publication ne peut être reproduite ni No part of this publication may be reproduced or utilized in
utilisée sous quelque forme que ce soit et par aucun procédé, any form or by any means, electronic or mechanical,
électronique ou mécanique, y compris la photo-copie et les including photocopying and microfilm, without permission in
microfilms, sans l'accord écrit de l'éditeur. writing from the publisher.
International Electrotechnical Commission 3, rue de Varembé Geneva, Switzerland
Telefax: +41 22 919 0300 e-mail: inmail@iec.ch IEC web site http://www.iec.ch
CODE PRIX
Commission Electrotechnique Internationale
XC
PRICE CODE
International Electrotechnical Commission
Pour prix, voir catalogue en vigueur
For price, see current catalogue
---------------------- Page: 2 ----------------------
62056-31 © IEC:1999 – 3 –
CONTENTS
Page
FOREWORD . 7
Clause
1 General. 11
1.1 Scope . 11
1.2 Normative references. 11
2 General description. 11
2.1 Basic vocabulary. 11
2.2 Layers and protocols. 13
2.3 Specification language. 13
2.4 Communication services for local bus data exchange without DLMS. 15
2.4.1 Remote reading exchange . 15
2.4.2 Remote programming exchange. 15
2.4.3 Point to point remote transfer exchange. 19
2.4.4 Broadcast remote transfer frame. 21
2.4.5 Bus initialization frame. 21
2.4.6 Forgotten station call exchange . 21
2.4.7 Frame fields. 23
2.4.8 Principle of the energy remote supply . 25
2.4.9 Non-energized station preselection exchange . 27
2.4.10 Communication exchange after preselection . 29
2.4.11 Alarm function. 29
2.5 Communication services for local bus data exchange with DLMS. 31
2.6 Systems management. 33
3 Local bus data exchange without DLMS. 33
3.1 Physical layer . 33
3.1.1 Physical-62056-31 protocol. 33
3.1.2 Physical parameters. 35
3.1.3 Timing diagrams . 39
3.1.4 Physical services and service primitives. 39
3.1.5 State transitions. 43
3.1.6 List and processing of errors. 61
3.2 Data Link layer. 63
3.2.1 Link-62056-31 protocol . 63
3.2.2 Management of exchanges . 63
3.2.3 Data Link services and service primitives. 63
3.2.4 Data Link parameters. 65
3.2.5 State transitions. 67
3.2.6 List and processing of errors. 81
3.3 Application layer . 81
3.3.1 Application-62056-31 protocol. 81
3.3.2 Application services and service primitives . 81
3.3.3 Application parameters . 83
3.3.4 State transitions. 85
3.3.5 List and processing of errors. 91
---------------------- Page: 3 ----------------------
62056-31 © IEC:1999 – 5 –
Clause Page
4 Local bus data exchange with DLMS. 91
4.1 Physical layer . 91
4.2 Data Link layer. 91
4.2.1 Link-E/D protocol . 91
4.2.2 Management of exchanges . 93
4.2.3 Data Link services and service primitives. 93
4.2.4 Data Link parameters. 95
4.2.5 State transitions. 97
4.2.6 List and processing of errors. 113
4.3 Application layer . 113
4.3.1 Transport sub-layer. 113
4.3.2 Application sub-layer. 113
5 Local bus data exchange – Hardware . 115
5.1 General. 115
5.2 General characteristics . 115
5.2.1 Signal transmission at 50 kHz . 115
5.2.2 Energy supply signal transmission . 119
5.2.3 Simple Secondary Station and multiple Secondary Station. 123
5.3 Bus specification. 125
5.3.1 General characteristics . 125
5.3.2 Cable characteristics. 127
5.3.3 Wiring . 129
5.4 Magnetic plug . 129
5.4.1 Function. 129
5.4.2 Common mechanical characteristics . 131
5.4.3 Electrical Block diagram with simple plug. 133
5.4.4 Electrical Block Diagram with energy supply plug. 135
5.5 Functional specifications of Primary Station transmitter (for 50 kHz signal). 135
5.6 Functional specifications of Primary Station receiver (for 50 kHz signal) . 137
5.7 Functional specification of Secondary Station transmitter (for 50 kHz signal) . 139
5.8 Functional specifications of Secondary Station receiver (for 50 kHz signal) . 139
Annex A (normative) Specification language. 143
Annex B (normative) Timing types and characteristics. 149
Annex C (normative) List of fatal errors . 153
Annex D (normative) Coding the command code field of frames . 155
Annex E (normative) Principle of the CRC . 159
Annex F (normative) Random integer generation for response from forgotten stations. 161
Annex G (normative) Random number generation for authentication (architecture without
DLMS). 163
Annex H (normative) Systems management implementation. 165
Annex I (informative) Information about exchanges . 167
---------------------- Page: 4 ----------------------
62056-31 © IEC:1999 – 7 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
ELECTRICITY METERING – DATA EXCHANGE FOR METER READING,
TARIFF AND LOAD CONTROL –
Part 31: Use of local area networks on twisted pair
with carrier signalling
FOREWORD
1) The IEC (International Electrotechnical Commission) is a worldwide organization for standardization comprising
all national electrotechnical 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 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. The 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 the 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 National Committees.
3) The documents produced have the form of recommendations for international use and are published in the form
of standards, technical reports or guides and they are accepted 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 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.
International Standard IEC 62056-31 has been prepared by IEC technical committee 13:
Equipment for electrical energy measurement and load control.
This first edition of IEC 62056-31 cancels and replaces the first edition of IEC 61142,
published in 1993, and constitutes a technical revision.
The text of this standard is based on the following documents:
FDIS Report on voting
13/1194/FDIS 13/1203/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.
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 patent
concerning the stack of protocols on which the present standard IEC 62056-31 is based.
The IEC takes no position concerning the evidence, validity and scope of this patent right.
---------------------- Page: 5 ----------------------
62056-31 © IEC:1999 – 9 –
The holder of this patent right has assured the IEC that he is willing to negotiate licences
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 the
IEC. Information may be obtained from:
EURIDIS Association
Bureau P107, 1 Avenue du Général de GAULLE, 92141 Clamart Cedex, FRANCE
Attention is drawn to the possibility that some of the elements of this International Standard
may be the subject of patent rights other than those identified above. IEC shall not be held
responsible for identifying any or all such patent rights.
This publication has been drafted in accordance with ISO/IEC Directives, Part 3.
The committee has decided that this publication remains valid until 2004.
At this date, in accordance with the committee's decision, the publication will be
• reconfirmed;
• withdrawn;
• replaced by a revised edition, or
• amended.
Annexes A, B, C, D, E, F, G and H form an integral part of this standard.
Annex I is for information only.
---------------------- Page: 6 ----------------------
62056-31 © IEC:1999 – 11 –
ELECTRICITY METERING – DATA EXCHANGE FOR METER READING,
TARIFF AND LOAD CONTROL –
Part 31: Use of local area networks on twisted pair
with carrier signalling
1 General
1.1 Scope
This part of IEC 62056 describes two new architectures for local bus data exchange with
stations either energized or not. For non-energized stations, the bus supplies energy for data
exchange.
The first architecture completes the base protocol (IEC 61142) with remote transfer services
while the second one allows operation of DLMS services using the same physical medium and
the same physical layer.
This complete compatibility guarantees the possibility of using IEC 61142 and IEC 62056-31
equipment on the same bus.
1.2 Normative references
The following normative documents contain provisions which, through reference in this text,
constitute provisions of this International Standard. For dated references, subsequent
amendments to, or revisions of, any of these publications do not apply. However, parties to
agreements based on this International Standard are encouraged to investigate the possibility
of applying the most recent editions of the normative documents indicated below. For undated
references, the latest edition of the normative document referred to applies. Members of IEC
and ISO maintain registers of currently valid International Standards.
IEC 62056-51:1998, Electricity metering – Data exchange for meter reading, tariff and load
control – Part 51: Application layer protocols
IEC 61334-4-41:1996, Distribution automation using distribution line carrier systems – Part 4:
Data communication protocols – Section 41: Application protocols – Distribution line message
specification
EIA 485: —, Standard for Electrical Characteristics of Generators and Receivers for Use in
Balanced Digital Multipoint Systems
ISO/IEC 8482:1993, Information technology – Telecommunications and information exchange
between systems – Twisted pair multipoint interconnections
2 General description
2.1 Basic vocabulary
All communication calls upon two systems called Primary Station and Secondary Station. The
Primary Station is the system that decides to initialize a communication with a remote system
called Secondary Station; these designations remain valid throughout the duration of the
communication.
---------------------- Page: 7 ----------------------
62056-31 © IEC:1999 – 13 –
A communication is broken down into a certain number of transactions. Each transaction
consists of a transmission from the Transmitter to the Receiver. During the sequence of
transactions, the Primary Station and Secondary Station systems take turns to act as
Transmitter and Receiver.
For the local bus data exchange architecture with DLMS, the terms Client and Server have
the same meaning as for the DLMS model (refer to IEC 61334-4-41). The Server (which is a
Secondary Station) acts as a VDE (refer to IEC 61334-4-41) for the submission of special
service requests. The Client (which is a Primary Station) is the system that uses the Server
for a specific purpose by means of one or more service requests.
2.2 Layers and protocols
The local bus data exchange architecture uses a breakdown into three network layers:
Physical, Data Link and Application. The protocol corresponding to the Physical layer is the
same for both local bus data exchange architecture, with and without DLMS, allowing all kinds
of stations to be installed on the same bus.
The protocols corresponding to the Data Link and Application layers are defined in the table 1.
Table 1 – Architectures
Layers Protocols
Architecture Application Application-62056-31
Without DLMS Data Link Link-62056-31
Architecture DLMS+
Application Application+
Transport+
With DLMS Data Link Link-E/D
The Transport+ and Application+ protocols of the Transport and Application sub-layers of the
Application layer are described in IEC 62056-51.
The DLMS+ protocol of the DLMS sub-layer of the Application layer is described in
IEC 61334-4-41.
2.3 Specification language
In this standard, the protocol of each layer is described by state transitions represented in the
form of tables. The syntax used in making up these tables is defined by a specification
language described in annex A.
In the event of a difference in interpretation between part of the text and a state transition
table, the table is always taken as the reference.
---------------------- Page: 8 ----------------------
62056-31 © IEC:1999 – 15 –
2.4 Communication services for local bus data exchange without DLMS
The list of available services is:
a) remote reading of data;
b) remote programming of data;
c) point to point remote transfer, which is a simplified remote programming service;
d) broadcast remote transfer;
e) bus initialization;
f) forgotten station call.
2.4.1 Remote reading exchange
The ENQ exchange consists of two frames arranged in one sequence:
remote reading frame containing the type of data to select in the TAB field
1 6 1 1 1 2
octet octets octet octet octet octets
-------------------> N ADS ADP COM TAB CRC
|
COM=ENQ (ENQuery)
positive acknowledgement frame with the selected data in the DATA field
1 6 1 1 1 0 to 116 2
octet octets octet octet octet octets octets
<------------------- N ADS ADP COM TAB DATA CRC
|
COM=DAT (DATa)
negative acknowledgement frame (TAB identifier unknown)
1 6 1 1 2
octet octets octet octet octets
<------------------- N ADS ADP COM CRC
|
COM=DRJ (Data ReJected)
2.4.2 Remote programming exchange
The REC exchange consists of four frames arranged in two sequences. Since there is an
internal sequence for authentication purpose, from the application point of view, it seems to
be only one sequence with two frames:
remote programming frame containing data in the DATA field and their type in the TAB field
1 6 1 1 8 8 1 0 to 100 2
octet octets octet octet octets octets octet octets octets
-------------------> N ADS ADP COM ZA1 ZA2 TAB DATA CRC
| NA1 0
COM=REC (RECeive)
---------------------- Page: 9 ----------------------
62056-31 © IEC:1999 – 17 –
positive acknowledgement frame (no authentication trouble)
1 6 1 1 8 8 2
octet octets octet octet octets octets octets
<------------------- N ADS ADP COM ZA1 ZA2 CRC
| 0 0
COM=EOS (End Of Session)
negative acknowledgement frame (no authentication trouble but remote programming data not
validated)
1 6 1 1 2
octet octets octet octet octets
<------------------- N ADS ADP COM CRC
|
COM=DRJ (Data ReJected)
Authentication is carried out by an exchange of random numbers cyphered using a secret key
specific to each Secondary Station. The random numbers are defined in 8 octets and they are
ciphered with the DES algorithm using an 8-octet ciphering key Ki known both to the Primary
and the Secondary station.
A random number NA1 is first generated by the Primary Station and transmitted into the ZA1
field of the remote programming frame while field ZA2 is set to zero.
On arrival at the Secondary Station, field ZA1 is ciphered by the DES algorithm with key Ki to
get the ciphered random number NA1K. Then occurs the internal sequence for authentication
which consists of two frames.
The first frame (from Secondary to Primary Station) contains this random number NA1K in
field ZA1 and a random number NA2 generated by the Secondary station in field ZA2.
On reception of this frame, the Primary Station compares the ZA1 field to an NA1´ number
obtained by ciphering the transmitted NA1 number using the DES algorithm with key Ki. If
NA1´ = ZA1, then the Primary Station considers the called Secondary Station as
authenticated. Otherwise, it considers the Secondary Station has not been authenticated and
aborts the communication session.
After correct authentication of the Secondary Station, the Primary Station first ciphers the
random number NA2 by the DES algorithm with key Ki to get the ciphered random number
NA2K and then transmits it into field ZA2 while field ZA1 is set to zero.
On reception of this response frame, the Secondary Station compares the ZA2 field to an
NA2´ number obtained by ciphering the transmitted NA2 number using the DES algorithm with
key Ki. If NA2´ = ZA2, then the Secondary Station considers the Primary Station as
authenticated. Otherwise, it considers the Primary Station has not been authenticated and
sends a negative acknowledgment frame.
---------------------- Page: 10 ----------------------
62056-31 © IEC:1999 – 19 –
The internal authentication exchange is the following:
internal authentication frame containing the ciphered random number NA1K in field ZA1 and
the random number NA2 in field ZA2
1 6 1 1 8 8 1 0 to 100 2
octet octets octet octet octets octets octet octets octets
<------------------- N ADS ADP COM ZA1 ZA2 TAB DATA CRC
| NA1K NA2
COM=ECH (ECHo)
positive response frame containing the ciphered random number NA2K in field ZA2 (if the
Secondary Station is considered as authenticated)
1 6 1 1 8 8 2
octet octets octet octet octets octets octets
-------------------> N ADS ADP COM ZA1 ZA2 CRC
| 0 NA2K
COM=AUT (AUThentication)
an authentication rejection frame replaces the normal EOS or DRJ frame when the Primary
Station is not considered authenticated
1 6 1 1 2
octet octets octet octet octets
<------------------- N ADS ADP COM CRC
|
COM=ARJ (Authentication ReJected)
2.4.3 Point to point remote transfer exchange
This TRF exchange consists of two frames arranged in one sequence. From the application
point of view, it seems to be a remote programming exchange in a single sequence with no
authentication:
point to point remote transfer frame containing data in the DATA field and their type in the
TAB field
1 6 1 1 1 0 to 116 2
octet octets octet octet octet octets octets
-------------------> N ADS ADP COM TAB DATA CRC
|
COM=TRF (TRansFer)
positive acknowledgement frame
1 6 1 1 2
octet octets octet octet octets
<------------------- N ADS ADP COM CRC
|
COM=TRA (TRansfer Acknowledgement)
negative acknowledgement frame (remote transfer data not validated)
1 6 1 1 2
octet octets octet octet octets
<------------------- N ADS ADP COM CRC
|
COM=DRJ (Data ReJected)
---------------------- Page: 11 ----------------------
62056-31 © IEC:1999 – 21 –
2.4.4 Broadcast remote transfer frame
This TRB frame does not involve any frame answer. From the application point of view, it
seems to be a point to point remote transfer, but without acknowledgement since it is a
broadcasting:
broadcast remote transfer frame containing data in the DATA field and their type in the TAB
field
1 6 1 1 1 0 to 116 2
octet octets octet octet octet octets octets
-------------------> N ADS ADP COM TAB DATA CRC
|
COM=TRB (Transfer Broadcast)
The secondary address (which defines the receiving Secondary Stations) shall be a broadcast
address.
2.4.5 Bus initialization frame
This IB frame does not involve any frame answer. From the application point of view, it seems
to be a broadcast remote transfer, but without data since its purpose is only to reset a special
flag (called forgotten station flag) to TRUE for all Secondary Stations that have been
programmed with the ADP address:
bus initialization frame
1 6 1 1 2
octet octets octet octet octets
-------------------> N ADS ADP COM CRC
|
COM=IB (Initialize Bus)
The secondary address (which defines the receiving Secondary Stations) shall be a broadcast
address.
After the bus initialization frame, any Secondary Station receiving a correct ENQ frame
containing a known TAB identifier will then no longer be considered as a “forgotten station”.
2.4.6 Forgotten station call exchange
This ASO exchange consists of two frames arranged in one sequence. At the end of a remote
reading sequence, the Primary Station can search for stations whose forgotten station flag is
TRUE (maximum 5 in 100).
As a correct remote reading exchange sets the forgotten station flag of the corresponding
station to FALSE, the ASO exchange normally occurs after the completion of a remote
reading sequence that is one or several remote reading exchanges preceded by a bus
initialization frame.
The Primary Station manages several time slots. When detecting a collision, it has to retry an
ASO exchange. Nevertheless, each time a correct Secondary Station answer is received, the
Primary Station shall eliminate it from the list of forgotten stations by operating a correct
remote reading exchange with this station.
---------------------- Page: 12 ----------------------
62056-31 © IEC:1999 – 23 –
In order to assure the selection constraints (described in 2.4.9), the non-energized stations
shall answer in the first time slot of the first ASO exchange. Then, only the forgotten stations
are selected and the usual principle can be used for the following ASO exchanges.
forgotten station call frame containing selection criteria in the TABi field (1 to 40 TAB
identifiers)
1 6 1 1 1 to 40 2
octet octets octet octet octets octets
-------------------> N ADS ADP COM TABi CRC
|
COM=ASO (A forgotten StatiOn call)
The secondary address (which defines the receiving Secondary Stations) should be a
broadcast address.
acknowledgement frame containing the first TAB recognized by the unit and the ADS of the
station
1 6 1 1 1 6 2
octet octets octet octet octet octets octets
<------------------- N ADS ADP COM TAB ADS CRC
|
COM=RSO (Reply from forgotten StatiOn)
2.4.7 Frame fields
N total number of
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.