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

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 a) define the wire-representation of the service primitives defined in IEC 61158-5-12, and b) define the externally visible behavior associated with their transfer. This standard specifies 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.

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

Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-12: Spécification des protocoles des couches d'application - Eléments de type 12 (CEI 61158-6-12:2010)

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

Aplikacijski nivo procesnih vodil (FAL) omogoča uporabniškim programom dostop do komunikacijskega okolja procesnih vodil. Glede na to je mogoče aplikacijski nivo procesnih vodil šteti za »okno med ustreznimi aplikacijami«. Ta standard določa skupne elemente za osnovne časovno kritične in časovno nekritične sporočilne komunikacije med aplikacijami v avtomatizacijskem okolju in material, specifičen za procesna vodila tipa 12. Izraz »časovno kritičen« se uporablja za predstavitev prisotnosti časovnega okna, v okviru katerega se zahteva dokončanje enega ali več opredeljenih dejanj z določeno stopnjo gotovosti. Zaradi neuspešnega dokončanja opredeljenih dejanj v časovnem oknu je možna odpoved aplikacij, ki zahtevajo dejanja, pri čemer so ogroženi oprema, obrat in morda človeška življenja. Ta standard na abstrakten način določa zunanje vidno vedenje, ki ga zagotavljajo različni tipi aplikacijskega nivoja procesnih vodil v zvezi z a) abstraktno sintakso, ki opredeljuje podatkovne enote protokola aplikacijskega nivoja, ki se prenašajo med aplikacijskimi osebki, ki komunicirajo, b) prenosno sintakso, ki opredeljuje podatkovne enote protokola aplikacijskega nivoja, ki se prenašajo med aplikacijskimi osebki, ki komunicirajo, c) strojem stanj aplikacijskega konteksta, ki opredeljuje vedenje aplikacijskega opravila, vidnega med aplikacijskimi osebki, ki komunicirajo, in d) stroji stanj aplikacijskega razmerja, ki opredeljujejo komunikacijsko vedenje med aplikacijskimi osebki, ki komunicirajo. Namen tega standarda je opredeliti protokol za a) določitev žične predstavitve primitivov opravil iz standarda IEC 61158-5-12 in b) določitev zunanje vidnega vedenja, povezanega z njihovim prenosom. Ta standard določa protokol aplikacijskega nivoja procesnih vodil IEC v skladu z osnovnim referenčnim modelom OSI (ISO/IEC 7498) in strukturo aplikacijskega nivoja OSI (ISO/IEC 9545). Opravila in protokole aplikacijskega nivoja procesnih vodil zagotavljajo aplikacijski osebki (AE) aplikacijskega nivoja procesnih vodil znotraj aplikacijskih procesov. Aplikacijski osebek aplikacijskega nivoja procesnih vodil sestavljata sklop objektno usmerjenih aplikacijskih opravilnih elementov (ASE) in osebek za upravljanje nivojev (LME), ki upravlja aplikacijski osebek. Aplikacijski opravilni elementi zagotavljajo komunikacijska opravila, ki delujejo na sklopu povezanih razredov objektov aplikacijskega procesa (APO). Med aplikacijske opravilne elemente aplikacijskega nivoja procesnih vodil spada aplikacijski opravilni element za upravljanje, ki zagotavlja skupen sklop opravil za upravljanje primerkov razredov aplikacijskega nivoja procesnih vodil. Čeprav ta opravila določajo način izdajanja in dostavljanja zahtev in odzivov z vidika aplikacij, ne zajemajo specifikacije v zvezi s tem, kako naj se nanje odzovejo aplikacije, ki te zahteve in odzive oddajajo.

General Information

Status
Withdrawn
Publication Date
09-Jul-2012
Withdrawal Date
06-Nov-2016
Current Stage
9900 - Withdrawal (Adopted Project)
Start Date
27-Oct-2016
Due Date
19-Nov-2016
Completion Date
07-Nov-2016

Relations

Buy Standard

