Industrial communication networks - Fieldbus specifications - Part 5-2: Application layer service definition - Type 2 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 2 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 service provided by the Type 2 fieldbus application layer in terms of a) an abstract model for defining application resources (objects) capable of being manipulated by users via the use of the FAL service, b) the primitive actions and events of the service; c) the parameters associated with each primitive action and event, and the form which they take; and d) the interrelationship between these actions and events, and their valid sequences. The purpose of this standard is to define the services provided to 1) the FAL user at the boundary between the user and the application layer of the fieldbus reference model, and 2) Systems Management at the boundary between the application layer and Systems Management of the fieldbus reference model. This standard specifies the structure and services of the Type 2 fieldbus application layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498) 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 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.

Industrielle Kommunikationsnetze - Feldbusse - Teil 5-2: Dienstfestlegungen des Application Layer (Anwendungsschicht) - Typ 2-Elemente

Réseaux de communication industriels - Spécifications des bus de terrain - Partie 5-2 : Définition des services des couches d'application - Eléments de type 2

Industrijska komunikacijska omrežja - Specifikacije za procesno vodilo - 5-2. del: Definicija opravil na aplikacijskem nivoju - Elementi tipa 2

General Information

Status
Withdrawn
Publication Date
15-Jun-2008
Withdrawal Date
26-Aug-2012
Current Stage
9900 - Withdrawal (Adopted Project)
Start Date
10-Jul-2012
Due Date
02-Aug-2012
Completion Date
27-Aug-2012

Relations

Buy Standard

Standard
EN 61158-5-2:2008
English language
192 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)

SLOVENSKI STANDARD
SIST EN 61158-5-2:2008
01-julij-2008
1DGRPHãþD
SIST EN 61158-5:2004
Industrijska komunikacijska omrežja - Specifikacije za procesno vodilo - 5-2. del:
Definicija opravil na aplikacijskem nivoju - Elementi tipa 2
Industrial communication networks - Fieldbus specifications - Part 5-2: Application layer
service definition - Type 2 elements
Industrielle Kommunikationsnetze - Feldbusse - Teil 5-2: Dienstfestlegungen des
Application Layer (Anwendungsschicht) - Typ 2-Elemente
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 5-2 :
Définition des services des couches d'application - Eléments de type 2
Ta slovenski standard je istoveten z: EN 61158-5-2: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-5-2:2008 en,de
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

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

SIST EN 61158-5-2:2008

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

SIST EN 61158-5-2:2008


EUROPEAN STANDARD
EN 61158-5-2

NORME EUROPÉENNE
March 2008
EUROPÄISCHE NORM

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


English version


Industrial communication networks -
Fieldbus specifications -
Part 5-2: Application layer service definition -
Type 2 elements
(IEC 61158-5-2:2007)


Réseaux de communication industriels -  Industrielle Kommunikationsnetze -
Spécifications des bus de terrain - Feldbusse -
Partie 5-2: Définition des services Teil 5-2: Dienstfestlegungen
des couches d'application - des Application Layer
(Anwendungsschicht) -
Eléments de type 2
(CEI 61158-5-2:2007) Typ 2-Elemente
(IEC 61158-5-2: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-5-2:2008 E

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

SIST EN 61158-5-2:2008
EN 61158-5-2:2008 - 2 -
Foreword
The text of document 65C/475/FDIS, future edition 1 of IEC 61158-5-2, 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-5-2 on 2008-02-01.
This and the other parts of the EN 61158-5 series supersede EN 61158-5:2004.
With respect to EN 61158-5: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 5-2, 5-3, …, 5-20.
The following dates were fixed:
– latest date by which the EN has to be implemented
at national level by publication of an identical
(dop) 2008-11-01
national standard or by endorsement
– latest date by which the national standards conflicting
(dow) 2011-02-01
with the EN have to be withdrawn
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-5-2: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 61131-1 NOTE  Harmonized as EN 61131-1:2003 (not modified).
IEC 61158-2 NOTE  Harmonized as EN 61158-2:2008 (not modified).
IEC 61158-3-2 NOTE  Harmonized as EN 61158-3-2:2008 (not modified).
IEC 61784-1 NOTE  Harmonized as EN 61784-1:2008 (not modified).
IEC 61784-2 NOTE  Harmonized as EN 61784-2:2008 (not modified).
__________

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

SIST EN 61158-5-2:2008
- 3 - EN 61158-5-2: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 60559 - Binary floating-point arithmetic for HD 592 S1 1991
microprocessor systems


IEC 61131-3 2003 Programmable controllers - EN 61131-3 2003
Part 3: Programming languages


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


1) 2)
IEC 61158-6-2 - Industrial communication networks - EN 61158-6-2 2008
Fieldbus specifications -
Part 6-2: Application layer protocol
specification - Type 2 elements


