Industrial communication networks - Fieldbus specifications -- Part 4-8: Data-link layer protocol specification - Type 8 elements

The data-link layer provides basic time-critical messaging communications between devices in an automation environment. This protocol provides a highly-optimized means of interchanging fixed-length input/output data and variable-length segmented messages between a single master device and a set of slave devices interconnected in a loop (ring) topology. The exchange of input/output data is totally synchronous by configuration, and is unaffected by the messaging traffic. Devices are addressed implicitly by their position on the loop. The determination of the number, identity and characteristics of each device can be configured, or can be detected automatically at start-up.

Industrielle Kommunikationsnetze - Feldbusse - Teil 4-8: Protokollspezifikation des Data Link Layer (Sicherungsschicht) - Typ 8-Elemente

Réseaux de communication industriels - Spécifications des bus de terrain - Partie 4-8: Spécification des protocoles des couches de liaison de données - Eléments de type 8

La CEI 61158-4-8:2007 fournit un moyen fortement optimisé d'échanger des données d'entrée/de sortie de longueur fixe ainsi que des messages segmentés de longueur variable entre un seul appareil maître et un ensemble d'appareils esclaves interconnectés selon une topologie en boucle (anneau). L'échange de données d'entrée/de sortie est totalement synchrone du point de vue de la configuration, et n'est pas affecté par le trafic de messagerie. Les appareils sont adressés implicitement par leur position sur la boucle. La détermination du numéro, de l'identité et des caractéristiques de chaque appareil peut être configurée, ou peut être détectée automatiquement au démarrage. Cette première édition et ses parties d'accompagnement de la sous-série CEI 61158-4 annulent et remplacent la CEI 61158-4:2003. Elle constitue une révision éditoriale et inclut les modifications significatives suivantes:
- suppression du précédent bus de terrain de Type 6 et du réceptacle ("placeholder") pour une couche liaison de données de bus de terrain de Type 5, en raison du manque de pertinence commerciale;
- ajout de nouveaux types de bus de terrain;
- division de la présente partie en plusieurs parties. La présente version bilingue correspond à la version anglaise monolingue publiée en 2007-12.

Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 4-8. del: Specifikacija protokola na nivoju podatkovnih povezav - Elementi tipa 8 (IEC 61158-4-8:2007)

General Information

Status
Published
Publication Date
14-Apr-2008
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
14-Mar-2008
Due Date
19-May-2008
Completion Date
15-Apr-2008

Relations

Buy Standard

Standard
EN 61158-4-8:2008
English language
136 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)

SLOVENSKI STANDARD
SIST EN 61158-4-8:2008
01-junij-2008
1DGRPHãþD
SIST EN 61158-4:2004
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 4-8. del:
Specifikacija protokola na nivoju podatkovnih povezav - Elementi tipa 8 (IEC 61158
-4-8:2007)
Industrial communication networks - Fieldbus specifications -- Part 4-8: Data-link layer
protocol specification - Type 8 elements
Industrielle Kommunikationsnetze - Feldbusse - Teil 4-8: Protokollspezifikation des Data
Link Layer (Sicherungsschicht) - Typ 8-Elemente
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 4-8:
Spécification des protocoles des couches de liaison de données - Eléments de type 8
Ta slovenski standard je istoveten z: EN 61158-4-8: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-8: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-8:2008

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

SIST EN 61158-4-8:2008


EUROPEAN STANDARD
EN 61158-4-8

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-8: Data-link layer protocol specification -
Type 8 elements
(IEC 61158-4-8:2007)


