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

IEC 61158-6-3:2010 defines in an abstract way the externally visible behaviour provided by the Type 3 fieldbus application layer. It specifies the protocol provided to: define the wire-representation of the service primitives specified in IEC 61158-5-3, and define the externally visible behaviour associated with their transfer. It specifies the protocol of the Type 3 fieldbus application layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498-1) and the OSI Application Layer Structure (ISO/IEC 9545). 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:
- corrections, in Table 10 and Table 48;
- clarification in 6.9.1.2;
- expired patents deleted and new patents disclosed. This bilingual version published in 2012-07 corresponds to the English version published in 2010-08.

Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-3: Spécification de protocole de la couche application - Eléments de Type 3

La CEI 61158-6-3:2010 définit de manière abstraite le comportement visible de l'extérieur fourni par la couche application de bus de terrain Type 3. Elle spécifie le protocole fourni pour définir la représentation câblée des primitives de service spécifiées dans la CEI 61158-5-3, et définir le comportement visible de l'extérieur qui est associé à leur transfert. La présente norme spécifie le protocole de la couche application des réseaux de terrain de Type 3, 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 deuxième édition annule et remplace la première édition, parue en 2007 et elle constitue une révision technique. Les principaux changements par rapport à l'édition précédente sont:
- corrections, dans le Tableau 10 et dans le Tableau 48;
- clarification en 6.9.1.2;
- suppression des brevets expirés et divulgation de nouveaux brevets. La présente version bilingue (2012-07) correspond à la version anglaise monolingue publiée en 2010-08.

General Information

Status
Published
Publication Date
05-Aug-2010
Technical Committee
Drafting Committee
Current Stage
DELPUB - Deleted Publication
Start Date
19-Aug-2014
Completion Date
26-Oct-2025
Ref Project

Relations

Overview

IEC 61158-6-3:2010 - part of the IEC 61158 fieldbus family - formally specifies the application layer protocol behavior for Type 3 fieldbus elements. The standard defines, in an abstract and implementation-neutral way, the externally visible behaviour of the Type 3 fieldbus application layer and the wire representation of service primitives referenced in IEC 61158‑5‑3. It is aligned with the OSI Basic Reference Model (ISO/IEC 7498‑1) and the OSI Application Layer Structure (ISO/IEC 9545). The 2nd edition (2010, bilingual 2012) replaces the 2007 edition and includes editorial corrections, clarifications and patent disclosures/updates.

Key Topics and Technical Requirements

  • APDU abstract syntax & data types: formal definitions of Application Protocol Data Units (APDUs) and the base data types used by Type 3 application services.
  • Transfer syntax (wire encoding): detailed coding for multiple PDU categories - data exchange, slave/master diagnosis, parameterization, configuration, global control, clock/time PDUs, function identification and error encoding.
  • State machines and protocol machines: comprehensive FAL protocol state machines, AP‑context state machine, FAL service protocol machines (FSPMs), Application Relationship Protocol Machines (ARPMs) and DLL mapping protocol machines (DMPMs) to describe dynamic behaviour.
  • Master/slave interactions: definitions for DP‑master (class 1 & 2) and DP‑slave roles, including cyclic and acyclic communication sequences and application relationship monitoring.
  • Diagnostics, configuration and parameter sets: structures and coding for device diagnostics, parameter blocks, bus parameter sets and slave parameter sets; examples and tables support conformance testing.
  • Conformance & interoperability: normative references and conformance statements to ensure consistent implementation and interoperability across devices.

Practical Applications and Who Uses This Standard

IEC 61158-6-3 is essential for professionals implementing or testing fieldbus Type 3 application-layer stacks in industrial automation and control systems. Typical users:

  • Protocol implementers and firmware engineers building Type 3 application-layer code for DP-masters, DP-slaves and gateways.
  • Device manufacturers developing interoperable field devices (I/O modules, drives, controllers).
  • System integrators ensuring correct configuration, timing and diagnostics in plant networks.
  • Test houses and certification labs conducting conformance and interoperability testing based on APDU, transfer syntax and state-machine behaviour.
  • Standards developers and technical architects referencing OSI-aligned application-layer specifications.

Keywords: IEC 61158-6-3, fieldbus, application layer protocol, Type 3, APDU, FAL, DP-master, DP-slave, transfer syntax, state machines, industrial communication networks.

Related Standards

  • IEC 61158‑5‑3 (service primitives for Type 3)
  • ISO/IEC 7498‑1 (OSI Basic Reference Model)
  • ISO/IEC 9545 (OSI Application Layer Structure)
  • Other parts of IEC 61158 for physical, data link and other application types

This specification is a core reference for anyone implementing or validating the Type 3 fieldbus application layer in industrial communication networks.

Standard
IEC 61158-6-3:2010 - Industrial communication networks - Fieldbus specifications - Part 6-3: Application layer protocol specification - Type 3 elements Released:8/6/2010 Isbn:9782889121267
English language
376 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 61158-6-3:2010 - Industrial communication networks - Fieldbus specifications - Part 6-3: Application layer protocol specification - Type 3 elements Released:8/6/2010 Isbn:9782832201282
English and French language
759 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC 61158-6-3 ®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-3: Application layer protocol specification – Type 3 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-3 ®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-3: Application layer protocol specification – Type 3 elements

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XH
ICS 25.04.40; 35.100.70; 35.110 ISBN 978-2-88912-126-7
– 2 – 61158-6-3 © IEC:2010(E)
CONTENTS
FOREWORD.8
INTRODUCTION.10
1 Scope.12
1.1 General .12
1.2 Specifications .13
1.3 Conformance.13
2 Normative references.13
3 Terms, definitions, abbreviations, symbols and conventions .14
3.1 Referenced terms and definitions.14
3.2 Additional definitions.15
3.3 Abbreviations and symbols .18
3.4 Conventions .19
3.5 Conventions used in state machines .21
4 FAL syntax description.24
4.1 APDU abstract syntax.24
4.2 Data types .28
5 Transfer syntax.30
5.1 Coding of basic data types.30
5.2 Coding section related to data exchange PDUs .33
5.3 Coding section related to slave diagnosis PDUs .33
5.4 Coding section related to parameterisation PDU .44
5.5 Coding section related to configurationPDUs.50
5.6 Coding section related to global control PDUs.54
5.7 Coding section related to clock-value-PDUs .55
5.8 Coding section related to function identification and errors .56
5.9 Coding section related to master diagnosis PDU .60
5.10 Coding section related to upload/download/act para PDUs .62
5.11 Coding section related to the bus parameter set.64
5.12 Coding section related to the slave parameter set .66
5.13 Coding section related to statistic counters .70
5.14 Coding section related to set slave address PDU .70
5.15 Coding section related to initiate/abort PDUs .70
5.16 Coding section related to read/write/data transport PDUs .74
5.17 Coding section related to load region and function invocation PDUs .74
5.18 Examples of diagnosis-RES-PDUs.77
5.19 Example of Chk_Cfg-REQ-PDU .79
5.20 Examples of Chk_Cfg-REQ-PDUs with DPV1 data types .80
5.21 Example structure of the Data_Unit for Data_Exchange .81
6 FAL protocol state machines.83
6.1 Overall structure .83
6.2 Assignment of state machines to devices.84
6.3 Overview DP-slave .85
6.4 Overview DP-master (class 1).87
6.5 Overview DP-master (class 2).88
6.6 Cyclic communication between DP-master (class 1) and DP-slave .89
6.7 Acyclic communication between DP-master (class 2) and DP-master (class 1) .90

