Industrial communication networks - Fieldbus specifications - Part 6-12: Application layer protocol specification - Type 12 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 12 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 different Types of the 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 1) define the wire-representation of the service primitives defined in IEC 61158-5-12, and 2) define the externally visible behavior associated with their transfer. This standard specify the protocol of the IEC 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 sta ndard to provide access to the FAL to control certain aspects of its operation.

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

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

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

General Information

Status
Withdrawn
Publication Date
11-Jun-2008
Withdrawal Date
26-Aug-2012
Current Stage
9900 - Withdrawal (Adopted Project)
Start Date
09-Jul-2012
Due Date
01-Aug-2012
Completion Date
27-Aug-2012

Relations

Buy Standard

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

Standards Content (Sample)

SLOVENSKI STANDARD
SIST EN 61158-6-12:2008
01-julij-2008
1DGRPHãþD
SIST EN 61158-6:2004
Industrijska komunikacijska omrežja - Specifikacije za procesno vodilo - 6-12. del:
Specifikacija protokola na aplikacijskem nivoju - Elementi tipa 12 (IEC 61158-6-
12:2007)
Industrial communication networks - Fieldbus specifications - Part 6-12: Application layer
protocol specification - Type 12 elements
Industrielle Kommunikationsnetze - Feldbusse - Teil 6-12: Protokollspezifikation des
Application Layer (Anwendungsschicht) - Typ 12-Elemente
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-12:
Spécification des services des couches d'application - Eléments de type 12
Ta slovenski standard je istoveten z: EN 61158-6-12: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-12: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-6-12

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-12: Application layer protocol specification -
Type 12 elements
(IEC 61158-6-12:2007)


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

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

EN 61158-6-12:2008 - 2 -
Foreword
The text of document 65C/476/FDIS, future edition 1 of IEC 61158-6-12, 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-12 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-12: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-3 NOTE  Harmonized as EN 61131-3:2003 (not modified).
IEC 61784-2 NOTE  Harmonized as EN 61784-2:2008 (not modified).
ISO 8601 NOTE  Harmonized as EN 28601:1992 (not modified).
__________

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

- 3 - EN 61158-6-12: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


1) 2)
IEC 61158-3-12 - Industrial communication networks - EN 61158-3-12 2008
Fieldbus specifications -
Part 3-12: Data-link layer service definition -
Type 12 elements


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


1) 2)
IEC 61158-5-12 - Industrial communication networks - EN 61158-5-12 2008
Fieldbus specifications -
Part 5-12: Application layer service definition -
Type 12 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 8802-3 - Information technology - Telecommunications - -
and information exchange between systems -
Local and Metropolitan Area Networks -
Specific requirements -
Part 3: Carrier Sense Multiple Access with
Collision Detection (CSMA/CD) Access
Method and Physical Layer Specifications


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


1)
ISO/IEC 9899 - Programming languages - C - -


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



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

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

EN 61158-6-12:2008 - 4 -
Publication Year Title EN/HD Year
IEEE 802.1D 2004 IEEE Standard for Local and Metropolitan - -
Area Networks - Media Access Control (MAC)
Bridges


IEEE 802.1Q 1998 IEEE Standard for Local and Metropolitan - -
Area Networks: Virtual Bridged Local Area
Networks


1)
IETF RFC 768 - User Datagram Protocol - -


1)
IETF RFC 791 - Internet Protocol - -


1)
IETF RFC 792 - Internet Control Message Protocol - -

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

IEC 61158-6-12
Edition 1.0 2007-12
INTERNATIONAL
STANDARD

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

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XF
ICS 35.100.70; 25.040.40 ISBN 2-8318-9487-5

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