Réseaux de communication industriels -  Industrielle Kommunikationsnetze -
Spécifications des bus de terrain - Feldbusse -
Partie 4-8: Spécification des protocoles Teil 4-8: Protokollspezifikation des
des couches de liaison de données - Data Link Layer (Sicherungsschicht) -
Eléments de type 8 Typ 8-Elemente
(CEI 61158-4-8:2007) (IEC 61158-4-8: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-8:2008 E

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

SIST EN 61158-4-8:2008
EN 61158-4-8:2008 - 2 -
Foreword
The text of document 65C/474/FDIS, future edition 1 of IEC 61158-4-8, 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-8 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 8 and possibly other types:
 DE 41 00 629 C1 [PxC] Steuer- und Datenübertragungsanlage
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:
[PxC]: Phoenix Contact GmbH & Co. KG
 Referat Patente / Patent Department
 Postfach 1341
 D-32819 Blomberg
 Germany
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-8:2008
- 3 - EN 61158-4-8:2008
Endorsement notice
The text of the International Standard IEC 61158-4-8: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 61158-5-8 NOTE  Harmonized as EN 61158-5-8:2008 (not modified).
IEC 61158-6-8 NOTE  Harmonized as EN 61158-6-8:2008 (not modified).
IEC 61784-1 NOTE  Harmonized as EN 61784-1:2008 (not modified).
IEC 61784-2 NOTE  Harmonized as EN 61784-2:2008 (not modified).
__________

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

SIST EN 61158-4-8:2008
EN 61158-4-8: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

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-8 - Industrial communication networks - EN 61158-3-8 2008
Fieldbus specifications -
Part 3-8: Data-link layer service definition -
Type 8 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 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: 6 ----------------------

SIST EN 61158-4-8:2008
IEC 61158-4-8
Edition 1.0 2007-12
INTERNATIONAL
STANDARD

Industrial communication networks – Fieldbus specifications –
Part 4-8: Data-link layer protocol specification – Type 8 elements


INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XF
ICS 35.100.20; 25.040.40 ISBN 2-8318-9435-2

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

SIST EN 61158-4-8:2008
– 2 – 61158-4-8 © 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.10
1.5 Conformance.11
2 Normative references .11
3 Terms, definitions, symbols and abbreviations.11
3.1 Reference model terms and definitions.11
3.2 Service convention terms and definitions.12
3.3 Common terms and definitions .13
3.4 Additional Type 8 definitions.14
3.5 Symbols and abbreviations.15
4 DL-protocol .18
4.1 Overview .18
4.2 DL-service Interface (DLI) .18
4.3 Peripherals data link (PDL).22
4.4 Basic Link Layer (BLL) .58
4.5 Medium Access Control (MAC).74
4.6 Peripherals network management for layer 2 (PNM2) .108
4.7 Parameters and monitoring times of the DLL .116
Annex A (informative) – Implementation possibilities of definite PNM2 functions. 122
A.1 Acquiring the current configuration .122
A.2 Comparing the acquired and stored configurations prior to a DL-subnetwork
error .126
Bibliography.132

Figure 1 – Relationships of DLSAPs, DLSAP-addresses and group DL-addresses .13
Figure 2 – Data Link Layer Entity.18
Figure 3 – Location of the DLI in the DLL.18
Figure 4 – State transition diagram of DLI.20
Figure 5 – Location of the PDL in the DLL.22
Figure 6 – PDL connection between slave and master .23
Figure 7 – Interface between PDL-user (DLI) and PDL in the layer model .24
Figure 8 – Overview of the PDL services .24
Figure 9 – PDL_Data_Ack service between master and only one slave.26
Figure 10 – Parallel processing of PDL_Data_Ack services .26
Figure 11 – PSM and GSM service for buffer access .26
Figure 12 – Buffer_Received service to indicate successful data transfer.27
Figure 13 – Data flow between PDL-user, PDL and BLL of a PDL_Data_Ack service .30
Figure 14 – Interface between PDL and PNM2 in the layer model .30
Figure 15 – Reset, Set Value and Get Value PDL services .32

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

SIST EN 61158-4-8:2008
61158-4-8 © IEC:2007(E) – 3 –
Figure 16 – Event PDL service.32
Figure 17 – Transmit and receive FCBs on the master and slave sides.35
Figure 18 – Data transmission master → slave with SWA Message .36
Figure 19 – Time sequence of the data transmission master → slave with SWA
Message .36
Figure 20 – Data transmission slave → master with SWA/RWA Message.37
Figure 21 – Time sequence of the data transmission slave → master with SWA/RWA
Message .37
Figure 22 – Allocation of actions of the PDL protocol machines and data cycles .38
Figure 23 – Message transmission: master → slave.39
Figure 24 – Message transmission: slave → master.39
Figure 25 – Code octet of a PDLPDU.40
Figure 26 – Structure of a message with a size of one word.41
Figure 27 – Structure of a SPA Message .41
Figure 28 – Structure of a SVA Message .42
Figure 29 – Structure of a FCB_SET Message.42
Figure 30 – Structure of a RWA Message .42
Figure 31 – Structure of a SWA Message .43
Figure 32 – Structure of a confirmation for SPA or SVA Messages.43
Figure 33 – Structure of a FCB_SET as confirmation .43
Figure 34 – Structure of the data octet for FCB_SET as requests and confirmations.43
Figure 35 – Structure of a message with a size of more than one word .44
Figure 36 – PDL base protocol machine.45
Figure 37 – Locations of the PDL and the PDL protocol machines in the master and
slaves .48
Figure 38 – PDL protocol machine .49
Figure 39 – TRANSMIT protocol machine .52
Figure 40 – RECEIVE protocol machine.55
Figure 41 – Location of the BLL in the DLL .58
Figure 42 – Interface between PDL and BLL in the layer model .59
Figure 43 – BLL_Data service.60
Figure 44 – Interface between PNM2 and BLL in the layer model.62
Figure 45 – Reset, Set Value and Get Value BLL services .64
Figure 46 – Event BLL service .64
Figure 47 – BLL operating protocol machine of the master.68
Figure 48 – BLL-BAC protocol machine .70
Figure 49 – BLL operating protocol machine of the slave .73
Figure 50 – Location of the MAC in the DLL.74
Figure 51 – Model details of layers 1 and 2.75
Figure 52 – DLPDU cycle of a data sequence without errors .76
Figure 53 – DLPDU cycle of a data sequence with errors.76
Figure 54 – Data sequence DLPDU transmitted by the master .77
Figure 55 – Data sequence DLPDU received by the master .77
Figure 56 – Check sequence DLPDU .77

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

SIST EN 61158-4-8:2008
– 4 – 61158-4-8 © IEC:2007(E)
Figure 57 – Loopback word (LBW) .77
Figure 58 – Checksum status generated by the master .80
Figure 59 – Checksum status received by the master .80
Figure 60 – MAC protocol machine of a master: transmission of a message .81
Figure 61 – MAC protocol machine of a master: receipt of a message .84
Figure 62 – MAC sublayer of a master: data sequence identification.88
Figure 63 – Data sequence DLPDU received by a slave.91
Figure 64 – Data sequence DLPDU transmitted by a slave .91
Figure 65 – Checksum status received by the slave.91
Figure 66 – Checksum status generated by the slave .92
Figure 67 – State transitions of the MAC sublayer of a slave: data sequence.93
Figure 68 – State transitions of the MAC sublayer of a slave: check sequence .94
Figure 69 – Interface between MAC-user and MAC in the layer model .99
Figure 70 – Interactions at the MAC-user interface (master) .100
Figure 71 – Interactions at the MAC-user interface (slave).101
Figure 72 – Interface between MAC and PNM2 in the layer model .104
Figure 73 – Reset, Set Value and Get Value MAC services. 106
Figure 74 – Event MAC service.106
Figure 75 – Location of the PNM2 in the DLL.108
Figure 76 – Interface between PNM2-user and PNM2 in the layer model . 109
Figure 77 – Reset, Set Value, Get Value and Get Active Configuration services . 111
Figure 78 – Event PNM2 service.111
Figure 79 – Set Active Configuration, Get Current Configuration service. 111
Figure 80 – The active_configuration parameter . 115
Figure 81 – Device code structure .118
Figure 82 – Relations between data width, process data channel and parameter
channel .120
Figure 83 – Structure of the control code .121
Figure A.1 – DL-subnetwork configuration in the form of a tree structure . 122
Figure A.2 – State machine for the acquisition of the current configuration . 124
Figure A.3 – State machine for comparing two configurations . 128
Figure A.4 – State machine for comparing one line of two configuration matrices. 130

Table 1 – Primitives issued by DLS-/DLMS-user to DLI.19
Table 2 – Primitives issued by DLI to DLS-/DLMS-user.19
Table 3 – DLI state table – sender transactions .20
Table 4 – DLI state table – receiver transactions .21
Table 5 – Function GetOffset .22
Table 6 – Function GetLength.22
Table 7 – Function GetRemAdd .22
Table 8 – Function GetDlsUserId .22
Table 9 – PDL_Data_Ack.27
Table 10 – PDL_Data_Ack L_status values.27

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

SIST EN 61158-4-8:2008
61158-4-8 © IEC:2007(E) – 5 –
Table 11 – PSM .28
Table 12 – GSM.28
Table 13 – PDL_Reset.32
Table 14 – PDL_Set_Value.32
Table 15 – PDL variables.33
Table 16 – PDL_Get_Value.33
Table 17 – PDL_Event .34
Table 18 – Events.34
Table 19 – Encoding of the L_status .40
Table 20 – FCT code (PDLPDU-Types) .40
Table 21 – State transitions of the PDL base protocol machine.46
Table 22 – Counters of the PDL protocol machines.48
Table 23 – Meaning of the "connection" flag .49
Table 24 – State transitions of the PDL protocol machine .50
Table 25 – State transitions of the TRANSMIT protocol machine .53
Table 26 – State transitions of the RECEIVE protocol machine .55
Table 27 – BLL_Data .61
Table 28 – BLL_Data .64
Table 29 – BLL_Reset .65
Table 30 – BLL_Set_Value .65
Table 31 – BLL variables .66
Table 32 – BLL_Get_Value .66
Table 33 – BLL_Event.66
Table 34 – BLL_Event.67
Table 35 – State transitions of the BLL operating protocol machine of the master.69
Table 36 – State transitions of the BLL-BAC protocol machine.71
Table 37 – State transitions of the BLL operating protocol machine of the slave .73
Table 38 – FCS length and polynomial.78
Table 39 – MAC_Reset .106
Table 40 – MAC_Set_Value .106
Table 41 – MAC variables.107
Table 42 – MAC_Get_Value.107
Table 43 – MAC_Event .107
Table 44 – MAC_Event .108
Table 45 – PNM2_Reset .112
Table 46 – M_status values of the PNM2_Reset .112
Table 47 – PNM2_Set_Value .112
Table 48 – M_status values of the PNM2_Set_Value .113
Table 49 – PNM2_Get_Value.113
Table 50 – M_status values of the PNM2_Get_Value. 113
Table 51 – PNM2_Event .114
Table 52 – MAC Events .114
Table 53 – PNM2_Get_Current_Configuration .114

---------------------- Page: 11 ----------------------

SIST EN 61158-4-8:2008
– 6 – 61158-4-8 © IEC:2007(E)
Table 54 – PNM2_Get_Active_Configuration .115
Table 55 – PNM2_Set_Active_Configuration.116
Table 56 – Data direction.118
Table 57 – Number of the occupied octets in the parameter channel.119
Table 58 – Device class.
...

Questions, Comments and Discussion

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