61158-6-3 © IEC:2010(E) – 3 –
6.8 Acyclic communication between DP-master (class 1) and DP-slave.92
6.9 Application relationship monitoring.94
7 AP-context state machine . 100
8 FAL service protocol machines (FSPMs) . 100
8.1 FSPMS.100
8.2 FSPMM1 .136
8.3 FSPMM2 .172
9 Application relationship protocol machines (ARPMs) . 190
9.1 MSCY1S.190
9.2 MSAC1S. 221
9.3 SSCY1S . 234
9.4 MSRM2S . 237
9.5 MSAC2S. 243
9.6 MSCS1S. 260
9.7 MSCY1M .262
9.8 MSAL1M.282
9.9 MSAC1M .291
9.10 MMAC1 .304
9.11 MSCS1M .311
9.12 MSAC2M .316
9.13 MMAC2 .331
10 DLL mapping protocol machines (DMPMs) . 338
10.1 DMPMS.338
10.2 DMPMM1 .351
10.3 DMPMM2 .367
11 Parameters for a DP-slave. 375
Bibliography . 376

Figure 1 – Common structure of specific fields .20
Figure 2 – Coding of the data type BinaryDate .31
Figure 3 – Encoding of TimeOfDay value.31
Figure 4 – Encoding of Time Difference value.32
Figure 5 – Encoding of Network Time value.32
Figure 6 – Encoding of Network Time Difference value .33
Figure 7 – Example Modul_Status_Array .38
Figure 8 – Example of Ext_Diag_Data in case of DPV1 diagnosis format with alarm and
status PDU .78
Figure 9 – Example of Ext_Diag_Data in case of the basic diagnosis format .79
Figure 10 – Example of a special identifier format.79
Figure 11 – Example of a special identifier format with data types.80
Figure 12 – Example of a special identifier format with data types.80
Figure 13 – Example of a empty slot with data types.81
Figure 14 – Example for multi-variable device with AI and DO function blocks.81
Figure 15 – Identifiers (ID) .82
Figure 16 – Identifier list.82
Figure 17 – Structure of the Data_Unit for the request- and response-DLPDU.82

– 4 – 61158-6-3 © IEC:2010(E)
Figure 18 – Structuring of the protocol machines and adjacent layers in a DP-slave.86
Figure 19 – Structuring of the protocol machines and adjacent layers in a DP-master
(class 1).87
Figure 20 – Structuring of the protocol machines and adjacent layers in a DP-master

(class 2).88
Figure 21 – Sequence of the communication between DP-master and DP-slave.90
Figure 22 – Sequence of communication between DP-master (class 2) and DP-master
(class 1).92
Figure 23 – Sequence of acyclic communication between DP-master (class 1) and DP-
slave.94
Figure 24 – Example for connection establishment on MS2.97
Figure 25 – Idle at master-side on MS2 .98
Figure 26 – Idle at slave-side on MS2.99
Figure 27 – Example for connection establishment on MS2(server-side) . 239
Figure 28 – Structure of RM entries in the RM_Registry. 240

Table 1 – State machine description elements .21
Table 2 – Description of state machine elements .22
Table 3 – Conventions used in state machines .22
Table 4 – APDU syntax .24
Table 5 – Substitutions.27
Table 6 – Alarm_Type range .36
Table 7 – Status_Type value range .36
Table 8 – Alarm_Specifier .37
Table 9 – Range of Modul_Status_Entry (1-4).39
Table 10 – Error type .41
Table 11 – Specification of the bits Lock_Req and Unlock_Req .44
Table 12 – Range of Length_of_Manufacturer_Specific_Data if used in Chk_Cfg-REQ-PDU .51
Table 13 – Range of Length_of_Manufacturer_Specific_Data if used in Get_Cfg-RES-PDU .51
Table 14 – Values (codes) for data types.53
Table 15 – Specification of the bits for Un-/Sync and Un-/Freeze .54
Table 16 – Coding of the Function_Code/ Function_Num.57
Table 17 – Coding of the Error_Code / Function_Num .58
Table 18 – Values of Error_Decode .58
Table 19 – Coding of Error_Code_1 at DPV1.59
Table 20 – Values of MDiag_Identifier .60
Table 21 – Values for Area_Code_UpDownload.62
Table 22 – Values for Area_CodeActBrct.63
Table 23 – Values for Area_CodeAct.63
Table 24 – Values for Data_rate .64
Table 25 – Values for Slave_Type .67
Table 26 – Values for Alarm_Mode.68
Table 27 – Values for Subnet .73
Table 28 – Values of reason code if instance is DLL .73