Standard
EN 61158-6-12:2012
English language
146 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:2012
01-september-2012
1DGRPHãþD
SIST EN 61158-6-12:2008
Industrijska komunikacijska omrežja - Specifikacije za procesno vodilo - 6-12. del:
Specifikacija protokola na aplikacijskem nivoju - Elementi tipa 12 (IEC 61158-6-
12:2010)
Industrial communication networks - Fieldbus specifications - Part 6-12: Application layer
protocol specification - Type 12 elements (IEC 61158-6-12:2010)
Industrielle Kommunikationsnetze - Feldbusse - Teil 6-12: Protokollspezifikation des
Application Layer (Anwendungsschicht) - Typ 12-Elemente (IEC 61158-6-12:2010)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-12:
Spécification des protocoles des couches d'application - Eléments de type 12 (CEI
61158-6-12:2010)
Ta slovenski standard je istoveten z: EN 61158-6-12:2012
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:2012 en
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

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

SIST EN 61158-6-12:2012

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

SIST EN 61158-6-12:2012

EUROPEAN STANDARD
EN 61158-6-12

NORME EUROPÉENNE
June 2012
EUROPÄISCHE NORM

ICS 25.040.40; 35.100.70; 35.110 Supersedes EN 61158-6-12:2008


English version


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


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





This European Standard was approved by CENELEC on 2012-03-28. 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 CEN-CENELEC Management Centre 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 CEN-CENELEC Management Centre has the same status as the official versions.

CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Croatia, 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, Turkey and the United Kingdom.

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

Management Centre: Avenue Marnix 17, B - 1000 Brussels


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

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

SIST EN 61158-6-12:2012
EN 61158-6-12:2012 - 2 -

Foreword
The text of document 65C/607/FDIS, future edition 2 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 approved by CENELEC as EN 61158-6-12:2012.

The following dates are fixed:
(dop) 2012-12-28
• latest date by which the document has
to be implemented at national level by
publication of an identical national
standard or by endorsement
• latest date by which the national (dow) 2015-03-28

standards conflicting with the
document have to be withdrawn

This document supersedes EN 61158-6-12:2008.
EN 61158-6-12:2012 includes the following significant technical changes with respect to EN 61158-6-
12:2008:
– bug fixes; and
– editorial improvements.
Attention is drawn to the possibility that some of the elements of this document may be the subject of
patent rights. CENELEC [and/or CEN] shall not be held responsible for identifying any or all such patent
rights.

Endorsement notice
The text of the International Standard IEC 61158-6-12:2010 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.
IEC/TR 61158-1:2010 NOTE  Harmonized as CLC/TR 61158-1:2010 (not modified).
IEC 61158-4-12 NOTE  Harmonized as EN 61158-4-12.

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

SIST EN 61158-6-12:2012
- 3 - EN 61158-6-12:2012

Annex ZA
(normative)

Normative references to international publications
with their corresponding European publications

The following documents, in whole or in part, are normatively referenced in this document and are
indispensable for its application. 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


IEC 60559 - Binary floating-point arithmetic for HD 592 S1 -
microprocessor systems


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


IEC 61158-5-12 - Industrial communication networks - Fieldbus EN 61158-5-12 -
specifications -
Part 5-12: Application layer service definition -
Type 12 elements


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


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


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


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


ISO/IEC 9899 - Programming languages - C - -


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


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


IEEE 802.1D 2004 IEEE Standard for Local and Metropoitan - -
Area Networks - Media Access Control (MAC)
Bridges


IETF RFC 768 - User Datagram Protocol - -


IETF RFC 791 - Internet Protocol - DARPA Internet Program - -
Protocol Specification

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

SIST EN 61158-6-12:2012

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

SIST EN 61158-6-12:2012
IEC 61158-6-12
®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD


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


INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XG
ICS 25.04.40; 35.100.70; 35.110 ISBN 978-2-88912-129-8
® Registered trademark of the International Electrotechnical Commission

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

