Industrial communication networks - Fieldbus specifications - Part 6-15: Application layer protocol specification - Type 15 element

IEC 61158-6-15:2007 defines the protocol provided to define the wire-representation of the service primitives defined in IEC 61158-5-15, and define the externally visible behaviour associated with their transfer. This standard specifies the protocol of the Type 15 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 part and its Type 15 companion parts also cancel and replace IEC/PAS 62030, 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-15: Spécification des protocoles des couches d'application - Eléments de type 15

L'IEC 61158-6-15: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-15, 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 15, 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. Cette partie et ses parties d'accompagnement pour le Type 15 annulent et remplacent également la CEI/PAS 62030, publiée en 2005. L'édition de la présente partie constitue un ajout technique. 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
06-Aug-2010
Ref Project

Relations

Buy Standard

Standard
IEC 61158-6-15:2007 - Industrial communication networks - Fieldbus specifications - Part 6-15: Application layer protocol specification - Type 15 element Released:12/14/2007 Isbn:283189493X
English language
100 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 61158-6-15:2007 - Industrial communication networks - Fieldbus specifications - Part 6-15: Application layer protocol specification - Type 15 element Released:12/14/2007 Isbn:9782832219836
English and French language
211 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


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

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XD
ICS 35.100.70; 25.040.40 ISBN 2-8318-9493-X

– 2 – 61158-6-15 © 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, abbreviations, symbols and conventions .10
3.1 Terma and definitions.10
3.2 Abbreviations and symbols.17
3.3 Conventions .18
3.4 Conventions used in state machines .20
4 Abstract syntax for client/server .22
5 Transfer syntax for client/server .22
5.1 General .22
5.2 Common APDU structure .22
5.3 Service-specific APDU structures .26
5.4 Data representation ‘on the wire’ .50
6 Abstract syntax for publish/subscribe .50
7 Transfer syntax for publish/subscribe .51
7.1 General .51
7.2 APDU structure .51
7.3 Sub-message structure .52
7.4 APDU interpretation .54
7.5 Service specific APDU structures .56
7.6 Common data representation for publish/subscribe .77
8 Structure of FAL protocol state machines .82
9 AP-context state machines for client/server .84
10 FAL service protocol machine (FSPM) for client/server.84
10.1 General .84
10.2 FSPM state tables .84

10.3 Functions used by FSPM.90
10.4 Parameters of FSPM/ARPM primitives .90
10.5 Client/server server transactions .90
11 Application relationship protocol machines (ARPMs) for client/server .91
11.1 Application relationship protocol machines (ARPMs) .91
11.2 AREP state machine primitive definitions .93
11.3 AREP state machine functions .94
12 DLL mapping protocol machine (DMPM) for client/server.94
12.1 AREP mapping to data link layer .94
12.2 DMPM states.95
12.3 DMPM states.95
12.4 Primitives exchanged between data link layer and DMPM .95
12.5 Client/server on TCP/IP.96
13 AP-Context state machines for publish/subscribe .97

61158-6-15 © IEC:2007(E) – 3 –

14 Protocol machines for publish/subscribe.97

14.1 General .97

14.2 Publish/subscribe on UDP .99

Bibliography.100

Figure 1 – APDU Format.22

Figure 2 – Client to server confirmed service request.24

Figure 3 – Normal response from server to client.24

Figure 4 – Exception response from server to client.24

Figure 5 – Client to server unconfirmed service request.25
Figure 6 – Publish/subscribe APDU .51
Figure 7 – Relationships among protocol machines and adjacent layers .83
Figure 8 – State transition diagram of FSPM.84
Figure 9 – Client/server server transactions.91
Figure 10 – State transition diagram of the client ARPM .92
Figure 11 – State transition diagram of the server ARPM .92
Figure 12 – State transition diagram of DMPM .95
Figure 13 – APDU format.96
Figure 14 – TCP/IP PDU format .97
Figure 15 – Publish/subscribe receiver .98