61158-6-3 © IEC:2010(E) – 5 –
Table 29 – Values of reason code if instance is MS2 .73
Table 30 – Values of Extended_Function_Num.74
Table 31 – Values of FI_State .76
Table 32 – Assignment of state machines.85
Table 33 – Primitives issued by AP-Context to FSPMS . 100
Table 34 – Primitives issued by FSPMS to AP-Context . 102
Table 35 – FSPMS state table .110
Table 36 – Functions used by the FSPMS . 135
Table 37 – Primitives issued by AP-Context to FSPMM1. 137
Table 38 – Primitives issued by FSPMM1 to AP-Context. 139
Table 39 – FSPMM1 state table.146
Table 40 – Functions used by the FSPMM1 . 172
Table 41 – Primitives issued by AP-Context to FSPMM2. 173
Table 42 – Primitives issued by FSPMM2 to AP-Context. 175
Table 43 – FSPMM2 state table.178
Table 44 – Functions used by the FSPMM2 . 189
Table 45 – Primitives issued by FSPMS to MSCY1S . 190
Table 46 – Primitives issued by MSCY1S to FSPMS .191
Table 47 – Rules for DPV1_Status_1, DPV1_Status_2 and DPV1_Status_3 check. 193
Table 48 – MSCY1S state table.198
Table 49 – Functions used by the MSCY1S . 219
Table 50 – Primitives issued by FSPMS to MSAC1S . 221
Table 51 – Primitives issued by MSAC1S to FSPMS . 222
Table 52 – Primitives issued by MSCY1S to MSAC1S. 222
Table 53 – Primitives issued by MSAC1S to MSCY1S. 222
Table 54 – Parameter used with primitives exchanged between MSAC1S and MSCY1S. 222
Table 55 – MSAC1S state table.224
Table 56 – Functions used by the MSAC1S . 234
Table 57 – Primitives issued by FSPMS to SSCY1S. 234
Table 58 – Primitives issued by SSCY1S to FSPMS. 234
Table 59 – SSCY1S state table .236
Table 60 – Functions used by the SSCY1S. 237
Table 61 – Primitives issued by FSPMS to MSRM2S . 238
Table 62 – Primitives issued by MSRM2S to FSPMS . 238
Table 63 – MSRM2S state table .241
Table 64 – Primitives issued by FSPMS to MSAC2S . 244
Table 65 – Primitives issued by MSAC2S to FSPMS . 245
Table 66 – Primitives issued by MSRM2S to MSAC2S . 245
Table 67 – Primitives issued by MSAC2S to MSRM2S . 246
Table 68 – Parameter used with primitives exchanged with MSAC2S . 246
Table 69 – MSAC2S state table.249
Table 70 – Primitives issued by MSCS1S to FSPMS . 260
Table 71 – MSCS1S state table.262

– 6 – 61158-6-3 © IEC:2010(E)
Table 72 – Primitives issued by FSPMM1 to MSCY1M . 263
Table 73 – Primitives issued by MSCY1M to FSPMM1 . 264
Table 74 – Parameters used with primitives exchanged between FSPMM1 and MSCY1M . 264
Table 75 – MSCY1M state table .267
Table 76 – Primitives issued by FSPMM1 to MSAL1M. 282
Table 77 – Primitives issued by MSAL1M to FSPMM1. 282
Table 78 – Primitives issued by MSCY1M to MSAL1M . 282
Table 79 – Primitives issued by MSAL1M to MSCY1M . 283
Table 80 – Parameter used with primitives exchanged between MSAL1M and MSCY1M . 283
Table 81 – Possible values in the Alarm_State_Table . 284
Table 82 – MSAL1M state table.287
Table 83 – Primitives issued by FSPMM1 to MSAC1M . 292
Table 84 – Primitives issued by MSAC1M to FSPMM1 . 292
Table 85 – Primitives issued by MSAL1M to MSAC1M . 293
Table 86 – Primitives issued by MSAC1M to MSAL1M . 293
Table 87 – Parameter used with primitives exchanged between MSAL1M and MSCY1M . 293
Table 88 – MSAC1M state table .299
Table 89 – Primitives issued by FSPMM1 to MMAC1 . 305
Table 90 – Primitives issued by MMAC1 to FSPMM1 . 305
Table 91 – MMAC1 state table.307
Table 92 – Primitives issued by FSPMM1 to MSCS1M . 312
Table 93 – Primitives issued by MSCS1M to FSPMM1 . 312
Table 94 – MSCS1M state table .314
Table 95 – Primitives issued by FSPMM2 to MSAC2M . 316
Table 96 – Primitives issued by MSAC2M to FSPMM2 . 317
Table 97 – Parameters used with primitives exchanged with MSAC2M. 317
Table 98 – MSAC2M state table .321
Table 99 – Primitives issued by FSPMM2 to MMAC2 . 331
Table 100 – Primitives issued by MMAC2 to FSPMM2 . 332
Table 101 – Parameters used with primitives exchanged with MMAC2 . 332
Table 102 – MMAC2 state table.333
Table 103 – Primitives issued by FSPMS to DMPMS . 338
Table 104 – Primitives issued by DMPMS to FSPMS . 338
Table 105 – Primitives issued by MSCY1S to DMPMS . 339
Table 106 – Primitives issued by DMPMS to MSCY1S . 339
Table 107 – Primitives issued by DMPMS to SSCY1S. 340
Table 108 – Primitives issued by MSAC1S, MSRM2S, MSAC2S to DMPMS . 340
Table 109 – Primitives issued by DMPMS to MSAC1S, MSRM2S, MSAC2S . 340
Table 110 – Primitives issued by DMPMS to MSCS1S . 341
Table 111 – Primitives issued by DMPMS to DL. 341
Table 112 – Primitives issued by DL to DMPMS.342
Table 113 – Parameters used with primitives exchanged with DMPMS. 343
Table 114 – DMPMS state table .344