IEC 61588 2004 Precision clock synchronization protocol for - -
networked measurement and control systems


1)
IEC 61784-3-2 - Industrial communication networks - Profiles - - -
Part 3-2: Functional safety fieldbuses -
Additional specifications for CPF 2


1)
ISO/IEC 646 - Information technology - ISO 7-bit coded - -
character set for information interchange


1) 2)
ISO/IEC 7498-1 - Information technology - Open Systems EN ISO/IEC 7498-1 1995
Interconnection - Basic Reference Model:
The Basic Model


1)
ISO/IEC 7498-3 - Information technology - Open Systems - -
Interconnection - Basic Reference Model:
Naming and addressing


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


1)
ISO/IEC 8824 - Information technology - Open Systems - -
Interconnection - Specification of Abstract
Syntax Notation One (ASN.1)



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

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

SIST EN 61158-5-2:2008
EN 61158-5-2:2008 - 4 -
Publication Year Title EN/HD Year
1)
ISO/IEC 8859-1 - Information technology - 8-bit single-byte - -
coded graphic character sets -
Part 1: Latin alphabet No.1


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


1)
ISO/IEC 10646-1 - Information technology - Universal Multiple-- -
Octet Coded Character Set (UCS) -
Part 1: Architecture and Basic Multilingual
Plane


1)
ISO/IEC 10731 - Information technology - Open Systems - -
Interconnection - Basic reference model -
Conventions for the definition of OSI services


ISO 11898 1993 Road vehicles - Interchange of digital - -
information - Controller area network (CAN)
for high-speed communication

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

SIST EN 61158-5-2:2008
IEC 61158-5-2
Edition 1.0 2007-12
INTERNATIONAL
STANDARD

Industrial communication networks – Fieldbus specifications –
Part 5-2: Application layer service definition – Type 2 elements

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XJ
ICS 25.040.40; 35.100.70 ISBN 2-8318-9444-1

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

SIST EN 61158-5-2:2008
– 2 – 61158-5-2 © IEC:2007(E)
CONTENTS
FOREWORD.5
INTRODUCTION.7
1 Scope.8
1.1 Overview .8
1.2 Specifications.9
1.3 Conformance.9
2 Normative references .9
3 Terms, definitions, symbols, abbreviations and conventions .10
3.1 ISO/IEC 7498-1 terms .10
3.2 ISO/IEC 8822 terms .10
3.3 ISO/IEC 9545 terms .11
3.4 ISO/IEC 8824 terms .11
3.5 Type 2 fieldbus data-link layer terms .11
3.6 Type 2 fieldbus application-layer specific definitions.11
3.7 Type 2 abbreviations and symbols.19
3.8 Conventions .20
4 Common concepts.22
5 Data type ASE.23
5.1 General .23
5.2 Formal definition of data type objects .23
5.3 FAL defined data types.23
5.4 Data type ASE service specification .33
6 Communication model specification.34
6.1 Concepts.34
6.2 ASEs.42
6.3 ARs .148
6.4 Summary of FAL classes .185
6.5 Permitted FAL services by AR type .186
Bibliography.188

Figure 1 – Overview of ASEs and object classes .36
Figure 2 – Addressing format using MAC, class, instance and attribute IDs .36
Figure 3 – Identity object state transition diagram .54
Figure 4 – Static Assembly state transition diagram .59
Figure 5 – Dynamic Assembly state transition diagram .60
Figure 6 – Typical timing relationships for acknowledged data production.69
Figure 7 – Example of a COS system with two acking devices .69
Figure 8 – Message flow in COS connection – one Connection object, one consumer.69
Figure 9 – Message flow in COS connection – multiple consumers .70
Figure 10 – CPF2 time synchronization offset clock model.77
Figure 11 – CPF2 time synchronization system with offset clock model .78
Figure 12 – CPF2 time synchronization group startup sequence .81
Figure 13 – Example of Find_Next_Object_Instance service . 106

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

SIST EN 61158-5-2:2008
61158-5-2 © IEC:2007(E) – 3 –
Figure 14 – Transmission trigger timer.142
Figure 15 – Inactivity watchdog timer.143
Figure 16 – Using tools for configuration.144
Figure 17 – Production inhibit timer .145
Figure 18 – Context of transport services within the connection model. 151
Figure 19 – Application–to–application view of data transfer . 151
Figure 20 – Data flow diagram for a link producer .152
Figure 21 – Data flow diagram for a link consumer.153
Figure 22 – Triggers .154
Figure 23 – Binding transport instances to the producer and consumer of a transport
connection that does not have a reverse data path .155
Figure 24 – Binding transport instances to the producers and consumers of a transport
connection that does have a reverse data path . 155
Figure 25 – Binding transport instances to the producer and consumers of a multipoint
connection when the transport connection does not have a reverse data path . 156
Figure 26 – Binding transport instances to the producers and consumers of a
multipoint connection when the transport connection does have reverse data paths .156

