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

IEC 61158-6-8:2007 provides common elements for basic time-critical and non-time-critical messaging communications between application programs in an automation environment and material specific to Type 8 fieldbus. It specifies interactions between remote applications and defines the externally visible behavior provided by the Type 8 fieldbus application layer. It defines the protocol provided to: define the wire-representation of the service primitives defined in IEC 61158 5-8, and define the externally visible behavior associated with their transfer. It specifies the protocol of the Type 8 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 and constitutes a technical revision. It 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. This bilingual version corresponds to the monolingual English version, published in 2007-12.

Réseaux de communication industriels - Spécifications de bus de terrain - Partie 6-8: Spécification de protocole de couche application - Éléments de Type 8

La CEI 61158-6-8:2007 fournit les éléments communs pour les communications de messagerie de base à temps critique et à temps non critique entre des programmes d'application dans un environnement d'automation et le matériau spécifique au bus de terrain de Type 8. Elle spécifie les interactions entre les applications distantes et définit le comportement visible de l'extérieur fourni par la couche application de bus de terrain de Type 8. Elle défini le protocole fourni pour: définir la représentation câblée des primitives de service définies dans la CEI 61158-5-8, et définir le comportement visible de l'extérieur qui est associé à leur transfert. Elle spécifie le protocole de la couche application des bus de terrain de Type 8, en conformité avec le Modèle de référence de base de l'OSI (ISO/CEI 7498) et la structure de la couche application de l'OSI (ISO/CEI 9545). Cette première édition et ses parties d'accompagnement de la sous-série CEI 61158-6 annulent et remplacent la CEI 61158-6:2003. Elle constitue une révision technique. Par rapport à l'édition précédente, la présente édition de la CEI 61158-6 comporte les modifications:
- suppression du précédent bus de terrain de Type 6 en raison du manque de pertinence commerciale;
- ajout de nouveaux types de bus de terrain;
- division de la partie 6 de la troisième édition en plusieurs parties. La présente version bilingue 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-8:2007 - Industrial communication networks - Fieldbus specifications - Part 6-8: Application layer protocol specification - Type 8 elements Released:12/14/2007 Isbn:2831894786
English language
101 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 61158-6-8:2007 - Industrial communication networks - Fieldbus specifications - Part 6-8: Application layer protocol specification - Type 8 elements
English and French language
209 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


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

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XD
ICS 35.100.70; 25.040.40 ISBN 2-8318-9478-6

– 2 – 61158-6-8 © 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 and definitions .10
3.1 ISO/IEC 7498-1 terms .10
3.9 ISO/IEC 8822 terms .11
3.11 ISO/IEC 9545 terms .11
3.16 ISO/IEC 8824 terms .11
3.37 ISO/IEC 8825 terms .12
3.40 Terms and definitions from IEC 61158-5-8.12
3.47 Other terms and definitions .12
4 FAL syntax description .13
4.1 FAL-AR PDU abstract syntax .13
4.2 Abstract syntax of PDUBody.16
4.3 Type definitions for ASEs .20
4.4 Object definitions .23
4.5 Abstract syntax of Data types .25
5 Transfer syntax .26
5.1 Peripherals encoding rules (PER).26
5.2 Encoding of APDU types .26
5.3 Encoding of tagged type values.28
5.4 Encoding of simple values.29
6 Protocol machine overview .35
7 AP-context state machine.35
7.1 Primitive definitions .35
7.2 State machine description .36
7.3 AP to AP-context initiation state transitions .37
7.4 Functions .48
8 FAL service protocol machine (FSPM).51
8.1 Summary.51
8.2 Primitive definitions .51
8.3 FSPM state tables .53
9 Application relationship protocol machines (ARPMs) .56
9.1 Queued user-triggered bidirectional-flow control (QUB-FC) ARPM .56
9.2 Buffered network-scheduled unidirectional (BNU) ARPM .78
9.3 Queued user-triggered bidirectional – transparent mode (QUB-TM) ARPM.86
10 DLL mapping protocol machine .90
10.1 Overview .90
10.2 Primitive definitions .91
10.3 DMPM state machine .94
Bibliography.101

61158-6-8 © IEC:2007(E) – 3 –
Figure 1 – APDU overview .26
Figure 2 – APDU header.26
Figure 3 – PDU with type extension .26
Figure 4 – PDU with address extension .27
Figure 5 – PDU with type and length extension .27
Figure 6 – Example of an Establish-Request PDU.27
Figure 7 – Encoding of a PRIVATE tagged value .28
Figure 8 – Encoding of a context specific tagged value.28
Figure 9 – Identification information fields.28
Figure 10 – ID-info for tag 0 . 14 , length entry 0 . 6.29
Figure 11 – ID-info for tag 15 . 255 , length entry 0 . 6 .29
Figure 12 – ID-info for tag 0 . 14 , length entry 7 . 255 .29
Figure 13 – ID-info for tag 15 . 255 , length entry 7 . 255 .29
Figure 14 – Encoding of Boolean value TRUE.29
Figure 15 – Encoding of Boolean value FALSE .29
Figure 16 – Encoding of Strings .30
Figure 17 – Encoding of BinaryDate value .31
Figure 18 – Encoding of BinaryDate2000 value.31
Figure 19 – Encoding of Time-of-day value .32
Figure 20 – Encoding of Time-difference value .32
Figure 21 – Encoding of Time value.33
Figure 22 – Example for an Object definition.34
Figure 23 – Primitives exchanged between protocol machines .35
Figure 24 – AP to AP-context initiation state machine .37
Figure 25 – State transition diagram of FSPM.53
Figure 26 – State transition diagram of QUB-FC ARPM .59
Figure 27 – State transition diagram of the BNU ARPM .81
Figure 28 – State transition diagram of QUB-TM AREP.88
Figure 29 – State transition diagram of DMPM .94

