Industrial communication networks - Fieldbus specifications - Part 6-7: Application layer protocol specification - Type 7 elements

IEC 61158-6-7:2007 describes the fieldbus application layer (FAL) which provides user programs with a means to access the fieldbus communication environment. In this respect, the FAL can be viewed as a "window between corresponding application programs." It specifies the protocol of the Type 7 fieldbus application layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498) and the OSI application layer structure (ISO/IEC 9545). This first edition and its companion parts of the IEC 61158-6 subseries cancel and replace IEC 61158-6:2003. It includes the following changes:
- deletion of the former Type 6 fieldbus for lack of market relevance;
- addition of new types of fieldbuses;
- partition of part 6 of the third edition into multiple parts numbered -6 2, -6 3,.... This bilingual version (2013-09) corresponds to the monolingual English version, published in 2007-12.

Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-7: Spécifications de protocole de la couche d'application - Éléments de Type 7

La CEI 61158-6-7:2007 décrit la couche d'application de bus de terrain (FAL, "Fieldbus Application Layer") qui fournit aux programmes utilisateur un moyen d'accès à l'environnement de communication des bus de terrain. À cet égard, la FAL peut être considérée comme une "fenêtre entre les programmes d'application correspondants." Elle spécifie le protocole de la couche application de bus de terrain de Type 7, conformément au modèle de référence de base OSI (ISO/CEI 7498) et à la structure de la couche application OSI (ISO/CEI 9545). Cette première édition et ses parties d'accompagnement de la série CEI 61158-6 annulent et remplacent la CEI 61158-6:2003. Elle inclut les modifications suivantes:
- suppression de l'ancien bus de terrain de Type 6 du fait d'un manque de pertinence pour le marché;
- addition de nouveaux types de bus de terrain;
- répartition de la partie 6 de la troisième édition en plusieurs parties numérotées -6 2, -6 3,... La présente version bilingue (2013-09) correspond à la version anglaise monolingue publiée en 2007-12.

General Information

Status
Published
Publication Date
13-Dec-2007
Technical Committee
Drafting Committee
Current Stage
PPUB - Publication issued
Start Date
30-Nov-2007
Completion Date
14-Dec-2007
Ref Project

Relations

Buy Standard

Standard
IEC 61158-6-7:2007 - Industrial communication networks - Fieldbus specifications - Part 6-7: Application layer protocol specification - Type 7 elements Released:12/14/2007 Isbn:2831894840
English language
155 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 61158-6-7:2007 - Industrial communication networks - Fieldbus specifications - Part 6-7: Application layer protocol specification - Type 7 elements
English and French language
318 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC 61158-6-7
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-7: Application layer protocol specification – Type 7 elements

All rights reserved. Unless otherwise specified, 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
either IEC or IEC's member National Committee in the country of the requester.
If you have any questions about IEC copyright or have an enquiry about obtaining additional rights to this publication,
please contact the address below or your local IEC member National Committee for further information.

IEC Central Office
3, rue de Varembé
CH-1211 Geneva 20
Switzerland
Email: inmail@iec.ch
Web: www.iec.ch
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.

About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigenda or an amendment might have been published.
ƒ Catalogue of IEC publications: www.iec.ch/searchpub
The IEC on-line Catalogue enables you to search by a variety of criteria (reference number, text, technical committee,…).
It also gives information on projects, withdrawn and replaced publications.
ƒ IEC Just Published: www.iec.ch/online_news/justpub
Stay up to date on all new IEC publications. Just Published details twice a month all new publications released. Available
on-line and also by email.
ƒ Electropedia: www.electropedia.org
The world's leading online dictionary of electronic and electrical terms containing more than 20 000 terms and definitions
in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical
Vocabulary online.
ƒ Customer Service Centre: www.iec.ch/webstore/custserv
If you wish to give us your feedback on this publication or need further assistance, please visit the Customer Service
Centre FAQ or contact us:
Email: csc@iec.ch
Tel.: +41 22 919 02 11
Fax: +41 22 919 03 00
IEC 61158-6-7
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-7: Application layer protocol specification – Type 7 elements

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XG
ICS 35.100.70; 25.040.40 ISBN 2-8318-9484-0

