1、BSI Standards PublicationIndustrial communication networks Fieldbus specificationsPart 6-5: Application layer protocol specification Type 5 elementsBS EN 61158-6-5:2014National forewordThis British Standard is the UK implementation of EN 61158-6-5:2014. It is identical to IEC 61158-6-5:2014. It supe
2、rsedes BS EN 61158-6-5:2008 which is withdrawn.The UK participation in its preparation was entrusted to Technical Com-mittee AMT/7, Industrial communications: process measurement andcontrol, including fieldbus.A list of organizations represented on this committee can be obtained onrequest to its sec
3、retary.This publication does not purport to include all the necessary provisions ofa contract. Users are responsible for its correct application. The British Standards Institution 2014.Published by BSI Standards Limited 2014ISBN 978 0 580 79471 1ICS 25.040.40; 35.100.70; 35.110Compliance with a Brit
4、ish Standard cannot confer immunity fromlegal obligations.This British Standard was published under the authority of theStandards Policy and Strategy Committee on 30 November 2014.Amendments issued since publicationDate Text affectedBRITISH STANDARDBS EN 61158-6-5:2014EUROPEAN STANDARD NORME EUROPEN
5、NE EUROPISCHE NORM EN 61158-6-5 October 2014 ICS 25.040.40; 35.100.70; 35.110 Supersedes EN 61158-6-5:2008 English Version Industrial communication networks - Fieldbus specifications - Part 6-5: Application layer protocol specification - Type 5 elements (IEC 61158-6-5:2014) Rseaux de communication i
6、ndustriels - Spcifications des bus de terrain - Partie 6-5: Spcification du protocole de la couche application - lments de type 5 (CEI 61158-6-5:2014) Industrielle Kommunikationsnetze - Feldbusse - Teil 6-5: Protokollspezifikation des Application Layer (Anwendungsschicht) - Typ 5-Elemente (IEC 61158
7、-6-5:2014) This European Standard was approved by CENELEC on 2014-09-23. 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 bibli
8、ographical 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 res
9、ponsibility 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, Fin
10、land, 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 Elec
11、trotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr 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.
12、Ref. No. EN 61158-6-5:2014 E BS EN 61158-6-5:2014EN 61158-6-5:2014 - 2 - Foreword The text of document 65C/764/FDIS, future edition 2 of IEC 61158-6-5, prepared by SC 65C “Industrial networks“ of IEC/TC 65 “Industrial-process measurement, control and automation“ was submitted to the IEC-CENELEC para
13、llel vote and approved by CENELEC as EN 61158-6-5: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-23 latest date by which the national standards conflicting
14、 with the document have to be withdrawn (dow) 2017-09-23 This document supersedes EN 61158-6-5:2008. 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
15、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-6-5:2014 was approved by CENELEC as a European Standard without any modification. In
16、 the official version, for Bibliography, the following notes have to be added for the standards indicated: IEC 61158-3-1 NOTE Harmonized as EN 61158-3-1. IEC 61158-4-1 NOTE Harmonized as EN 61158-4-1. IEC 61784-1 NOTE Harmonized as EN 61784-1. IEC 61784-2 NOTE Harmonized as EN 61784-2. BS EN 61158-6
17、-5:2014- 3 - EN 61158-6-5:2014 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 referen
18、ces, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. NOTE 1 When an International Publication has been modified by common modifications, indicated by (mod), the relevant EN/HD applies. NOTE 2 Up-to-date informa
19、tion on the latest versions of the European Standards listed in this annex is available here: www.cenelec.eu. Publication Year Title EN/HD Year IEC 61158-1 - Industrial communication networks - Fieldbus specifications - Part 1: Overview and guidance for the IEC 61158 and IEC 61784 series EN 61158-1
20、- IEC 61158-5-5 - Industrial communication networks - Fieldbus specifications - Part 5-5: Application layer service definition - Type 5 elements EN 61158-5-5 - ISO/IEC 7498-1 - Information technology - Open Systems Interconnection - Basic Reference Model: The Basic Model - - ISO/IEC 8825 1990 Inform
21、ation technology - Open Systems Interconnection - Specification of Basic Encoding Rules for Abstract Syntax Notation One (ASN.1) - - ISO/IEC 9545 - Information technology - Open Systems Interconnection - Application layer structure - - ISO/IEC 10731 - Information technology - Open Systems Interconne
22、ction - Basic Reference Model - Conventions for the definition of OSI services - - IETF RFC 791 - Internet Protocol - - BS EN 61158-6-5:2014 2 IEC 61158-6-5:2014 IEC 2014 CONTENTS INTRODUCTION . 9 1 Scope . 10 General . 10 1.1Specifications 11 1.2Conformance . 11 1.32 Normative references . 11 3 Ter
23、ms, definitions, symbols, abbreviations and conventions . 12 Terms and definitions from other ISO/IEC standards . 12 3.1IEC 61158-1 terms 13 3.2Abbreviations and symbols 16 3.3Conventions 17 3.4Conventions used in state machines . 18 3.54 Protocol 19 Overview . 19 4.1FAL syntax description 19 4.2Tra
24、nsfer syntax . 19 4.3FAL protocol state machine structure 71 4.4SMK state machine . 71 4.5VCR state machine 88 4.6FAL service protocol machine (FSPM) . 89 4.7Application relationship protocol machines (ARPMs) . 89 4.8DLL mapping protocol machine (DMPM) 103 4.9Bibliography 108 Figure 1 State transiti
25、on diagram for SMK 73 Figure 2 State transition diagram of client / server ARPM 92 Figure 3 State transition diagram of the publisher / subscriber ARPM 98 Figure 4 State transition diagram of DMPM 104 Table 1 Conventions used for state machines 18 Table 2 Data types . 20 Table 3 Data types . 20 Tabl
26、e 4 APDU header format . 21 Table 5 FDA address use . 22 Table 6 FDA address header field APDUs sent by a client VCR endpoint . 23 Table 7 FDA address header field APDUs sent by a server VCR endpoint . 24 Table 8 FDA address header field APDUs sent by a publisher VCR endpoint . 24 Table 9 FDA addres
27、s header field APDUs sent by a report source VCR endpoint 25 Table 10 APDU trailer fields . 25 Table 11 Request APDU parameters 28 Table 12 SMK FDA address values 30 Table 13 SMK FDA address values 30 BS EN 61158-6-5:2014IEC 61158-6-5:2014 IEC 2014 3 Table 14 Request APDU parameters 31 Table 15 SMK
28、FDA address values for SM identify 32 Table 16 SMK FDA address values for SMK set assignment info request APDUs 33 Table 17 SMK clear address request APDU parameters. 33 Table 18 SMK FDA address values for SMK set assignment info request APDUs 33 Table 19 SMK set assignment info request APDU paramet
29、ers . 34 Table 20 SMK set assignment info response APDU parameters . 35 Table 21 SMK FDA address values for SMK device clear assignment Info APDUs . 36 Table 22 SMK clear assignment info request APDU parameters 36 Table 23 SMK FDA address values for SMK device annunciation request APDUs 36 Table 24
30、SMK device annunciation request APDU parameters . 37 Table 25 Initiate request APDU parameters . 39 Table 26 Initiate response APDU parameters . 40 Table 27 Abort request APDU parameters . 40 Table 28 Get response APDU parameters 40 Table 29 Identify response APDU parameters 41 Table 30 Get OD reque
31、st APDU parameters 41 Table 31 Get OD response APDU parameters 41 Table 32 Initiate put OD request APDU parameters . 42 Table 33 Put OD request APDU parameters. 42 Table 34 Generic initiate download sequence request APDU parameters . 43 Table 35 Generic download segment request APDU parameters 43 Ta
32、ble 36 Generic terminate download sequence request APDU parameters 44 Table 37 Response APDU parameters . 44 Table 38 Initiate download sequence request APDU parameters 44 Table 39 Download segment request APDU parameters 45 Table 40 Download segment response APDU parameters 45 Table 41 Terminate do
33、wnload sequence request APDU parameters 45 Table 42 Initiate upload sequence request APDU parameters 46 Table 43 Upload segment request APDU parameters . 46 Table 44 Upload segment response APDU parameters 47 Table 45 Terminate upload sequence request APDU parameters . 47 Table 46 Request domain dow
34、nload request APDU parameters . 47 Table 47 Request domain upload request APDU parameters . 48 Table 48 Create program invocation request APDU parameters . 48 Table 49 Create program invocation response APDU parameters 49 Table 50 Delete program invocation request APDU parameters . 49 Table 51 Start
35、 request APDU parameters 49 Table 52 Stop request APDU parameters . 50 Table 53 Resume request APDU parameters . 50 Table 54 Reset request APDU parameters . 50 Table 55 Kill request APDU parameters . 51 Table 56 Read request APDU parameters 51 BS EN 61158-6-5:2014 4 IEC 61158-6-5:2014 IEC 2014 Table
36、 57 Read response APDU parameters . 51 Table 58 Read with subindex request APDU parameters 52 Table 59 Read with subindex response APDU parameters . 52 Table 60 Write request APDU parameters 52 Table 61 Write with subindex request APDU parameters 52 Table 62 Define variable list request APDU paramet
37、ers . 53 Table 63 Define variable list response APDU parameters 53 Table 64 Delete variable list request APDU parameters . 53 Table 65 Information report request APDU parameters 54 Table 66 Information report with subindex request APDU parameters 54 Table 67 Information report on change request APDU
38、 parameters . 54 Table 68 Information report on change with subindex request APDU parameters . 55 Table 69 Event notification request APDU parameters . 55 Table 70 Alter event condition monitoring request APDU parameters . 55 Table 71 Acknowledge event notification request APDU parameters 56 Table 7
39、2 LAN redundancy diagnostic message request APDU parameters 56 Table 73 LAN redundancy get information response APDU parameters . 58 Table 74 LAN redundancy get statistics request APDU parameters 59 Table 75 Object description header 61 Table 76 Null object . 61 Table 77 Structure of the list of obj
40、ect descriptions 62 Table 78 Structure of a load region in the S-OD . 62 Table 79 Structure of a function invocation in the DP-OD . 63 Table 80 Structure of an event in the S-OD 64 Table 81 Structure of a data type in the ST-OD 64 Table 82 Structure of a data type structure description in the ST-OD
41、. 65 Table 83 Structure of a simple variable in the S-OD . 65 Table 84 Structure of an array in the S-OD 66 Table 85 Structure of a record in the S-OD 66 Table 86 Structure of a variable list in the DV-OD 67 Table 87 Common error parameters . 68 Table 88 PI error parameters . 68 Table 89 OD error pa
42、rameters . 68 Table 90 Error class and error code values 69 Table 91 SMKPM service primitives . 72 Table 92 SMKPM states . 73 Table 93 SMKPM state table initialization . 73 Table 94 SMKPM state table receive transitions 74 Table 95 SMKPM state table internal events . 79 Table 96 HseRepeatTimerExpire
43、s () 80 Table 97 RcvNewNetworkAddress (interface, address) 80 Table 98 RcvMsg () 80 Table 99 SntpSyncLost () . 80 BS EN 61158-6-5:2014IEC 61158-6-5:2014 IEC 2014 5 Table 100 AddressToClear (sm_svc) . 81 Table 101 AssignmentInfo_Set () . 81 Table 102 ConfigurationSessionActive () . 81 Table 103 Devic
44、eRedundancyState () 81 Table 104 DevId_Match (sm_svc) 82 Table 105 DuplicateQueryIdMatch (sm_svc) 82 Table 106 DuplicatePdTagDetected () 82 Table 107 FdaAddressType (sm_svc) 82 Table 108 IsValid (sm_svc) 83 Table 109 NetworkAddressChange (interface, address) . 83 Table 110 NumberOfAssignedAddresses
45、() 83 Table 111 OperationalRestore () 83 Table 112 PdTag_Match (sm_svc) . 83 Table 113 PdTagDeviceIndex_Check (sm_svc) 84 Table 114 Query_Match (sm_svc) 84 Table 115 QueryType (sm_svc) . 84 Table 116 SmCacheEntry (sm_svc) . 84 Table 117 Clear_Address (interface_to_clear) . 85 Table 118 Clear_Duplica
46、tePdTagFlag () 85 Table 119 Get_AddlCode () . 85 Table 120 New_Address (interface, address) . 85 Table 121 Restart_HseRepeatTimer () . 86 Table 122 Restore_Defaults () . 86 Table 123 Send_SM_CommonErrorRsp (sm_service_type, svc_spec_params) 86 Table 124 Send_SM_ReqRspMessage (sm_svc) . 86 Table 125
47、Set_Assignment_Data (sm_svc) 86 Table 126 Set_DuplicatePdTagFlag () 87 Table 127 SvcType (sm_svc) . 87 Table 128 Additional code used by error class and code 87 Table 129 Additional code parameter IDs . 87 Table 130 Primitives issued by FSPM to ARPM . 89 Table 131 Primitives issued by ARPM to FSPM .
48、 90 Table 132 Parameters used with primitives exchanged between FSPM and ARPM 90 Table 133 Client / Server ARPM states 92 Table 134 Client / server ARPM state table sender transitions 93 Table 135 Client / server ARPM state table receiver transitions 94 Table 136 Primitives issued by FSPM to ARPM . 96 Table 137 Primitives issued by ARPM to FSPM . 96 Table 138 Parameters used with primitives exchanged between FSPM and ARPM 97 Table 139 Publisher / subscriber ARPM states . 98 Table 140 MulticastARPM state table sender transi
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1