SIST EN 61158-6-12:2012
– 2 – 61158-6-12 © IEC:2010(E)
CONTENTS
FOREWORD.5H7
INTRODUCTION.6H9
1 Scope.7H10
1.1 General .8H10
1.2 Specifications .9H11
1.3 Conformance.10H11
2 Normative references.11H11
3 Terms, definitions, symbols, abbreviations and conventions .12H12
3.1 Reference model terms and definitions .13H12
3.2 Service convention terms and definitions .14H12
3.3 Application layer definitions.15H13
3.4 Common symbols and abbreviations .16H18
3.5 Additional symbols and abbreviations.17H18
3.6 Conventions .18H20
4 Application layer protocol specification.19H25
4.1 Operating principle .20H25
4.2 Node reference model .21H25
5 FAL syntax description.22H27
5.1 Coding principles .23H27
5.2 Data types and encoding rules .24H27
5.3 AR coding.25H30
5.4 SII coding .26H35
5.5 Isochronous PDI coding.27H40
5.6 CoE coding.28H44
5.7 EoE coding.29H82
5.8 FoE Coding .30H91
6 FAL protocol state machines.31H97
6.1 Overall structure .32H97
6.2 AP-Context state machine .33H99
6.3 FAL service protocol machine (FSPM) .34H99
6.4 Application Relationship Protocol Machines (ARPMs).35H99
6.5 DLL mapping protocol machine (DMPM) .36H142
Bibliography .37H143

Figure 1 – Common structure of specific fields .38H20
Figure 2 – Type description example .39H22
Figure 3 – Slave Node Reference Model.40H26
Figure 4 – Encoding of Time Of Day value.41H27
Figure 5 – Encoding of Time Difference value.42H28
Figure 6 – AL Control Request structure.43H30
Figure 7 – AL Control Response structure .44H31
Figure 8 – AL State Changed structure .45H33
Figure 9 – PDI Control type description .46H34
Figure 10 – Sync Configuration type description .47H34

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

SIST EN 61158-6-12:2012
61158-6-12 © IEC:2010(E) – 3 –
Figure 11 – Distributed Clock sync and latch type description .48H41
Figure 12 – CoE general structure .49H44
Figure 13 – SDO Download Expedited Request structure.50H45
Figure 14 – SDO Download Expedited Response structure .51H46
Figure 15 – SDO Download Normal Request structure.52H47
Figure 16 – Download SDO Segment Request structure .53H49
Figure 17 – Download SDO Segment Response structure.54H50
Figure 18 – SDO Upload Expedited Request structure .55H50
Figure 19 – SDO Upload Expedited Response structure .56H51
Figure 20 – SDO Upload Normal Response structure.57H53
Figure 21 – Upload SDO Segment Request structure.58H54
Figure 22 – Upload SDO Segment Response structure .59H54
Figure 23 – Abort SDO Transfer Request structure.60H55
Figure 24 – SDO Information Service structure.61H58
Figure 25 – Get OD List Request structure .62H58
Figure 26 – Get OD List Response structure.63H59
Figure 27 – Get Object Description Request structure.64H61
Figure 28 – Get Object Description Response structure.65H61
Figure 29 – Get Entry Description Request structure.66H62
Figure 30 – Get Entry Description Response structure .67H63
Figure 31 – SDO Info Error Request structure .68H65
Figure 32 – EoE general structure .69H82
Figure 33 – EoE Timestamp structure.70H83
Figure 34 – EoE Fragment Request structure .71H84
Figure 35 – Set IP Parameter Request structure.72H86
Figure 36 – Set IP Parameter Response structure .73H88
Figure 37 – Set Address Filter Request structure.74H89
Figure 38 – Set Address Filter Response structure .75H91
Figure 39 – Read Request structure .76H92
Figure 40 – Write Request structure .77H92
Figure 41 – Data Request structure .78H93
Figure 42 – Ack Request structure .79H94
Figure 43 – Error Request structure.80H95
Figure 44 – Busy Request structure.81H97
Figure 45 – Relationship among Protocol Machines .82H98
Figure 46 – AR Protocol machines .83H99
Figure 47 – ESM Diagramm .84H101

Table 1 – PDU element description example.85H22
Table 2 – Example attribute description .86H23
Table 3 – State machine description elements .87H23
Table 4 – Description of state machine elements .88H24
Table 5 – Conventions used in state machines .89H24

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