– 2 – 61158-6-7 © IEC:2007(E)
CONTENTS
FOREWORD.6
INTRODUCTION.8
1 Scope.9
1.1 General .9
1.2 Specifications.9
1.3 Conformance.9
2 Normative references .10
3 Terms, definitions, symbols, abbreviations and conventions .10
3.1 Terms and definitions from other ISO/IEC standards .10
3.2 Terms and definitions from IEC 61158-5-7.11
3.3 Additional terms and definitions.12
3.4 Abbreviations and symbols.16
3.5 Conventions .16
3.6 Conventions used in state machines .16
4 Abstract syntax of data type .17
4.1 Data abstract syntax specification .17
4.2 FAL PDU abstract syntax .21
5 Transfer syntaxes.22
5.1 Compact encoding.22
5.2 Data type encoding .23
6 Structure of protocol machines .82
7 AP-context state machine.83
8 Sub-MMS FAL service protocol machine (FSPM).83
8.1 General .83
8.2 Projection of the SUB-MMS PDUs on the MCS services .83
8.3 Projection of the SUB-MMS abort service on the MCS services .83
8.4 Construction of a SUB-MMS-PDU from a service primitive .84
8.5 Extraction of a valid service primitive from a SUB-MMS-PDU .84
8.6 Negotiation of an abstract syntax and a transfer syntax commonly called
presentation-context.84
8.7 Identification of the SUB-MMS core abstract syntax .86
8.8 Identification of the application context name .87
8.9 Identification of the ASE of the core abstract syntax and the transfer syntax .87
9 Association relationship protocol machine (ARPM ) .87
10 DLL mapping protocol machine (DMPM).88
10.1 MPS ARPM and DMPM .88
10.2 MCS ARPM and DMPM .99
11 Protocol options .135
11.1 Conformances classes .135
Bibliography.155

Figure 1 – Example of an evaluation net .17
Figure 2 – Encoding of a CompactValue .22
Figure 3 – Organisation of the bits and octets within a PDU.24

61158-6-7 © IEC:2007(E) – 3 –
Figure 4 – Encoding of a Bitstring .27
Figure 5 – Encoding of a Floating point value .28
Figure 6 – Encoding of a structure .29
Figure 7 – Encoding of a Boolean array .30
Figure 8 – Representation of a MCS PDU .36
Figure 9 – Relationships among Protocol Machines and Adjacent Layers .82
Figure 10 – A_Readloc service evaluation net .88
Figure 11 – A_Writeloc service evaluation net.89
Figure 12 – A_Update service evaluation net .90
Figure 13 – A_Readfar service evaluation net.91
Figure 14 – A_Writefar service evaluation net .93
Figure 15 – A_Sent service evaluation net .94
Figure 16 – A_Received service evaluation net.94
Figure 17 – Association establishment: Requester element state machine . 101
Figure 18 – Association establishment: Responder element state machine . 102
Figure 19 – Association termination: Requester element state machine . 104
Figure 20 – Association termination: Responder element state machine . 106
Figure 21 – Association revocation: Requester element state machine . 107
Figure 22 – Association revocation: Acceptor element state machine. 108
Figure 23 – Interactions between state machine in an associated mode data transfer . 110
Figure 24 – Transfer service: Requester element state machine . 114
Figure 25 – Transfer service: Acceptor element state machine . 115
Figure 26 – Unacknowledged transfer: Requester element state machine . 116
Figure 27 – Unacknowledged transfer: Acceptor element state machine . 116
Figure 28 – Acknowledged transfer: Requester element state machine . 118
Figure 29 – Acknowledged transfer: Acceptor element state machine . 119
Figure 30 – Numbering mechanism state machine .120
Figure 31 – Retry machanism state machine.122
Figure 32 – Anticipation mechanism state machine.125
Figure 33 – Segmentation mechanism state machine.127
Figure 34 – Reassembly mechanism state machine . 129
Figure 35 – Interaction of state machine in a non associated data transfer . 131
Figure 36 – Unacknowledged transfer: Requester element state machine . 132
Figure 37 – Unacknowledged transfer: Acceptor element state machine . 132
Figure 38 – Acknowledged transfer: Requester element state machine . 133
Figure 39 – Acknowledged transfer: Acceptor element state machine . 134

Table 1 – Example of encoding of a SEQUENCE .19
Table 2 – Example of encoding of a SEQUENCE OF .19
Table 3 – Example of encoding of a CHOICE.20
Table 4 – Example of encoding of an object identifier .21
Table 5 – Example of encoding of a PDU.22
Table 6 – MPS PDU types .25

