SIST EN 61158-5-3:2008
Industrial communication networks - Fieldbus specifications - Part 5-3: Application layer service definition - Type 3 elements
Industrial communication networks - Fieldbus specifications - Part 5-3: Application layer service definition - Type 3 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-3: Dienstfestlegungen des Application Layer (Anwendungsschicht) - Typ 3-Elemente
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 5-3: Définition des services des couches d'application - Eléments de type 3
Industrijska komunikacijska omrežja - Specifikacije za procesno vodilo - 5-3. del: Definicija opravil na aplikacijskem nivoju - Elementi tipa 3 (IEC 61158-5-3:2007)
General Information
Relations
Standards Content (Sample)
SLOVENSKI STANDARD
SIST EN 61158-5-3:2008
01-julij-2008
1DGRPHãþD
SIST EN 61158-5:2004
Industrijska komunikacijska omrežja - Specifikacije za procesno vodilo - 5-3. del:
Definicija opravil na aplikacijskem nivoju - Elementi tipa 3 (IEC 61158-5-3:2007)
Industrial communication networks - Fieldbus specifications - Part 5-3: Application layer
service definition - Type 3 elements
Industrielle Kommunikationsnetze - Feldbusse - Teil 5-3: Dienstfestlegungen des
Application Layer (Anwendungsschicht) - Typ 3-Elemente
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 5-3:
Définition des services des couches d'application - Eléments de type 3
Ta slovenski standard je istoveten z: EN 61158-5-3: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-3:2008 en,de
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
---------------------- Page: 1 ----------------------
EUROPEAN STANDARD
EN 61158-5-3
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-3: Application layer service definition -
Type 3 elements
(IEC 61158-5-3:2007)
Réseaux de communication industriels - Industrielle Kommunikationsnetze -
Spécifications des bus de terrain - Feldbusse -
Partie 5-3: Définition des services Teil 5-3: Dienstfestlegungen
des couches d'application - des Application Layer
(Anwendungsschicht) -
Eléments de type 3
(CEI 61158-5-3:2007) Typ 3-Elemente
(IEC 61158-5-3: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-3:2008 E
---------------------- Page: 2 ----------------------
EN 61158-5-3:2008 - 2 -
Foreword
The text of document 65C/475/FDIS, future edition 1 of IEC 61158-5-3, 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-3 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-3: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 61784-1 NOTE Harmonized as EN 61784-1:2008 (not modified).
IEC 61784-2 NOTE Harmonized as EN 61784-2:2008 (not modified).
__________
---------------------- Page: 3 ----------------------
- 3 - EN 61158-5-3: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 61131-1 - Programmable controllers - EN 61131-1 2003
Part 1: General information
1) 2)
IEC 61158-3-3 - Industrial communication networks - EN 61158-3-3 2008
Fieldbus specifications -
Part 3-3: Data-link layer service definition -
Type 3 elements
1) 2)
IEC 61158-4-3 - Industrial communication networks - EN 61158-4-3 2008
Fieldbus specifications -
Part 4-3: Data-link layer protocol
specification - Type 3 elements
1) 2)
IEC 61158-5-10 - Industrial communication networks - EN 61158-5-10 2008
Fieldbus specifications -
Part 5-10: Application layer service definition -
Type 10 elements
1) 2)
IEC 61158-6-3 - Industrial communication networks - EN 61158-6-3 2008
Fieldbus specifications -
Part 6-3: Application layer protocol
specification - Type 3 elements
1) 2)
IEC 61158-6-10 - Industrial communication networks - EN 61158-6-10 2008
Fieldbus specifications -
Part 6-10: Application layer protocol
specification - Type 10 elements
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: 4 ----------------------
EN 61158-5-3:2008 - 4 -
Publication Year Title EN/HD Year
1)
ISO/IEC 9545 - Information technology - Open Systems - -
Interconnection - Application Layer structure
1)
ISO/IEC 10731 - Information technology - Open Systems - -
Interconnection - Basic reference model -
Conventions for the definition of OSI services
---------------------- Page: 5 ----------------------
IEC 61158-5-3
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 5-3: Application layer service definition – Type 3 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XP
ICS 25.040.40; 35.100.70 ISBN 2-8318-9445-X
---------------------- Page: 6 ----------------------
– 2 – 61158-5-3 © IEC:2007(E)
CONTENTS
FOREWORD.11
INTRODUCTION.13
1 Scope.14
1.1 General .14
1.2 Overview .14
1.3 Specifications .15
1.4 Conformance.15
2 Normative references .15
3 Terms, definitions, abbreviations, symbols and conventions .16
3.1 Referenced terms and definitions .16
3.2 Fieldbus Application Layer type 3 – specific terms and definitions .17
3.3 Abbreviations and symbols .25
3.4 Conventions .25
4 Concepts .32
5 Data type ASE.32
6 Communication model specification .32
6.1 DP concepts .32
6.2 ASEs .52
6.3 Summary of FAL classes .430
6.4 Permitted FAL services by AREP role.431
6.5 Conformance classes .435
6.6 Application characteristics .436
Bibliography.438
Figure 1 – Example of DP communication with a single controlling device .35
Figure 2 – Example of DP communication with several controlling devices.35
Figure 3 – Example of DP communication between field devices.36
Figure 4 – DP-slave model (modular DP-slave).38
Figure 5 – DP-slave model (compact DP-slave) .39
Figure 6 – Overview of application processes .40
Figure 7 – DP-slave model (modular DP-slave).41
Figure 8 – Application Service Elements (ASEs) .43
Figure 9 – Application Process with application Objects (APOs).44
Figure 10 – Access to a remote APO .45
Figure 11 – Access to a remote APO for publisher/subscriber association .46
Figure 12 – Example of one AR with two AREPs.47
Figure 13 – Relation of a simple process data object to the real object .53
Figure 14 – Relation of a combined process data object to the real objects.55
Figure 15 – Sequence of an isochronous DP cycle with one DP-master (class 1).86
Figure 16 – Additional time relationships in a DP system operating in isochronous
mode .88
Figure 17 – DP system with optimized isochronous DP cycle .89
Figure 18 – Buffered synchronized isochronous mode at the DP-master (class 1).91
---------------------- Page: 7 ----------------------
61158-5-3 © IEC:2007(E) – 3 –
Figure 19 – Enhanced synchronized isochronous mode at the DP-master (class 1).92
Figure 20 – Input, output and PLL state machine interaction .92
Figure 21 – PLL state diagram .98
Figure 22 – OUTPUT state diagram .102
Figure 23 – INPUT state diagram .106
Figure 24 – Treatment of an alarm in the DP system.139
Figure 25 – Load Region state diagram for erasable memory.237
Figure 26 – Load region state diagram for non erasable memory .238
Figure 27 – Function invocation state diagram .270
Figure 28 – System architecture.284
Figure 29 – Assignment of communication relationship to application relationship .291
Figure 30 – MS0 application relationship.297
Figure 31 – Output buffer model of a DP-slave without sync functionality.298
Figure 32 – Output buffer model of a DP-slave with sync functionality.298
Figure 33 – Input buffer model of a DP-slave without freeze functionality.299
Figure 34 – Input buffer model of a DP-slave with freeze functionality.299
Figure 35 – MS1 application relationship.300
Figure 36 – MS2 application relationship.300
Figure 37 – Example of inter-network communication.302
Figure 38 – Example without inter-network addressing.302
Figure 39 – First example with inter-network addressing .303
Figure 40 – Second example with inter-network addressing .304
Figure 41 – MS3 application relationship.305
Figure 42 – MM1 application relationship .305
Figure 43 – MM2 application relationship .306
Figure 44 – Cycle time of the DP system.437
Table 1 – Requirements and features of fieldbus DP.34
Table 2 – Status values of the service primitives.51
Table 3 – Access Rights MS1 .54
Table 4 – Access Rights MS2 .54
Table 5 – Access Rights MS1 .57
Table 6 – Access Rights MS2 .57
Table 7 – SCL matching rules .58
Table 8 – Read .58
Table 9 – Write .60
Table 10 – Data transport .61
Table 11 – Format (simple input data description).65
Table 12 – Consistency (simple input data description).65
Table 13 – Format (simple output data).67
Table 14 – Consistency (simple output data).67
Table 15 – Format (extended input data).68
Table 16 – Consistency (extended input data).69
---------------------- Page: 8 ----------------------
– 4 – 61158-5-3 © IEC:2007(E)
Table 17 – Format (extended output data) .70
Table 18 – Consistency (extended output data) .71
Table 19 – Set Input .72
Table 20 – Read Input .72
Table 21 – Get Input .74
Table 22 – New Input.75
Table 23 – Set Output.76
Table 24 – Final.77
Table 25 – Read Output.77
Table 26 – Get Output .78
Table 27 – Clear Flag .78
Table 28 – New Flag .79
Table 29 – New Output .79
Table 30 – Clear Flag .79
Table 31 – Global Control .80
Table 32 – Clear Command .80
Table 33 – Sync Command .80
Table 34 – Freeze Command .81
Table 35 – New publisher data.81
Table 36 – Get publisher data .82
Table 37 – New Flag .82
Table 38 – SYNCH.83
Table 39 – SYNCH Delayed .83
Table 40 – DX Finished.84
Table 41 – SYNCH Event.84
Table 42 – Status.84
Table 43 – Primitives issued by the AL to the PLL state machine .94
Table 44 – Primitives issued by the user to the PLL state machine .94
Table 45 – Allowed values of Status .94
Table 46 – Primitives issued by the user to the input state machine.95
Table 47 – Primitives issued by the user to the output state machine.95
Table 48 – Primitives issued by the PLL to the output state machine .95
Table 49 – Primitives issued by the output to the PLL state machine .95
Table 50 – Primitives issued by the PLL to the input state machine.95
Table 51 – Primitives issued by the output to the input state machine .96
Table 52 – Primitives issued by the output state machine to the AL .96
Table 53 – Primitives issued by the AL to the output state machine .96
Table 54 – Primitives issued by the input state machine to the AL .96
Table 55 – Primitives issued by the AL to the input state machine .96
Table 56 – PLL state table .99
Table 57 – OUTPUT state table .103
Table 58 – INPUT state table .107
Table 59 – Identifier status.109
---------------------- Page: 9 ----------------------
61158-5-3 © IEC:2007(E) – 5 –
Table 60 – Channel type .110
Table 61 – IO type .111
Table 62 – Error type .111
Table 63 – Status type .112
Table 64 – Status specifier .112
Table 65 – Status specifier .113
Table 66 – Module status.113
Table 67 – Status specifier .114
Table 68 – Link status.115
Table 69 – Link error.115
Table 70 – Set Slave Diag .116
Table 71 – Ext Diag Flag.117
Table 72 – Get Slave Diag .119
Table 73 – Read Slave Diag .129
Table 74 – New Slave Diag.138
Table 75 – Alarm type.140
Table 76 – Add Ack.141
Table 77 – Alarm specifier .141
Table 78 – Alarm notification.142
Table 79 – Alarm Ack.143
Table 80 – Prm data type.148
Table 81 – Supported feature.158
Table 82 – Supported profile feature .158
Table 83 – Role .159
Table 84 – Check user Prm.160
Table 85 – Prm structure.161
Table 86 – MS1 Command.164
Table 87 – Check user Prm result .165
Table 88 – Status values.166
Table 89 – Check Ext user Prm.167
Table 90 – Check Ext user Prm result .170
Table 91 – Status values.171
Table 92 – Check Cfg .171
Table 93 – Check Cfg result.172
Table 94 – Status values.173
Table 95 – Set Cfg.173
Table 96 – Get Cfg.174
Table 97 – Set Slave Add .175
Table 98 – Initiate .176
Table 99 – Abort .179
Table 100 – Instance .179
Table 101 – MS0 init DP-slave .180
Table 102 – MS1 init DP-slave .180
---------------------- Page: 10 ----------------------
– 6 – 61158-5-3 © IEC:2007(E)
Table 103 – MS2 init DP-slave .181
Table 104 – DP-slave started.181
Table 105 – Alarm limit .
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.