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

IEC 61158-6-4:2007 defines the protocol provided to define the wire-representation of the service primitives defined in IEC 61158-5-4, and define the externally visible behaviour associated with their transfer. This standard specifies the protocol of the Type 4 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. This edition of this part constitutes a technical addition. This part and its Type 4 companion parts also cancel and replace IEC/PAS 62412, published in 2005. This edition of IEC 61158-6 includes the following significant changes from the previous edition:
- 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 (2014-12) corresponds to the monolingual English version, published in 2007-12.

Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-4: Spécification des protocoles des couches d'application - Eléments de type 4

L'IEC 61158-6-4:2007 vise à définir le protocole mis en place pour définir la représentation filaire des primitives de service définies dans la norme CEI 61158-5-4, et définir le comportement visible de l'extérieur associé à leur transfert. La présente norme spécifie le protocole de la couche Application de bus de terrain de Type 4, en conformité avec le modèle de référence de base OSI (ISO/CEI 7498) et avec la structure de la couche Application OSI (ISO/CEI 9545). Cette première édition et les parties qui l'accompagnent de la sous-série CEI 61158-6 annulent et remplacent la CEI 61158-6:2003. L'édition de la présente partie constitue un ajout technique. La présente partie et les parties de type 4 qui l'accompagnent annulent et remplacent également la CEI/PAS 62412 publiée en 2005. Cette édition de la CEI 61158-6 inclut les modifications majeures suivantes par rapport à l'édition précédente:
- suppression du bus de terrain de type 6 précédent pour défaut de pertinence de commercialisation;
- ajout de nouveaux types de bus de terrain;
- fractionnement de la partie 6 de la troisième édition en plusieurs parties numérotées -6-2, -6-3,.. La présente version bilingue (2014-12) 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
DELPUB - Deleted Publication
Completion Date
19-Aug-2014
Ref Project

Relations

Buy Standard

Standard
IEC 61158-6-4:2007 - Industrial communication networks - Fieldbus specifications - Part 6-4: Application layer protocol specification - Type 4 elements Released:12/14/2007 Isbn:283189476X
English language
36 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 61158-6-4:2007 - Industrial communication networks - Fieldbus specifications - Part 6-4: Application layer protocol specification - Type 4 elements Released:12/14/2007 Isbn:9782832219461
English and French language
75 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC 61158-6-4
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-4: Application layer protocol specification – Type 4 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-4
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-4: Application layer protocol specification – Type 4 elements

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
W
ICS 35.100.70; 25.040.40 ISBN 2-8318-9476-X

– 2 – 61158-6-4 © IEC:2007(E)
CONTENTS
FOREWORD.5
INTRODUCTION.7
1 Scope.8
1.1 General .8
1.2 Specifications.8
1.3 Conformance.8
2 Normative references .9
3 Terms, definitions, symbols, abbreviations and conventions .10
3.1 Referenced terms and definitions .10
3.2 Abbreviations and symbols.11
3.3 Conventions .11
4 FAL syntax description .13
4.1 FAL-AR PDU abstract syntax .13
4.2 Data types.15
5 Transfer syntaxes.15
5.1 APDU encoding.15
5.2 Variable object encoding and packing .19
5.3 Error codes .22
6 FAL protocol state machines .22
7 AP-context state machine.23
8 FAL service protocol machine (FSPM).24
8.1 Primitives exchanged between FAL User and FSPM .24
8.2 FSPM states.24
9 Application relationship protocol machine (ARPM).30
9.1 Primitives exchanged between ARPM and FSPM .30
9.2 ARPM States.30
10 DLL mapping protocol machine (DMPM).32
10.1 Data-link Layer service selection .32
10.2 Primitives exchanged between ARPM and DLPM .32
10.3 Primitives exchanged between DLPM and data-link layer .33
10.4 DLPM states.33
11 Protocol options .35
Bibliography.36

Figure 1 – State transition diagram .12
Figure 2 – APDU header structure .16
Figure 3 – Instruction subfield of ControlStatus.16
Figure 4 – Errorcode subfield of ControlStatus.16
Figure 5 – Remaining subfields of ControlStatus.17
Figure 6 – DataFieldFormat encoding .17
Figure 7 – Structure of request APDU body .17
Figure 8 – Structure of response APDU body.18
Figure 9 – Variable identifier.18

61158-6-4 © IEC:2007(E) – 3 –
Figure 10 – Code subfield of variable identifier .18
Figure 11 – Summary of FAL architecture .23
Figure 12 – FSPM proxy object state machine .25
Figure 13 – FSPM real object state machine.29
Figure 14 – ARPM state machine.30
Figure 15 – DLPM state machine .33