Table 1 – Valid IANA MIB printer codes for character set selection .32
Table 2 – Common elements .39
Table 3 – ST language elements.40
Table 4 – Type conversion operations.40
Table 5 – Values of implementation-dependent parameters .41
Table 6 – Extensions to IEC 61131-3 .42
Table 7 – Identity object state event matrix .55
Table 8 – Static Assembly state event matrix .59
Table 9 – Dynamic Assembly state event matrix .60
Table 10 – Message Router object Forward_Open parameters .63
Table 11 – Acknowledge Handler object state event matrix.66
Table 12 – Producing I/O application object state event matrix .67
Table 13 – Qos values .81
Table 14 – Status codes .84
Table 15 – Get_Attribute_All service parameters .86
Table 16 – Set_Attribute_All service parameters.87
Table 17 – Get_Attribute_List service parameters.89
Table 18 – Set_Attribute_List service parameters .91
Table 19 – Reset service parameters.93
Table 20 – Start service parameters .95
Table 21 – Stop service parameters.97
Table 22 – Create service parameters .98
Table 23 – Delete service parameters.100
Table 24 – Get_Attribute_Single service parameters. 101
Table 25 – Set_Attribute_Single service parameters . 103
Table 26 – Find_Next_Object_Instance service parameters . 104

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

SIST EN 61158-5-2:2008
– 4 – 61158-5-2 © IEC:2007(E)
Table 27 – NOP service parameters .107
Table 28 – Apply_Attributes service parameters . 108
Table 29 – Save service parameters .110
Table 30 – Restore service parameters.111
Table 31 – Group_Sync service parameters.113
Table 32 – Add_AckData_Path service parameters.115
Table 33 – Remove_AckData_Path service parameters . 116
Table 34 – Initialize service parameters .117
Table 35 – Management_Message service parameters . 119
Table 36 – CM_Open service parameters .127
Table 37 – CM_Close service parameters.129
Table 38 – CM_ Unconnected_Send service parameters . 130
Table 39 – CM_Get_Connection_Data service parameters . 132
Table 40 – CM_Search_Connection_Data service parameters . 133
Table 41 – CM_Get_Connection_Data service parameters . 134
Table 42 – I/O Connection object attribute access .139
Table 43 –Bridged Connection object attribute access .140
Table 44 – Explicit messaging object attribute access. 141
Table 45 – Connection_Bind service parameters . 146
Table 46 – Service_Name service parameters .147
Table 47 – How production trigger, transport class, and CM_RPI determine when data
is produced.150
Table 48 – Transport classes .161
Table 49 – UCMM_Create service parameters .178
Table 50 – UCMM_Delete service parameters .179
Table 51 – UCMM_Write service parameters .180
Table 52 – UCMM_Abort service parameters .181
Table 53 – TR_Write service parameters .182
Table 54 – TR_Trigger service parameters .183
Table 55 – TR_Packet_arrived service parameters .183
Table 56 – TR_Ack_received service parameters. 184
Table 57 – TR_Verify service parameters .184
Table 58 – TR_Status_updated service parameters .185
Table 59 – FAL class summary .186
Table 60 – FAL services by AR type .187

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

SIST EN 61158-5-2:2008
61158-5-2 © IEC:2007(E) – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________

INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –

Part 5-2: Application layer service definition – Type 2 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 from their respective intellectual-property-right holders.
International Standard IEC 61158-5-2 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-5 subseries cancel and replace
IEC 61158-5:2003. This edition of this part constitutes a technical revision. This part and its
Type 2 companion parts also cancel and replace IEC/PAS 62413.
This edition of IEC 61158-5 includes the following significant changes from the previous
edition:

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

SIST EN 61158-5-2:2008
– 6 – 61158-5-2 © 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 5 of the third edition into multiple parts numbered -5-2, -5-3, …
The text of this standard is based on the following documents:
FDIS Report on voting
65C/475/FDIS 65C/486/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-5-2:2008
61158-5-2 © 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 service is provided by the application protocol making use of the services
available from the data-link or other immediately lower layer. This standard defines the
application service characteristics that fieldbus applications and/or system management may
exploit.
Throughout the set of fieldbus standards, the term “service” refers to the abstract c
...

Questions, Comments and Discussion

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