– 4 – 61158-6-7 © IEC:2007(E)
Table 7 – Fields of a CompactValuePDU .25
Table 8 – Fields of a VariableDescriptionPDU.32
Table 9 – Fields of an AccessDescriptionPDU .33
Table 10 – Fields of a TypeDescriptionPDU.34
Table 11 – Fields of a ListDescriptionPDU .35
Table 12 – Coding of the different MCS PDU types.37
Table 13 – Coding of the variable part of the PDU .37
Table 14 – Structure of association establishment request.38
Table 15 – Structure of an associated establishment response .42
Table 16 – Structure of an association termination request .44
Table 17 – Structure of an association termination response .44
Table 18 – Structure of an association revocation request .45
Table 19 – Structure of an associated transfer request .46
Table 20 – Structure of an associated transfer acknowledgement .46
Table 21 – Structure of a non-associated transfer request .47
Table 22 – Structure of a non-associated transfer acknowledgement .48
Table 23 – Definitions of object classes .50
Table 24 – Definition of Sub-MMS Services .51
Table 25 – Structure of the antiduplication lis
...


IEC 61158-6-7 ®
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 6-7: Application layer protocol specification – Type 7 elements

Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 6-7: Spécifications de protocole de la couche d’application – Éléments
de Type 7
All rights reserved. Unless otherwise specified, 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
either IEC or IEC's member National Committee in the country of the requester.
If you have any questions about IEC copyright or have an enquiry about obtaining additional rights to this publication,
please contact the address below or your local IEC member National Committee for further information.

Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite ni
utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie et les
microfilms, sans l'accord écrit de la CEI ou du Comité national de la CEI du pays du demandeur.
Si vous avez des questions sur le copyright de la CEI ou si vous désirez obtenir des droits supplémentaires sur cette
publication, utilisez les coordonnées ci-après ou contactez le Comité national de la CEI de votre pays de résidence.

IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé Fax: +41 22 919 03 00
CH-1211 Geneva 20 info@iec.ch
Switzerland www.iec.ch
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.

About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigenda or an amendment might have been published.

Useful links:
IEC publications search - www.iec.ch/searchpub Electropedia - www.electropedia.org
The advanced search enables you to find IEC publications The world's leading online dictionary of electronic and
by a variety of criteria (reference number, text, technical electrical terms containing more than 30 000 terms and
committee,…). definitions in English and French, with equivalent terms in
It also gives information on projects, replaced and additional languages. Also known as the International
withdrawn publications. Electrotechnical Vocabulary (IEV) on-line.

IEC Just Published - webstore.iec.ch/justpublished Customer Service Centre - webstore.iec.ch/csc
Stay up to date on all new IEC publications. Just Published If you wish to give us your feedback on this publication
details all new publications released. Available on-line and or need further assistance, please contact the
also once a month by email. Customer Service Centre: csc@iec.ch.

A propos de la CEI
La Commission Electrotechnique Internationale (CEI) est la première organisation mondiale qui élabore et publie des
Normes internationales pour tout ce qui a trait à l'électricité, à l'électronique et aux technologies apparentées.

A propos des publications CEI
Le contenu technique des publications de la CEI est constamment revu. Veuillez vous assurer que vous possédez
l’édition la plus récente, un corrigendum ou amendement peut avoir été publié.

Liens utiles:
Recherche de publications CEI - www.iec.ch/searchpub Electropedia - www.electropedia.org
La recherche avancée vous permet de trouver des Le premier dictionnaire en ligne au monde de termes
publications CEI en utilisant différents critères (numéro de électroniques et électriques. Il contient plus de 30 000
référence, texte, comité d’études,…). termes et définitions en anglais et en français, ainsi que
Elle donne aussi des informations sur les projets et les les termes équivalents dans les langues additionnelles.
publications remplacées ou retirées. Egalement appelé Vocabulaire Electrotechnique
International (VEI) en ligne.
Just Published CEI - webstore.iec.ch/justpublished
Service Clients - webstore.iec.ch/csc
Restez informé sur les nouvelles publications de la CEI.
Just Published détaille les nouvelles publications parues. Si vous désirez nous donner des commentaires sur
Disponible en ligne et aussi une fois par mois par email. cette publication ou si vous avez des questions
contactez-nous: csc@iec.ch.
IEC 61158-6-7 ®
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –

Part 6-7: Application layer protocol specification – Type 7 elements

Réseaux de communication industriels – Spécifications des bus de terrain –

Partie 6-7: Spécifications de protocole de la couche d’application – Éléments