Table 1 – State machine description elements .12
Table 2 – APDU header .13
Table 3 – APDU body .14
Table 4 – Transfer syntax for Array.20
Table 5 – Transfer syntax for Structure .21
Table 6 – Common variable object attributes .21
Table 7 – Variable type identifiers.21
Table 8 – FIFO variable object attributes .22
Table 9 – Error codes .22
Table 10 – Primitives exchanged between FAL-User and FSPM .24
Table 11 – REQUEST.req FSPM constraints.25
Table 12 – REQUEST.req FSPM actions .26
Table 13 – RESPONSE.cnf FSPM constraints .27
Table 14 – RESPONSE.cnf FSPM actions .28
Table 15 – AR Send.ind proxy FSPM constraints .28
Table 16 – AR Send.ind proxy FSPM actions .28
Table 17 – AR Send.ind real FSPM constraints.29
Table 18 – AR Send.ind real FSPM Actions .29
Table 19 – Primitives issued by FSPM to ARPM .30
Table 20 – Primitives issued by ARPM to FSPM .30
Table 21 – Primitives issued by ARPM to ARPM .30
Table 22 – AR Send.req ARPM constraints.31
Table 23 – AR Send.req ARPM actions.31
Table 24 – AR Acknowledge.req ARPM constraints .31
Table 25 – AR Acknowledge.req ARPM actions .31
Table 26 – AR Send.ind ARPM constraints .31
Table 27 – AR Send.req ARPM actions.32
Table 28 – Primitives issued by ARPM to DLPM .33
Table 29 – Primitives issued by DLPM to ARPM .33
Table 30 – Primitives issued by DLPM to data-link layer .33
Table 31 – Primitives issued by data-link layer to DLPM .33
Table 32 – AR Send.req DLPM constraints .34
Table 33 – AR Send.req DLPM actions .34
Table 34 – AR Acknowledge.req DLPM constraints.34
Table 35 – AR Acknowledge.req DLPM actions.34
Table 36 – DL-UNITDATA.ind DLPM constraints.35

– 4 – 61158-6-4 © IEC:2007(E)
Table 37 – DL-UNITDATA.ind DLPM actions.35

61158-6-4 © IEC:2007(E) – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 6-4: Application layer protocol specification – Type 4 elements

FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of 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, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC
Publication(s)”). 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. 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 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 IEC National Committees.
3) IEC Publications have the form of recommendations for internat
...


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

Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 6-4: Spécification des protocoles des couches d'application –
Éléments de Type 4
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 l'IEC ou du Comité national de l'IEC du pays du demandeur. Si vous avez des
questions sur le copyright de l'IEC 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 l'IEC 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.

IEC Catalogue - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
The stand-alone application for consulting the entire The world's leading online dictionary of electronic and
bibliographical information on IEC International Standards, electrical terms containing more than 30 000 terms and
Technical Specifications, Technical Reports and other definitions in English and French, with equivalent terms in 14
documents. Available for PC, Mac OS, Android Tablets and additional languages. Also known as the International
iPad. Electrotechnical Vocabulary (IEV) online.

IEC publications search - www.iec.ch/searchpub IEC Glossary - std.iec.ch/glossary
The advanced search enables to find IEC publications by a More than 55 000 electrotechnical terminology entries in
variety of criteria (reference number, text, technical English and French extracted from the Terms and Definitions
committee,…). It also gives information on projects, replaced clause of IEC publications issued since 2002. Some entries
and withdrawn publications. have been collected from earlier publications of IEC TC 37,

77, 86 and CISPR.
IEC Just Published - webstore.iec.ch/justpublished
Stay up to date on all new IEC publications. Just Published IEC Customer Service Centre - webstore.iec.ch/csc
details all new publications released. Available online and If you wish to give us your feedback on this publication or
also once a month by email. need further assistance, please contact the Customer Service
Centre: csc@iec.ch.
A propos de l'IEC
La Commission Electrotechnique Internationale (IEC) 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 IEC
Le contenu technique des publications IEC est constamment revu. Veuillez vous assurer que vous possédez l’édition la
plus récente, un corrigendum ou amendement peut avoir été publié.

Catalogue IEC - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
Application autonome pour consulter tous les renseignements
Le premier dictionnaire en ligne de termes électroniques et
bibliographiques sur les Normes internationales,
électriques. Il contient plus de 30 000 termes et définitions en
Spécifications techniques, Rapports techniques et autres
anglais et en français, ainsi que les termes équivalents dans
documents de l'IEC. Disponible pour PC, Mac OS, tablettes
14 langues additionnelles. Egalement appelé Vocabulaire
Android et iPad.
Electrotechnique International (IEV) en ligne.

