《IEC-61158-6-3-2007.pdf》由会员分享,可在线阅读,更多相关《IEC-61158-6-3-2007.pdf(384页珍藏版)》请在三一文库上搜索。
1、 IEC 61158-6-3 Edition 1.0 2007-12 INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Part 6-3: Application layer protocol specification Type 3 elements IEC 61158-6-3:2007(E) Copyright International Electrotechnical Commission Provided by IHS under license with IECLicen
2、see=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:32:16 MSTNo reproduction or networking permitted without license from IHS -,-,- THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2007 IEC, Geneva, Switzerland All rights reserved. Unless otherwise specified, no part of this
3、 publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either IEC or IECs member National Committee in the country of the requester. If you have any questions about IEC copyright or ha
4、ve an enquiry about obtaining additional rights to this publication, please contact the address below or your local IEC member National Committee for further information. IEC Central Office 3, rue de Varemb CH-1211 Geneva 20 Switzerland Email: inmailiec.ch Web: www.iec.ch About the IEC The Internati
5、onal Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes International Standards for all electrical, electronic and related technologies. About IEC publications The technical content of IEC publications is kept under constant review by the IEC. Please mak
6、e sure that you have the latest edition, a corrigenda or an amendment might have been published. ? Catalogue of IEC publications: www.iec.ch/searchpub The IEC on-line Catalogue enables you to search by a variety of criteria (reference number, text, technical committee,). It also gives information on
7、 projects, withdrawn and replaced publications. ? IEC Just Published: www.iec.ch/online_news/justpub Stay up to date on all new IEC publications. Just Published details twice a month all new publications released. Available on-line and also by email. ? Electropedia: www.electropedia.org The worlds l
8、eading online dictionary of electronic and electrical terms containing more than 20 000 terms and definitions in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical Vocabulary online. ? Customer Service Centre: www.iec.ch/webstore/custs
9、erv If you wish to give us your feedback on this publication or need further assistance, please visit the Customer Service Centre FAQ or contact us: Email: csciec.ch Tel.: +41 22 919 02 11 Fax: +41 22 919 03 00 Copyright International Electrotechnical Commission Provided by IHS under license with IE
10、CLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:32:16 MSTNo reproduction or networking permitted without license from IHS -,-,- IEC 61158-6-3 Edition 1.0 2007-12 INTERNATIONAL STANDARD Industrial communication networks Fieldbus specifications Part 6-3: Application l
11、ayer protocol specification Type 3 elements INTERNATIONAL ELECTROTECHNICAL COMMISSION XN ICS 35.100.70; 25.040.40 PRICE CODE ISBN 2-8318-9475-1 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale,
12、 01/01/2008 21:32:16 MSTNo reproduction or networking permitted without license from IHS -,-,- 2 61158-6-3 IEC:2007(E) CONTENTS FOREWORD.8 INTRODUCTION.10 1 Scope.11 1.1 General .11 1.2 Specifications12 1.3 Conformance.12 2 Normative references12 3 Terms, definitions, abbreviations, symbols and conv
13、entions 13 3.1 Referenced terms and definitions.13 3.2 Additional definitions14 3.3 Abbreviations and symbols 17 3.4 Conventions 19 3.5 Conventions used in state machines 21 4 FAL syntax description24 4.1 APDU abstract syntax24 4.2 Data types.28 5 Transfer syntax.30 5.1 Coding of basic data types.30
14、 5.2 Coding section related to data exchange PDUs33 5.3 Coding section related to slave diagnosis PDUs.33 5.4 Coding section related to parameterisation PDU 44 5.5 Coding section related to configurationPDUs50 5.6 Coding section related to global control PDUs54 5.7 Coding section related to clock-va
15、lue-PDUs.55 5.8 Coding section related to function identification and errors .56 5.9 Coding section related to master diagnosis PDU 60 5.10 Coding section related to upload/download/act para PDUs .62 5.11 Coding section related to the bus parameter set.64 5.12 Coding section related to the slave par
16、ameter set 66 5.13 Coding section related to statistic counters 70 5.14 Coding section related to set slave address PDU .70 5.15 Coding section related to initiate/abort PDUs .70 5.16 Coding section related to read/write/data transport PDUs.74 5.17 Coding section related to load region and function
17、invocation PDUs .74 5.18 Examples of diagnosis-RES-PDUs.77 5.19 Example of Chk_Cfg-REQ-PDU .79 5.20 Examples of Chk_Cfg-REQ-PDUs with DPV1 data types80 5.21 Example structure of the Data_Unit for Data_Exchange .81 6 FAL protocol state machines.83 6.1 Overall structure83 6.2 Assignment of state machi
18、nes to devices.84 6.3 Overview DP-slave 85 6.4 Overview DP-master (class 1)87 6.5 Overview DP-master (class 2)88 6.6 Cyclic communication between DP-master (class 1) and DP-slave .89 6.7 Acyclic communication between DP-master (class 2) and DP-master (class 1) .90 6.8 Acyclic communication between D
19、P-master (class 1) and DP-slave92 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:32:16 MSTNo reproduction or networking permitted without license from IHS -,-,- 61158-6-3 IEC:2
20、007(E) 3 6.9 Application relationship monitoring.94 7 AP-context state machine .99 8 FAL service protocol machines (FSPMs).99 8.1 FSPMS99 8.2 FSPMM1 .134 8.3 FSPMM2 .170 9 Application relationship protocol machines (ARPMs) .189 9.1 MSCY1S189 9.2 MSAC1S221 9.3 SSCY1S 234 9.4 MSRM2S.238 9.5 MSAC2S243
21、9.6 MSCS1S260 9.7 MSCY1M .262 9.8 MSAL1M282 9.9 MSAC1M.291 9.10 MMAC1 .304 9.11 MSCS1M.311 9.12 MSAC2M.316 9.13 MMAC2 .332 10 DLL mapping protocol machines (DMPMs)339 10.1 DMPMS.339 10.2 DMPMM1 353 10.3 DMPMM2 370 11 Parameters for a DP-slave379 Bibliography380 Figure 1 Common structure of specific
22、fields 20 Figure 2 Coding of the data type BinaryDate.31 Figure 3 Encoding of TimeOfDay value.31 Figure 4 Encoding of Time Difference value32 Figure 5 Encoding of Network Time value.32 Figure 6 Encoding of Network Time Difference value 33 Figure 7 Example Modul_Status_Array .38 Figure 8 Example of E
23、xt_Diag_Data in case of DPV1 diagnosis format with alarm and status PDU78 Figure 9 Example of Ext_Diag_Data in case of the basic diagnosis format 79 Figure 10 Example of a special identifier format79 Figure 11 Example of a special identifier format with data types80 Figure 12 Example of a special id
24、entifier format with data types80 Figure 13 Example of a empty slot with data types81 Figure 14 Example for multi-variable device with AI and DO function blocks81 Figure 15 Identifiers (ID) 82 Figure 16 Identifier list82 Figure 17 Structure of the Data_Unit for the request- and response-DLPDU82 Figu
25、re 18 Structuring of the protocol machines and adjacent layers in a DP-slave.86 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:32:16 MSTNo reproduction or networking permitted
26、without license from IHS -,-,- 4 61158-6-3 IEC:2007(E) Figure 19 Structuring of the protocol machines and adjacent layers in a DP-master (class 1)87 Figure 20 Structuring of the protocol machines and adjacent layers in a DP-master (class 2)88 Figure 21 Sequence of the communication between DP-master
27、 and DP-slave.90 Figure 22 Sequence of communication between DP-master (class 2) and DP-master (class 1)92 Figure 23 Sequence of acyclic communication between DP-master (class 1) and DP- slave .94 Figure 24 Example for connection establishment on MS296 Figure 25 Idle at master-side on MS2 .97 Figure
28、 26 Idle at slave-side on MS298 Figure 27 Example for connection establishment on MS2(server-side) 239 Figure 28 Structure of RM entries in the RM_Registry.240 Table 1 State machine description elements.21 Table 2 Description of state machine elements.21 Table 3 Conventions used in state machines 22
29、 Table 4 APDU syntax .24 Table 5 Substitutions27 Table 6 Alarm_Type range .36 Table 7 Status_Type value range .36 Table 8 Alarm_Specifier .37 Table 9 Range of Modul_Status_Entry (1-4)39 Table 10 Error type 41 Table 11 Specification of the bits Lock_Req and Unlock_Req .44 Table 12 Range of Length_of_
30、Manufacturer_Specific_Data if used in Chk_Cfg-REQ-PDU .51 Table 13 Range of Length_of_Manufacturer_Specific_Data if used in Get_Cfg-RES-PDU 51 Table 14 Values (codes) for data types.53 Table 15 Specification of the bits for Un-/Sync and Un-/Freeze .54 Table 16 Coding of the Function_Code/ Function_N
31、um.57 Table 17 Coding of the Error_Code / Function_Num .58 Table 18 Values of Error_Decode.58 Table 19 Coding of Error_Code_1 at DPV1.59 Table 20 Values of MDiag_Identifier .60 Table 21 Values for Area_Code_UpDownload.62 Table 22 Values for Area_CodeActBrct.63 Table 23 Values for Area_CodeAct.63 Tab
32、le 24 Values for Data_rate64 Table 25 Values for Slave_Type .67 Table 26 Values for Alarm_Mode68 Table 27 Values for Subnet 73 Table 28 Values of reason code if instance is DLL73 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/11111110
33、01, User=Japan, IHS Not for Resale, 01/01/2008 21:32:16 MSTNo reproduction or networking permitted without license from IHS -,-,- 61158-6-3 IEC:2007(E) 5 Table 29 Values of reason code if instance is MS2 .73 Table 30 Values of Extended_Function_Num74 Table 31 Values of FI_State .76 Table 32 Assignme
34、nt of state machines85 Table 33 Primitives issued by AP-Context to FSPMS 99 Table 34 Primitives issued by FSPMS to AP-Context 101 Table 35 FSPMS state table .108 Table 36 Functions used by the FSPMS .133 Table 37 Primitives issued by AP-Context to FSPMM1135 Table 38 Primitives issued by FSPMM1 to AP
35、-Context137 Table 39 FSPMM1 state table.144 Table 40 Functions used by the FSPMM1 .170 Table 41 Primitives issued by AP-Context to FSPMM2171 Table 42 Primitives issued by FSPMM2 to AP-Context173 Table 43 FSPMM2 state table.176 Table 44 Functions used by the FSPMM2 .188 Table 45 Primitives issued by
36、FSPMS to MSCY1S189 Table 46 Primitives issued by MSCY1S to FSPMS190 Table 47 Rules for DPV1_Status_1, DPV1_Status_2 and DPV1_Status_3 check.192 Table 48 MSCY1S state table.197 Table 49 Functions used by the MSCY1S .219 Table 50 Primitives issued by FSPMS to MSAC1S221 Table 51 Primitives issued by MS
37、AC1S to FSPMS222 Table 52 Primitives issued by MSCY1S to MSAC1S222 Table 53 Primitives issued by MSAC1S to MSCY1S222 Table 54 Parameter used with primitives exchanged between MSAC1S and MSCY1S.222 Table 55 MSAC1S state table.224 Table 56 Functions used by the MSAC1S .234 Table 57 Primitives issued b
38、y FSPMS to SSCY1S.234 Table 58 Primitives issued by SSCY1S to FSPMS.235 Table 59 SSCY1S state table .236 Table 60 Functions used by the SSCY1S237 Table 61 Primitives issued by FSPMS to MSRM2S .238 Table 62 Primitives issued by MSRM2S to FSPMS .238 Table 63 MSRM2S state table 241 Table 64 Primitives
39、issued by FSPMS to MSAC2S244 Table 65 Primitives issued by MSAC2S to FSPMS245 Table 66 Primitives issued by MSRM2S to MSAC2S .245 Table 67 Primitives issued by MSAC2S to MSRM2S .246 Table 68 Parameter used with primitives exchanged with MSAC2S.246 Table 69 MSAC2S state table.249 Table 70 Primitives
40、issued by MSCS1S to FSPMS261 Table 71 MSCS1S state table.262 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employees/1111111001, User=Japan, IHS Not for Resale, 01/01/2008 21:32:16 MSTNo reproduction or networking permitted without license fro
41、m IHS -,-,- 6 61158-6-3 IEC:2007(E) Table 72 Primitives issued by FSPMM1 to MSCY1M.263 Table 73 Primitives issued by MSCY1M to FSPMM1.264 Table 74 Parameters used with primitives exchanged between FSPMM1 and MSCY1M 264 Table 75 MSCY1M state table 267 Table 76 Primitives issued by FSPMM1 to MSAL1M282
42、 Table 77 Primitives issued by MSAL1M to FSPMM1283 Table 78 Primitives issued by MSCY1M to MSAL1M .283 Table 79 Primitives issued by MSAL1M to MSCY1M .283 Table 80 Parameter used with primitives exchanged between MSAL1M and MSCY1M 283 Table 81 Possible values in the Alarm_State_Table284 Table 82 MSA
43、L1M state table.287 Table 83 Primitives issued by FSPMM1 to MSAC1M.292 Table 84 Primitives issued by MSAC1M to FSPMM1.292 Table 85 Primitives issued by MSAL1M to MSAC1M .293 Table 86 Primitives issued by MSAC1M to MSAL1M .293 Table 87 Parameter used with primitives exchanged between MSAL1M and MSCY1
44、M 293 Table 88 MSAC1M state table 299 Table 89 Primitives issued by FSPMM1 to MMAC1 .305 Table 90 Primitives issued by MMAC1 to FSPMM1 .305 Table 91 MMAC1 state table.307 Table 92 Primitives issued by FSPMM1 to MSCS1M.312 Table 93 Primitives issued by MSCS1M to FSPMM1.312 Table 94 MSCS1M state table
45、 314 Table 95 Primitives issued by FSPMM2 to MSAC2M.316 Table 96 Primitives issued by MSAC2M to FSPMM2.317 Table 97 Parameters used with primitives exchanged with MSAC2M.317 Table 98 MSAC2M state table 321 Table 99 Primitives issued by FSPMM2 to MMAC2 .332 Table 100 Primitives issued by MMAC2 to FSP
46、MM2 .333 Table 101 Parameters used with primitives exchanged with MMAC2.333 Table 102 MMAC2 state table.334 Table 103 Primitives issued by FSPMS to DMPMS .339 Table 104 Primitives issued by DMPMS to FSPMS .340 Table 105 Primitives issued by MSCY1S to DMPMS .340 Table 106 Primitives issued by DMPMS t
47、o MSCY1S .341 Table 107 Primitives issued by DMPMS to SSCY1S341 Table 108 Primitives issued by MSAC1S, MSRM2S, MSAC2S to DMPMS .342 Table 109 Primitives issued by DMPMS to MSAC1S, MSRM2S, MSAC2S .342 Table 110 Primitives issued by DMPMS to MSCS1S .342 Table 111 Primitives issued by DMPMS to DL.343 Table 112 Primitives issued by DL to DMPMS.344 Table 113 Parameters used with primitives exchanged with DMPMS.345 Table 114 DMPMS state table 346 Copyright International Electrotechnical Commission Provided by IHS under license with IECLicensee=IHS Employee
链接地址:https://www.31doc.com/p-3770229.html