EN 61334-6:2000
(Main)Distribution automation using distribution line carrier systems - Part 6: A-XDR encoding rule
Distribution automation using distribution line carrier systems - Part 6: A-XDR encoding rule
Defines a set of encoding rules that may be used to derive the specification of a transfer syntax for values of types defined in the DLMS core standard using the ASN.1 notation
Verteilungsautomatisierung mit Hilfe von Trägersystemen auf Verteilungsleitungen - Teil 6: A-XDR-Codierungsregel
Automatisation de la distribution à l'aide de systèmes de communication à courants porteurs - Partie 6: Règles d'encodage A-XDR
Définit un ensemble de règles de codage susceptibles d'être utilisées pour obtenir la spécification d'une syntaxe de transfert pour les valeurs de types définis dans la norme principale DLMS à l'aide de la notation ASN.1
[Not translated]
General Information
Standards Content (Sample)
SLOVENSKI STANDARD
01-april-2002
[Not translated]
Distribution automation using distribution line carrier systems -- Part 6: A-XDR encoding
rule
Verteilungsautomatisierung mit Hilfe von Trägersystemen auf Verteilungsleitungen -- Teil
6: A-XDR-Codierungsregel
Automatisation de la distribution à l'aide de systèmes de communication à courants
porteurs -- Partie 6: Règles d'encodage A-XDR
Ta slovenski standard je istoveten z: EN 61334-6:2000
ICS:
29.240.20 Daljnovodi Power transmission and
distribution lines
33.200 Daljinsko krmiljenje, daljinske Telecontrol. Telemetering
meritve (telemetrija)
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
EUROPEAN STANDARD EN 61334-6
NORME EUROPÉENNE
EUROPÄISCHE NORM November 2000
ICS 29.240.20;33.200
English version
Distribution automation using distribution line carrier systems
Part 6: A-XDR encoding rule
(IEC 61334-6:2000)
Automatisation de la distribution Verteilungsautomatisierung
à l'aide de systèmes de communication mit Hilfe von Trägersystemen auf
à courants porteurs Verteilungsleitungen
Partie 6: Règles d'encodage A-XDR Teil 6: A-XDR-Codierungsregel
(CEI 61334-6:2000) (IEC 61334-6:2000)
This European Standard was approved by CENELEC on 2000-08-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, Czech Republic,
Denmark, Finland, France, Germany, Greece, Iceland, Ireland, Italy, Luxembourg, Netherlands, Norway,
Portugal, Spain, Sweden, Switzerland and United Kingdom.
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
© 2000 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC members.
Ref. No. EN 61334-6:2000 E
Page 2
Foreword
The text of document 57/451/FDIS, future edition 1 of IEC 61334-6, prepared by IEC TC 57, Power
system control and associated communications, was submitted to the IEC-CENELEC parallel vote and
was approved by CENELEC as EN 61334-6 on 2000-08-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) 2001-05-01
– latest date by which the national standards conflicting
with the EN have to be withdrawn (dow) 2003-08-01
Annexes designated "normative" are part of the body of the standard.
Annexes designated "informative" are given for information only.
In this standard, annex ZA is normative and annexes A, B and C are informative.
Annex ZA has been added by CENELEC.
__________
Endorsement notice
The text of the International Standard IEC 61334-6:2000 was approved by CENELEC as a European
Standard without any modification.
__________
Page 3
Annex ZA
(normative)
Normative references to international publications
with their corresponding European publications
This European Standard incorporates by dated or undated reference, provisions from other publications.
These normative references are cited at the appropriate places in the text and the publications are listed
hereafter. For dated references, subsequent amendments to or revisions of any of these publications
apply to this European Standard only when incorporated in it by amendment or revision. For undated
references the latest edition of the publication referred to applies (including amendments).
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 61334-4-41 1996 Distribution automation using distribution line EN 61334-4-41 1996
carrier systems
Part 4: Data communication protocols --
Section 41: Application protocols -
Distribution line message specification
IEC 61334-4-42 1996 Part 4: Data communication protocols -- EN 61334-4-42 1996
Section 42: Application protocols -
Application layer
ISO/IEC 8825-2 1997 Information technology - ASN.1 Encoding - -
rules: Specification of packed encoding rules
(PER)
ITU-T
1988 Specification of Abstract Syntax Notation - -
Recommendation
One (ASN.1)
X.208
ITU-T 1988 Specification of basic encoding rules for - -
Recommendation
Abstract Syntax Notation One (ASN.1)
X.209
NORME CEI
INTERNATIONALE IEC
61334-6
INTERNATIONAL
Première édition
STANDARD
First edition
2000-06
Automatisation de la distribution à l'aide
de systèmes de communication
à courants porteurs –
Partie 6:
Règles d'encodage A-XDR
Distribution automation using distribution
line carrier systems –
Part 6:
A-XDR encoding rule
IEC 2000 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 photocopie 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
W
PRICE CODE
International Electrotechnical Commission
Pour prix, voir catalogue en vigueur
For price, see current catalogue
61334-6 © IEC:2000 – 3 –
CONTENTS
Page
FOREWORD . 5
INTRODUCTION .7
Clause
1 Scope and object . 9
2 Normative references . 9
3 General characteristics of A-XDR . 11
4 Structure of an encoding . 11
5 Rules for encoding . 17
5.1 The Identifier field . 17
5.2 The Length field . 19
5.3 The Contents field. 19
6 Encoding procedures. 21
6.1 Encoding of an INTEGER value. 21
6.2 Encoding of a BOOLEAN value . 27
6.3 Encoding of an ENUMERATED value . 29
6.4 Encoding of a BIT STRING value . 29
6.5 Encoding of an BYTE STRING value . 31
6.6 Encoding of a CHOICE value. 35
6.7 Tagged types (implicit, explicit and ASN.1 explicit tagging) . 37
6.8 OPTIONAL and DEFAULT components . 41
6.9 Encoding of a SEQUENCE value. 43
6.10 Encoding of a SEQUENCE OF value . 45
6.11 Encoding of the VisibleString type . 49
6.12 Encoding of the GeneralizedTime type . 51
6.13 Encoding of the ASN.1 NULL type/value . 51
Annex A (informative) Extensibility. 53
Annex B (informative) ASN.1 types and keywords used in DLMS. 55
Annex C (informative) Examples of A-XDR encoding for DLMS PDUs . 57
Figure 1 – The basic BER structure . 11
Figure 2 – The structure of a constructed BER encoding . 13
Figure 3 – The structure of a constructed A-XDR encoding . 13
Figure 4 – Structure of the variable-length integer encoding . 25
61334-6 © IEC:2000 – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
DISTRIBUTION AUTOMATION
USING DISTRIBUTION LINE CARRIER SYSTEMS –
Part 6: A-XDR encoding rule
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 specifications, 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.
6) Attention is drawn to the possibility that some of the elements of this International Standard may be the subject
of patent rights. The IEC shall not be held responsible for identifying any or all such patent rights.
International Standard IEC 61334-6 has been prepared by IEC technical committee 57: Power
system control and associated communications.
The text of this standard is based on the following documents:
FDIS Report on voting
57/451/FDIS 57/474/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 3.
Annexes A, B and C are for information only.
The committee has decided that the contents of this publication will remain unchanged until
2003. At this date, the publication will be
reconfirmed;
withdrawn;
replaced by a revised edition, or
amended.
61334-6 © IEC:2000 – 7 –
INTRODUCTION
ITU-T Recommendation X.208 specifies a formal language (ASN.1 = Abstract Syntax Notation
1)
One) which enables application layer specifications to define the types of information they
need to exchange. A representation of this information can be derived by applying a set of
encoding rules to values of types defined using the ASN.1 notation. Application of these
encoding rules produces a transfer syntax for such values.
Although many such sets of encoding rules could be imagined, for a long time only one single
set – the BER = Basic Encoding Rules – has been standardized (see ITU-T Recommendation
X.209). This is mainly because BER is quite adequate for a wide range of applications. On the
other hand, in some particular cases, BER can obviously be redundant. Avoiding this
redundancy by providing alternative encoding rules for those particular cases is the scope of
some recently developed new transfer syntax standards (DER, CER, PER). Clearly, the aim is
not to provide general-purpose, but rather specialized, alternatives to the BER, which are more
suitable than the BER in some respects.
Contrary to these ge
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.