61158-6-3 © IEC:2010(E) – 7 –
Table 115 – Functions used by the DMPMS. 350
Table 116 – Primitives issued by FSPMM1 to DMPMM1. 351
Table 117 – Primitives issued by DMPMM1 to FSPMM1. 352
Table 118 – Primitives issued by MSCY1M to DMPMM1 . 352
Table 119 – Primitives issued by DMPMM1 to MSCY1M . 353
Table 120 – Primitives issued by MSAL1M, MSAC1M to DMPMM1 . 353
Table 121 – Primitives issued by DMPMM1 to MSAL1M, MSAC1M . 353
Table 122 – Primitives issued by MMAC1 to DMPMM1 . 354
Table 123 – Primitives issued by DMPMM1 to MMAC1 . 354
Table 124 – Primitives issued by MSCS1M to DMPMM1 . 354
Table 125 – Primitives issued by DMPMM1 to MSCS1M . 355
Table 126 – Primitives issued by DMPMM1 to DL .355
Table 127 – Primitives issued by DL to DMPMM1 . 356
Table 128 – Parameters used with primitives exchanged with DMPMM1 . 357
Table 129 – Possible values of status. 358
Table 130 – DMPMM1 state table.359
Table 131 – Functions used by the DMPMM1 . 367
Table 132 – Primitives issued by FSPMM2 to DMPMM2. 368
Table 133 – Primitives issued by DMPMM2 to FSPMM2. 368
Table 134 – Primitives issued by MSAC2M to DMPMM2 . 369
Table 135 – Primitives issued by DMPMM2 to MSAC2M . 369
Table 136 – Primitives issued by MMAC2 to DMPMM2 . 369
Table 137 – Primitives issued by DMPMM2 to MMAC2 . 369
Table 138 – Primitives issued by DMPMM2 to DL .370
Table 139 – Primitives issued by DL to DMPMM2 . 370
Table 140 – Parameters used with primitives exchanged with DMPMM2 . 371
Table 141 – DMPMM2 state Table.371
Table 142 – Functions used by DMPMM2 . 375
Table 143 – Bus parameter/reaction times for a DP-slave. 375

– 8 – 61158-6-3 © IEC:2010(E)
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 6-3: Application layer protocol specification –
Type 3 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 international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
NOTE 1 Use of some of the associated protocol types is restricted by their intellectual-property-right holders. In all
cases, the commitment to limited release of intellectual-property-rights made by the holders of those rights permits
a particular data-link layer protocol type to be used with physical layer and application layer protocols in Type
combinations as specified explicitly in the profile parts. Use of the various protocol types in other combinations may
require permission from their respective intellectual-property-right holders.
International Standard IEC 61158-6-3 has been prepared by subcommittee 65C: Industrial
networks, of IEC technical committee 65: Industrial-process measurement, control and
automation.
This second edition cancels and replaces the first edition published in 2007. This edition
constitutes a technical revision.
The main changes with respect to the previous edition are listed below:
• corrections, in Table 10 and Table 48;

61158-6-3 © IEC:2010(E) – 9 –
• clarification in 6.9.1.2;
• expired patents deleted and new patents disclosed.
The text of this standard is based on the following documents:
FDIS Report on voting
65C/607/FDIS 65C/621/RVD
Full information on the voting for the approval of this standard can be found in the report on
voting indicated in the above table.
This publication has been drafted in accordance with ISO/IEC Directives, Part 2.
A list of all parts of the IEC 61158 series, published under the general title Industrial
communication networks – Fieldbus specifications, can be found on the IEC web site.
The committee has decided that the contents of this publication will remain unchanged until the
stability date indicated on the IEC web site under "http://webstore.iec.ch" in the data related to
the specific publication. At this date, the publication will be:
• reconfirmed;
• withdrawn;
• replaced by a revised edition, or
• amended.
NOTE 2 The revision of this standard will be synchronized with the other parts of the IEC 61158 series.

– 10 – 61158-6-3 © IEC:2010(E)
INTRODUCTION
This part of IEC 61158 is one of a series produced to facilitate the interconnection of
automation system components. It is related to other standards in the set as defined by the
“three-layer” fieldbus reference model described in IEC/TR 61158-1.
The application protocol provides the application service by making use of the services
available from the data-link or other immediately lower layer. The primary aim of this standard
is to provide a set of rules for communication expressed in terms of the procedures to be
carried out by peer application entities (AEs) at the time of communication. These rules for
communication are intended to provide a sound basis for development in order to serve a
variety of purposes:
• as a guide for implementors and designers;
• for use in the testing and procurement of equipment;
• as part of an agreement for the admittance of systems into the open systems environment;
• as a refinement to the understanding of time-critical communications within OSI.
This standard is concerned, in particular, with the communication and interworking of sensors,
effectors and other automation devices. By using this standard together with other standards
positioned within the OSI or fieldbus reference models, otherwise incompatible systems may
work together in any combination.
The International Electrotechnical Commission (IEC) draws attention to the fact that it is
claimed that compliance with this document may involve the use of patents concerning Type 3
elements and possibly other types given in the normative elements of this standard.
The following patent rights for Type 3 have been announced by [SI]:
Publication Title
EP0604668-A1 Logical ring with monitoring of rotation time
(06.07.1994);
EP0604668-B1
(18.02.1998)
EP0604669-A1 Bus system with monitoring of the activity state of participants
(06.07.1994);
EP0604669-B1
(01.04.1998)
IEC takes no position concerning the evidence, validity and scope of these patent rights.
The holder of these patent rights has assured the IEC that he/she is willing to negotiate
licences either free of charge or under reasonable and non-discriminatory terms and conditions
with applicants throughout the world. In this respect, the statement of the holder of these
patent rights is registered with IEC. Information may be obtained from:
[SI]: Siemens AG
CT IP L&T
Hr. Hans-Jörg Müller
Otto-Hahn-Ring 6
D-81739 Munich
Germany
Attention is drawn to the possibility that some of the elements of this document may be the
subject of patent rights other than those identified above. IEC shall not be held responsible for
identifying any or all such patent rights.