Recherche de publications IEC - www.iec.ch/searchpub
Glossaire IEC - std.iec.ch/glossary
Plus de 55 000 entrées terminologiques électrotechniques, en
La recherche avancée permet de trouver des publications IEC
en utilisant différents critères (numéro de référence, texte, anglais et en français, extraites des articles Termes et
comité d’études,…). Elle donne aussi des informations sur les Définitions des publications IEC parues depuis 2002. Plus
projets et les publications remplacées ou retirées. certaines entrées antérieures extraites des publications des

CE 37, 77, 86 et CISPR de l'IEC.
IEC Just Published - webstore.iec.ch/justpublished

Service Clients - webstore.iec.ch/csc
Restez informé sur les nouvelles publications IEC. Just
Published détaille les nouvelles publications parues. Si vous désirez nous donner des commentaires sur cette
Disponible en ligne et aussi une fois par mois par email. publication ou si vous avez des questions contactez-nous:
csc@iec.ch.
IEC 61158-6-4 ®
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –

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

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

Partie 6-4: Spécification des protocoles des couches d'application –

Éléments de Type 4
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
CODE PRIX W
ICS 25.040.40; 35.100.70 ISBN 978-2-8322-1946-1

– 2 – IEC 61158-6-4:2007 © IEC 2007
CONTENTS
FOREWORD . 5
INTRODUCTION . 7
1 Scope . 8
1.1 General . 8
1.2 Specifications . 8
1.3 Conformance . 8
2 Normative references . 9
3 Terms, definitions, symbols, abbreviations and conventions . 10
3.1 Referenced terms and definitions . 10
3.2 Abbreviations and symbols . 11
3.3 Conventions . 11
4 FAL syntax description . 13
4.1 FAL-AR PDU abstract syntax . 13
4.2 Data types . 15
5 Transfer syntaxes . 15
5.1 APDU encoding . 15
5.2 Variable object encoding and packing . 19
5.3 Error codes . 22
6 FAL protocol state machines . 22
7 AP-context state machine . 23
8 FAL service protocol machine (FSPM) . 24
8.1 Primitives exchanged between FAL User and FSPM . 24
8.2 FSPM states . 24
9 Application relationship protocol machine (ARPM) . 30
9.1 Primitives exchanged between ARPM and FSPM . 30
9.2 ARPM States . 30
10 DLL mapping protocol machine (DMPM) . 32
10.1 Data-link Layer service selection . 32
10.2 Primitives exchanged between ARPM and DLPM . 32
10.3 Primitives exchanged between DLPM and data-link layer . 33
10.4 DLPM states . 33
11 Protocol options . 35
Bibliography . 36

Figure 1 – State transition diagram . 12
Figure 2 – APDU header structure . 16
Figure 3 – Instruction subfield of ControlStatus . 16
Figure 4 – Errorcode subfield of ControlStatus . 16
Figure 5 – Remaining subfields of ControlStatus . 17
Figure 6 – DataFieldFormat encoding . 17
Figure 7 – Structure of request APDU body . 17
Figure 8 – Structure of response APDU body . 18
Figure 9 – Variable identifier . 18

Figure 10 – Code subfield of variable identifier . 18
Figure 11 – Summary of FAL architecture . 23
Figure 12 – FSPM proxy object state machine . 25
Figure 13 – FSPM real object state machine . 29
Figure 14 – ARPM state machine . 30
Figure 15 – DLPM state machine . 33

Table 1 – State machine description elements . 12
Table 2 – APDU header . 13
Table 3 – APDU body . 14
Table 4 – Transfer syntax for Array . 20
Table 5 – Transfer syntax for Structure . 21
Table 6 – Common variable object attributes . 21
Table 7 – Variable type identifiers . 21
Table 8 – FIFO variable object attributes . 22
Table 9 – Error codes . 22
Table 10 – Primitives exchanged between FAL-User and FSPM . 24
Table 11 – REQUEST.req FSPM constraints . 25
Table 12 – REQUEST.req FSPM actions . 26
Table 13 – RESPONSE.cnf FSPM constraints . 27
Table 14 – RESPONSE.cnf FSPM actions . 28
Table 15 – AR Send.ind proxy FSPM constraints . 28
Table 16 – AR Send.ind proxy FSPM actions .
...

Questions, Comments and Discussion

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