Table 1 – Conventions used for state machines .21
Table 2 – Exception code.25
Table 3 – Read discretes request .26
Table 4 – Read discretes response.26
Table 5 – Read coils request .27
Table 6 – Read coils response.27
Table 7 – Write single coil request .28
Table 8 – Write single coil response .28
Table 9 – Write multiple coils request .29
Table 10 – Write multiple coils response.29
Table 11 – Broadcast write single coil request .30
Table 12 – Broadcast write multiple coils request.31
Table 13 – Read input registers request .31
Table 14 – Read input registers response.32
Table 15 – Read holding registers request.32
Table 16 – Read holding registers response .33
Table 17 – Write single holding register request .33
Table 18 – Write single holding register response.34
Table 19 – Write multiple holding registers request.34
Table 20 – Write multiple holding registers response .35
Table 21 – Mask write holding register request .36
Table 22 – Mask write holding register request .36

– 4 – 61158-6-15 © IEC:2007(E)

Table 23 – Read/Write multiple holding registers request.37

Table 24 – Read/Write multiple holding registers response .37

Table 25 – Read FIFO request.38

Table 26 – Read FIFO response .38

Table 27 – Broadcast write single holding register request.39

Table 28 – Broadcast write multiple holding registers request .40

Table 29 – Read file record request .41

Table 30 – Read file record response .42

Table 31 – Write file record request .43
Table 32 – Write file record response .45
Table 33 – Read device identification request.46
Table 34 – Device ident
...


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

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

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

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

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

Éléments de Type 15
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
CODE PRIX XD
ICS 25.040.40; 35.100.70 ISBN 978-2-8322-1983-6

– 2 – IEC 61158-6-15:2007 © 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 and definitions, abbreviations, symbols and conventions . 10
3.1 Terma and definitions . 10
3.2 Abbreviations and symbols . 17
3.3 Conventions . 18
3.4 Conventions used in state machines . 20
4 Abstract syntax for client/server . 22
5 Transfer syntax for client/server . 22
5.1 General . 22
5.2 Common APDU structure . 22
5.3 Service-specific APDU structures . 26
5.4 Data representation ‘on the wire’ . 50
6 Abstract syntax for publish/subscribe . 50
7 Transfer syntax for publish/subscribe . 51
7.1 General . 51
7.2 APDU structure . 51
7.3 Sub-message structure . 52
7.4 APDU interpretation . 54
7.5 Service specific APDU structures . 56
7.6 Common data representation for publish/subscribe . 77
8 Structure of FAL protocol state machines . 82
9 AP-context state machines for client/server . 84
10 FAL service protocol machine (FSPM) for client/server . 84
10.1 General . 84
10.2 FSPM state tables . 84
10.3 Functions used by FSPM . 90
10.4 Parameters of FSPM/ARPM primitives . 90
10.5 Client/server server transactions . 90
11 Application relationship protocol machines (ARPMs) for client/server . 91
11.1 Application relationship protocol machines (ARPMs) . 91
11.2 AREP state machine primitive definitions . 93
11.3 AREP state machine functions . 94
12 DLL mapping protocol machine (DMPM) for client/server . 94
12.1 AREP mapping to data link layer . 94
12.2 DMPM states . 95
12.3 DMPM states . 95
12.4 Primitives exchanged between data link layer and DMPM . 95
12.5 Client/server on TCP/IP . 96
13 AP-Context state machines for publish/subscribe . 97

14 Protocol machines for publish/subscribe . 97
14.1 General . 97
14.2 Publish/subscribe on UDP . 99
Bibliography . 100

Figure 1 – APDU Format . 22
Figure 2 – Client to server confirmed service request. 24
Figure 3 – Normal response from server to client . 24
Figure 4 – Exception response from server to client . 24
Figure 5 – Client to server unconfirmed service request . 25
Figure 6 – Publish/subscribe APDU . 51
Figure 7 – Relationships among protocol machines and adjacent layers . 83
Figure 8 – State transition diagram of FSPM . 84
Figure 9 – Client/server server transactions . 91
Figure 10 – State transition diagram of the client ARPM . 92
Figure 11 – State transition diagram of the server ARPM . 92
Figure 12 – State transition diagram of DMPM . 95
Figure 13 – APDU format . 96
Figure 14 – TCP/IP PDU format . 97
Figure 15 – Publish/subscribe receiver . 98

Table 1 – Conventions used for state machines .
...

Questions, Comments and Discussion

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