61158-6-3 © IEC:2010(E) – 11 –
ISO (www.iso.org/patents) and IEC (http://www.iec.ch/tctools/patent_decl.htm) maintain on-line
data bases of patents relevant to their standards. Users are encouraged to consult the data
bases for the most up to date information concerning patents.

– 12 – 61158-6-3 © IEC:2010(E)
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 6-3: Application layer protocol specification –
Type 3 elements
1 Scope
1.1 General
The Fieldbus Application Layer (FAL) 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.”
This standard 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 3 fieldbus. The term “time-critical” is used to represent the presence
of a time-window, within which one or more specified actions are required to be completed with
some defined level of certainty. Failure to complete specified actions within the time window
risks failure of the applications requesting the actions, with attendant risk to equipment, plant
and possibly human life.
This standard defines in an abstract way the externally visible behavior provided by the Type 3
fieldbus application layer in terms of
a) the abstract syntax defining the application layer protocol data units conveyed between
communicating application entities,
b) the transfer syntax defining the application layer protocol data units conveyed between
communicating application entities,
c) the application context state machine defining the application service behavior visible
between communicating application entities; and
d) the application relationship state machines defining the communication behavior visible
between communicating application entities; and.
The purpose of this standard is to define the protocol provided to
a) define the wire-representation of the service primitives specified in IEC 61158-5-3, and
b) define the externally visible behavior associated with their transfer.
This standard specifies the protocol of the Type 3 fieldbus application layer, in conformance
with the OSI Basic Reference Model (ISO/IEC 7498-1) and the OSI Application Layer Structure
(ISO/IEC 9545).
FAL services and protocols are provided by FAL application-entities (AE) contained within the
application processes. The FAL AE is composed of a set of object-oriented Application Service
Elements (ASEs) and a Layer Management Entity (LME) that manages the AE. The ASEs
provide communication services that operate on a set of related application process object
(APO) classes. One of the FAL ASEs is a management ASE that provides a common set of
services for the management of the instances of FAL classes.
Although these services specify, from the perspective of applications, how request and
responses are issued and delivered, they do not include a specification of what the requesting
and responding applications are to do with them. That is, the behavioral aspects of the
applications are not specified; only a definition of what requests and responses they can

61158-6-3 © IEC:2010(E) – 13 –
send/receive is specified. This permits greater flexibility to the FAL users in standardizing such
object behavior. In addition to these services, some supporting services are also defined in this
standard to provide access to the FAL to control certain aspects of its operation.
1.2 Specifications
The principal objective of this standard is to specify the syntax and behavior of the application
layer protocol that conveys the application layer services defined in IEC 61158-5-3.
A secondary objective is to provide migration paths from previously-existing industrial
communications protocols. It is this latter objective which gives rise to the diversity of protocols
standardized in parts of the IEC 61158-6 subparts.
1.3 Conformance
This standard does not specify individual implementations or products, nor does it constrain the
implementations of application layer entities within industrial automation systems.
There is no conformance of equipment to the application
...


IEC 61158-6-3 ®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 6-3: Application layer protocol specification – Type 3 elements

Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 6-3: Spécification de protocole de la couche application – Eléments de
Type 3
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-3 ®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –

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

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

Partie 6-3: Spécification de protocole de la couche application – Eléments de

Type 3
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
XH
CODE PRIX
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-83220-128-2

– 2 – 61158-6-3  IEC:2010
CONTENTS
FOREWORD . 8
INTRODUCTION . 10
1 Scope . 12
1.1 General . 12
1.2 Specifications . 13
1.3 Conformance . 13
2 Normative references. 13
3 Terms, definitions, abbreviations, symbols and conventions . 14
3.1 Referenced terms and definitions . 14
3.2 Additional definitions . 15
3.3 Abbreviations and symbols . 18
3.4 Conventions . 19
3.5 Conventions used in state machines . 21
4 FAL syntax description . 24
4.1 APDU abstract syntax . 24
4.2 Data types . 28
5 Transfer syntax . 30
5.1 Coding of basic data types . 30
5.2 Coding section related to data exchange PDUs . 33
5.3 Coding section related to slave diagnosis PDUs . 33
5.4 Coding section related to parameterisation PDU . 44
5.5 Coding section related to configurationPDUs . 50
5.6 Coding section related to global control PDUs . 54
5.7 Coding section related to clock-value-PDUs . 55
5.8 Coding section related to function identification and errors . 56
5.9 Coding section related to master diagnosis PDU . 60
5.10 Coding section related to upload/download/act para PDUs . 62
5.11 Coding section related to the bus parameter set . 64
5.12 Coding section related to the slave parameter set . 66
5.13 Coding section related to statistic counters . 70
5.14 Coding section related to set slave address PDU . 70
5.15 Coding section related to initiate/abort PDUs . 70
5.16 Coding section related to read/write/data transport PDUs . 74
5.17 Coding section related to load region and function invocation PDUs . 74
5.18 Examples of diagnosis-RES-PDUs . 77
5.19 Example of Chk_Cfg-REQ-PDU . 79
5.20 Examples of Chk_Cfg-REQ-PDUs with DPV1 data types . 80
5.21 Example structure of the Data_Unit for Data_Exchange . 81
6 FAL protocol state machines . 83
6.1 Overall structure . 83
6.2 Assignment of state machines to devices . 84
6.3 Overview DP-slave . 85
6.4 Overview DP-master (class 1) . 87
6.5 Overview DP-master (class 2) . 88
6.6 Cyclic communication between DP-master (class 1) and DP-slave . 89
6.7 Acyclic communication between DP-master (class 2) and DP-master (class 1) . 90

61158-6-3  IEC:2010 – 3 –
6.8 Acyclic communication between DP-master (class 1) and DP-slave . 92
6.9 Application relationship monitoring . 94
7 AP-context state machine . 100
8 FAL service protocol machines (FSPMs) . 100
8.1 FSPMS . 100
8.2 FSPMM1 . 136
8.3 FSPMM2 . 172
9 Application relationship protocol machines (ARPMs) . 190
9.1 MSCY1S . 190
9.2 MSAC1S . 221
9.3 SSCY1S . 234
9.4 MSRM2S . 237
9.5 MSAC2S . 243
9.6 MSCS1S . 260
9.7 MSCY1M . 262
9.8 MSAL1M . 282
9.9 MSAC1M . 291
9.10 MMAC1 . 304
9.11 MSCS1M . 311
9.12 MSAC2M . 316
9.13 MMAC2 . 331
10 DLL mapping protocol machines (DMPMs) . 338
10.1 DMPMS . 338
10.2 DMPMM1 . 351
10.3 DMPMM2 . 367
11 Parameters for a DP-slave . 375
Bibliography . 376

