1、BRITISH STANDARDBS EN 61158-5-7:2008Industrial communication networks Fieldbus specifications Part 5-7: Application layer service definition Type 7 elementsICS 25.040.40; 35.100.70g49g50g3g38g50g51g60g44g49g42g3g58g44g55g43g50g56g55g3g37g54g44g3g51g40g53g48g44g54g54g44g50g49g3g40g59g38g40g51g55g3g36
2、g54g3g51g40g53g48g44g55g55g40g39g3g37g60g3g38g50g51g60g53g44g42g43g55g3g47g36g58BS EN 61158-5-7:2008This British Standard was published under the authority of the Standards Policy and Strategy Committee on 30 June 2008 BSI 2008ISBN 978 0 580 61592 4National forewordThis British Standard is the UK im
3、plementation of EN 61158-5-7:2008. It is identical with IEC 61158-5-7:2007. Together with all of the other sections of BS EN 61158-5, it supersedes BS EN 61158-5:2004 which is withdrawn. The UK participation in its preparation was entrusted to Technical Committee AMT/7, Industrial communications Pro
4、cess 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. Compliance
5、with a British Standard cannot confer immunity from legal obligations. Amendments/corrigenda issued since publicationDate CommentsEUROPEAN STANDARD EN 61158-5-7 NORME EUROPENNE EUROPISCHE NORM March 2008 CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalisation E
6、lectrotechnique Europisches Komitee fr 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-5-7:2008 E ICS 35.100.70; 25.040.40 Partially s
7、upersedes EN 61158-5:2004English version Industrial communication networks - Fieldbus specifications - Part 5-7: Application layer service definition - Type 7 elements (IEC 61158-5-7:2007) Rseaux de communication industriels - Spcifications des bus de terrain - Partie 5-7: Dfinition des services des
8、 couches dapplication - Elments de type 7 (CEI 61158-5-7:2007) Industrielle Kommunikationsnetze - Feldbusse - Teil 5-7: Dienstfestlegungen des Application Layer (Anwendungsschicht) - Typ 7-Elemente (IEC 61158-5-7:2007) This European Standard was approved by CENELEC on 2008-02-01. CENELEC members are
9、 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 t
10、he 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
11、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, N
12、orway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland and the United Kingdom. Foreword The text of document 65C/475/FDIS, future edition 1 of IEC 61158-5-7, prepared by SC 65C, Industrial networks, of IEC TC 65, Industrial-process measurement, control and automation, was s
13、ubmitted to the IEC-CENELEC parallel vote and was approved by CENELEC as EN 61158-5-7 on 2008-02-01. This and the other parts of the EN 61158-5 series supersede EN 61158-5:2004. With respect to EN 61158-5:2004 the following changes were made: deletion of Type 6 fieldbus for lack of market relevance;
14、 addition of new fieldbus types; partition into multiple parts numbered 5-2, 5-3, , 5-20. 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 n
15、ational 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 r
16、ights 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 intellectu
17、al-property-right holders. Annex ZA has been added by CENELEC. _ Endorsement notice The text of the International Standard IEC 61158-5-7:2007 was approved by CENELEC as a European Standard without any modification. _ BS EN 61158-5-7:2008 2 CONTENTS 1HINTRODUCTION.2H8 1 Scope.3H 9 1.1 Overview .4H 9
18、1.2 Specifications 5H10 1.3 Conformance. 6H10 2 Normative references . 7H10 3 Terms, definitions, symbols, abbreviations and conventions . 8H11 3.1 ISO/IEC 7498-1 terms . 9H11 3.2 ISO/IEC 8822 terms 10H11 3.3 ISO/IEC 9545 terms 11H11 3.4 ISO/IEC 8824 terms 12H11 3.5 Fieldbus data-link layer terms 13
19、H11 3.6 Fieldbus application layer specific definitions 14H13 3.7 Abbreviations and symbols 15H20 3.8 Conventions 16H21 4 Concepts 17H25 5 Data type ASE 18H25 5.1 Overview . 19H25 5.2 Formal definition of data type objects 20H25 5.3 FAL defined data types 21H25 6 Communication model specification 22
20、H27 6.1 Concepts. 23H27 6.2 ASEs. 24H44 6.3 ARs. 25H214 Bibliography 26H235 Figure 1 Organisation of the ASEs and ARs. 27H28 Figure 2 Object model of the MPS ASE 28H48 Figure 3 Time-out evaluation net 29H60 Figure 4 Asynchronous promptness status evaluation net 30H64 Figure 5 Synchronous promptness
21、status evaluation net 31H65 Figure 6 Punctual promptness status evaluation net 32H67 Figure 7 Asynchronous refreshment status evaluation net 33H70 Figure 8 Synchronous refreshment status evaluation net . 34H71 Figure 9 Punctual refreshment status evaluation net 35H73 Figure 10 A_Readloc service proc
22、edure. 36H76 Figure 11 A_Writeloc service procedure. 37H78 Figure 12 A_Update service procedure 38H80 Figure 13 A_Readfar service procedure . 39H82 Figure 14 A_Writefar service procedure . 40H84 Figure 15 A_Sent service procedure 41H85 Figure 16 A_Received service procedure. 42H86 Figure 17 A_Read s
23、ervice procedure . 43H88 BS EN 61158-5-7:2008 3 Annex ZA (normative) Normative references to international publications with theircorresponding European publications236Figure 18 A_Read service state machine . 44H89 Figure 19 A_Write service procedure . 45H90 Figure 20 A_Write service state machine .
24、 46H91 Figure 21 Model of a resynchronised variable 47H94 Figure 22 Principles for resynchronisation of a produced variable 48H95 Figure 23 Resynchronisation mechanism state machine for a produced variable 49H97 Figure 24 Asynchronous refreshment private mechanism evaluation net 50H98 Figure 25 Asyn
25、chronous refreshment public mechanism evaluation net .9959 Figure 26 Synchronous refreshment private mechanism evaluation net 52H100 Figure 27 Synchronous refreshment public mechanism evaluation net . 53H101 Figure 28 Punctual refreshment private mechanism evaluation net 54H102 Figure 29 Punctual re
26、freshment public mechanism evaluation net 55H103 Figure 30 Principles for the resynchronisation of a consumed variable. 56H104 Figure 31 Resynchronisation mechanism state machine for consumed variable . 57H106 Figure 32 Asynchronous promptness public mechanism evaluation net 58H107 Figure 33 Asynchr
27、onous promptness private mechanism evaluation net 59H108 Figure 34 Synchronous promptness public mechanism evaluation net . 60H109 Figure 35 Synchronous promptness private mechanism evaluation net 61H110 Figure 36 Punctual promptness public mechanism evaluation net 62H112 Figure 37 Punctual promptne
28、ss private mechanism evaluation net. 63H113 Figure 38 Spatial consistency list variables interchange mechanism 64H115 Figure 39 Spatial consistency consistency variable interchange mechanism . 65H116 Figure 40 Spatial consistency list recovery mechanism . 66H116 Figure 41 Spatial consistency validit
29、y of the spatial consistency status . 67H117 Figure 42 Object model of a variable list 68H117 Figure 43 A_Readlist service procedure. 69H123 Figure 44 Consistency variable value evaluation net 70H129 Figure 45 Consistency interchange timing diagram 71H130 Figure 46 Recovery mechanism evaluation net
30、72H131 Figure 47 Recovery interchange timing diagram. 73H131 Figure 48 Flowchart of the sub-MMS environment management state 74H137 Figure 49 Domain management state chart 75H168 Figure 50 Domain upload flowchart 76H170 Figure 51 Domain download sequence diagram . 77H171 Figure 52 Domain upload sequ
31、ence diagram . 78H171 Figure 53 Program invocation state chart. 79H184 Figure 54 A_Associate service procedure 80H223 Figure 55 A_Release service procedure. 81H226 Figure 56 A_Abort service procedure . 82H227 Figure 57 A_Data service procedure 83H229 Figure 58 A_Unidata service procedure . 84H232 Fi
32、gure 59 Associated mode service state chart 85H233 Figure 60 Non-associated mode service state chart . 86H234 BS EN 61158-5-7:2008 4 Table 1 Binary time coding. 87H26 Table 2 Access protection 88H43 Table 3 Binary time coding. 89H59 Table 4 Asynchronous promptness events and actions 90H64 Table 5 Sy
33、nchronous promptness events and actions 91H65 Table 6 Punctual promptness events and actions. 92H67 Table 7 Asynchronous refreshment events and actions 93H70 Table 8 Synchronous refreshment events and actions 94H71 Table 9 Punctual refreshment events and actions 95H74 Table 10 A_Readloc service para
34、meters 96H75 Table 11 A_Writeloc service parameters 97H77 Table 12 A_Update service parameters . 98H79 Table 13 A_Readfar service parameters 99H81 Table 14 A_Writefar service parameters 100H83 Table 15 A_Sent service parameters . 101H85 Table 16 A_Received service parameters 102H86 Table 17 A_Read s
35、ervice parameters 103H87 Table 18 A_Write service parameters 104H89 Table 19 Asynchronous refreshment private mechanism events and actions 105H98 Table 20 Asynchronous refreshment public mechanism events and actions .106H 99 Table 21 Synchronous refreshment private mechanism events and actions 107H1
36、00 Table 22 Synchronous refreshment public mechanism events and actions . 108H101 Table 23 Punctual refreshment private mechanism events and actions 109H103 Table 24 Punctual refreshment public mechanism events and actions 110H104 Table 25 Asynchronous promptness public mechanism events and actions
37、111H107 Table 26 Asynchronous promptness private mechanism events and actions 112H108 Table 27 Synchronous promptness public mechanism events and actions . 113H109 Table 28 Synchronous promptness privatemechanism events and actions . 114H111 Table 29 Punctual promptness public mechanism events and a
38、ctions 115H112 Table 30 Punctual promptness privatemechanism events and actions 116H113 Table 31 A_Readlist service parameters 117H122 Table 32 Confirmed initiate service parameters 118H142 Table 33 Detailed structure of the extension calling parameter 119H143 Table 34 Detailed structure of the init
39、 request detail parameter 120H144 Table 35 Detailed structure of the extension called parameter . 121H145 Table 36 Detailed structure of the init request detail parameter 122H146 Table 37 Conclude service parameter 123H147 Table 38 Unconfirmed abort service parameters 124H149 Table 39 Unconfirmed re
40、ject service parameters 125H150 Table 40 Confirmed status service parameters 126H152 Table 41 Unconfirmed unsollicited status service parameter 127H153 Table 42 Confirmed identify service parameters. 128H153 BS EN 61158-5-7:2008 5 Table 43 Confirmed get name list service paramaters 129H154 Table 44
41、Access group attribute description for domain object. 130H157 Table 45 Access rights attribute description for domain object . 131H157 Table 46 Confirmed delete domain service parameters 132H158 Table 47 Confirmed initate download sequence service parameters. 133H159 Table 48 Confirmed download segm
42、ent service parameters. 134H160 Table 49 Confirmed terminate download sequence service parameters 135H161 Table 50 Confirmed initiate upload sequence service parameters 136H163 Table 51 Confirmed upload segment service parameters . 137H164 Table 52 Confirmed terminate upload sequence service paramet
43、ers 138H165 Table 53 Confirmed get domain attributes service parameters . 139H166 Table 54 Access group attribute details for program invocation object . 140H173 Table 55 Access rights attribute details for program invocation object 141H174 Table 56 Confirmed create program invocation service parame
44、ters 142H175 Table 57 Confirmed delete program invocation service parameters 143H177 Table 58 Confirmed start service parameters. 144H178 Table 59 Confirmed stop service parameters . 145H179 Table 60 Confirmed resume service parameters 146H180 Table 61 Confirmed reset service parameters 147H181 Tabl
45、e 62 Confirmed kill service parameters 148H182 Table 63 Access group attribute details for variable object. 149H186 Table 64 Access rights attribute details for variable object . 150H187 Table 65 Access group attribute details for variable list object . 151H188 Table 66 Access right attribute detail
46、s for variable list objects . 152H188 Table 67 Confirmed read service parameters. 153H189 Table 68 Confirmed write service parameters 154H191 Table 69 Unconfirmed information report service parameters. 155H192 Table 70 Confirmed define variable-list service parameters . 156H193 Table 71 Confirmed de
47、lete variable-list service parameters . 157H195 Table 72 Confirmed get variable access attributes service parameters 158H196 Table 73 Confirmed get variable-list attributes service parameters. 159H197 Table 74 Data type specification 160H199 Table 75 Variable access specification 161H200 Table 76 Va
48、riable access description attribute details 162H200 Table 77 Path selection parameters. 163H201 Table 78 Access group attribute detail for event object 164H204 Table 79 Access rights attribute details for event object. 165H205 Table 80 Unconfirmed event notification service parameters 166H206 Table 81 Event type parameter details . 167H206 Table 82 Confirmed acknowledged event notification service parameter 168H208 Table 83 Confirmed alter event condition monitoring service parameters . 169H209 Table 84 Confirmed get alarm summary service pa