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

IEC 61158-6-15:2010 specifies the protocol of the Type 15 fieldbus application layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498-1) and the OSI application layer structure (ISO/IEC 9545). It defines the protocol provided to define the wire-representation of the service primitives defined in IEC 61158-5-15:2010, and the externally visible behavior associated with their transfer. This second edition cancels and replaces the first edition published in 2007 and constitutes a technical revision. The main changes with respect to the previous edition are editorial corrections.

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:2010 fournit des éléments communs pour les communications de messagerie prioritaires et non prioritaires élémentaires entre les programmes d’application des environnements d’automatisation et le matériel spécifique au bus de terrain de type 15. On utilise le terme "prioritaire" pour traduire la présence d’une fenêtre temporelle, à l’intérieur de laquelle une ou plusieurs actions spécifiées doivent être terminées avec un niveau de certitude défini. Si les actions spécifiées ne sont pas terminées à l’intérieur de cette fenêtre temporelle, les applications qui ont demandé l’exécution de ces actions risquent de présenter des dysfonctionnements, accompagnés de risques pour les équipements, l’usine, voire les vies humaines.
La présente norme définit d’une manière abstraite le comportement visible de manière externe fourni par la couche application du bus de terrain de type 15 en termes
a) de syntaxe abstraite définissant les unités de données de protocole de couche application transmises entre les entités d’application communicantes,
b) de syntaxe de transfert définissant les unités de données de protocole de couche application transmises entre les entités d’application communicantes,
c) de diagramme d’états de contexte d’application définissant le comportement de service d’application visible entre les entités d’application communicantes; et
d) de diagramme d’états de relation d’application définissant le comportement de communication visible entre les entités d’application communicantes.

General Information

Status
Published
Publication Date
05-Aug-2010
Technical Committee
Drafting Committee
Current Stage
PPUB - Publication issued
Start Date
15-Aug-2010
Completion Date
06-Aug-2010
Ref Project

Relations

Buy Standard

Standard
IEC 61158-6-15:2010 - Industrial communication networks - Fieldbus specifications - Part 6-15: Application layer protocol specification - Type 15 elements
English language
105 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 61158-6-15:2010 - Industrial communication networks - Fieldbus specifications - Part 6-15: Application layer protocol specification - Type 15 elements
English and French language
221 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC 61158-6-15 ®
Edition 2.0 2010-08
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: 0Hinmail@iec.ch
Web: 1Hwww.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: 2Hwww.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: 3Hwww.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: 4Hwww.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: 5Hwww.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: 6Hcsc@iec.ch
Tel.: +41 22 919 02 11
Fax: +41 22 919 03 00
IEC 61158-6-15 ®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-15: Application layer protocol specification – Type 15 elements

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XD
ICS 25.04.40; 35.100.70; 35.110 ISBN 978-2-88912-131-1
– 2 – 61158-6-15 © IEC:2010(E)
CONTENTS
FOREWORD.0H6
INTRODUCTION.1H8
1 Scope.2H9
1.1 General .3H9
1.2 Specifications.4H9
1.3 Conformance.5H10
2 Normative references .6H10
3 Terms and definitions, abbreviations, symbols and conventions .7H10
3.1 Terms and definitions .8H10
3.2 Abbreviations and symbols.9H17
3.3 Conventions .10H19
3.4 Conventions used in state machines .11H21
4 Abstract syntax for client/server .12H22
5 Transfer syntax for client/server .13H22
5.1 General .14H22
5.2 Common APDU structure .15H22
5.3 Service-specific APDU structures .16H26
5.4 Data representation ‘on the wire’ .17H51
6 Abstract syntax for publish/subscribe .18H51
7 Transfer syntax for publish/subscribe .19H52
7.1 General .20H52
7.2 APDU structure .21H52
7.3 Sub-message structure .22H53
7.4 APDU interpretation .23H55
7.5 Service specific APDU structures .24H57
7.6 Common data representation for publish/subscribe .25H79
8 Structure of FAL protocol state machines .26H83
9 AP-context state machines for client/server .27H85
10 FAL service protocol machine (FSPM) for client/server.28H85
10.1 General .29H85
10.2 FSPM state tables .30H85
10.3 Functions used by FSPM.31H92
10.4 Parameters of FSPM/ARPM primitives .32H92
10.5 Client/server server transactions .33H92
11 Application relationship protocol machines (ARPMs) for client/server .34H94
11.1 Application relationship protocol machines (ARPMs) .35H94
11.2 AREP state machine primitive definitions .36H95
11.3 AREP state machine functions .37H96
12 DLL mapping protocol machine (DMPM) for client/server.38H96
12.1 AREP mapping to data link layer .39H96
12.2 DMPM states.40H97
12.3 DMPM state machine .41H97
12.4 Primitives exchanged between data link layer and DMPM .42H98
12.5 Client/server on TCP/IP.43H98
13 AP-Context state machines for publish/subscribe .44H102

