SIST EN 61158-4-2:2008
Industrial communication networks - Fieldbus specifications -- Part 4-2: Data-link layer protocol specification - Type 2 elements
Industrial communication networks - Fieldbus specifications -- Part 4-2: Data-link layer protocol specification - Type 2 elements
The data-link layer provides basic time-critical messaging communications between devices in an automation environment. This protocol 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 reconfiguring 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 protocol optimizes each access opportunity by concatenating multiple DLSDUs and associated DLPCI into a single DLPDU, thereby improving data transfer efficiency for datalink entities that actively source multiple streams of data. The maximum system size is an unlimited number of links of 99 nodes, each with 255 DLSAPaddresses. Each link has a maximum of 224 related peer and publisher DLCEPs.
Industrielle Kommunikationsnetze - Feldbusse - Teil 4-2: Protokollspezifikation des Data Link Layer (Sicherungsschicht) - Typ 2-Elemente
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
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 4-2. del: Specifikacija protokola na nivoju podatkovnih povezav - Elementi tipa 2 (IEC 61158-4-2:2007)
General Information
Relations
Standards Content (Sample)
SLOVENSKI STANDARD
SIST EN 61158-4-2:2008
01-junij-2008
1DGRPHãþD
SIST EN 61158-4:2004
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 4-2. del:
Specifikacija protokola na nivoju podatkovnih povezav - Elementi tipa 2 (IEC 61158
-4-2:2007)
Industrial communication networks - Fieldbus specifications -- Part 4-2: Data-link layer
protocol specification - Type 2 elements
Industrielle Kommunikationsnetze - Feldbusse - Teil 4-2: Protokollspezifikation des Data
Link Layer (Sicherungsschicht) - Typ 2-Elemente
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
Ta slovenski standard je istoveten z: EN 61158-4-2:2008
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:2008 en,de
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
---------------------- Page: 1 ----------------------
SIST EN 61158-4-2:2008
---------------------- Page: 2 ----------------------
SIST EN 61158-4-2:2008
EUROPEAN STANDARD
EN 61158-4-2
NORME EUROPÉENNE
February 2008
EUROPÄISCHE NORM
ICS 35.100.20; 25.040.40 Partially supersedes EN 61158-4:2004
English version
Industrial communication networks -
Fieldbus specifications -
Part 4-2: Data-link layer protocol specification -
Type 2 elements
(IEC 61158-4-2:2007)
Réseaux de communication industriels - Industrielle Kommunikationsnetze -
Spécifications des bus de terrain - Feldbusse -
Partie 4-2: Spécification des protocoles Teil 4-2: Protokollspezifikation des
des couches de liaison de données - Data Link Layer (Sicherungsschicht) -
Eléments de type 2 Typ 2-Elemente
(CEI 61158-4-2:2007) (IEC 61158-4-2: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-4-2:2008 E
---------------------- Page: 3 ----------------------
SIST EN 61158-4-2:2008
EN 61158-4-2:2008 - 2 -
Foreword
The text of document 65C/474/FDIS, future edition 1 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 was approved by CENELEC as EN 61158-4-2 on 2008-02-01.
This and the other parts of the EN 61158-4 series supersede EN 61158-4:2004.
With respect to EN 61158-4:2004 the following changes were made:
– deletion of Type 6 fieldbus, and the placeholder for a Type 5 fieldbus data-link layer, for lack of market
relevance;
– addition of new fieldbus types;
– partition into multiple parts numbered 4-1, 4-2, …, 4-19.
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.
IEC and CENELEC draw attention to the fact that it is claimed that compliance with this standard may involve the use of patents as
follows, where the [xx] notation indicates the holder of the patent right:
Type 2 and possibly other types:
US 5,400,331 [RA] Communication network interface with screeners for incoming messages
US 5,471,461 [RA] Digital communication network with a moderator station election process
US 5,491,531 [RA] Media access controller with a shared class message delivery capability
US 5,493,571 [RA] Apparatus and method for digital communications with improved delimiter detection
US 5,537,549 [RA] Communication network with time coordinated station activity by time slot and periodic
interval number
US 5,553,095 [RA] Method and apparatus for exchanging different classes of data during different time
Intervals
IEC and CENELEC take no position concerning the evidence, validity and scope of these patent rights.
The holders of these patent rights have assured IEC that they are willing to negotiate licences under reasonable and non-
discriminatory terms and conditions with applicants throughout the world. In this respect, the statement of the holders of these
patent rights are registered with IEC. Information may be obtained from:
[RA]: Rockwell Automation, Inc.
1201 S. Second Street
Milwaukee, WI 53204
USA
Attention: Intellectual Property Dept.
Attention is drawn to the possibility that some of the elements of this standard may be the subject of patent rights other than those
identified above. IEC and CENELEC shall not be held responsible for identifying any or all such patent rights.
Annex ZA has been added by CENELEC.
__________
---------------------- Page: 4 ----------------------
SIST EN 61158-4-2:2008
- 3 - EN 61158-4-2:2008
Endorsement notice
The text of the International Standard IEC 61158-4-2: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 61784-1 NOTE Harmonized as EN 61784-1:2008 (not modified).
IEC 61784-2 NOTE Harmonized as EN 61784-2:2008 (not modified).
ISO 9314-2 NOTE Harmonized as EN 29314-2:1993 (not modified).
__________
---------------------- Page: 5 ----------------------
SIST EN 61158-4-2:2008
EN 61158-4-2:2008 - 4 -
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 61131-3 - Programmable controllers - EN 61131-3 2003
Part 3: Programming languages
IEC 61158-2 2007 Industrial communication networks - EN 61158-2 2008
Fieldbus specifications -
Part 2: Physical layer specification and service
definition
1) 2)
IEC 61158-3-2 - Industrial communication networks - EN 61158-3-2 2008
Fieldbus specifications -
Part 3-2: Data-link layer service definition -
Type 2 elements
1) 2)
IEC 61158-5-2 - Industrial communication networks - EN 61158-5-2 2008
Fieldbus specifications -
Part 5-2: Application layer service definition -
Type 2 elements
1) 2)
IEC 61158-6-2 - Industrial communication networks - EN 61158-6-2 2008
Fieldbus specifications -
Part 6-2: Application layer protocol
specification - Type 2 elements
1) 2)
IEC 61784-3-2 - Industrial communication networks - Profiles - EN 61784-3-2 2008
Part 3-2: Functional safety fieldbuses -
Additional specifications for CPF 2
1)
IEC 62026-3 - Low-voltage switchgear and controlgear - - -
Controller-device interfaces (CDIs) -
Part 3: DeviceNet
1)
ISO/IEC 3309 - Information technology - Telecommunications - -
and information exchange between systems -
High-level data link control (HDLC)
procedures - Frame structure
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)
Undated reference.
2)
Valid edition at date of issue.
---------------------- Page: 6 ----------------------
SIST EN 61158-4-2:2008
- 5 - EN 61158-4-2:2008
Publication Year Title EN/HD Year
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 10731 - Information technology - Open Systems - -
Interconnection - Basic reference model -
Conventions for the definition of OSI services
1)
ISO 11898 - Road vehicles - Interchange of digital - -
information - Controller area network (CAN)
for high-speed communication
---------------------- Page: 7 ----------------------
SIST EN 61158-4-2:2008
---------------------- Page: 8 ----------------------
SIST EN 61158-4-2:2008
IEC 61158-4-2
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 4-2: Data-link layer protocol specification – Type 2 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XK
ICS 35.100.20; 25.040.40 ISBN 2-8318-9428-X
---------------------- Page: 9 ----------------------
SIST EN 61158-4-2:2008
– 2 – 61158-4-2 © IEC:2007(E)
CONTENTS
FOREWORD.7
INTRODUCTION.9
1 Scope.10
1.1 General .10
1.2 Specifications.10
1.3 Procedures.10
1.4 Applicability.11
1.5 Conformance.11
2 Normative references .11
3 Terms, definitions, symbols and abbreviations.12
3.1 Reference model terms and definitions.12
3.2 Service convention terms and definitions.14
3.3 Common terms and definitions .15
3.4 Additional Type 2 definitions.16
3.5 Type 2 symbols and abbreviations.23
4 Overview of the DL-protocol .24
4.1 General .24
4.2 Services provided by the DL.26
4.3 Structure and definition of DL-addresses.27
4.4 Services assumed from the PhL .29
4.5 Functional classes.31
5 General structure and encoding of PhIDUs and DLPDUs and related elements of
procedure.32
5.1 Overview .32
5.2 Media access procedure.32
5.3 DLPDU structure and encoding .35
5.4 Lpacket components .39
5.5 DLPDU procedures .41
5.6 Summary of DLL support services and objects .42
6 Specific DLPDU structure, encoding and procedures.44
6.1 Modeling language .44
6.2 DLS user services .46
6.3 Generic tag Lpacket .52
6.4 Moderator Lpacket .53
6.5 Time distribution Lpacket .54
6.6 UCMM Lpacket.57
6.7 Keeper UCMM Lpacket.57
6.8 TUI Lpacket.58
6.9 Link parameters Lpacket and tMinus Lpacket .59
6.10 I’m-alive Lpacket .60
6.11 Ping Lpackets.62
6.12 WAMI Lpacket .64
6.13 Debug Lpacket .64
6.14 IP Lpacket .65
6.15 Ethernet Lpacket .65
7 Objects for station management .65
---------------------- Page: 10 ----------------------
SIST EN 61158-4-2:2008
61158-4-2 © IEC:2007(E) – 3 –
7.1 General .65
7.2 ControlNet object .66
7.3 Keeper object.76
7.4 Scheduling object.98
7.5 TCP/IP Interface object .109
7.6 Ethernet link object.118
7.7 DeviceNet object .124
7.8 Connection configuration object (CCO).132
8 Other DLE elements of procedure. 152
8.1 Network attachment monitor (NAM) .152
8.2 Calculating link parameters .159
9 Detailed specification of DL components .167
9.1 General .167
9.2 Access control machine (ACM).167
9.3 TxLLC .184
9.4 RxLLC .188
9.5 Transmit machine (TxM).191
9.6 Receive machine (RxM) .194
9.7 Serializer.200
9.8 Deserializer .201
9.9 DLL management .202
Annex A (normative) Indicators and switches.205
A.1 Purpose .205
A.2 Indicators .205
A.3 Switches .216
Bibliography.218
INDEX .219
Figure 1 – Relationships of DLSAPs, DLSAP-addresses and group DL-addresses .15
Figure 2 – Data-link layer internal architecture.25
Figure 3 – Basic structure of a MAC ID address.27
Figure 4 – Basic structure of a generic tag address .27
Figure 5 – Basic structure of a fixed tag address .28
Figure 6 – M_symbols and Manchester encoding at 5 MHz (informative) .29
Figure 7 – NUT structure .33
Figure 8 – Media access during scheduled time.33
Figure 9 – Media access during unscheduled time .34
Figure 10 – DLPDU format.35
Figure 11 – Aborting a DLPDU during transmission .39
Figure 12 – Lpacket format .39
Figure 13 – Generic tag Lpacket format .40
Figure 14 – Fixed tag Lpacket format.41
Figure 15 – Goodness parameter of TimeDist_Lpacket .55
Figure 16 – Example I’m alive processing algorithm.62
Figure 17 – Keeper CRC algorithm .82
Figure 18 – Keeper object power-up state diagram .94
---------------------- Page: 11 ----------------------
SIST EN 61158-4-2:2008
– 4 – 61158-4-2 © IEC:2007(E)
Figure 19 – Keeper object operating state diagram .95
Figure 20 – Synchronized network change processing .98
Figure 21 – State transition diagram for TCP/IP Interface object .118
Figure 22 – Connection configuration object edit flowchart. 152
Figure 23 – NAM state machine .153
Figure A.1 – Non redundant network status indicator labeling . 209
Figure A.2 – Redundant network status indicator labeling . 210
Table 1 – Data-link layer components .24
Table 2 – MAC ID addresses allocation .27
Table 3 – Fixed tag service definitions .28
Table 4 – Data encoding rules .29
Table 5 – M Data symbols .30
Table 6 – Truth table for ph_status_indication.31
Table 7 – FCS length, polynomials and constants .37
Table 8 – DLL support services and objects.43
Table 9 – Elementary data types.46
Table 10 – DLL events.51
Table 11 – Time distribution priority .56
Table 12 – Format of the TUI Lpacket .58
Table 13 – ControlNet object class attributes .67
Table 14 – ControlNet object instance attributes .67
Table 15 – TUI status flag bits .71
Table 16 – Channel state bits .72
Table 17 – ControlNet object common services.74
Table 18 – ControlNet object class specific services .75
Table 19 – Keeper object revision history .77
Table 20 – Keeper object class attributes .77
Table 21 – Keeper object instance attributes .77
Table 22 – Keeper operating state definitions .80
Table 23 – Port status flag bit definitions .80
Table 24 – TUI status flag bits .81
Table 25 – Keeper attributes.84
Table 26 – Memory requirements (in octets) for the Keeper attributes.84
Table 27 – Keeper object common services .85
Table 28 – Keeper object class specific services .86
Table 29 – Service error codes .87
Table 30 – Wire order format of the TUI Lpacket.91
Table 31 – Service error codes .92
Table 32 – Keeper object operating states .92
Table 33 – Keeper object state event matrix .96
Table 34 – Scheduling object class attributes .99
Table 35 – Scheduling object instance attributes .100
---------------------- Page: 12 ----------------------
SIST EN 61158-4-2:2008
61158-4-2 © IEC:2007(E) – 5 –
Table 36 – Scheduling object common services . 100
Table 37 – Status error descriptions for Create.101
Table 38 – Status error descriptions for Delete and Kick_Timer .102
Table 39 – Scheduling object class specific services . 102
Table 40 – Status error descriptions for Read .104
Table 41 – Status error descriptions for Conditional_Write.105
Table 42 – Status error descriptions for Forced_Write . 105
Table 43 – Status error descriptions for Change_Start .106
Table 44 – Status error descriptions for Break_Connections . 106
Table 45 – Status error descriptions for Change_Complete. 107
Table 46 – Status error descriptions for Restart_Connections .108
Table 47 – TCP/IP Interface object class attributes.109
Table 48 – TCP/IP Interface object instance attributes. 110
Table 49 – Status bits .112
Table 50 – Configuration capability bits .112
Table 51 – Configuration control bits.113
Table 52 – Example path .113
Table 53 – Interface configuration components .114
Table 54 – Alloc control values .115
Table 55 – TCP/IP Interface object common services .116
Table 56 – Get_Attribute_All reply format .
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.