BS EN 61158-3-22:2014 BSI Standards Publication Industrial communication networks — Fieldbus specifications Part 3-22: Data-link layer service definition — Type 22 elements BRITISH STANDARD BS EN 61158-3-22:2014 National foreword This British Standard is the UK implementation of EN 61158-3-22:2014 It is identical to IEC 61158-3-22:2014 It supersedes BS EN 61158-3-22:2012 which is withdrawn The UK participation in its preparation was entrusted to Technical Committee AMT/7, Industrial communications: process measurement and control, including fieldbus A list of organizations represented on this committee can be obtained on request to its secretary This publication does not purport to include all the necessary provisions of a contract Users are responsible for its correct application © The British Standards Institution 2014 Published by BSI Standards Limited 2014 ISBN 978 580 79370 ICS 25.040.40; 35.100.20; 35.240.50 Compliance with a British Standard cannot confer immunity from legal obligations This British Standard was published under the authority of the Standards Policy and Strategy Committee on 31 October 2014 Amendments/corrigenda issued since publication Date Text affected BS EN 61158-3-22:2014 EUROPEAN STANDARD EN 61158-3-22 NORME EUROPÉENNE EUROPÄISCHE NORM October 2014 ICS 25.040.40; 35.100.20; 35.110 Supersedes EN 61158-3-22:2012 English Version Industrial communication networks - Fieldbus specifications Part 3-22: Data-link layer service definition - Type 22 elements (IEC 61158-3-22:2014) Réseaux de communication industriels - Spécifications des bus de terrain - Partie 3-22: Définition des services de la couche liaison de données - Eléments de type 22 (CEI 61158-3-22:2014) Industrielle Kommunikationsnetze - Feldbusse - Teil 3-22: Dienstfestlegungen des Data Link Layer (Sicherungsschicht) - Typ 22-Elemente (IEC 61158-3-22:2014) This European Standard was approved by CENELEC on 2014-09-17 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, Former Yugoslav Republic of Macedonia, 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 European Committee for Electrotechnical Standardization Comité Européen de Normalisation Electrotechnique Europäisches Komitee für Elektrotechnische Normung CEN-CENELEC Management Centre: Avenue Marnix 17, B-1000 Brussels © 2014 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members Ref No EN 61158-3-22:2014 E BS EN 61158-3-22:2014 EN 61158-3-22:2014 -2- Foreword The text of document 65C/759/FDIS, future edition of IEC 61158-3-22, 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-22:2014 The following dates are fixed: • latest date by which the document has to be implemented at national level by publication of an identical national standard or by endorsement (dop) 2015-06-17 • latest date by which the national standards conflicting with the document have to be withdrawn (dow) 2017-09-17 This document supersedes EN 61158-3-22:2012 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 This document has been prepared under a mandate given to CENELEC by the European Commission and the European Free Trade Association Endorsement notice The text of the International Standard IEC 61158-3-22:2014 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-4-22 NOTE Harmonized as EN 61158-4-22 IEC 61784-1 NOTE Harmonized as EN 61784-1 IEC 61784-2 NOTE Harmonized as EN 61784-2 BS EN 61158-3-22:2014 EN 61158-3-22:2014 -3- 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 NOTE Up-to-date information on the latest versions of the European Standards listed in this annex is available here: www.cenelec.eu 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 2000 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 2004 IEEE Standard for local and metropolitan area networks - Media Access Control (MAC) Bridges - - IETF RFC 791 - Internet Protocol - - –2– BS EN 61158-3-22:2014 IEC 61158-3-22:2014 © IEC 2014 CONTENTS INTRODUCTION Scope 1.1 General 1.2 Specifications 1.3 Conformance Normative references Terms, definitions, symbols, abbreviations and conventions 3.1 Reference model terms and definitions 3.2 Service convention terms and definitions 10 3.3 Data-link service terms and definitions 11 3.4 Symbols and abbreviations 13 3.5 Common conventions 15 Data-link layer services and concepts 16 4.1 Operating principle 16 4.2 Communication models 16 4.3 Topology 18 4.4 Addressing 19 4.5 Gateway 20 4.6 Interaction models 20 4.7 Synchronization concept 20 Communication services 21 5.1 Overview 21 5.2 Communication management services 23 5.3 Cyclic data channel service (CDC) 30 5.4 Message channel services (MSC) 30 5.5 Time synchronization 32 5.6 Media independent interface (MII) management services 34 Bibliography 36 Figure – RTFL device reference model 17 Figure – RTFN device reference model 18 Figure – Logical double line in a physical tree topology 18 Figure – Logical double line in a physical line topology 19 Figure – Addressing modes 19 Figure – Time sequence diagram for time SYNC_START service 21 Figure – Synchronized timing signals without offset 21 Figure – Synchronized timing signals with offset 21 Table – Summary of DL-services and primitives 22 Table – DL-Network verification service (NV) 23 Table – DL-RTFN scan network read service (RTFNSNR) 23 BS EN 61158-3-22:2014 IEC 61158-3-22:2014 © IEC 2014 –3– Table – DL-RTFN connection establishment DLL service (RTFNCE) 24 Table – DL-RTFN connection release service (RTFNCR) 24 Table – DL-RTFL control service (RTFLCTL) 25 Table – DL-RTFL configuration service (RTFLCFG) 25 Table – DL-Read configuration data service (RDCD) 26 Table – DL-RTFL configuration service (RTFLCFG2) 28 Table 10 – DL-Read configuration data service (RDCD2) 29 Table 11 – CDC send service (CDCS) 30 Table 12 – MSC send service (MSCS) 31 Table 13 – MSC send broadcast service (MSCSB) 31 Table 14 – MSC read service (MSCR) 32 Table 15 – DL-DelayMeasurement start service (DMS) 32 Table 16 – DL-DelayMeasurement read service (DMR) 32 Table 17 – DL-PCS configuration service (PCSC) 33 Table 18 – DL-Sync master configuration service (SYNC_MC) 33 Table 19 – DL-Sync start service (SYNC_START) 34 Table 20 – DL-Sync stop service (SYNC_STOP) 34 Table 21 – DL-MII read service (MIIR) 35 Table 22 – DL-MII write service (MIIW) 35 –6– BS EN 61158-3-22:2014 IEC 61158-3-22:2014 © IEC 2014 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 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 The International Electrotechnical Commission (IEC) draws attention to the fact that it is claimed that compliance with this document may involve the use of patents concerning Type 22 elements and possibly other types: WO-2006/069691 A1 [PI] Control system with a plurality of spatially distributed stations and method for transmitting data in said control system DE-10 2004 063 213 B4 [PI] Steuerungssystem mit einer Vielzahl von räumlich verteilten Stationen sowie Verfahren zum Übertragen von Daten in einem solchen Steuerungssystem EP-1 828 858 A1 [PI] Control system with a plurality of spatially distributed stations and method for transmitting data in said control system JP-4 848 469 B2 [PI] Control system with a plurality of spatially distributed stations and method for transmitting data in said control system CN-101 111 807 [PI] Control system with a plurality of spatially distributed stations and method for transmitting data in said control system US-8 144 718 B2 [PI] Control system having a plurality of spatially distributed stations, and method for transmitting data in such a control system IEC takes 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 licenses either free of charge or 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 is registered with IEC Information may be obtained from: [PI] Pilz GmbH & Co KG Felix-Wankel-Str 73760 Ostfildern Germany Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights other than those identified above IEC shall not be held responsible for identifying any or all such patent rights ISO (www.iso.org/patents) and IEC (http://patents.iec.ch) maintain on-line data bases of patents relevant to their standards Users are encouraged to consult the data bases for the most up to date information concerning patents BS EN 61158-3-22:2014 IEC 61158-3-22:2014 © IEC 2014 –7– INDUSTRIAL COMMUNICATION NETWORKS – FIELDBUS SPECIFICATIONS – Part 3-22: Data-link layer service definition – Type 22 elements 1.1 Scope General 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 22 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; and 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 22 fieldbus application layer at the boundary between the application and datalink layers of the fieldbus reference model; and • 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 they 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 fulfils the Type 22 data-link layer services defined in this standard –8– BS EN 61158-3-22:2014 IEC 61158-3-22:2014 © IEC 2014 Normative references 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 All parts of the IEC 61158 series, as well as IEC 61784-1 and IEC 61784-2 are maintained simultaneously Cross-references to these documents within the text therefore refer to the editions as dated in this list of normative references 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:2000, 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-2004, IEEE Standard for Local and metropolitan area networks – Media Access Control (MAC) Bridges, available at http://www.ieee.org IETF RFC 791, Internet protocol, available at 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: DL-address [ISO/IEC 7498-3] called-DL-address [ISO/IEC 7498-3] calling-DL-address [ISO/IEC 7498-3] DL-connection [ISO/IEC 7498-1] DL-connection-end-point [ISO/IEC 7498-1] DL-connection-end-point-identifier [ISO/IEC 7498-1] DL-connection-mode transmission [ISO/IEC 7498-1] DL-connectionless-mode transmission [ISO/IEC 7498-1] BS EN 61158-3-22:2014 IEC 61158-3-22:2014 © IEC 2014 – 24 – This parameter shall contain the result of the RTFN topology exploration It shall reflect the participating RTFN devices by a list consisting of one identification data set for each device 5.2.3 Communication management 5.2.3.1 DL-RTFN connection establishment service (RTFNCE) With the RTFNCE service as specified in Table a device shall establish its CDC connections to other devices Table – DL-RTFN connection establishment DLL service (RTFNCE) Request Indication Response Confirmation input output input output Command M M (=) PID M M (=) UseUDP M M (=) Error code M M (=) IP address M M (=) Parameter name NOTE The method by which a confirm primitive is correlated with its corresponding preceding request primitive is a local matter The method by which a response primitive is correlated with its corresponding preceding indication primitive is a local matter See 1.2 Parameter description Command This parameter shall indicate the connection management function performed for the dedicated CDC connection PID This parameter shall identify the requested process data UseUDP This parameter indicates whether transmission of cyclic data shall use either UDP or MAC frames Error code This parameter shall contain the error code for the performed connection management function IP address This parameter depicts the IP Address of the data publisher 5.2.3.2 DL-RTFN connection release service (RTFNCR) With the RTFNCR service as specified in Table a device shall terminates its CDC connections with other devices Table – DL-RTFN connection release service (RTFNCR) Request Indication input output Command M M (=) PID M M (=) Parameter name BS EN 61158-3-22:2014 IEC 61158-3-22:2014 © IEC 2014 – 25 – Parameter description Command This parameter shall indicate the connection management function performed for the dedicated CDC connection PID This parameter shall identify the process data 5.2.3.3 DL-RTFL control service (RTFLCTL) The RTFLCTL service as specified in Table is used by a root device to reset or diagnose the communication system of participating devices Table – DL-RTFL control service (RTFLCTL) Parameter name Request Indication input output M M (=) Command Parameter description Command This parameter contains the command 5.2.3.4 DL-RTFL configuration service (RTFLCFG) The RTFLCFG service as specified in Table is used by a root device to configure participating devices This service is to be discontinued and should be replaced by RTFLCFG2 service (see 5.2.3.6) Table – DL-RTFL configuration service (RTFLCFG) Request Indication Response Confirmation input output input output Predecessor MAC M M (=) Successor MAC M M (=) Successor MAC altern M M (=) Device Address M M (=) MSCShortMsgSize M M (=) Number of frames M M (=) Cycle time M M (=) RTF timeout M M (=) Master clock DA M M (=) IP configuration C C (=) M M (=) Parameter name Configuration summary NOTE The method by which a confirm primitive is correlated with its corresponding preceding request primitive is a local matter The method by which a response primitive is correlated with its corresponding preceding indication primitive is a local matter See 1.2 Parameter description Predecessor MAC BS EN 61158-3-22:2014 IEC 61158-3-22:2014 © IEC 2014 – 26 – This parameter indicates the MAC address of the preceding device within the logical double line Successor MAC This parameter indicates the MAC address of the succeeding device within the logical double line Successor MAC alternative This parameter indicates an alternative MAC address of a succeeding device within the logical double line Device address This parameter indicates the device address which shall be used MSCShortMsgSize This parameter indicates the maximum message size in octets for an un-segmented message transfer using MSC Number of frames This parameter indicates the number of RTF frames used for both possible communication channels Cycle time This parameter indicates the cycle time of the communication cycle RTF timeout This parameter indicates a maximum delay time for the RTFL communication cycle time from the expected communication cycle time Master clock DA This parameter indicates the device address of the device which integrates the master clock IP configuration This parameter indicates IP configuration data Configuration summary This parameter contains a summary of the performed device configuration in terms of state information for the configured parameters 5.2.3.5 DL-Read configuration data service (RDCD) The local RDCD service as specified in Table is used by a DL-user to read the DLconfiguration This service is to be discontinued and should be replaced by RDCD2 service (see 5.2.3.7) Table – DL-Read configuration data service (RDCD) Request Indication Response Confirmation input output input Output Predecessor MAC M M (=) Successor MAC M M (=) Successor MAC altern M M (=) Device Address M M (=) MSCShortMsgSize M M (=) Number of frames M M (=) Cycle time M M (=) RTF timeout M M (=) Parameter name BS EN 61158-3-22:2014 IEC 61158-3-22:2014 © IEC 2014 – 27 – Request Indication Response Confirmation input output input Output Master clock DA M M (=) IP configuration C C (=) Parameter name NOTE The method by which a confirm primitive is correlated with its corresponding preceding request primitive is a local matter The method by which a response primitive is correlated with its corresponding preceding indication primitive is a local matter See 1.2 Parameter description Predecessor MAC This parameter indicates the MAC address of the preceding device within the logical double line Successor MAC This parameter indicates the MAC address of the succeeding device within the logical double line Successor MAC alternative This parameter indicates an alternative MAC address of a succeeding device within the logical double line Device address This parameter indicates the device address which shall be used MSCShortMsgSize This parameter indicates the maximum message size in octets for an un-segmented message transfer using MSC Number of frames This parameter indicates the number of RTF frames used for both possible communication channels Cycle time This parameter indicates the cycle time of the communication cycle RTF timeout This parameter indicates a maximum delay time for the RTFL communication cycle time from the expected communication cycle time Master clock DA This parameter indicates the device address of the device which integrates the master clock IP configuration This parameter indicates IP configuration data 5.2.3.6 DL-RTFL configuration service (RTFLCFG2) The RTFLCFG2 service as specified in Table is used by a root device to configure participating devices BS EN 61158-3-22:2014 IEC 61158-3-22:2014 © IEC 2014 – 28 – Table – DL-RTFL configuration service (RTFLCFG2) Request Indication Response Confirmation input output Input output Predecessor MAC M M (=) Successor MAC M M (=) Device address M M (=) Device line position M M (=) Cycle start time M M (=) Cycle time M M (=) Watchdog trigger cycle M M (=) Number of CDC frames M M (=) CDC frame size M M (=) MSC size M M (=) MSCShortMsgSize M M (=) M M (=) Parameter name Configuration summary NOTE The method by which a confirm primitive is correlated with its corresponding preceding request primitive is a local matter The method by which a response primitive is correlated with its corresponding preceding indication primitive is a local matter See 1.2 Parameter description Predecessor MAC This parameter indicates the MAC address of the preceding device within the logical double line Successor MAC This parameter indicates the MAC address of the succeeding device within the logical double line Device address This parameter indicates the device address which shall be used Device line position This parameter indicates the position of the device in the logical double line Cycle start time This parameter indicates the cycle start time of the first communication cycle Cycle time This parameter indicates the cycle time of the communication cycle Watchdog trigger cycle This parameter indicates the time for the watchdog trigger Number of CDC frames This parameter indicates the number of RTF CDC frames used for communication channels CDC frame size This parameter indicates the size of the CDC frame MSC size This parameter indicates the size of the MSC communication channel MSCShortMsgSize BS EN 61158-3-22:2014 IEC 61158-3-22:2014 © IEC 2014 – 29 – This parameter indicates the maximum message size in octets for an un-segmented message transfer using MSC Configuration summary This parameter contains a summary of the performed device configuration in terms of state information for the configured parameters 5.2.3.7 DL-Read configuration data service (RDCD2) The local RDCD2 service as specified in Table 10 is used by a DL-user to read the DLconfiguration Table 10 – DL-Read configuration data service (RDCD2) Request Indication Response Confirmation input output Input Output Predecessor MAC M M (=) Successor MAC M M (=) Device address M M (=) Device line position M M (=) Cycle start time M M (=) Cycle time M M (=) Watchdog trigger cycle M M (=) Number of CDC frames M M (=) CDC frame size M M (=) MSC size M M (=) MSCShortMsgSize M M (=) Parameter name NOTE The method by which a confirm primitive is correlated with its corresponding preceding request primitive is a local matter The method by which a response primitive is correlated with its corresponding preceding indication primitive is a local matter See 1.2 Parameter description Predecessor MAC This parameter indicates the MAC address of the preceding device within the logical double line Successor MAC This parameter indicates the MAC address of the succeeding device within the logical double line Device address This parameter indicates the device address which shall be used Device line position This parameter indicates the position of the device in the logical double line Cycle start time This parameter indicates the cycle start time of the first communication cycle Cycle time This parameter indicates the cycle time of the communication cycle Watchdog trigger cycle This parameter indicates the time for the watchdog trigger BS EN 61158-3-22:2014 IEC 61158-3-22:2014 © IEC 2014 – 30 – Number of CDC frames This parameter indicates the number of RTF CDC frames used for communication channels CDC frame size This parameter indicates the size of the CDC frame MSC size This parameter indicates the size of the MSC communication channel MSCShortMsgSize This parameter indicates the maximum message size in octets for an un-segmented message transfer using MSC 5.3 Cyclic data channel service (CDC) 5.3.1 Overview The cyclic data channel (CDC) is intended for cyclic real time data transfer This mechanism shall be initiated by the DL-user 5.3.2 CDC send service (CDCS) With the CDCS service as specified in Table 11 a DL-user shall write the configured cyclic data for the next communication cycle Table 11 – CDC send service (CDCS) Request Indication input output PID M M (=) Data M M (=) Parameter name Parameter description PID This parameter shall identify the process data to be sent Data This parameter shall contain the cyclic data which has to be sent 5.4 5.4.1 Message channel services (MSC) Overview The message channel is used for acyclic communication Data is transferred as variablelength segmented messages The MSC service is a confirmed service 5.4.2 MSC send service (MSCS) A DL-user shall use the MSCS service as specified in Table 12 to send data to a device selected by a device or IP address BS EN 61158-3-22:2014 IEC 61158-3-22:2014 © IEC 2014 – 31 – Table 12 – MSC send service (MSCS) Request Indication Response Confirmation input output input output Data M M (=) Destination DA C C (=) IP address C C (=) M M (=) Parameter name Error code NOTE The method by which a confirm primitive is correlated with its corresponding preceding request primitive is a local matter The method by which a response primitive is correlated with its corresponding preceding indication primitive is a local matter See 1.2 Parameter description Data This parameter shall contain the data which is sent to the device Destination DA This parameter shall contain the destination device address IP Address This parameter shall contain the IP address (as defined in RFC 791) of the source or destination Error code This parameter shall contain the error code for the send request 5.4.3 MSC send broadcast service (MSCSB) A DL-user shall use the MSCSB service as specified in Table 13 to send data to all participating devices Table 13 – MSC send broadcast service (MSCSB) Parameter name Data Request Indication input output M M (=) Parameter description Data This parameter shall contain the data which is sent to the device 5.4.4 MSC data notification (MSCDN) With the MSCDN service, the DL-user shall be notified that message data has been received This service requires no parameters 5.4.5 MSC read service (MSCR) The MSCR service as specified in Table 14 is a local service and shall be used by a DL-user to read message data received from a device BS EN 61158-3-22:2014 IEC 61158-3-22:2014 © IEC 2014 – 32 – Table 14 – MSC read service (MSCR) Request Indication Response Confirmation input output input output Data M M (=) Error code M M (=) Parameter name NOTE The method by which a confirm primitive is correlated with its corresponding preceding request primitive is a local matter The method by which a response primitive is correlated with its corresponding preceding indication primitive is a local matter See 1.2 Parameter description Data This parameter shall contain the received data Error code This parameter shall contain the error code for the read request 5.5 Time synchronization 5.5.1 DL-DelayMeasurement start service (DMS) With the DMS service as specified in Table 15 a root device in a Type 22 network starts the propagation delay measurement for PCS Table 15 – DL-DelayMeasurement start service (DMS) Parameter name Repeat count Request Indication input output M M (=) Parameter description Repeat count This parameter shall indicate the number of communication cycles used for propagation delay measurement NOTE Refer to IEC 61158-4-22 for further information about DelayMeasurement sequence 5.5.2 DL-DelayMeasurement read service (DMR) With the DMR service as specified in Table 16 a root device in a Type 22 network shall read the propagation delay measurement results Table 16 – DL-DelayMeasurement read service (DMR) Parameter name Delay Request Indication Response Confirmation input output input output M M (=) NOTE The method by which a confirm primitive is correlated with its corresponding preceding request primitive is a local matter The method by which a response primitive is correlated with its corresponding preceding indication primitive is a local matter See 1.2 BS EN 61158-3-22:2014 IEC 61158-3-22:2014 © IEC 2014 – 33 – Parameter description Delay This parameter shall contain the delay measurement result NOTE 5.5.3 Refer to IEC 61158-4-22 for further information about DelayMeasurement sequence DL-PCS configuration service (PCSC) With the PCSC service as specified in Table 17 a root device in a Type 22 network configures the participating devices according to the delay measurement results Table 17 – DL-PCS configuration service (PCSC) Parameter name Clock configuration Request Indication input output M M (=) Parameter description Clock configuration This parameter contains the configuration data for clock adjustment 5.5.4 DL-Sync master configuration service (SYNC_MC) DL-users which act as synchronization master (SYNC master) shall use the local SYNC_MC service as specified in Table 18 for configuration Table 18 – DL-Sync master configuration service (SYNC_MC) Request Parameter name input Sync ID M Start time M Cycle time M Parameter description Sync ID This parameter contains the network wide unique ID for the configured sync interrupt Start time This parameter shall contain the absolute start time for the indication of sync interrupt signals in the SYNC master Cycle time This parameter shall contain the cycle time of sync interrupt indication 5.5.5 DL-Sync start service (SYNC_START) DL-users which act as synchronization slaves (SYNC slave) shall request information for configuration and activation purposes using the SYNC start service With the SYNC_START service as specified in Table 19 a Type 22 device shall request configuration information from BS EN 61158-3-22:2014 IEC 61158-3-22:2014 © IEC 2014 – 34 – the corresponding synchronization master and start the indication of sync interrupt signals to the DL-user Table 19 – DL-Sync start service (SYNC_START) Request Indication Response Confirmation input output input output M M (=) M (=) M (=) Start time M M (=) Cycle time M M (=) Parameter name Sync ID NOTE The method by which a confirm primitive is correlated with its corresponding preceding request primitive is a local matter The method by which a response primitive is correlated with its corresponding preceding indication primitive is a local matter See 1.2 Parameter description Sync ID This parameter contains the network wide unique ID for the requested sync interrupt Start time This parameter shall contain the absolute start time of sync interrupt signal indications in the SYNC master Cycle time This parameter shall contain the cycle time of sync interrupt indication 5.5.6 DL-Sync stop service (SYNC_STOP) With the SYNC_STOP service as specified in Table 20 a DL-user shall stop the indication of sync interrupt signals to the DL-user Table 20 – DL-Sync stop service (SYNC_STOP) Parameter name Sync ID Request Indication input output M M (=) Parameter description Sync ID This parameter indicates the network wide unique ID for the sync interrupt 5.6 5.6.1 Media independent interface (MII) management services Overview The MII management contains a set of optional services With these MII services registers within the MII can be manipulated 5.6.2 DL-MII read service (MIIR) With the local MIIR service as specified in Table 21 information from the MII can be read by the DL-user BS EN 61158-3-22:2014 IEC 61158-3-22:2014 © IEC 2014 – 35 – Table 21 – DL-MII read service (MIIR) Parameter name Address register Request Confirmation input output M Data M Parameter description Address register This parameter indicates the address of the PHY register which is accessed by the read operation Data This parameter contains the information of the read PHY register 5.6.3 DL-MII write service (MIIW) With the local MIIW service as specified in Table 22 information can be written to the MII by the DL-user Table 22 – DL-MII write service (MIIW) Request Parameter name input Address register M Data M Parameter description Address register This parameter indicates the address of the PHY register which is accessed by the write operation Data This parameter contains the information to be written to the PHY register – 36 – BS EN 61158-3-22:2014 IEC 61158-3-22:2014 © IEC 2014 Bibliography IEC 61158-4-22, Industrial communication networks – Fieldbus specifications – Part 4-22: Data-link layer protocol specification – Type 22 elements IEC 61784-1, Industrial communication networks – Profiles – Part 1: Fieldbus profiles IEC 61784-2, Industrial communication networks – Profiles – Part 2: Additional fieldbus profiles for real-time networks based on ISO/IEC 8802-3 _ This page deliberately left blank NO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAW British Standards Institution (BSI) BSI is the national body responsible for preparing British Standards and other standards-related publications, information and services BSI is incorporated by Royal Charter British Standards and other standardization products are published by BSI Standards Limited About us Revisions We bring together business, industry, government, consumers, innovators and others to shape their combined experience and expertise into standards -based solutions Our British Standards and other publications are updated by amendment or revision The knowledge embodied in our standards has been carefully assembled in a dependable format and refined through our open consultation process Organizations of all sizes and across all sectors choose standards to help them achieve their goals Information on standards We can provide you with the knowledge that your organization needs to succeed Find out more about British Standards by visiting our website at bsigroup.com/standards or contacting our Customer Services team or Knowledge Centre Buying standards You can buy and download PDF versions of BSI publications, including British and adopted European and international standards, through our website at bsigroup.com/shop, where hard copies can also be purchased If you need international and foreign standards from other Standards Development Organizations, hard copies can be ordered from our Customer Services team Subscriptions Our range of subscription services are designed to make using standards easier for you For further information on our subscription products go to bsigroup.com/subscriptions With British Standards Online (BSOL) you’ll have instant access to over 55,000 British and adopted European and international standards from your desktop It’s available 24/7 and is refreshed daily so you’ll always be up to date You can keep in touch with standards developments and receive substantial discounts on the purchase price of standards, both in single copy and subscription format, by becoming a BSI Subscribing Member PLUS is an updating service exclusive to BSI Subscribing Members You will automatically receive the latest hard copy of your standards when they’re revised or replaced To find out more about becoming a BSI Subscribing Member and the benefits of membership, please visit bsigroup.com/shop With a Multi-User Network Licence (MUNL) you are able to host standards publications on your intranet Licences can cover as few or as many users as you wish With updates supplied as soon as they’re available, you can be sure your documentation is current For further information, email bsmusales@bsigroup.com BSI Group Headquarters 389 Chiswick High Road London W4 4AL UK We continually improve the quality of our products and services to benefit your business If you find an inaccuracy or ambiguity within a British Standard or other BSI publication please inform the Knowledge Centre Copyright All the data, software and documentation set out in all British Standards and other BSI publications are the property of and copyrighted by BSI, or some person or entity that owns copyright in the information used (such as the international standardization bodies) and has formally licensed such information to BSI for commercial publication and use Except as permitted under the Copyright, Designs and Patents Act 1988 no extract may be reproduced, stored in a retrieval system or transmitted in any form or by any means – electronic, photocopying, recording or otherwise – without prior written permission from BSI Details and advice can be obtained from the Copyright & Licensing Department Useful Contacts: Customer Services Tel: +44 845 086 9001 Email (orders): orders@bsigroup.com Email (enquiries): cservices@bsigroup.com Subscriptions Tel: +44 845 086 9001 Email: subscriptions@bsigroup.com Knowledge Centre Tel: +44 20 8996 7004 Email: knowledgecentre@bsigroup.com Copyright & Licensing Tel: +44 20 8996 7070 Email: copyright@bsigroup.com