61158-6-15 © IEC:2010(E) – 3 –
14 Protocol machines for publish/subscribe.45H102
14.1 General .46H102
14.2 Publish/subscribe on UDP .47H104
Bibliography.48H105

Figure 1 – APDU Format.49H22
Figure 2 – Client to server confirmed service request.50H24
Figure 3 – Normal response from server to client.51H24
Figure 4 – Exception response from server to client.52H24
Figure 5 – Client to server unconfirmed service request.53H25
Figure 6 – Publish/subscribe APDU .54H52
Figure 7 – Flags of issue request .55H58
Figure 8 – Flags of heartbeat request .56H60
Figure 9 – Flags of VAR request .57H64
Figure 10 – Flags of GAP request .58H66
Figure 11 – Flags of ACK request .59H68
Figure 12 – Flags of INFO_DST request .60H72
Figure 13 – Flags of INFO_REPLY request.61H73
Figure 14 – Flags of INFO_SRC request.62H75
Figure 15 – Flags of INFO_TS request.63H77
Figure 16 – Flags of PAD request .64H78
Figure 17 – Encoding of octet .65H80
Figure 18 – Encoding of boolean .66H80
Figure 19 – Encoding of unsigned short .67H80
Figure 20 – Encoding of unsigned long .68H80
Figure 21 – Encoding of unsigned long long.69H81
Figure 22 – Encoding of float .70H81
Figure 23 – Encoding of double .71H81
Figure 24 – Relationships among protocol machines and adjacent layers .72H84
Figure 25 – State transition diagram of FSPM.73H85
Figure 26 – Transaction state machine, per connection .74H86
Figure 27 – Client/server server transactions .75H93
Figure 28 – State transition diagram of the Client ARPM.76H94
Figure 29 – State transition diagram of the server ARPM .77H95
Figure 30 – State transition diagram of DMPM .78H97
Figure 31 – APDU Format.79H98
Figure 32 – TCP/IP PDU Format .80H99
Figure 33 – Publish/subscribe receiver .81H103

Table 1 – Conventions used for state machines .82H21
Table 2 – Exception code.83H25
Table 3 – Read discretes request .84H26
Table 4 – Read discretes response.85H26

– 4 – 61158-6-15 © IEC:2010(E)
Table 5 – Read coils request .86H27
Table 6 – Read coils response.87H27
Table 7 – Write single coil request .88H28
Table 8 – Write single coil response .89H28
Table 9 – Write multiple coils request .90H29
Table 10 – Write multiple coils response.91H29
Table 11 – Broadcast write single coil request .92H30
Table 12 – Broadcast write multiple coils request.93H31
Table 13 – Read input registers request .
...


IEC 61158-6-15 ®
Edition 2.0 2010-08
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 – Elé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é info@iec.ch
CH-1211 Geneva 20 www.iec.ch
Switzerland
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 corrigendum or an amendment might have been published.

IEC publications search - webstore.iec.ch/advsearchform IEC online collection - oc.iec.ch
The advanced search enables to find IEC publications by a Discover our powerful search engine and read freely all the
variety of criteria (reference number, text, technical publications previews. With a subscription you will always
committee, …). It also gives information on projects, replaced have access to up to date content tailored to your needs.
and withdrawn publications.
Electropedia - www.electropedia.org
IEC Just Published - webstore.iec.ch/justpublished
The world's leading online dictionary on electrotechnology,
Stay up to date on all new IEC publications. Just Published
containing more than 22 000 terminological entries in English
details all new publications released. Available online and
and French, with equivalent terms in 18 additional languages.
once a month by email.
Also known as the International Electrotechnical Vocabulary

