IEC 61334-6 pdf download – Distribution automation using distribution line carrier systems – Part 6: A-XDR encoding rule

admin
IEC 61334-6 pdf download – Distribution automation using distribution line carrier systems – Part 6: A-XDR encoding rule

IEC 61334-6 pdf download – Distribution automation using distribution line carrier systems – Part 6: A-XDR encoding rule
1Scope and object
This part of lEC 61334 defines a set of encoding rules – the A-XDR3) encoding rules – thatmay be used to derive the specification of a transfer syntax for values of types defined in theDLMS core standard using the ASN.1 notation(see IEC 61334-4-41).These A-XDR encodingrules are also to be applied for decoding such a transfer syntax in order to identify the datavalues being transferred.
The A-XDR encoding rules
are used at the time of communication;.provide optimal4) encoding for DLMS PDUs.
NOTE Provided that A-XDR ensures optimal encoding for DLMS PDUs, it is intended to be the default encodingrule for DLMS-based communication protocols.Nevertheless, the default – and also the possibly usable optional -encoding rules will be specified in the Application Layer document of the given protocol (for example,
IEC61334-4-42), as part of the Application context.
Normative references
The following normative documents contain provisions which, through reference in this text,constitute provisions of this part of lEC 61334.For dated references, subsequent amendmentsto, or revisions of, any of these publications do not apply. However, parties to agreements
based on this part of IEC 61334 are encouraged to investigate the possibility of applying themost recent editions of the normative documents indicated below.For undated references, thelatest edition of the normative document referred to applies. Members of lSO and lEC maintainregisters of currently valid International Standards.
IEC 61334-4-41:1996, Distribution automation using distribution line carrier systems – Part 4:Data communication protocols- Section 41: Application protocols -Distribution line messagespecification
IEC 61334-4-42:1996, Distribution automation using distribution line carrier systems – Part 4:Data communication protocols – Section 42:Application protocols – Application layer
ISO/IEC 8825-2:1997,Information technology – ASN.1 Encoding rules: Specification of packedencoding rules (PER)
ITU-TRecommendation X.208:1988,Specification of Abstract Syntax Notation One (ASN.1)
ITU-TRecommendation X.209:1988,Specification of basic encoding rules for Abstract SyntaxNotation One (ASN.1)
3 Caracteristiques genérales d’A-XDR
A-XDR specifie des regles de codage pouvant etre utilisees pour coder et decoder les valeursdune syntaxe abstraite definie comme les valeurs d’un seul type ASN.1 (le type principal).Cetype ASN.1 est soit un type simple soit un type compose.Un élement d’un type compose peutetre un type simple ou un type compose lui-meme.
Les regles de codage A-XDR exploitent le fait que l’emetteur et le recepteur d’une PDU DLMSutilisent exactement la meme specification de syntaxe abstraite. Alors qu’avec lencodage
BER, le codage de chaque valeur de tout type dune syntaxe abstraite est realisé en style type-longueur-valeur (TLV),A-XDR code le type et la longueur de la valeur seulement lorsque cetteinformation est necessaire.Ceci implique que, sans connaitre ce type de valeur codée, il n’estpas possible de determiner la structure du codage.
NOTE Cette m ethode de codage a pour effet que les regles de codage A-XDR ne sont pas extensibles (voirannexe A).
Afin qu’A-XDR reste aussi simple que possible, certaines restrictions s’appliquent selon lasyntaxe abstraite a coder, comme suit:
.aucun support de codage n’est fourni pour les types ASN.1 non utilises en DLMS5);. il convient que le type CHOICE ASN.1 contienne seulement des composants explicite-
ment6)etiquetes.
A-XDR specifie des regles de codage orientées octets. Ceci signifie que chaque partie ducodage -et donc également le codage dans son ensemble – est un nombre entier d’octets.
4Structure d’un codage
La base du codage BER (voir la Recommandation UIT-T X.209) est une structure composée detrois parties: type, longueur et valeur comme indiquéa la figure 1.Pour le BER, ces trois
parties sont designees par identificateur (1), longueur(L) et contenu (C). La partie identificateuridentifie le type, la partie longueur permet de repérer la fin du contenu7) et la partie contenuvehicule l’une des valeurs possibles de ce type.
3 General characteristics of A-XDR A-XDR specifies encoding rules which can be used to encode and decode the values of an abstract syntax defined as the values of a single ASN.1 type (the outermost type). This single ASN.1 type is either a simple type or a composite type. A component of a composite type may be a simple type or a composite type itself.