SIST EN 61158-5:2004
(Main)Digital data communication for measurement and control - Fieldbus for use in industrial control systems -- Part 5: Application layer service definition
Digital data communication for measurement and control - Fieldbus for use in industrial control systems -- Part 5: Application layer service definition
This part of EN 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, which is based in part on the Basic Reference Model for Open Systems Interconnection. Both Reference Models subdivide the area of standardization for interconnection into a series of layers of specification, each of manageable size. 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 part of the EN 61158 series defines the Application Service characteristics that any immediately higher-level protocols may exploit.
Digitale Datenkommunikation in der Leittechnik - Feldbus für industrielle Leitsysteme -- Teil 5: Definition der Dienste der Anwendungsschicht (Application Layer)
Communications numériques pour les systèmes de mesure et de commande - Bus de terrain utilisés dans les systèmes de commande industriels -- Partie 5: Définition des services de la couche d'application
Veuillez noter que cette partie est également disponible sur un CD-ROM spécial qui contient les parties EN 61158-2 (y compris 2 amendements), EN 61158-3, EN 61158-4, EN 61158-5 et EN 61158-6 au prix préférentiel de CHF 459,00
Digital data communication for measurement and control - Fieldbus for use in industrial control systems - Part 5: Application layer service definition
General Information
Relations
Standards Content (Sample)
SLOVENSKI STANDARD
SIST EN 61158-5:2004
01-december-2004
1DGRPHãþD
SIST EN 50170:2001
SIST EN 50170:2001/A1:2003
SIST EN 50170:2001/A2:2001
SIST EN 50254:2001
Digital data communication for measurement and control - Fieldbus for use in
industrial control systems - Part 5: Application layer service definition
Digital data communication for measurement and control - Fieldbus for use in industrial
control systems -- Part 5: Application layer service definition
Digitale Datenkommunikation in der Leittechnik - Feldbus für industrielle Leitsysteme --
Teil 5: Definition der Dienste der Anwendungsschicht (Application Layer)
Communications numériques pour les systèmes de mesure et de commande - Bus de
terrain utilisés dans les systèmes de commande industriels -- Partie 5: Définition des
services de la couche d'application
Ta slovenski standard je istoveten z: EN 61158-5:2004
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:2004 en
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
---------------------- Page: 1 ----------------------
SIST EN 61158-5:2004
---------------------- Page: 2 ----------------------
SIST EN 61158-5:2004
EUROPEAN STANDARD EN 61158-5
NORME EUROPÉENNE
EUROPÄISCHE NORM July 2004
ICS 25.040; 35.100.70; 35.240.50 Partially supersedes EN 50170:1996 + A1:2002 + A2:1999 + A3:2002 and EN 50254:1998
English version
Digital data communication for measurement and control -
Fieldbus for use in industrial control systems
Part 5: Application layer service definition
(IEC 61158-5:2003 + corrigendum 2004)
Communications numériques pour les Digitale Datenkommunikation
systèmes de mesure et de commande - in der Leittechnik -
Bus de terrain utilisés dans les systèmes Feldbus für industrielle Leitsysteme
de commande industriels Teil 5: Definition der Dienste der
Partie 5: Définition des services Anwendungsschicht (Application Layer)
de la couche d'application (IEC 61158-5:2003 + Corrigendum 2004)
(CEI 61158-5:2003 + corrigendum 2004)
This European Standard was approved by CENELEC on 2004-03-16. 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 one official version (English). 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, Cyprus, Czech
Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia,
Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Slovakia, Slovenia, Spain, Sweden,
Switzerland and 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
© 2004 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC members.
Ref. No. EN 61158-5:2004 E
---------------------- Page: 3 ----------------------
SIST EN 61158-5:2004
EN 61158-5:2004 - 2 -
Foreword
The text of the International Standard IEC 61158-5:2003, prepared by SC 65C, Digital
communications, of IEC TC 65, Industrial-process measurement and control, was submitted to the
Unique Acceptance Procedure and was approved by CENELEC as EN 61158-5 on 2004-03-16 with
inclusion of the accepted future IEC corrigendum.
This European Standard, together with EN 61158-2:2004 to EN 61158-4:2004, EN 61158-6:2004 and
EN 61784-1:2004, supersedes EN 50170:1996 + A1:2002 (+ corr. Aug. 2002) + A2:1999 + A3:2002
(+ corr. Aug. 2002) and EN 50254:1998.
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) 2005-04-01
– latest date by which the national standards conflicting
with the EN have to be withdrawn (dow) 2007-04-01
Annex ZA has been added by CENELEC.
__________
Endorsement notice
The text of the International Standard IEC 61158-5:2003 and its corrigendum July 2004 was approved
by CENELEC as a European Standard without any modification.
__________
---------------------- Page: 4 ----------------------
SIST EN 61158-5:2004
- 3 - EN 61158-5:2004
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 Where an international publication has been modified by common modifications, indicated by (mod), the relevant
EN/HD applies.
Publication Year Title EN/HD Year
1)
IEC 61131-1 1992 Programmable controllers EN 61131-1 1994
Part 1: General information
2)
IEC 61131-3 1993 Part 3: Programming languages EN 61131-3 1993
IEC 61158-3 2003 Digital data communication for EN 61158-3 2004
measurement and control - Fieldbus
for use in industrial control systems
Part 3: Data Link Layer service
definition
IEC 61158-4 2003 Part 4: Data Link Layer protocol EN 61158-4 2004
+ corr. July 2004 specification
IEC 61158-6 2003 Part 6: Application Layer protocol EN 61158-6 2004
+ corr. July 2004 specification
ISO/IEC 646 1991 Information technology - ISO 7-bit - -
coded character set for information
interchange
ISO/IEC 7498-1 1994 Information technology - Open EN ISO/IEC 7498-1 1995
systems interconnection - Basic
reference model
Part 1: The basic model
ISO/IEC 7498-3 1997 Part 3: Naming and addressing - -
ISO/IEC 8822 1994 Information technology - Open - -
Systems Interconnection -
Presentation service definition
- -
ISO/IEC 8824 1990 Information technology - Open
Systems Interconnection -
Specification of Abstract Syntax
Notation One (ASN.1)
1)
EN 61131-1:1994 is superseded by EN 61131-1:2003, which is based on IEC 61131-1:2003.
2)
EN 61131-3:1993 is superseded by EN 61131-3:2003, which is based on IEC 61131-1:2003.
---------------------- Page: 5 ----------------------
SIST EN 61158-5:2004
EN 61158-5:2004 - 4 -
Publication Year Title EN/HD Year
ISO/IEC 8859-1 1998 Information technology - 8-bit single-- -
byte coded graphic character sets
Part 1: Latin alphabet No.1
ISO/IEC 9545 1994 Information technology - Open - -
Systems Interconnection -
Application Layer structure
ISO/IEC 10646-1 1993 Information technology - Universal - -
Multiple-Octet Coded Character set
(UCS) - Part 1: Architecture and
Basic Multilingual Plane
ISO/IEC 10731 1994 Information technology - Open - -
Systems Interconnection
Basic reference model - Conventions
for the definition of OSI services
IEEE 754 1985 Standard for Binary Floating-Point - -
(R1990) Arithmetic
---------------------- Page: 6 ----------------------
SIST EN 61158-5:2004
INTERNATIONAL IEC
STANDARD
61158-5
Third edition
2003-05
Digital data communications
for measurement and control –
Fieldbus for use in industrial
control systems –
Part 5:
Application layer service definition
IEC 2003 Copyright - all rights reserved
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 the publisher.
International Electrotechnical Commission, 3, rue de Varembé, PO Box 131, CH-1211 Geneva 20, Switzerland
Telephone: +41 22 919 02 11 Telefax: +41 22 919 03 00 E-mail: inmail@iec.ch Web: www.iec.ch
PRICE CODE
Commission Electrotechnique Internationale
XW
International Electrotechnical Commission
Международная Электротехническая Комиссия
For price, see current catalogue
---------------------- Page: 7 ----------------------
SIST EN 61158-5:2004
– 2 – 61158-5 IEC:2003(E)
CONTENTS
FOREWORD.24
0 Introduction.26
0.1 General .26
0.2 Nomenclature for references within this standard .26
1 Scope .27
2 Normative references.27
3 Terms and definitions.28
3.1 ISO/IEC 7498-1 terms .28
3.2 ISO/IEC 8822 terms .29
3.3 ISO/IEC 9545 terms .29
3.4 ISO/IEC 8824 terms .29
3.5 Fieldbus Data Link Layer terms .29
3.6 Fieldbus Application Layer specific definitions .30
3.7 Abbreviations and symbols .41
3.8 Conventions .42
4 Concepts .45
4.1 Overview .45
4.2 Architectural relationships .46
4.3 Fieldbus Application Layer structure.48
4.4 Fieldbus Application Layer naming and addressing .60
4.5 Architecture summary.60
4.6 FAL service procedures.61
4.7 Common FAL attributes .62
4.8 Common FAL service parameters.62
4.9 APDU size.63
5 Data type ASE .63
5.1 General .63
5.2 Formal definition of data type objects .66
5.3 FAL defined data types.67
5.4 Data type ASE service specification .102
6 Type 1 communication model specification.102
6.1 Concepts.102
6.2 ASEs .102
6.3 ARs .246
6.4 Summary of FAL classes .270
6.5 Permitted FAL services by AREP role.271
7 Type 2 communication model specification.273
7.1 Concepts.273
7.2 ASEs .281
7.3 AR.346
7.4 Summary of FAL classes .382
7.5 Permitted FAL services by AR type .383
8 Type 3 communication model specification.383
---------------------- Page: 8 ----------------------
SIST EN 61158-5:2004
61158-5 IEC:2003(E) – 3 –
8.1 DP concepts.383
8.2 ASEs .401
8.3 Summary of AL classes .734
8.4 Permitted AL services by AREP role.735
8.5 Conformance classes .739
8.6 Application characteristics .739
9 Type 4 communication model specification.740
9.1 Concepts.740
9.2 Variable ASE.747
9.3 Application relationship ASE.766
10 Type 5 communication model specification.772
10.1 Concepts.772
10.2 ASEs .793
10.3 FDA sessions .828
10.4 Summary of FAL Type 9 and Type 5 classes .837
10.5 Permitted FAL Type 9 and Type 5 services by AREP role.838
11 Type 6 communication model specification.840
11.1 Application relationship (AR) and Application relationship endpoint (AREP)
characteristics .840
11.2 Relationship of Type 6 to Type 1 .842
11.3 Permitted services by AREP role .846
12 Type 7 communication model specification.848
12.1 Concepts.848
12.2 ASEs .864
12.3 ARs . 1033
13 Type 8 communication model specification. 1053
13.1 Concepts. 1053
13.2 ASEs . 1055
13.3 Application relationships. 1070
13.4 Permitted FAL services by AREP role. 1071
14 Type 9 communication model specification. 1072
14.1 Concepts. 1072
14.2 Common parameters . 1072
14.3 ASEs . 1073
14.4 ARs . 1163
14.5 Summary of classes . 1166
14.6 Permitted services by AREP role . 1166
15 Type 10 communication model specification. 1168
15.1 Type 10 Concepts . 1168
15.2 ASE Data Types . 1174
15.3 ASEs . 1175
15.4 ARs . 1289
15.5 Summary of FAL classes . 1292
15.6 Summary of FAL services. 1292
---------------------- Page: 9 ----------------------
SIST EN 61158-5:2004
– 4 – 61158-5 IEC:2003(E)
Figure 1 – Relationship of IEC 61158-3 to other fieldbus layers and to users of the fieldbus
Application Service .26
Figure 2 – Relationship to the OSI basic reference model.46
Figure 3 – Architectural positioning of the fieldbus Application Layer .47
Figure 4 – Client/server interactions .49
Figure 5 – Pull model interactions.50
Figure 6 – Push model interactions .51
Figure 7 – APOs services conveyed by the FAL.52
Figure 8 – Application entity structure.54
Figure 9 – Example FAL ASEs.55
Figure 10 – FAL management of objects .56
Figure 11 – ASE service conveyance.57
Figure 12 – Defined and established AREPs.59
Figure 13 – FAL architectural components .61
Figure 14 – Data type class hierarchy example .64
Figure 15 – The AR ASE conveys APDUs between APs.133
Figure 16 – 1-to-1 AR establishment.145
Figure 17 – 1-to-many AR establishment .145
Figure 18 – Event model overview .185
Figure 19 – Residence timeliness .261
Figure 20 – Synchronized timeliness.262
Figure 21 – Residence timeliness .267
Figure 22 – Synchronized timeliness.268
Figure 23 – Overview of ASE's and object classes.275
Figure 24 – Addressing format using MAC, class, instance and attribute IDs .275
Figure 25 – Static Assembly state transition diagram .293
Figure 26 – Dynamic Assembly state transition diagram .294
Figure 27 – Example of Find_Next_Object_Instance service .323
Figure 28 – Context of transport services within the connection model.349
Figure 29 – Application–to–application view of data transfer .349
Figure 30 – Data flow diagram for a link producer .350
Figure 31 – Data flow diagram for a link consumer.351
Figure 32 – Triggers .352
Figure 33 – Binding transport instances to the producer and consumer of a transport
connection that does not have a reverse data path .353
Figure 34 – Binding transport instances to the producers and consumers of a transport
connection that does have a reverse data path .353
Figure 35 – Binding transport instances to the producer and consumers of a multipoint
connection when the transport connection does not have a reverse data path .354
Figure 36 – Binding transport instances to the producers and consumers of a multipoint
connection when the transport connection does have reverse data paths.354
Figure 37 – Example of DP communication with a single controlling device .386
Figure 38 – Example of DP communication with several controlling devices.386
Figure 39 – Example of DP communication between field devices.386
Figure 40 – DP-slave model (modular DP-slave).389
Figure 41 – DP-slave model (compact DP-slave) .389
Figure 42 – Overview of application processes .390
---------------------- Page: 10 ----------------------
SIST EN 61158-5:2004
61158-5 IEC:2003(E) – 5 –
Figure 43 – DP-slave model (modular DP-slave).391
Figure 44 – Application Service Elements (ASEs) .393
Figure 45 – Application Process with application Objects (APOs).394
Figure 46 – Access to a remote APO .395
Figure 47 – Access to a remote APO for publisher/subscriber association .396
Figure 48 – Example of one AR with two AREPs.397
Figure 49 – Relation of a simple process data object to the real object .402
Figure 50 – Relation of a combined process data object to the real objects.405
Figure 51 – Sequence of an isochronous DP cycle with one DP-master (class 1).433
Figure 52 – Additional time relationships in a DP system operating in isochronous mode.434
Figure 53 – DP system with optimised isochronous DP cycle .436
Figure 54 – Buffered synchronised isochronous mode at the DP-master (class 1).437
Figure 55 – Enhanced synchronised isochronous mode at the DP-master (class 1) .438
Figure 56 – Input, output and PLL state machine interaction .438
Figure 57 – PLL state diagram .444
Figure 58 – OUTPUT state diagram .448
Figure 59 – INPUT state diagram.452
Figure 60 – Treatment of an alarm in the DP system.481
Figure 61 – Load Region state diagram for erasable memory.568
Figure 62 – Load region state diagram for non erasable memory .568
Figure 63 – Function invocation state diagram .595
Figure 64 – System architecture .605
Figure 65 – Assignment of communication relationship to application relationship .612
Figure 66 – MS0 application relationship .618
Figure 67 – Output buffer model of a DP-slave without sync functionality.619
Figure 68 – Output buffer model of a DP-slave with sync functionality.619
Figure 69 – Input buffer model of a DP-slave without freeze functionality.620
Figure 70 – Input buffer model of a DP-slave with freeze functionality.620
Figure 71 – MS1 application relationship .621
Figure 72 – MS2 application relationship .622
Figure 73 – Example of inter-network communication .623
Figure 74 – Example without inter-network addressing.623
Figure 75 – First example with inter-network addressing.624
Figure 76 – Second example with inter-network addressing .624
Figure 77 – MS3 application relationship .625
Figure 78 – MM1 application relationship .626
Figure 79 – MM2 application relationship .627
Figure 80 – Cycle time of the DP system .740
Figure 81 – FAL AE .741
Figure 82 – Summary of the FAL architecture .744
Figure 83 – FAL service procedure overview.745
Figure 84 – Time sequence diagram for the confirmed services .746
Figure 85 – Time sequence diagram for unconfirmed services .747
Figure 86 – VCR initiation .778
Figure 87 – Misordered message handling.784
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.