(IEV) online.
IEC Customer Service Centre - webstore.iec.ch/csc
If you wish to give us your feedback on this publication or
need further assistance, please contact the Customer Service
Centre: sales@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é.

Recherche de publications IEC - IEC online collection - oc.iec.ch
webstore.iec.ch/advsearchform Découvrez notre puissant moteur de recherche et consultez
La recherche avancée permet de trouver des publications IEC gratuitement tous les aperçus des publications. Avec un
en utilisant différents critères (numéro de référence, texte, abonnement, vous aurez toujours accès à un contenu à jour
comité d’études, …). Elle donne aussi des informations sur adapté à vos besoins.
les projets et les publications remplacées ou retirées.

Electropedia - www.electropedia.org
IEC Just Published - webstore.iec.ch/justpublished
Le premier dictionnaire d'électrotechnologie en ligne au
Restez informé sur les nouvelles publications IEC. Just
monde, avec plus de 22 000 articles terminologiques en
Published détaille les nouvelles publications parues.
anglais et en français, ainsi que les termes équivalents dans
Disponible en ligne et une fois par mois par email.
16 langues additionnelles. Egalement appelé Vocabulaire

Electrotechnique International (IEV) en ligne.
Service Clients - webstore.iec.ch/csc

Si vous désirez nous donner des commentaires sur cette
publication ou si vous avez des questions contactez-nous:
sales@iec.ch.
IEC 61158-6-15 ®
Edition 2.0 2010-08
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 – Eléments

de type 15
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.04.40; 35.100.70; 35.110 ISBN 978-2-8322-9729-2

– 2 – IEC 61158-6-15:2010  IEC 2010
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, abbreviations, symbols and conventions . 10
3.1 Terms and definitions . 10
3.2 Abbreviations and symbols . 17
3.3 Conventions . 19
3.4 Conventions used in state machines . 21
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’ . 51
6 Abstract syntax for publish/subscribe . 51
7 Transfer syntax for publish/subscribe . 52
7.1 General . 52
7.2 APDU structure . 52
7.3 Sub-message structure . 53
7.4 APDU interpretation . 55
7.5 Service specific APDU structures . 57
7.6 Common data representation for publish/subscribe . 79
8 Structure of FAL protocol state machines . 83
9 AP-context state machines for client/server . 85
10 FAL service protocol machine (FSPM) for client/server . 85
10.1 General . 85
10.2 FSPM state tables . 85
10.3 Functions used by FSPM . 93
10.4 Parameters of FSPM/ARPM primitives . 93
10.5 Client/server server transactions . 93
11 Application relationship protocol machines (ARPMs) for client/server . 95
11.1 Application relationship protocol machines (ARPMs) . 95
11.2 AREP state machine primitive definitions . 96
11.3 AREP state machine functions . 97
12 DLL mapping protocol machine (DMPM) for client/server . 97
12.1 AREP mapping to data link layer . 97
12.2 DMPM states . 98
12.3 DMPM state machine . 98
12.4 Primitives exchanged between data link layer and DMPM . 99
12.5 Client/server on TCP/IP . 99
13 AP-Context state machines for publish/subscribe . 103

14 Protocol machines for publish/subscribe . 103
14.1 General . 103
14.2 Publish/subscribe on UDP . 105
Bibliography . 106

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 . 52
Figure 7 – Flags of issue request . 58
Figure 8 – Flags of heartbeat request . 60
Figure 9 – Flags of VAR request . 64
Figure 10 – Flags of GAP request . 66
Figure 11 – Flags of ACK request . 68
Figure 12 – Flags of INFO_DST request . 72
Figure 13 – Flags of INFO_REPLY request . 73
Figure 14 – Flags of INFO_SRC request . 75
Figure 15 – Flags of INFO_TS request . 77
Figure 16 – Flags of PAD request . 78
Figure 17 – Encoding of octet . 80
Figure 18 – Encoding of boolean . 80
Figure 19 – Encoding of unsigned short . 80
Figure 20 – Encoding of unsigned long . 80
Figure 21 – Encoding of unsigned long long . 81
Figure 22 – Encoding of float .
...

Questions, Comments and Discussion

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