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

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 13 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 specifies interactions between remote applications and defines the externally visible behavior provided by the Type 13 fieldbus application layer in terms of a) the formal abstract syntax defining the application layer protocol data units conveyed between communicating application entities; b) the transfer syntax defining encoding rules that are applied to the application layer protocol data units; c) the application context state machine defining the application service behavior visible between communicating application entities; d) the application relationship state machines defining the communication behavior visible between communicating application entities. The purpose of this standard is to define the protocol provided to 1) define the wire-representation of the service primitives defined in IEC 61158- 5-13, and 2) define the externally visible behavior associated with their transfer. This standard specify the protocol of the Type 13 fieldbus application layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498) and the OSI application layer structure (ISO/IEC 9545).

Industrielle Kommunikationsnetze - Feldbusse - Teil 6-13: Protokollspezifikation des Application Layer (Anwendungsschicht) - Typ 13-Elemente

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

Industrijska komunikacijska omrežja - Specifikacije za procesno vodilo - 6-13. del: Specifikacija protokola na aplikacijskem nivoju - Elementi tipa 13 (IEC 61158-6-13:2007)

General Information

Status
Withdrawn
Publication Date
11-Jun-2008
Withdrawal Date
25-Oct-2016
Current Stage
9900 - Withdrawal (Adopted Project)
Start Date
25-Oct-2016
Due Date
17-Nov-2016
Completion Date
26-Oct-2016

Relations

Buy Standard

Standard
EN 61158-6-13:2008
English language
68 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)

SLOVENSKI STANDARD
SIST EN 61158-6-13:2008
01-julij-2008
1DGRPHãþD
SIST EN 61158-6:2004
Industrijska komunikacijska omrežja - Specifikacije za procesno vodilo - 6-13. del:
Specifikacija protokola na aplikacijskem nivoju - Elementi tipa 13 (IEC 61158-6-
13:2007)
Industrial communication networks - Fieldbus specifications - Part 6-13: Application layer
protocol specification - Type 13 elements
Industrielle Kommunikationsnetze - Feldbusse - Teil 6-13: Protokollspezifikation des
Application Layer (Anwendungsschicht) - Typ 13-Elemente
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-13:
Spécification des services des couches d'application - Eléments de type 13
Ta slovenski standard je istoveten z: EN 61158-6-13:2008
ICS:
25.040.40 Merjenje in krmiljenje Industrial process
industrijskih postopkov measurement and control
35.100.70 Uporabniški sloj Application layer
35.110 Omreževanje Networking
SIST EN 61158-6-13:2008 en,de
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------

SIST EN 61158-6-13:2008

---------------------- Page: 2 ----------------------

SIST EN 61158-6-13:2008

EUROPEAN STANDARD
EN 61158-6-13

NORME EUROPÉENNE
March 2008
EUROPÄISCHE NORM

ICS 35.100.70; 25.040.40 Partially supersedes EN 61158-6:2004


English version


Industrial communication networks -
Fieldbus specifications -
Part 6-13: Application layer protocol specification -
Type 13 elements
(IEC 61158-6-13:2007)


Réseaux de communication industriels -  Industrielle Kommunikationsnetze -
Spécifications des bus de terrain - Feldbusse -
Partie 6-13: Spécification des services Teil 6-13: Protokollspezifikation
des couches d'application - des Application Layer
Eléments de type 13 (Anwendungsschicht) -
(CEI 61158-6-13:2007) Typ 13-Elemente
(IEC 61158-6-13:2007)




This European Standard was approved by CENELEC on 2008-02-01. CENELEC members are bound to comply
with the CEN/CENELEC Internal Regulations which stipulate the conditions for giving this European Standard
the status of a national standard without any alteration.

Up-to-date lists and bibliographical references concerning such national standards may be obtained on
application to the Central Secretariat or to any CENELEC member.

This European Standard exists in three official versions (English, French, German). A version in any other
language made by translation under the responsibility of a CENELEC member into its own language and notified
to the Central Secretariat has the same status as the official versions.

CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Cyprus, the
Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia,
Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain,
Sweden, Switzerland and the United Kingdom.

CENELEC
European Committee for Electrotechnical Standardization
Comité Européen de Normalisation Electrotechnique
Europäisches Komitee für Elektrotechnische Normung