Table 1 – Primitives issued by FAL-user to AP-context .35
Table 2 – Primitives issued by AP-context to FAL-user .36
Table 3 – AP-context state machine sender transactions .37
Table 4 – AP-context state machine receiver transactions .41
Table 5 – Function ResetArep.49
Table 6 – Function ApContextTest .49
Table 7 – Function ServicesSupportedTest .49
Table 8 – Function ApExplicitConnection .49
Table 9 – Function ImmediateAcknowledge .49
Table 10 – Function ConfirmedServiceCheck.49
Table 11 – Function UnconfirmedServiceCheck .49
Table 12 – Function ArServiceCheck .50

– 4 – 61158-6-8 © IEC:2007(E)
Table 13 – Function ArFspmService .50
Table 14 – Function ArAcceeSupported .50
Table 15 – Function MaxFalPduLengthTest .50
Table 16 – Function NegotiateOutstandingServices .50
Table 17 – Function RequestedServicesSupportedTest .51
Table 18 – Function IndicatedServicesSupportedTest.51
Table 19 – Function InvokeIdExistent .51
Table 20 – Function SameService.51
Table 21 – Primitives issued by AP-context to FSPM .52
Table 22 – Primitives issued by FSPM to AP-context .52
Table 23 – FSPM state table – sender transactions .53
Table 24 – FSPM state table – receiver transactions .55
Table 25 – Function SelectArep .55
...


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

Réseaux de communication industriels – Spécifications de bus de terrain –
Partie 6-8: Spécification de protocole de couche application – Éléments de
Type 8
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-8 ®
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –

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

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

Partie 6-8: Spécification de protocole de couche application – Éléments de

Type 8
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
XD
CODE PRIX
ICS 25.040.40; 35.100.70 ISBN 978-2-83220-636-2

– 2 – 61158-6-8 © IEC:2007
CONTENTS
FOREWORD . 6
INTRODUCTION . 8
1 Scope . 9
1.1 General . 9
1.2 Specifications . 9
1.3 Conformance . 10
2 Normative references . 10
3 Terms and definitions . 10
3.1 ISO/IEC 7498-1 terms . 10
3.9 ISO/IEC 8822 terms . 11
3.11 ISO/IEC 9545 terms . 11
3.16 ISO/IEC 8824 terms . 11
3.37 ISO/IEC 8825 terms . 12
3.40 Terms and definitions from IEC 61158-5-8. 12
3.47 Other terms and definitions . 12
4 FAL syntax description . 13
4.1 FAL-AR PDU abstract syntax . 13
4.2 Abstract syntax of PDUBody . 16
4.3 Type definitions for ASEs . 21
4.4 Object definitions . 24
4.5 Abstract syntax of Data types . 26
5 Transfer syntax . 27
5.1 Peripherals encoding rules (PER) . 27
5.2 Encoding of APDU types . 27
5.3 Encoding of tagged type values . 29
5.4 Encoding of simple values . 30
6 Protocol machine overview . 36
7 AP-context state machine . 36
7.1 Primitive definitions . 36
7.2 State machine description . 37
7.3 AP to AP-context initiation state transitions . 38
7.4 Functions . 49
8 FAL service protocol machine (FSPM) . 52
8.1 Summary . 52
8.2 Primitive definitions . 52
8.3 FSPM state tables . 54
9 Application relationship protocol machines (ARPMs) . 57
9.1 Queued user-triggered bidirectional-flow control (QUB-FC) ARPM . 57
9.2 Buffered network-scheduled unidirectional (BNU) ARPM . 79
9.3 Queued user-triggered bidirectional – transparent mode (QUB-TM) ARPM . 87
10 DLL mapping protocol machine . 91
10.1 Overview . 91
10.2 Primitive definitions . 92
10.3 DMPM state machine . 95
Bibliography . 102

61158-6-8 © IEC:2007 – 3 –
Figure 1 – APDU overview . 27
Figure 2 – APDU header . 27
Figure 3 – PDU with type extension . 27
Figure 4 – PDU with address extension . 28
Figure 5 – PDU with type and length extension . 28
Figure 6 – Example of an Establish-Request PDU. 28
Figure 7 – Encoding of a PRIVATE tagged value . 29
Figure 8 – Encoding of a context specific tagged value . 29
Figure 9 – Identification information fields . 29
Figure 10 – ID-info for tag 0 . 14 , length entry 0 . 6 . 30
Figure 11 – ID-info for tag 15 . 255 , length entry 0 . 6 . 30
Figure 12 – ID-info for tag 0 . 14 , length entry 7 . 255 . 30
Figure 13 – ID-info for tag 15 . 255 , length entry 7 . 255 . 30
Figure 14 – Encoding of Boolean value TRUE . 30
Figure 15 – Encoding of Boolean value FALSE . 30
Figure 16 – Encoding of Strings . 31
Figure 17 – Encoding of BinaryDate value . 32
Figure 18 – Encoding of BinaryDate2000 value . 32
Figure 19 – Encoding of Time-of-day value . 33
Figure 20 – Encoding of Time-difference value . 33
Figure 21 – Encoding of Time value . 34
Figure 22 – Example for an Object definition . 35
Figure 23 – Primitives exchanged between protocol machines . 36
Figure 24 – AP to AP-context initiation state machine . 38
Figure 25 – State transition diagram of FSPM . 54
Figure 26 – State transition diagram of QUB-FC ARPM . 60
Figure 27 – State transition diagram of the BNU ARPM . 82
Figure 28 – State transition diagram of QUB-TM AREP . 89
Figure 29 – State transition diagram of DMPM .
...

Questions, Comments and Discussion

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