Figure 1 – Common structure of specific fields . 20
Figure 2 – Coding of the data type BinaryDate . 31
Figure 3 – Encoding of TimeOfDay value . 31
Figure 4 – Encoding of Time Difference value . 32
Figure 5 – Encoding of Network Time value . 32
Figure 6 – Encoding of Network Time Difference value . 33
Figure 7 – Example Modul_Status_Array . 38
Figure 8 – Example of Ext_Diag_Data in case of DPV1 diagnosis format with alarm and
status PDU . 78
Figure 9 – Example of Ext_Diag_Data in case of the basic diagnosis format . 79
Figure 10 – Example of a special identifier format . 79
Figure 11 – Example of a special identifier format with data types . 80
Figure 12 – Example of a special identifier format with data types . 80
Figure 13 – Example of a empty slot with data types . 81
Figure 14 – Example for multi-variable device with AI and DO function blocks . 81
Figure 15 – Identifiers (ID) . 82
Figure 16 – Identifier list . 82
Figure 17 – Structure of the Data_Unit for the request- and response-DLPDU . 82

– 4 – 61158-6-3  IEC:2010
Figure 18 – Structuring of the protocol machines and adjacent layers in a DP-slave . 86
Figure 19 – Structuring of the protocol machines and adjacent layers in a DP-master
(class 1) . 87
Figure 20 – Structuring of the protocol machines and adjacent layers in a DP-master
(class 2) . 88
Figure 21 – Sequence of the communication between DP-master and DP-slave . 90
Figure 22 – Sequence of communication between DP-master (class 2) and DP-master
(class 1) . 92
Figure 23 – Sequence of acyclic communication between DP-master (class 1) and DP-
slave . 94
Figure 24 – Example for connection establishment on MS2 . 97
Figure 25 – Idle at master-side on MS2 . 98
Figure 26 – Idle at slave-side on MS2 . 99
Figure 27 – Example for connection establishment on MS2(server-side) . 239
Figure 28 – Structure of RM entries in the RM_Registry . 240

Table 1 – State machine description elements . 21
Table 2 – Description of state machine elements . 22
Table 3 – Conventions used in state machines . 22
Table 4 – APDU syntax . 24
Table 5 – Substitutions . 27
Table 6 – Alarm_Type range . 36
Table 7 – Status_Type value range . 36
Table 8 – Alarm_Specifier . 37
Table 9 – Range of Modul_Status_Entry (1-4) . 39
Table 10 – Error type . 41
Table 11 – Specification of the bits Lock_Req and Unlock_Req . 44
Table 12 – Range of Length_of_Manufacturer_Specific_Data if used in Chk_Cfg-REQ-PDU . 51
Table 13 – Range of Length_of_Manufacturer_Specific_Data if used in Get_Cfg-RES-PDU . 51
Table 14 – Values (codes) for data types . 53
Table 15 – Specification of the bits for Un-/Sync and Un-/Freeze . 54
Table 16 – Coding of the Function_Code/ Function_Num . 57
Table 17 – Coding of the Error_Code / Function_Num . 58
Table 18 – Values of Error_Decode . 58
Table 19 – Coding of Error_Code_1 at DPV1 . 59
Table 20 – Values of MDiag_Identifier . 60
Table 21 – Values for Area_Code_UpDownload . 62
Table 22 – Values for Area_CodeActBrct . 63
Table 23 – Values for Area_CodeAct . 63
Table 24 – Values for Data_rate . 64
Table 25 – Values for Slave_Type . 67
Table 26 – Values for Alarm_Mode . 68
Table 27 – Values for Subnet . 73
Table 28 – Values of reason code if instance is DLL . 73

61158-6-3  IEC:2010 – 5 –
Table 29 – Values of reason code if instance is MS2 . 73
Table 30 – Values of Extended_Function_Num . 74
Table 31 – Values of FI_State . 76
Table 32 – Assignment of state machines . 85
Table 33 – Primitives issued by AP-Context to FSPMS . 100
Table 34 – Primitives issued by FSPMS to AP-Context . 102
Table 35 – FSPMS state table . 110
Table 36 – Functions used by the FSPMS . 135
Table 37 – Primitives issued by AP-Context to FSPMM1 . 137
Table 38 – Primitives issued by FSPMM1 to AP-Context . 139
Table 39 – FSPMM1 state table . 146
Table 40 – Functions used by the FSPMM1 . 172
Table 41 – Primitives issued by AP-Context to FSPMM2 . 173
Table 42 – Primitives issued by FSPMM2 to AP-Context . 175
Table 43 – FSPMM2 state table . 178
Table 44 – Functions used by the FSPMM2 . 189
Table 45 – Primitives issued by FSPMS to MSCY1S . 190
Table 46 – Primitives issued by MSCY1S to FSPMS . 191
Table 47 – Rules for DPV1_Status_1, DPV1_Status_2 and DPV1_Status_3 check . 193
Table 48 – MSCY1S state table . 198
Table 49 – Functions used by the MSCY1S . 219
Table 50 – Primitives issued by FSPMS to MSAC1S . 221
Table 51 – Primitives issued by MSAC1S to FSPMS . 222
Table 52 – Primitives issued by MSCY1S to MSAC1S . 222
Table 53 – Primitives issued by MSAC1S to MSCY1S . 222
Table 54 – Parameter used with primitives exchanged between MSAC1S and MSCY1S . 222
Table 55 – MSAC1S state table . 224
Table 56 – Functions used by the MSAC1S . 234
Table 57 – Primitives issued by FSPMS to SSCY1S. 234
Table 58 – Primitives issued by SSCY1S to FSPMS. 234
Table 59 – SSCY1S state table . 236
Table 60 – Functions used by the SSCY1S . 237
Table 61 – Primitives issued by FSPMS to MSRM2S . 238
Table 62 – Primitives issued by MSRM2S to FSPMS . 238
Table 63 – MSRM2S state table . 241
Table 64 – Primitives issued by FSPMS to MSAC2S . 244
Table 65 – Primitives issued by MSAC2S to FSPMS . 245
Table 66 – Primitives issued by MSRM2S to MSAC2S . 245
Table 67 – Primitives issued by MSAC2S to MSRM2S . 246
Table 68 – Parameter used with primitives exchanged with MSAC2S . 246
Table 69 – MSAC2S state table . 249
Table 70 – Primitives issued by MSCS1S to FSPMS . 260
Table 71 – MSCS1S state table . 262