– 2 – 61158-6-12 © IEC:2007(E)
CONTENTS
FOREWORD.7
INTRODUCTION.9
1 Scope.10
1.1 General .10
1.2 Specifications .11
1.3 Conformance.11
2 Normative references.11
3 Terms, definitions, symbols, abbreviations and conventions .12
3.1 Reference model terms and definitions .12
3.2 Service convention terms and definitions .12
3.3 Application layer definitions.13
3.4 Common symbols and abbreviations .18
3.5 Additional symbols and abbreviations.18
3.6 Conventions .19
4 Application Layer protocol specification.24
4.1 Operating principle .24
4.2 Node reference model .24
5 FAL syntax description.26
5.1 Coding principles .26
5.2 Data types and encoding rules .26
5.3 AR coding.29
5.4 SII coding .34
5.5 Isochronous PDI coding.39
5.6 CoE coding.42
5.7 EoE coding.79
5.8 FoE Coding .88
6 FAL protocol state machines.94
6.1 Overall structure .94
6.2 AP-Context state machine .96
6.3 FAL service protocol machine (FSPM) .96
6.4 Application Relationship Protocol Machines (ARPMs).96
6.5 DLL mapping protocol machine (DMPM) . 135
Bibliography . 136

Figure 1 – Common structure of specific fields .20
Figure 2 – Type description example .21
Figure 3 – Slave Node Reference Model.25
Figure 4 – Encoding of Time Of Day value.26
Figure 5 – Encoding of Time Difference value.27
Figure 6 – AL Control Request structure.29
Figure 7 – AL Control Response structure .30
Figure 8 – AL State Changed structure .32
Figure 9 – PDI Control type description .32
Figure 10 – Sync Configuration type description .33

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

61158-6-12 © IEC:2007(E) – 3 –
Figure 11 – Distributed Clock sync and latch type description .39
Figure 12 – CoE general structure .42
Figure 13 – SDO Download Expedited Request structure.43
Figure 14 – SDO Download Expedited Response structure .44
Figure 15 – SDO Download Normal Request structure.45
Figure 17 – Download SDO Segment Request structure .47
Figure 18 – Download SDO Segment Response structure.47
Figure 19 – SDO Upload Expedited Request structure .48
Figure 20 – SDO Upload Expedited Response structure .49
Figure 22 – SDO Upload Normal Response structure.50
Figure 23 – Upload SDO Segment Request structure.51
Figure 24 – Upload SDO Segment Response structure .52
Figure 25 – Abort SDO Transfer Request structure.53
Figure 26 – SDO Information Service structure.55
Figure 27 – Get OD List Request structure .56
Figure 28 – Get OD List Response structure.57
Figure 29 – Get Object Description Request structure.58
Figure 30 – Get Object Description Response structure.59
Figure 31 – Get Entry Description Request structure.60
Figure 32 – Get Entry Description Response structure .61
Figure 33 – SDO Info Error Request structure .63
Figure 34 – EoE general structure .79
Figure 35 – EoE Timestamp structure.80
Figure 36 – EoE Fragment Request structure .81
Figure 37 – Set IP Parameter Request structure.83
Figure 38 – Set IP Parameter Response structure .85
Figure 39 – Set Address Filter Request structure.86
Figure 40 – Set Address Filter Response structure .88
Figure 41 – Read Request structure .89
Figure 42 – Write Request structure .89
Figure 43 – Data Request structure .90
Figure 44 – Ack Request structure .91
Figure 45 – Error Request structure.92
Figure 46 – Busy Request structure.94
Figure 47 – Relationship among Protocol Machines .95
Figure 48 – AR Protocol machines .96
Figure 49 – ESM Diagramm .98

Table 1 – PDU element description example.21
Table 2 – Example attribute description .22
Table 3 – State machine description elements .22
Table 4 – Description of state machine elements .23
Table 5 – Conventions used in state machines .23

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

