SIST EN 61158-4-2:2012
(Main)Industrial communication networks - Fieldbus specifications - Part 4-2: Data-link layer protocol specification (IEC 61158-4-2:2010)
Industrial communication networks - Fieldbus specifications - Part 4-2: Data-link layer protocol specification (IEC 61158-4-2:2010)
IEC 61158-4-2:2010(E) describes the protocol that provides communication opportunities to all participating data-link entities, sequentially and in a cyclic synchronous manner. Foreground scheduled access is available for time-critical activities together with background unscheduled access for less critical activities. Deterministic and synchronized transfers can be provided at cyclic intervals up to 1 ms and device separations of 25 km. This performance is adjustable dynamically and on-line by re-configuring the parameters of the local link whilst normal operation continues. By similar means, DL connections and new devices may be added or removed during normal operation. This protocol provides means to maintain clock synchronization across an extended link with a precision better than 10 s. This second edition cancels and replaces the first edition published in 2007 and constitutes a technical revision. The main changes with respect to the previous edition are: -Clause 2 and Bibliography: update of normative and bibliographic references; - subclause 3.5: update of abbreviations; - subclause 7.6: updates of the Ethernet Link object; - subclause 7.7: minor update of the Devicenet object (additional attribute); - new subclauses 7.9 and 7.10: new DLR and QoS objects; - new Clause 10: new DLR protocol.
Industrielle Kommunikationsnetze - Feldbusse - Teil 4-2: Protokollspezifikation des Data Link Layer (Sicherungsschicht) (IEC 61158-4-2:2010)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 4-2: Spécification des protocoles des couches de liaison de données - Eléments de type 2 (CEI 61158-4-2:2010)
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 4-2. del: Specifikacija protokola na nivoju podatkovnih povezav (IEC 61158-4-2:2010)
Nivo podatkovnih povezav omogoča osnovne časovno kritične sporočilne komunikacije med napravami v avtomatizacijskem okolju. Ta protokol omogoča komunikacijske priložnosti za vse sodelujoče entitete podatkovnih povezav, zaporedno in na cikličen sinhroni način. Razporejen dostop v ospredju je na voljo za časovno kritične aktivnosti skupaj z nerazporejenim dostopom v ozadju za manj kritične aktivnosti. Deterministični in sinhronizirani prenosi so lahko omogočeni v cikličnih intervalih do 1 ms in ločenosti naprav 25 km. Ta zmogljivost je prilagodljiva dinamično in spletno s konfiguracijo parametrov lokalne povezave, medtem ko se običajno delovanje nadaljuje. Na podoben način se lahko med običajnim delovanjem dodajo ali odstranijo podatkovne povezave in nove naprave. Ta protokol zagotavlja sredstva za vzdrževanje sinhronizacije ure prek razširjene povezave z natančnostjo, boljšo od 10 μs. Ta protokol optimizira vsako priložnost dostopa s povezovanjem več DLDSU in povezanih DLPCI v en sam DLPDU in s tem izboljšuje učinkovitost prenosa podatkov za entitete podatkovnih povezav, ki so aktivni vir več podatkovnih tokov. Največja velikost sistema je neomejeno število povezav 99 vozlišč, vsako z 225 naslovi DLSAP. Vsaka povezava ima največ 224 povezanih DLCEP-ov omrežnih vrstnikov in izdajateljev.
General Information
Relations
Standards Content (Sample)
SLOVENSKI STANDARD
SIST EN 61158-4-2:2012
01-julij-2012
1DGRPHãþD
SIST EN 61158-4-2:2008
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 4-2. del:
Specifikacija protokola na nivoju podatkovnih povezav (IEC 61158-4-2:2010)
Industrial communication networks - Fieldbus specifications - Part 4-2: Data-link layer
protocol specification (IEC 61158-4-2:2010)
Industrielle Kommunikationsnetze - Feldbusse - Teil 4-2: Protokollspezifikation des Data
Link Layer (Sicherungsschicht) (IEC 61158-4-2:2010)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 4-2:
Spécification des protocoles des couches de liaison de données - Eléments de type 2
(CEI 61158-4-2:2010)
Ta slovenski standard je istoveten z: EN 61158-4-2: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-4-2:2012 en
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
---------------------- Page: 1 ----------------------
SIST EN 61158-4-2:2012
---------------------- Page: 2 ----------------------
SIST EN 61158-4-2:2012
EUROPEAN STANDARD
EN 61158-4-2
NORME EUROPÉENNE
May 2012
EUROPÄISCHE NORM
ICS 25.040.40; 35.100.20; 35.110 Supersedes EN 61158-4-2:2008
English version
Industrial communication networks -
Fieldbus specifications -
Part 4-2: Data-link layer protocol specification -
Type 2 elements
(IEC 61158-4-2:2010)
Réseaux de communication industriels - Industrielle Kommunikationsnetze -
Spécifications de bus de terrain - Feldbusse -
Partie 4-2: Spécification du protocole de Teil 4-2: Protokollspezifikation des Data
couche de liaison de données - Link Layer (Sicherungsschicht) -
Eléments de Type 2 Typ 2-Elemente
(CEI 61158-4-2:2010) (IEC 61158-4-2: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-4-2:2012 E
---------------------- Page: 3 ----------------------
SIST EN 61158-4-2:2012
EN 61158-4-2:2012 - 2 -
Foreword
The text of document 65C/605/FDIS, future edition 2 of IEC 61158-4-2, 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-4-2: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-4-2:2008.
EN 61158-4-2:2012 includes the following significant technical changes with respect to EN 61158-4-
2:2008:
— Clause 2 and Bibliography: update of normative and bibliographic references;
— 3.5: update of abbreviations;
— 7.6: updates of the Ethernet Link object;
— 7.7: minor update of the Devicenet object (additional attribute);
— new 7.9 and 7.10: new DLR and QoS objects;
— new Clause 10: new DLR protocol.
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-4-2: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:2010 NOTE Harmonized as CLC/TR 61158-1:2010 (not modified).
IEC 61158-2:2010 NOTE Harmonized as EN 61158-2:2010 (not modified).
---------------------- Page: 4 ----------------------
SIST EN 61158-4-2:2012
- 3 - EN 61158-4-2: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 61131-3 - Programmable controllers - EN 61131-3 -
Part 3: Programming languages
IEC 61158-3-2 2007 Industrial communication networks - Fieldbus EN 61158-3-2 2008
specifications -
Part 3-2: Data-link layer service definition -
Type 2 elements
IEC 61158-5-2 2010 Industrial communication networks - Fieldbus EN 61158-5-2 2012
specifications -
Part 5-2: Application layer service definition -
Type 2 elements
IEC 61158-6-2 2010 Industrial communication networks - Fieldbus EN 61158-6-2 2012
specifications -
Part 6-2: Application layer protocol
specification - Type 2 elements
IEC 61588 2009 Precision clock synchronization protocol for - -
networked measurement and control systems
IEC 61784-3-2 - Industrial communication networks - Profiles - EN 61784-3-2 -
Part 3-2: Functional safety fieldbuses -
Additional specifications for CPF 2
IEC 62026-3 2008 Low-voltage switchgear and controlgear - EN 62026-3 2009
Controller-device interfaces (CDIs) -
Part 3: DeviceNet
ISO/IEC 3309 - Information technology - Telecommunications - -
and information exchange between systems -
High-level data link control (HDLC)
procedures - Frame structure
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
---------------------- Page: 5 ----------------------
SIST EN 61158-4-2:2012
EN 61158-4-2:2012 - 4 -
Publication Year Title EN/HD Year
ISO 11898 1993 Road vehicles - Interchange of digital - -
information - Controller area network (CAN)
for high-speed communication
IETF RFC 1643 - Definitions of Managed Objects for the - -
Ethernet-like interface types
IETF RFC 1213 - Management Information Base for Network - -
Management of TCP/IP-based Internets:
MIB-II
IEEE 802.1D - IEEE Standard for Local and Metropolitan - -
Area Networks - Media Access Control (MAC)
Bridges
IEEE 802.1Q - IEEE Standard for Local and Metropolitan - -
Area Networks - Virtual Bridged Local Area
Networks
---------------------- Page: 6 ----------------------
SIST EN 61158-4-2:2012
IEC 61158-4-2
®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
colour
inside
Industrial communication networks – Fieldbus specifications –
Part 4-2: Data-link layer protocol specification – Type 2 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XL
ICS 25.04.40; 35.100.20; 35.110 ISBN 978-2-88912-084-0
® Registered trademark of the International Electrotechnical Commission
---------------------- Page: 7 ----------------------
SIST EN 61158-4-2:2012
– 2 – 61158-4-2 © IEC:2010(E)
CONTENTS
FOREWORD.9
INTRODUCTION.11
1 Scope.13
1.1 General .13
1.2 Specifications.13
1.3 Procedures.13
1.4 Applicability.14
1.5 Conformance.14
2 Normative references .14
3 Terms, definitions, symbols and abbreviations.15
3.1 Reference model terms and definitions.15
3.2 Service convention terms and definitions.17
3.3 Common terms and definitions .18
3.4 Additional Type 2 definitions.20
3.5 Type 2 symbols and abbreviations.27
4 Overview of the data-link protocol.28
4.1 General .28
4.2 Services provided by the DL.30
4.3 Structure and definition of DL-addresses.31
4.4 Services assumed from the PhL .33
4.5 Functional classes.36
5 General structure and encoding of PhIDUs and DLPDUs and related elements of
procedure.36
5.1 Overview .36
5.2 Media access procedure.36
5.3 DLPDU structure and encoding .40
5.4 Lpacket components .44
5.5 DLPDU procedures .46
5.6 Summary of DLL support services and objects .47
6 Specific DLPDU structure, encoding and procedures .49
6.1 Modeling language .49
6.2 DLS user services .51
6.3 Generic tag Lpacket .57
6.4 Moderator Lpacket .58
6.5 Time distribution Lpacket .59
6.6 UCMM Lpacket.61
6.7 Keeper UCMM Lpacket.62
6.8 TUI Lpacket.62
6.9 Link parameters Lpacket and tMinus Lpacket .63
6.10 I’m-alive Lpacket .65
6.11 Ping Lpackets.66
6.12 WAMI Lpacket .68
6.13 Debug Lpacket .68
6.14 IP Lpacket .69
6.15 Ethernet Lpacket .69
7 Objects for station management .69
---------------------- Page: 8 ----------------------
SIST EN 61158-4-2:2012
61158-4-2 © IEC:2010(E) – 3 –
7.1 General .69
7.2 ControlNet object .70
7.3 Keeper object.80
7.4 Scheduling object.102
7.5 TCP/IP Interface object .113
7.6 Ethernet link object.122
7.7 DeviceNet object .130
7.8 Connection configuration object (CCO).139
7.9 DLR object .160
7.10 QoS object .169
8 Other DLE elements of procedure. 171
8.1 Network attachment monitor (NAM) .171
8.2 Calculating link parameters .178
9 Detailed specification of DL components .186
9.1 General .186
9.2 Access control machine (ACM).186
9.3 TxLLC .203
9.4 RxLLC .207
9.5 Transmit machine (TxM).210
9.6 Receive machine (RxM) .213
9.7 Serializer.219
9.8 Deserializer .220
9.9 DLL management .221
10 Device Level Ring (DLR) protocol.223
10.1 General .223
10.2 Supported topologies .223
10.3 Overview of DLR operation.225
10.4 Classes of DLR implementation.227
10.5 DLR behavior .228
10.6 Implementation requirements .233
10.7 Using non-DLR nodes in the ring network.235
10.8 DLR messages .238
10.9 State diagrams and state-event-action matrices . 243
10.10 Performance analysis .264
Annex A (normative) Indicators and switches.268
Bibliography.281
Figure 1 – Relationships of DLSAPs, DLSAP-addresses and group DL-addresses .19
Figure 2 – Data-link layer internal architecture.29
Figure 3 – Basic structure of a MAC ID address.31
Figure 4 – Basic structure of a generic tag address .32
Figure 5 – Basic structure of a fixed tag address .32
Figure 6 – M_symbols and Manchester encoding at 5 MHz .34
Figure 7 – NUT structure .37
Figure 8 – Media access during scheduled time.38
Figure 9 – Media access during unscheduled time .39
Figure 10 – DLPDU format.40
---------------------- Page: 9 ----------------------
SIST EN 61158-4-2:2012
– 4 – 61158-4-2 © IEC:2010(E)
Figure 11 – Aborting a DLPDU during transmission .43
Figure 12 – Lpacket format .44
Figure 13 – Generic tag Lpacket format .45
Figure 14 – Fixed tag Lpacket format.46
Figure 15 – Goodness parameter of TimeDist_Lpacket .60
Figure 16 – Example I’m alive processing algorithm.66
Figure 17 – Keeper CRC algorithm .87
Figure 18 – Keeper object power-up state diagram .98
Figure 19 – Keeper object operating state diagram .99
Figure 20 – Synchronized network change processing .102
Figure 21 – State transition diagram for TCP/IP Interface object .122
Figure 22 – Connection configuration object edit flowchart. 160
Figure 23 – NAM state machine .172
Figure 24 – DLR rings connected to switches.224
Figure 25 – Normal operation of a DLR network.225
Figure 26 – Beacon and Announce frames.225
Figure 27 – Link failure .226
Figure 28 – Network reconfiguration after link failure .227
Figure 29 – Neighbor Check process .233
Figure 30 – Unsupported topology – example 1 .237
Figure 31 – Unsupported topology – example 2 .237
Figure 32 – State transition diagram for Beacon frame based non-supervisor ring node.243
Figure 33 – State transition diagram for Announce frame based non-supervisor ring
node .248
Figure 34 – State transition diagram for ring supervisor .251
Figure A.1 – Non redundant network status indicator labeling .272
Figure A.2 – Redundant network status indicator labeling .273
Table 1 – Data-link layer components .29
Table 2 – MAC ID addresses allocation .32
Table 3 – Fixed tag service definitions .33
Table 4 – Data encoding rules .34
Table 5 – M Data symbols .35
Table 6 – Truth table for ph_status_indication.35
Table 7 – FCS length, polynomials and constants .41
Table 8 – DLL support services and objects.48
Table 9 – Elementary data types.51
Table 10 – DLL events.55
Table 11 – Time distribution priority .60
Table 12 – Format of the TUI Lpacket .63
Table 13 – ControlNet object class attributes .71
Table 14 – ControlNet object instance attributes .71
Table 15 – TUI status flag bits .75
---------------------- Page: 10 ----------------------
SIST EN 61158-4-2:2012
61158-4-2 © IEC:2010(E) – 5 –
Table 16 – Channel state bits .76
Table 17 – ControlNet object common services.78
Table 18 – ControlNet object class specific services .79
Table 19 – Keeper object revision history .81
Table 20 – Keeper object class attributes .81
Table 21 – Keeper object instance attributes .82
Table 22 – Keeper operating state definitions .84
Table 23 – Port status flag bit definitions .85
Table 24 – TUI status flag bits .86
Table 25 – Keeper attributes.88
Table 26 – Memory requirements (in octets) for the Keeper attributes.89
Table 27 – Keeper object common services .89
Table 28 – Keeper object class specific services .90
Table 29 – Service error codes .91
Table 30 – Wire order format of the TUI Lpacket.95
Table 31 – Service error codes .96
Table 32 – Keeper object operating states .96
Table 33 – Keeper object state event matrix .100
Table 34 – Scheduling object class attributes .103
Table 35 – Scheduling object instance attributes .104
Table 36 – Scheduling object common services .104
Table 37 – Status error descriptions for Create.105
Table 38 – Status error descriptions for Delete and Kick_Timer .106
Table 39 – Scheduling object class specific services .106
Table 40 – Status error descriptions for Read .108
Table 41 – Status error descriptions for Conditional_Write.109
Table 42 – Status error descriptions for Forced_Write .109
Table 43 – Status error descriptions for Change_Start .110
Table 44 – Status error descriptions for Break_Connections .110
Table 45 – Status error descriptions for Change_Complete. 111
Table 46 – Status error descriptions for Restart_Connections .112
Table 47 – TCP/IP Interface object class attributes.113
Table 48 – TCP/IP Interface object instance attributes.114
Table 49 – Status bits .116
Table 50 – Configuration capability bits .116
Table 51 – Configuration control bits.117
Table 52 – Example path .117
Table 53 – Interface configuration components .118
Table 54 – Alloc control values .
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.