– 6 – 61158-6-3  IEC:2010
Table 72 – Primitives issued by FSPMM1 to MSCY1M . 263
Table 73 – Primitives issued by MSCY1M to FSPMM1 . 264
Table 74 – Parameters used with primitives exchanged between FSPMM1 and MSCY1M . 264
Table 75 – MSCY1M state table . 267
Table 76 – Primitives issued by FSPMM1 to MSAL1M. 282
Table 77 – Primitives issued by MSAL1M to FSPMM1. 282
Table 78 – Primitives issued by MSCY1M to MSAL1M . 282
Table 79 – Primitives issued by MSAL1M to MSCY1M . 283
Table 80 – Parameter used with primitives exchanged between MSAL1M and MSCY1M . 283
Table 81 – Possible values in the Alarm_State_Table . 284
Table 82 – MSAL1M state table . 287
Table 83 – Primitives issued by FSPMM1 to MSAC1M . 292
Table 84 – Primitives issued by MSAC1M to FSPMM1 . 292
Table 85 – Primitives issued by MSAL1M to MSAC1M . 293
Table 86 – Primitives issued by MSAC1M to MSAL1M . 293
Table 87 – Parameter used with primitives exchanged between MSAL1M and MSCY1M . 293
Table 88 – MSAC1M state table . 299
Table 89 – Primitives issued by FSPMM1 to MMAC1 . 305
Table 90 – Primitives issued by MMAC1 to FSPMM1 . 305
Table 91 – MMAC1 state table. 307
Table 92 – Primitives issued by FSPMM1 to MSCS1M . 312
Table 93 – Primitives issued by MSCS1M to FSPMM1 . 312
Table 94 – MSCS1M state table . 314
Table 95 – Primitives issued by FSPMM2 to MSAC2M . 316
Table 96 – Primitives issued by MSAC2M to FSPMM2 . 317
Table 97 – Parameters used with primitives exchanged with MSAC2M . 317
Table 98 – MSAC2M state table . 321
Table 99 – Primitives issued by FSPMM2 to MMAC2 . 331
Table 100 – Primitives issued by MMAC2 to FSPMM2 . 332
Table 101 – Parameters used with primitives exchanged with MMAC2 . 332
Table 102 – MMAC2 state table . 333
Table 103 – Primitives issued by FSPMS to DMPMS . 338
Table 104 – Primitives issued by DMPMS to FSPMS . 338
Table 105 – Primitives issued by MSCY1S to DMPMS . 339
Table 106 – Primitives issued by DMPMS to MSCY1S . 339
Table 107 – Primitives issued by DMPMS to SSCY1S . 340
Table 108 – Primitives issued by MSAC1S, MSRM2S, MSAC2S to DMPMS . 340
Table 109 – Primitives issued by DMPMS to MSAC1S, MSRM2S, MSAC2S . 340
Table 110 – Primitives issued by DMPMS to MSCS1S . 341
Table 111 – Primitives issued by DMPMS to DL . 341
Table 112 – Primitives issued by DL to DMPMS . 342
Table 113 – Parameters used with primitives exchanged with DMPMS . 343
Table 114 – DMPMS state table . 344

61158-6-3  IEC:2010 – 7 –
Table 115 – Functions used by the DMPMS . 350
Table 116 – Primitives issued by FSPMM1 to DMPMM1 . 351
Table 117 – Primitives issued by DMPMM1 to FSPMM1 . 352
Table 118 – Primitives issued by MSCY1M to DMPMM1 . 352
Table 119 – Primitives issued by DMPMM1 to MSCY1M . 353
Table 120 – Primitives issued by MSAL1M, MSAC1M to DMPMM1 . 353
Table 121 – Primitives issued by DMPMM1 to MSAL1M, MSAC1M . 353
Table 122 – Primitives issued by MMAC1 to DMPMM1 . 354
Table 123 – Primitives issued by DMPMM1 to MMAC1 . 354
Table 124 – Primitives issued by MSCS1M to DMPMM1 . 354
Table 125 – Primitives issued by DMPMM1 to MSCS1M . 355
Table 126 – Primitives issued by DMPMM1 to DL . 355
Table 127 – Primitives issued by DL to DMPMM1 . 356
Table 128 – Parameters used with primitives exchanged with DMPMM1 . 357
Table 129 – Possible values of status . 358
Table 130 – DMPMM1 state table . 359
Table 131 – Functions used by the DMPMM1 . 367
Table 132 – Primitives issued by FSPMM2 to DMPMM2 . 368
Table 133 – Primitives issued by DMPMM2 to FSPMM2 . 368
Table 134 – Primitives issued by MSAC2M to DMPMM2 . 369
Table 135 – Primitives issued by DMPMM2 to MSAC2M . 369
Table 136 – Primitives issued by MMAC2 to DMPMM2 . 369
Table 137 – Primitives issued by DMPMM2 to MMAC2 . 369
Table 138 – Primitives issued by DMPMM2 to DL . 370
Table 139 – Primitives issued by DL to DMPMM2 . 370
Table 140 – Parameters used with primitives exchanged with DMPMM2 . 371
Table 141 – DMPMM2 state Table . 371
Table 142 – Functions used by DMPMM2 . 375
Table 143 – Bus parameter/reaction times for a DP-slave . 375

– 8 – 61158-6-3  IEC:2010
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 6-3: Application layer protocol specification –
Type 3 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 international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
NOTE 1 Use of some of the associated protocol types is restricted by their intellectual-property-right holders. In all
cases, the commitment to limited release of intellectual-property-rights made by the holders of those rights permits
a particular data-link layer protocol type to be used with physical layer and application layer protocols in Type
combinations as specified explicitly in the profile parts. Use of the various protocol types in other combinations may
require permission from their respective intellectual-property-right holders.
International Standard IEC 61158-6-3 has been prepared by subcommittee 65C: Industrial
networks, of IEC technical committee 65: Industrial-process measurement, control and
automation.
This second edition cancels and replaces the first edition published in 2007. This edition
constitutes a technical revision.
The main changes with respect to the previous edition are listed below:
• corrections, in Table 10 and Table 48;
• clarification in 6.9.1.2;
• expired patents deleted and new patents disclosed.