Central Secretariat: rue de Stassart 35, B - 1050 Brussels


© 2008 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC members.
Ref. No. EN 61158-6-13:2008 E

---------------------- Page: 3 ----------------------

SIST EN 61158-6-13:2008
EN 61158-6-13:2008 - 2 -
Foreword
The text of document 65C/476/FDIS, future edition 1 of IEC 61158-6-13, prepared by SC 65C, Industrial
networks, of IEC TC 65, Industrial-process measurement, control and automation, was submitted to the
IEC-CENELEC parallel vote and was approved by CENELEC as EN 61158-6-13 on 2008-02-01.
This and the other parts of the EN 61158-6 series supersede EN 61158-6:2004.
With respect to EN 61158-6:2004 the following changes were made:
– deletion of Type 6 fieldbus for lack of market relevance;
– addition of new fieldbus types;
– partition into multiple parts numbered 6-2, 6-3, …6-20.
The following dates were fixed:
– latest date by which the EN has to be implemented
at national level by publication of an identical
national standard or by endorsement (dop) 2008-11-01
– latest date by which the national standards conflicting
with the EN have to be withdrawn (dow) 2011-02-01
NOTE  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
EN 61784 series. Use of the various protocol types in other combinations may require permission from their respective
intellectual-property-right holders.
Annex ZA has been added by CENELEC.
__________
Endorsement notice
The text of the International Standard IEC 61158-6-13:2007 was approved by CENELEC as a European
Standard without any modification.
In the official version, for Bibliography, the following notes have to be added for the standards indicated:
IEC 60559 NOTE  Harmonized as HD 592 S1:1991 (not modified).
IEC 61784-2 NOTE  Harmonized as EN 61784-2:2008 (not modified).
__________

---------------------- Page: 4 ----------------------

SIST EN 61158-6-13:2008
- 3 - EN 61158-6-13:2008

Annex ZA
(normative)

Normative references to international publications
with their corresponding European publications

The following referenced documents are indispensable for the application of this document. For dated
references, only the edition cited applies. For undated references, the latest edition of the referenced
document (including any amendments) applies.

NOTE  When an international publication has been modified by common modifications, indicated by (mod), the relevant EN/HD
applies.

Publication Year Title EN/HD Year
1) 2)
IEC 61158-3-13 - Industrial communication networks - EN 61158-3-13 2008
Fieldbus specifications -
Part 3-13: Data-link layer service definition -
Type 13 elements

1) 2)
IEC 61158-4-13 - Industrial communication networks - EN 61158-4-13 2008
Fieldbus specifications -
Part 4-13: Data-link layer protocol
specification - Type 13 elements


1) 2)
IEC 61158-5-13 - Industrial communication networks - EN 61158-5-13 2008
Fieldbus specifications -
Part 5-13 Application layer service definition -
Type 13 elements


ISO/IEC 7498 Series Information technology - Open Systems EN ISO/IEC 7498 Series
Interconnection - Basic Reference Model


1)
ISO/IEC 8822 - Information technology - Open Systems - -
Interconnection - Presentation service
definition


1)
ISO/IEC 8824-2 - Information technology - Abstract Syntax - -
Notation One (ASN.1): Information object
specification

1)
ISO/IEC 9545 - Information technology - Open Systems - -
Interconnection - Application Layer structure





1)
Undated reference.
2)
Valid edition at date of issue.

---------------------- Page: 5 ----------------------

SIST EN 61158-6-13:2008

---------------------- Page: 6 ----------------------

SIST EN 61158-6-13:2008
IEC 61158-6-13
Edition 1.0 2007-12
INTERNATIONAL
STANDARD

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

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XB
ICS 35.100.70; 25.040.40 ISBN 2-8318-9488-3

---------------------- Page: 7 ----------------------