SIST EN 61158-6-12:2012
– 4 – 61158-6-12 © IEC:2010(E)
Table 6 – Transfer Syntax for bit sequences.90H28
Table 7 – Transfer syntax for data type Unsignedn .91H29
Table 8 – Transfer syntax for data type Integern.92H30
Table 9 – AL Control Description .93H31
Table 10 – AL Control Response .94H31
Table 11 – AL Status Codes .95H32
Table 12 – AL State Changed.96H33
Table 13 – PDI Control.97H34
Table 14 – PDI Configuration .98H34
Table 15 – Sync Configuration.99H35
Table 16 – Slave Information Interface Area .100H35
Table 17 – Slave Information Interface Categories.101H36
Table 18 – Mailbox Protocols Supported Types .102H36
Table 19 – Categories Types.103H37
Table 20 – Structure Category String.104H37
Table 21 – Structure Category General.105H38
Table 22 – Structure Category FMMU.106H39
Table 23 – Structure Category SyncM for each Element.107H39
Table 24 – Structure Category TXPDO and RXPDO for each PDO.108H40
Table 25 – Structure PDO Entry .109H40
Table 26 – Distributed Clock sync parameter.110H42
Table 27 – Distributed Clock latch data .111H43
Table 28 – CoE elements .112H44
Table 29 – SDO Download Expedited Request .113H46
Table 30 – SDO Download Expedited Response.114H47
Table 31 – SDO Download Normal Request.115H48
Table 32 – Download SDO Segment Request .116H49
Table 33 – Download SDO Segment Response .117H50
Table 34 – SDO Upload Expedited Request.118H51
Table 35 – SDO Upload Expedited Response .119H52
Table 36 – SDO Upload Normal Response .120H53
Table 37 – Upload SDO Segment Request .121H54
Table 38 – Upload SDO Segment Response.122H55
Table 39 – Abort SDO Transfer Request .123H56
Table 40 – SDO Abort Codes .124H57
Table 41 – SDO Information Service.125H58
Table 42 – Get OD List Request.126H59
Table 43 – Get OD List Response .127H60
Table 44 – Get Object Description Request .128H61
Table 45 – Get Object Description Response.129H62
Table 46 – Get Entry Description Request .130H63
Table 47 – Get Entry Description Response.131H64
Table 48 – SDO Info Error Request .132H66

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

SIST EN 61158-6-12:2012
61158-6-12 © IEC:2010(E) – 5 –
Table 49 – Emergency Request.133H67
Table 50 – Emergency Error Codes .134H68
Table 51 – Error Code.135H68
Table 52 – Diagnostic Data .136H69
Table 53 – Sync Manager Length Error.137H69
Table 54 – Sync Manager Address Error .138H69
Table 55 – Sync Manager Settings Error.139H69
Table 56 – RxPDO Transmission via mailbox .140H70
Table 57 – TxPDO Transmission via mailbox.141H70
Table 58 – RxPDO Remote Transmission Request .142H71
Table 59 – TxPDO Remote Transmission Request .143H71
Table 60 – Command object structure .144H72
Table 61 – Object Dictionary Structure .145H72
Table 62 – Object Code Definitions .146H72
Table 63 – Basic Data Type Area .147H73
Table 64 – Extended Data Type Area .148H74
Table 65 – Enumeration Definition.149H75
Table 66 – CoE Communication Area .150H75
Table 67 – Device Type.151H76
Table 68 – Error Register .152H77
Table 69 – Manufacturer Device Name.153H77
Table 70 – Manufacturer Hardware Version .154H78
Table 71 – Manufacturer Software Version .155H78
Table 72 – Identity Object.156H78
Table 73 – Receive PDO Mapping .157H79
Table 74 – Transmit PDO Mapping.158H79
Table 75 – Sync Manager Communication Type .159H80
Table 80 – Sync Manager Channel 0-31 .160H81
Table 81 – Sync Manager Synchronization .161H82
Table 82 – Initiate EoE Request .162H83
Table 83 – Initiate EoE Response.163H84
Table 84 – EoE Fragment Request.164H85
Table 85 – EoE Data .165H86
Table 86 – Set IP Parameter Request.166H87
Table 87 – Set IP Parameter Response.167H88
Table 88 – EoE Result Parameter .168H89
Table 89 – Set Address Filter Request .169H90
Table 90 – Set Address Filter Response.170H91
Table 91 – Read Request.171H92
Table 92 – Write Request.172H93
Table 93 – Data Request.173H94
Table 94 – Ack Request .174H95
Table 95 – Error Request .175H96

----------------
...

Questions, Comments and Discussion

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