– 4 – 61158-6-12 © IEC:2007(E)
Table 6 – Transfer Syntax for bit sequences.27
Table 7 – Transfer syntax for data type Unsignedn .28
Table 8 – Transfer syntax for data type Integern.29
Table 9 – AL Control Description .30
Table 10 – AL Control Response .30
Table 11 – AL Status Codes .31
Table 12 – AL State Changed.32
Table 13 – PDI Control.33
Table 14 – PDI Configuration .33
Table 15 – Sync Configuration.33
Table 16 – Slave Information Interface Area .34
Table 17 – Slave Information Interface Categories.35
Table 18 – Mailbox Protocols Supported Types .35
Table 19 – Categories Types.36
Table 20 – Structure Category String.36
Table 21 – Structure Category General.37
Table 22 – Structure Category FMMU.38
Table 23 – Structure Category SyncM for each Element.38
Table 24 – Structure Category TXPDO and RXPDO for each PDO.38
Table 25 – Structure PDO Entry .39
Table 26 – Distributed Clock sync parameter.40
Table 27 – Distributed Clock latch data .41
Table 28 – CoE elements .42
Table 29 – SDO Download Expedited Request .44
Table 30 – SDO Download Expedited Response.45
Table 31 – SDO Download Normal Request.46
Table 33 – Download SDO Segment Request .47
Table 34 – Download SDO Segment Response .48
Table 35 – SDO Upload Expedited Request.49
Table 36 – SDO Upload Expedited Response .50
Table 38 – SDO Upload Normal Response .51
Table 39 – Upload SDO Segment Request .52
Table 40 – Upload SDO Segment Response.53
Table 41 – Abort SDO Transfer Request .54
Table 42 – SDO Abort Codes .55
Table 43 – SDO Information Service.56
Table 44 – Get OD List Request.57
Table 45 – Get OD List Response .58
Table 46 – Get Object Description Request .59
Table 47 – Get Object Description Response.60
Table 48 – Get Entry Description Request .61
Table 49 – Get Entry Description Response.62
Table 50 – SDO Info Error Request .63

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

61158-6-12 © IEC:2007(E) – 5 –
Table 51 – Emergency Request.64
Table 52 – Emergency Error Codes .65
Table 53 – Error Code.65
Table 54 – Diagnostic Data .66
Table 55 – Sync Manager Length Error.66
Table 56 – Sync Manager Address Error .66
Table 57 – Sync Manager Settings Error.66
Table 58 – RxPDO Transmission via mailbox .67
Table 59 – TxPDO Transmission via mailbox.67
Table 60 – RxPDO Remote Transmission Request .68
Table 61 – TxPDO Remote Transmission Request .68
Table 62 – Command object structure .69
Table 63 – Object Dictionary Structure .69
Table 64 – Object Code Definitions .69
Table 65 – Basic Data Type Area .70
Table 66 – Extended Data Type Area .71
Table 67 – Enumeration Definition.72
Table 67 – CoE Communication Area .72
Table 68 – Device Type.73
Table 70 – Error Register .74
Table 69 – Manufacturer Device Name.74
Table 70 – Manufacturer Hardware Version .75
Table 71 – Manufacturer Software Version .75
Table 72 – Identity Object.75
Table 73 – Receive PDO Mapping .76
Table 74 – Transmit PDO Mapping.76
Table 75 – Sync Manager Communication Type .77
Table 76 – Sync Manager Channel 0 (Mailbox Receive).77
Table 77 – Sync Manager Channel 1 (Mailbox Send) .77
Table 78 – Sync Manager Channel 2 (Process Data Output) .78
Table 79 – Sync Manager Channel 3 (Process Data Input).78
Table 80 – Sync Manager Channel 4-32 .78
Table 81 – Sync Manager Synchronization .79
Table 82 – Initiate EoE Request .80
Table 83 – Initiate EoE Response.81
Table 84 – EoE Fragment Request.82
Table 85 – EoE Data .83
Table 86 – Set IP Parameter Request.84
Table 87 – Set IP Parameter Response.85
Table 88 – EoE Result Parameter .86
Table 89 – Set Address Filter Request .87
Table 90 – Set Address Filter Response.88
Table 91 – Read Request.89

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

– 6 – 61158-6-12 © IEC:2007(E)
Table 92 – Write Request.90
Table 93 – Data Request.
...

Questions, Comments and Discussion

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