SIST EN 61158-6-13:2008
– 2 – 61158-6-13 © IEC:2007(E)
CONTENTS
FOREWORD.5
INTRODUCTION.7
1 Scope.8
1.1 General .8
1.2 Specifications.8
1.3 Conformance.8
2 Normative references .9
3 Terms, definitions, symbols, abbreviations and conventions .9
3.1 ISO/IEC 7498-1 terms .9
3.2 ISO/IEC 8822 terms .10
3.3 ISO/IEC 9545 terms .10
3.4 ISO/IEC 8824 terms .10
3.5 Terms and definitions from IEC 61158-5-13.11
3.6 Other terms and definitions .11
4 FAL syntax description .12
4.1 General .12
4.2 FAL-AR PDU abstract syntax .12
4.3 Abstract syntax of Asyn2 pduBody .15
5 Transfer syntax .21
5.1 Encoding of data types .21
6 FAL protocol state machines .27
7 AP context state machine .28
8 FAL service protocol machine.28
9 AR protocol machine .28
9.1 Buffered-network-scheduled bi-directional pre-established connection (BNB-
PEC) ARPM .28
9.2 Buffered-network-scheduled uni-directional pre-established connection
(BNU-PEC) ARPM.30
9.3 Queued user-triggered uni-directional (QUU) ARPM.33
9.4 Queued user-triggered bi-directional connectionless (QUB-CL) ARPM .35
9.5 Queued user-triggered bi-directional connection-oriented with segmentation
(QUB-COS) ARPM .40
10 DLL mapping protocol machine .58
10.1 Primitive definitions .58
10.2 DMPM state machine .59
Annex A (normative) – Constant value assignments.61
A.1 Values of abort-code .61
A.2 NMT-command-ID .62
A.3 Type 13 specific error-code constants .62
A.4 EPL-node-list .64
Bibliography.65

Figure 1 – Encoding of Time of Day value.26
Figure 2 – Encoding of Time Difference value.26
Figure 3 – Primitives exchanged between protocol machines.27

---------------------- Page: 8 ----------------------

SIST EN 61158-6-13:2008
61158-6-13 © IEC:2007(E) – 3 –
Figure 4 – State transition diagram of BNB-PEC ARPM .29
Figure 5 – State transition diagram of BNU-PEC ARPM .32
Figure 6 – State transition diagram of QUU ARPM.34
Figure 7 – State transition diagram of QUB-CL ARPM .38
Figure 8 – State transition diagram of QUB-COS (CmdL) ARPM .44
Figure 9 – State transition diagram of QUB-COS (SeqL) ARPM .54
Figure 10 – State transition diagram of DMPM .59

Table 1 – Use of signaling-flags.14
Table 2 – Values of error-type.17
Table 3 – Transfer syntax for bit sequences.22
Table 4 – Transfer syntax for data type UNSIGNEDn.23
Table 5 – Transfer syntax for data type Integern .24
Table 6 – Primitives issued by user to BNB-PEC ARPM.28
Table 7 – Primitives issued by BNB-PEC ARPM to user.28
Table 8 – BNB-PEC ARPM state table – sender transactions.30
Table 9 – BNB-PEC ARPM state table – receiver transactions .30
Table 10 – Function BuildFAL-PDU.30
Table 11 – Primitives issued by user to BNU-PEC ARPM.31
Table 12 – Primitives issued by BNU-PEC ARPM to user.31
Table 13 – BNU-PEC ARPM state table – sender transactions.32
Table 14 – BNU-PEC ARPM state table – receiver transactions.32
Table 15 – Function BuildFAL-PDU.32
Table 16 – Primitives issued by user to QUU ARPM .33
Table 17 – Primitives issued by QUU ARPM to user .33
Table 18 – QUU ARPM state table – sender transactions .34
Table 19 – QUU ARPM state table – receiver transactions.35
Table 20 – Function BuildFAL-PDU.35
Table 21 – Primitives issued by user to QUB-CL ARPM .36
Table 22 – Primitives issued by QUB-CL ARPM to user .37
Table 23 – QUB-CL ARPM state table – sender transactions .39
Table 24 – QUB-CL ARPM state table – receiver transactions .40
Table 25 – Function BuildFAL-PDU.40
Table 26 – Primitives issued by user to QUB-COS (CmdL) ARPM.42
Table 27 – Primitives issued by QUB-COS (CmdL) ARPM to user.43
Table 28 – QUB-COS (CmdL) ARPM state table – sender transactions.45
Table 29 – QUB-COS (CmdL) ARPM state table – receiver transactions.47
Table 30 – Function BuildSegment .50
Table 31 – Function RoundUp.50
Table 32 – Function MoreFollows .50
Table 33 – Function AddSegment .51
Table 34 – Function GetIntermediatePDU .51

---------------------- Page: 9 ----------------------