de Type 7
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
CODE PRIX XG
ICS 25.040.40; 35.100.70 ISBN 978-2-8322-1022-2

– 2 – 61158-6-7 © IEC:2007
CONTENTS
FOREWORD . 6
INTRODUCTION . 8
1 Scope . 9
1.1 General . 9
1.2 Specifications . 9
1.3 Conformance . 9
2 Normative references . 10
3 Terms, definitions, symbols, abbreviations and conventions . 10
3.1 Terms and definitions from other ISO/IEC standards . 10
3.2 Terms and definitions from IEC 61158-5-7. 11
3.3 Additional terms and definitions . 12
3.4 Abbreviations and symbols . 16
3.5 Conventions . 16
3.6 Conventions used in state machines . 16
4 Abstract syntax of data type . 17
4.1 Data abstract syntax specification . 17
4.2 FAL PDU abstract syntax . 21
5 Transfer syntaxes . 22
5.1 Compact encoding . 22
5.2 Data type encoding . 23
6 Structure of protocol machines . 82
7 AP-context state machine . 83
8 Sub-MMS FAL service protocol machine (FSPM) . 83
8.1 General . 83
8.2 Projection of the SUB-MMS PDUs on the MCS services . 83
8.3 Projection of the SUB-MMS abort service on the MCS services . 83
8.4 Construction of a SUB-MMS-PDU from a service primitive . 84
8.5 Extraction of a valid service primitive from a SUB-MMS-PDU . 84
8.6 Negotiation of an abstract syntax and a transfer syntax commonly called
presentation-context . 84
8.7 Identification of the SUB-MMS core abstract syntax . 86
8.8 Identification of the application context name . 87
8.9 Identification of the ASE of the core abstract syntax and the transfer syntax . 87
9 Association relationship protocol machine (ARPM ) . 87
10 DLL mapping protocol machine (DMPM) . 88
10.1 MPS ARPM and DMPM . 88
10.2 MCS ARPM and DMPM . 99
11 Protocol options . 135
11.1 Conformances classes . 135
Bibliography . 155

Figure 1 – Example of an evaluation net . 17
Figure 2 – Encoding of a CompactValue . 22
Figure 3 – Organisation of the bits and octets within a PDU . 24

61158-6-7 © IEC:2007 – 3 –
Figure 4 – Encoding of a Bitstring . 27
Figure 5 – Encoding of a Floating point value . 28
Figure 6 – Encoding of a structure . 29
Figure 7 – Encoding of a Boolean array . 30
Figure 8 – Representation of a MCS PDU . 36
Figure 9 – Relationships among Protocol Machines and Adjacent Layers . 82
Figure 10 – A_Readloc service evaluation net . 88
Figure 11 – A_Writeloc service evaluation net . 89
Figure 12 – A_Update service evaluation net . 90
Figure 13 – A_Readfar service evaluation net . 91
Figure 14 – A_Writefar service evaluation net . 93
Figure 15 – A_Sent service evaluation net . 94
Figure 16 – A_Received service evaluation net . 94
Figure 17 – Association establishment: Requester element state machine . 101
Figure 18 – Association establishment: Responder element state machine . 102
Figure 19 – Association termination: Requester element state machine . 104
Figure 20 – Association termination: Responder element state machine . 106
Figure 21 – Association revocation: Requester element state machine . 107
Figure 22 – Association revocation: Acceptor element state machine . 108
Figure 23 – Interactions between state machine in an associated mode data transfer . 110
Figure 24 – Transfer service: Requester element state machine . 114
Figure 25 – Transfer service: Acceptor element state machine . 115
Figure 26 – Unacknowledged transfer: Requester element state machine . 116
Figure 27 – Unacknowledged transfer: Acceptor element state machine . 116
Figure 28 – Acknowledged transfer: Requester element state machine . 118
Figure 29 – Acknowledged transfer: Acceptor element state machine . 119
Figure 30 – Numbering mechanism state machine . 120
Figure 31 – Retry machanism state machine . 122
Figure 32 – Anticipation mechanism state machine . 125
Figure 33 – Segmentation mechanism state machine . 127
Figure 34 – Reassembly mechanism state machine . 129
Figure 35 – Interaction of state machine in a non associated data transfer . 131
Figure 36 – Unacknowledged transfer: Requester element state machine . 132
Figure 37 – Unacknowledged transfer: Acceptor element state machine . 132
Figure 38 – Acknowledged transfer: Requester element state m
...

Questions, Comments and Discussion

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