61158-6-3  IEC:2010 – 9 –
This bilingual version published in 2012-07 corresponds to the English version published in
2010-08.
The text of this standard is based on the following documents:
FDIS Report on voting
65C/607/FDIS 65C/621/RVD
Full information on the voting for the approval of this standard can be found in the report on
voting indicated in the above table.
This publication has been drafted in accordance with ISO/IEC Directives, Part 2.
A list of all parts of the IEC 61158 series, published under the general title Industrial
communication networks – Fieldbus specifications, can be found on the IEC web site.
The committee has decided that the contents of this publication will remain unchanged until the
stability date indicated on the IEC web site under "http://webstore.iec.ch" in the data related to
the specific publication. At this date, the publication will be:
• reconfirmed;
• withdrawn;
• replaced by a revised edition, or
• amended.
NOTE 2 The revision of this standard will be synchronized with the other parts of the IEC 61158 series.

– 10 – 61158-6-3  IEC:2010
INTRODUCTION
This part of IEC 61158 is one of a series produced to facilitate the interconnection of
automation system components. It is related to other standards in the set as defined by the
“three-layer” fieldbus reference model described in IEC/TR 61158-1.
The application protocol provides the application service by making use of the services
available from the data-link or other immediately lower layer. The primary aim of this standard
is to provide a set of rules for communication expressed in terms of the procedures to be
carried out by peer application entities (AEs) at the time of communication. These rules for
communication are intended to provide a sound basis for development in order to serve a
variety of purposes:
• as a guide for implementors and designers;
• for use in the testing and procurement of equipment;
• as part of an agreement for the admittance of systems into the open systems environment;
• as a refinement to the understanding of time-critical communications within OSI.
This standard is concerned, in particular, with the communication and interworking of sensors,
effectors and other automation devices. By using this standard together with other standards
positioned within the OSI or fieldbus reference models, otherwise incompatible systems may
work together in any combination.
The International Electrotechnical Commission (IEC) draws attention to the fact that it is
claimed that compliance with this document may involve the use of patents concerning Type 3
elements and possibly other types given in the normative elements of this standard.
The following patent rights for Type 3 have been announced by [SI]:
Publication Title
EP0604668-A1 Logical ring with monitoring of rotation time
(06.07.1994);
EP0604668-B1
(18.02.1998)
EP0604669-A1 Bus system with monitoring of the activity state of participants
(06.07.1994);
EP0604669-B1
(01.04.1998)
IEC takes no position concerning the evidence, validity and scope of these patent rights.
The holder of these patent rights has assured the IEC that he/she is willing to negotiate
licences either free of charge or under reasonable and non-discriminatory terms and conditions
with applicants throughout the world. In this respect, the statement of the holder of these
patent rights is registered with IEC. Information may be obtained from:
[SI]: Siemens AG
CT IP L&T
Hr. Hans-Jörg Müller
Otto-Hahn-Ring 6
D-81739 Munich
Germany
Attention is drawn to the possibility that some of the elements of this document may be the
subject of patent rights other than those identified above. IEC shall not be held responsible for
identifying any or all such patent rights.

61158-6-3  IEC:2010 – 11 –
ISO (www.iso.org/patents) and IEC (http://www.iec.ch/tctools/patent_decl.htm) maintain on-line
data bases of patents relevant to their standards. Users are encouraged to consult the data
bases for the most up to date information concerning patents.

– 12 – 61158-6-3  IEC:2010
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 6-3: Application layer protocol specification –
Type 3 elements
1 Scope
1.1 General
The Fieldbus Application Layer (FAL) 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.”
This standard 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 3 fieldbus. The term “time-critical” is used to represent the presence
of a time-window, within which one or more specified actions are required to be completed with
some defined level of certainty. Failure to complete specified actions within the time window
risks
...

Questions, Comments and Discussion

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

Loading comments...

Frequently Asked Questions

IEC 61158-6-3:2010 is a standard published by the International Electrotechnical Commission (IEC). Its full title is "Industrial communication networks - Fieldbus specifications - Part 6-3: Application layer protocol specification - Type 3 elements". This standard covers: IEC 61158-6-3:2010 defines in an abstract way the externally visible behaviour provided by the Type 3 fieldbus application layer. It specifies the protocol provided to: define the wire-representation of the service primitives specified in IEC 61158-5-3, and define the externally visible behaviour associated with their transfer. It specifies the protocol of the Type 3 fieldbus application layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498-1) and the OSI Application Layer Structure (ISO/IEC 9545). 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: - corrections, in Table 10 and Table 48; - clarification in 6.9.1.2; - expired patents deleted and new patents disclosed. This bilingual version published in 2012-07 corresponds to the English version published in 2010-08.

IEC 61158-6-3:2010 defines in an abstract way the externally visible behaviour provided by the Type 3 fieldbus application layer. It specifies the protocol provided to: define the wire-representation of the service primitives specified in IEC 61158-5-3, and define the externally visible behaviour associated with their transfer. It specifies the protocol of the Type 3 fieldbus application layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498-1) and the OSI Application Layer Structure (ISO/IEC 9545). 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: - corrections, in Table 10 and Table 48; - clarification in 6.9.1.2; - expired patents deleted and new patents disclosed. This bilingual version published in 2012-07 corresponds to the English version published in 2010-08.

IEC 61158-6-3:2010 is classified under the following ICS (International Classification for Standards) categories: 17.220.99 - Other standards related to electricity and magnetism; 25.040.40 - Industrial process measurement and control; 29.035.01 - Insulating materials in general; 35.100.70 - Application layer; 35.110 - Networking. The ICS classification helps identify the subject area and facilitates finding related standards.

IEC 61158-6-3:2010 has the following relationships with other standards: It is inter standard links to IEC 61158-6-3:2014, IEC 61158-6-3:2007. Understanding these relationships helps ensure you are using the most current and applicable version of the standard.

You can purchase IEC 61158-6-3:2010 directly from iTeh Standards. The document is available in PDF format and is delivered instantly after payment. Add the standard to your cart and complete the secure checkout process. iTeh Standards is an authorized distributor of IEC standards.