SIST EN 61158-6-13:2008
– 4 – 61158-6-13 © IEC:2007(E)
Table 35 – Primitives issued by QUB-COS (CmdL) to QUB-COS (SeqL) .51
Table 36 – Primitives issued by QUB-COS (SeqL) to QUB-COS (CmdL) .52
Table 37 – Parameters used with primitives exchanged between QUB-COS (SeqL)
and QUB-COS (CmdL).52
Table 38 – QUB-COS (SeqL) ARPM states .53
Table 39 – QUB-COS (SeqL) ARPM state table – sender transactions.55
Table 40 – QUB-COS (SeqL) ARPM state table – receiver transactions .56
Table 41 – Function BuildFAL-PDU.57
Table 42 – Function IncrementCounter .58
Table 43 – Function AddToHistoryBuffer.58
Table 44 – Primitives issued by ARPM to DMPM .58
Table 45 – Primitives issued by DMPM to ARPM .58
Table 46 – Primitives issued by DMPM to data-link layer .59
Table 47 – Primitives issued by data-link layer to DMPM .59
Table 48 – DMPM state table – sender transactions .60
Table 49 – DMPM state table – receiver transactions.60
Table A.1 – Values of abort-code.61
Table A.2 – Values of NMTCommandID .62
Table A.3 – Type 13 specific error-code constants.63
Table A.4 – EPL-node-list format .64

---------------------- Page: 10 ----------------------

SIST EN 61158-6-13:2008
61158-6-13 © IEC:2007(E) – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –

Part 6-13: Application layer protocol specification – Type 13 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 provides no marking procedure to indicate its approval and cannot be rendered responsible for any
equipment declared to be in conformity with an IEC Publication.
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.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
NOTE  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 IEC 61784 series. Use of the various protocol Types in other
combinations may require permission of their respective intellectual-property-right holders.
International Standard IEC 61158-6-13 has been prepared by subcommittee 65C: Industrial
networks, of IEC technical committee 65: Industrial-process measurement, control and
automation.
This first edition and its companion parts of the IEC 61158-6 subseries cancel and replace
IEC 61158-6:2003. This edition of this part constitutes a technical addition. This part also
replaces IEC/PAS 62408, published in 2005.
This edition of IEC 61158-6 includes the following significant changes from the previous
edition:

---------------------- Page: 11 ----------------------

SIST EN 61158-6-13:2008
– 6 – 61158-6-13 © IEC:2007(E)
a) deletion of the former Type 6 fieldbus for lack of market relevance;
b) addition of new types of fieldbuses;
c) partition of part 6 of the third edition into multiple parts numbered -6-2, -6-3, …
The text of this standard is based on the following documents:
FDIS Report on voting
65C/476/FDIS 65C/487/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.
The committee has decided that the contents of this publication will remain unchanged until
the maintenance result 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  The revision of this standard will be synchronized with the other parts of the IEC 61158 series.
The list of all the parts of the IEC 61158 series, under the general title Industrial
communication networks – Fieldbus specifications, can be found on the IEC web site.

---------------------- Page: 12 ----------------------

SIST EN 61158-6-13:2008
61158-6-13 © IEC:2007(E) – 7 –
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.

---------------------- Page: 13 ----------------------

SIST EN 61158-6-13:2008
– 8 – 61158-6-13 © IEC:2007(E)
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –

Part 6-13: Application layer protocol specification – Type 13 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 13 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 specifies interactions between remote applications and defines the externally
visible behavior provided by the Type 13 fieldbus application layer in terms of
a) the formal abstract syntax defining the application layer protocol data units conveyed
between communicating application entities;
b) the transfer syntax defining encoding rules that are applied to the application layer
protocol data units;
c) the application context state machine defining the application service behavior visible
between communicating application entities;
d) the application relationship state machines defining the communication behavior visible
between communicating application entities.
The purpose of this standard is to define the protocol provided to
1) define the wire-representation of the service primitives defined in IEC 61158- 5-13, and
2) define the externally visible behavior associated with their transfer.
This standard specify the protocol of the Type 13 fieldbus application layer, in conformance
with the OSI Basic Reference Model (ISO/IEC 7498) and the OSI application layer structure
(ISO/IEC 9545).
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-13.
A secondary objective is to provide migration paths from pr
...

Questions, Comments and Discussion

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