SIST EN 61158-3-12:2012
(Main)Industrial communication networks - Fieldbus specifications - Part 3-12: Data-link layer service definition (IEC 61158-3-12:2010)
Industrial communication networks - Fieldbus specifications - Part 3-12: Data-link layer service definition (IEC 61158-3-12:2010)
65C/554/CDV includes 4 subparts (IEC 61158-3-12, 3-14, 3-19, 3-21) which will be issued separately at FDIS stage
Industrielle Kommunikationsnetze - Feldbusse - Teil 3-12: Dienstfestlegungen des Data Link Layer (Sicherungsschicht) (IEC 61158-3-12:2010)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 3-12: Définition des services de couche liaison de données - Éléments de Type 12 (CEI 61158-3-12:2010)
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 3-12. del: Definicija opravil na nivoju podatkovnih povezav (IEC 61158-3-12:2010)
Ta del standarda IEC 61158 določa skupne elemente za osnovne časovno kritične sporočilne komunikacije med napravami v avtomatizacijskem okolju. Izraz »časovno kritičen« se uporablja za predstavljanje prisotnosti časovnega okna, v okviru katerega se zahteva dokončanje enega ali več določenih dejanj z določeno stopnjo gotovosti. Zaradi neuspešnega dokončanja določenih 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 opravilo, ki ga zagotavlja nivo podatkovnih povezav procesnih vodil tipa 12 v zvezi z a) primitivnimi dejanji in dogodki opravila; b) parametri, povezanimi z vsakim primitivnim dejanjem in dogodkom, in obliko, ki jo prevzamejo; c) medsebojno povezavo med temi dejanji in dogodki ter njihovimi veljavnimi zaporedji. Namen tega standarda je določiti opravila, ki se zagotavljajo za: – aplikacijski nivo procesnih vodil tipa 12 na meji med aplikacijskim nivojem in nivojem podatkovnih povezav referenčnega modela procesnih vodil; – vodenje sistemov na meji med nivojem podatkovnih povezav in vodenje sistemov referenčnega modela procesnih vodil.
General Information
Relations
Standards Content (Sample)
SLOVENSKI STANDARD
SIST EN 61158-3-12:2012
01-julij-2012
1DGRPHãþD
SIST EN 61158-3-12:2008
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 3-12. del:
Definicija opravil na nivoju podatkovnih povezav (IEC 61158-3-12:2010)
Industrial communication networks - Fieldbus specifications - Part 3-12: Data-link layer
service definition (IEC 61158-3-12:2010)
Industrielle Kommunikationsnetze - Feldbusse - Teil 3-12: Dienstfestlegungen des Data
Link Layer (Sicherungsschicht) (IEC 61158-3-12:2010)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 3-12:
Définition des services de couche liaison de données - Éléments de Type 12 (CEI 61158
-3-12:2010)
Ta slovenski standard je istoveten z: EN 61158-3-12:2012
ICS:
25.040.40 Merjenje in krmiljenje Industrial process
industrijskih postopkov measurement and control
35.100.20 Podatkovni povezovalni sloj Data link layer
35.110 Omreževanje Networking
SIST EN 61158-3-12:2012 en
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
---------------------- Page: 1 ----------------------
SIST EN 61158-3-12:2012
---------------------- Page: 2 ----------------------
SIST EN 61158-3-12:2012
EUROPEAN STANDARD
EN 61158-3-12
NORME EUROPÉENNE
May 2012
EUROPÄISCHE NORM
ICS 25.040.40; 35.100.20 Supersedes EN 61158-3-12:2008
English version
Industrial communication networks -
Fieldbus specifications -
Part 3-12: Data-link layer service definition -
Type 12 elements
(IEC 61158-3-12:2010)
Réseaux de communication industriels - Industrielle Kommunikationsnetze -
Spécifications des bus de terrain - Feldbusse -
Partie 3-12: Définition des services de Teil 3-12: Dienstfestlegungen des Data
couche liaison de données - Link Layer (Sicherungsschicht) -
Éléments de Type 12 Typ 12-Elemente
(CEI 61158-3-12:2010) (IEC 61158-3-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-3-12:2012 E
---------------------- Page: 3 ----------------------
SIST EN 61158-3-12:2012
EN 61158-3-12:2012 - 2 -
Foreword
The text of document 65C/604/FDIS, future edition 2 of IEC 61158-3-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-3-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
(dow) 2015-03-28
• latest date by which the national
standards conflicting with the
document have to be withdrawn
This document supersedes EN 61158-3-12:2008.
EN 61158-3-12:2012 includes the following significant technical change with respect to EN 61158-3-
12:2008:
- 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-3-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/TR 61158-1 NOTE Harmonized as CLC/TR 61158-1.
IEC 61158-2 NOTE Harmonized as EN 61158-2.
IEC 61158-4-12 NOTE Harmonized as EN 61158-4-12.
IEC 61158-5-12 NOTE Harmonized as EN 61158-5-12.
IEC 61158-6-12 NOTE Harmonized as EN 61158-6-12.
IEC 61784-2 NOTE Harmonized as EN 61784-2.
---------------------- Page: 4 ----------------------
SIST EN 61158-3-12:2012
- 3 - EN 61158-3-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
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 10731 - Information technology - Open Systems - -
Interconnection - Basic reference model -
Conventions for the definition of OSI services
IEEE 802.1D - IEEE Standard for Local and Metropolitan - -
Area Networks - Media Access Control (MAC)
Bridges
---------------------- Page: 5 ----------------------
SIST EN 61158-3-12:2012
---------------------- Page: 6 ----------------------
SIST EN 61158-3-12:2012
IEC 61158-3-12
®
Edition 2.0 2010-07
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 3-12: Data-link layer service definition – Type 12 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
X
ICS 25.04.40; 35.100.20; 35.110 ISBN 978-2-88912-077-2
® Registered trademark of the International Electrotechnical Commission
---------------------- Page: 7 ----------------------
SIST EN 61158-3-12:2012
– 2 – 61158-3-12 © IEC:2010(E)
CONTENTS
FOREWORD.4
INTRODUCTION.6
1 Scope.7
1.1 Overview .7
1.2 Specifications .7
1.3 Conformance.7
2 Normative references.8
3 Terms, definitions, symbols, abbreviations and conventions .8
3.1 Reference model terms and definitions .8
3.2 Service convention terms and definitions .9
3.3 Data-link service terms and definitions.10
3.4 Symbols and abbreviations .13
3.5 Common conventions .14
4 Data-link layer services and concepts .15
4.1 Operating principle .15
4.2 Topology .16
4.3 Data-link layer overview.16
4.4 Error detection overview .17
4.5 Parameter and process data handling introduction .17
4.6 Node reference model .17
4.7 Operation overview.18
4.8 Addressing .20
4.9 Slave classification .22
4.10 Structure of the communication layer in the slave.22
5 Communication services .23
5.1 Overview .23
5.2 Read services.24
5.3 Write services .27
5.4 Combined read/write services .29
5.5 Network services .33
5.6 Mailbox.34
6 Local interactions.39
6.1 Read local .39
6.2 Write local .39
6.3 Event local.40
Figure 1 – Mapping of logical data in an Ethernet frame consisting of a single Type 12
DLPDU .16
Figure 2 – Type 12 data-link reference model .18
Figure 3 – Type 12 segments in open mode .19
Figure 4 – Type 12 segment in direct mode .19
Figure 5 – Addressing mode overview .20
Figure 6 – Fieldbus memory management unit overview .21
Figure 7 – Layering of communication .23
Figure 8 – Flow of Type 12 service primitives .24
---------------------- Page: 8 ----------------------
SIST EN 61158-3-12:2012
61158-3-12 © IEC:2010(E) – 3 –
Figure 9 – Successful mailbox write sequence.35
Figure 10 – Successful mailbox read sequence .35
Table 1 – Auto-increment physical read (APRD) .24
Table 2 – Configured-addresse physical read (FPRD).25
Table 3 – Broadcast read (BRD).26
Table 4 – Logical read (LRD).26
Table 5 – Auto-increment physical write (APWR) .27
Table 6 – Configured-address physical write (FPWR) .27
Table 7 – Broadcast write (BWR) .28
Table 8 – Logical write (LWR) .29
Table 9 – Auto-increment physical read/write (APRW) .29
Table 10 – Configured-address physical read/write (FPRW).30
Table 11 – Broadcast read/write (BRW).31
Table 12 – Logical read/write (LRW).31
Table 13 – Auto-increment physical read / multiple write (ARMW).32
Table 14 – Configured-address physical read / multiple write (FRMW) .32
Table 15 – Provide network variable (PNV).33
Table 16 – Mailbox write.36
Table 17 – Mailbox read update.37
Table 18 – Mailbox read .38
Table 19 – Read local .39
Table 20 – Write local .39
Table 21 – Event local.40
---------------------- Page: 9 ----------------------
SIST EN 61158-3-12:2012
– 4 – 61158-3-12 © IEC:2010(E)
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 3-12: Data-link layer service definition –
Type 12 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 itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
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 1 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 profile parts. Use of the various protocol types in other combinations may
require permission of their respective intellectual-property-right holders.
International Standard IEC 61158-3-12 has been prepared by subcommittee 65C: Industrial
networks of IEC technical committee 65: Industrial-process measurement, control and
automation.
This second edition cancels and replaces the first edition published in 2007. This edition
constitutes a technical revision.
The main changes with respect to the previous edition are listed below:
• editorial improvements.
---------------------- Page: 10 ----------------------
SIST EN 61158-3-12:2012
61158-3-12 © IEC:2010(E) – 5 –
The text of this standard is based on the following documents:
FDIS Report on voting
65C/604/FDIS 65C/618/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.
A list of all parts of the IEC 61158 series, published under the general title Industrial
communication networks – Fieldbus specifications, can be found on the IEC web site.
The committee has decided that the contents of this publication will remain unchanged until the
stability 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 2 The revision of this standard will be synchronized with the other parts of the IEC 61158 series.
---------------------- Page: 11 ----------------------
SIST EN 61158-3-12:2012
– 6 – 61158-3-12 © IEC:2010(E)
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.
Throughout the set of fieldbus standards, the term “service” refers to the abstract capability
provided by one layer of the OSI Basic Reference Model to the layer immediately above. Thus,
the data-link layer service defined in this standard is a conceptual architectural service,
independent of administrative and implementation divisions.
---------------------- Page: 12 ----------------------
SIST EN 61158-3-12:2012
61158-3-12 © IEC:2010(E) – 7 –
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 3-12: Data-link layer service definition –
Type 12 elements
1 Scope
1.1 Overview
This part of IEC 61158 provides common elements for basic time-critical messaging
communications between devices in an automation environment. 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 12
fieldbus data-link layer in terms of
a) the primitive actions and events of the service;
b) the parameters associated with each primitive action and event, and the form which they
take;
c) the interrelationship between these actions and events, and their valid sequences.
The purpose of this standard is to define the services provided to
• the Type 12 fieldbus application layer at the boundary between the application and data-link
layers of the fieldbus reference model;
• systems management at the boundary between the data-link layer and systems
management of the fieldbus reference model.
1.2 Specifications
The principal objective of this standard is to specify the characteristics of conceptual data-link
layer services suitable for time-critical communications, and thus supplement the OSI Basic
Reference Model in guiding the development of data-link protocols for time-critical
communications. A secondary objective is to provide migration paths from previously-existing
industrial communications protocols.
This specification may be used as the basis for formal DL-Programming-Interfaces.
Nevertheless, it is not a formal programming interface, and any such interface will need to
address implementation issues not covered by this specification, including
a) the sizes and octet ordering of various multi-octet service parameters, and
b) the correlation of paired request and confirm, or indication and response, primitives.
1.3 Conformance
This standard does not specify individual implementations or products, nor does it constrain the
implementations of data-link entities within industrial automation systems.
There is no conformance of equipment to this data-link layer service definition standard.
Instead, conformance is achieved through implementation of the corresponding data-link
protocol that fulfills the Type 12 data-link layer services defined in this standard.
---------------------- Page: 13 ----------------------
SIST EN 61158-3-12:2012
– 8 – 61158-3-12 © IEC:2010(E)
2 Normative references
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.
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 10731, Information technology – Open Systems Interconnection – Basic Reference
Model – Conventions for the definition of OSI services
IEEE 802.1D, IEEE Standard for Local and metropolitan area networks – Media Access Control (MAC)
Bridges; available at
3 Terms, definitions, symbols, abbreviations and conventions
For the purposes of this document, the following terms, definitions, symbols, abbreviations and
conventions apply.
3.1 Reference model terms and definitions
This standard is based in part on the concepts developed in ISO/IEC 7498-1 and
ISO/IEC 7498-3 and makes use of the following terms defined therein.
[7498-3]
3.1.1 DL-address
3.1.2 DL-connectionless-mode transmission [7498-1]
3.1.3 correspondent (N)-entities [7498-1]
correspondent DL-entities (N=2)
correspondent Ph-entities (N=1)
3.1.4 DL-duplex-transmission [7498-1]
[7498-1]
3.1.5 (N)-entity
DL-entity (N=2)
Ph-entity (N=1)
3.1.6 (N)-layer [7498-1]
DL-layer (N=2)
Ph-layer (N=1)
3.1.7 layer-management [7498-1]
3.1.8 peer-entities [7498-1]
3.1.9 primitive name [7498-3]
3.1.10 DL-protocol [7498-1]
3.1.11 DL-protocol-data-unit [7498-1]
---------------------- Page: 14 ----------------------
SIST EN 61158-3-12:2012
61158-3-12 © IEC:2010(E) – 9 –
3.1.12 DL-relay [7498-1]
[7498-1]
3.1.13 reset
3.1.14 responding-DL-address [7498-3]
[7498-1]
3.1.15 routing
3.1.16 segmenting [7498-1]
[7498-1]
3.1.17 (N)-service
DL-service (N=2)
Ph-service (N=1)
3.1.18 (N)-service-access-point [7498-1]
DL-service-access-point (N=2)
Ph-service-access-point (N=1)
3.1.19 DL-service-data-unit [7498-1]
3.1.20 DL-simplex-transmission [7498-1]
3.1.21 DL-subsystem [7498-1]
3.1.22 systems-management [7498-1]
3.1.23 DLS-user [7498-1]
3.1.24 DLS-user-data [7498-1]
3.2 Service convention terms and definitions
This standard also makes use of the following terms defined in ISO/IEC 10731 as they apply to
the data-link layer:
3.2.1 acceptor
3.2.2 asymmetrical service
3.2.3 confirm (primitive);
requestor.deliver (primitive)
3.2.4 deliver (primitive)
3.2.5 DL-service-primitive;
primitive
3.2.6 DL-service-provider
3.2.7 DL-service-user
3.2.8 DL-user-optional-facility
3.2.9 indication (primitive);
acceptor.deliver (primitive)
3.2.10 request (primitive);
requestor.submit (primitive)
3.2.11 requestor
3.2.12 response (primitive);
acceptor.submit (primitive)
3.2.13 submit (primitive)
3.2.14 symmetrical service
---------------------- Page: 15 ----------------------
SIST EN 61158-3-12:2012
– 10 – 61158-3-12 © IEC:2010(E)
3.3 Data-link service terms and definitions
3.3.1
application
function or data structure for which data is consumed or produced
3.3.2
application objects
multiple object classes that manage and provide a run time exchange of messages across the
network and within the network device
3.3.3
basic slave
slave device that supports only physical addressing of data
3.3.4
bit
unit of information consisting of a 1 or a 0. This is the smallest data unit that can be
transmitted
3.3.5
client
1) object which uses the services of another (server) object to perform a task
2) initiator of a message to which a server reacts
3.3.6
connection
logical binding between two application objects within the same or different devices
3.3.7
cyclic
events which repeat in a regular and repetitive manner
3.3.8
cyclic redundancy check (CRC)
residual value computed from an array of data and used as a representative signature for the
array
3.3.9
data
generic term used to refer to any information carried over a fieldbus
3.3.10
data consistency
means for coherent transmission and access of the input- or output-data object between and
within client and server
3.3.11
device
physical entity connected to the fieldbus composed of at least one communication element (the
network element) and which may have a control element and/or a final element (transducer,
actuator, etc.)
3.3.12
distributed clocks
method to synchronize slaves and maintain a global time base
---------------------- Page: 16 ----------------------
SIST EN 61158-3-12:2012
61158-3-12 © IEC:2010(E) – 11 –
3.3.13
DL-segment, link, local link
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.