1、BSI Standards PublicationProgrammable controllersPart 9: Single-drop digital communication interface for small sensors and actuators (SDCI)BS EN 61131-9:2013National forewordThis British Standard is the UK implementation of EN 61131-9:2013. It isidentical to IEC 61131-9:2013.The UK participation in
2、its preparation was entrusted by Technical Com-mittee GEL/65, Measurement and control, to Subcommittee GEL/65/2,Elements of systems.A list of organizations represented on this committee can be obtained onrequest to its secretary.This publication does not purport to include all the necessary provisio
3、ns ofa contract. Users are responsible for its correct application. The British Standards Institution 2014.Published by BSI Standards Limited 2014ISBN 978 0 580 76607 7ICS 25.040.40; 35.240.50Compliance with a British Standard cannot confer immunity fromlegal obligations.This British Standard was pu
4、blished under the authority of theStandards Policy and Strategy Committee on 28 February 2014.Amendments/corrigenda issued since publicationDate Text affectedBRITISH STANDARDBS EN 61131-9:2013EUROPEAN STANDARD EN 61131-9 NORME EUROPENNE EUROPISCHE NORM December 2013 CENELEC European Committee for El
5、ectrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung CEN-CENELEC Management Centre: Avenue Marnix 17, B - 1000 Brussels 2013 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC mem
6、bers. Ref. No. EN 61131-9:2013 E ICS 25.040.40; 35.240.50 English version Programmable controllers - Part 9: Single-drop digital communication interface for small sensors and actuators (SDCI) (IEC 61131-9:2013) Automates programmables - Partie 9: Interface de communication numrique point point pour
7、petits capteurs et actionneurs (SDCI) (CEI 61131-9:2013) Speicherprogrammierbare Steuerungen - Teil 9: Schnittstelle fr die Kommunikation mit kleinen Sensoren und Aktoren ber eine Punkt-zu-Punkt-Verbindung (IEC 61131-9:2013) This European Standard was approved by CENELEC on 2013-10-16. CENELEC membe
8、rs 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 applicatio
9、n 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
10、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
11、, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey and the United Kingdom. BS EN 61131-9:2013EN 61131-9:2013 - 2 - Foreword The text of document 65B/874/FDIS, future edition 1 of IEC 61131
12、-9, prepared by SC 65B, “Measurement and control devices“, of IEC/TC 65, “Industrial-process measurement, control and automation“ was submitted to the IEC-CENELEC parallel vote and approved by CENELEC as EN 61131-9:2013. The following dates are fixed: latest date by which the document has to be impl
13、emented at national level by publication of an identical national standard or by endorsement (dop) 2014-07-16 latest date by which the national standards conflicting with the document have to be withdrawn (dow) 2016-10-16 Attention is drawn to the possibility that some of the elements of this docume
14、nt may be the subject of patent rights. CENELEC and/or CEN shall not be held responsible for identifying any or all such patent rights. Endorsement notice The text of the International Standard IEC 61131-9:2013 was approved by CENELEC as a European Standard without any modification. In the official
15、version, for Bibliography, the following notes have to be added for the standards indicated: IEC 60870-5-1:1990 NOTE Harmonised as EN 60870-5-1:1993 (not modified). IEC 61158-2 NOTE Harmonised as EN 61158-2 (not modified). IEC/TR 62453-61 NOTE Harmonised as CLC/TR 62453-61 (not modified). ISOIEC 749
16、8-1 NOTE Harmonised as EN ISOIEC 7498-1 (not modified). BS EN 61131-9:2013- 3 - EN 61131-9:2013 Annex ZA (normative) Normative references to international publications with their corresponding European publications The following referenced documents are indispensable for the application of this docu
17、ment. 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. Publ
18、ication Year Title EN/HD Year IEC 60947-5-2 - Low-voltage switchgear and controlgear - Part 5-2: Control circuit devices and switching elements - Proximity switches EN 60947-5-2 - IEC 61000-4-2 - Electromagnetic compatibility (EMC) - Part 4-2: Testing and measurement techniques - Electrostatic disch
19、arge immunity test EN 61000-4-2 - IEC 61000-4-3 - Electromagnetic compatibility (EMC) - Part 4-3: Testing and measurement techniques - Radiated, radio-frequency, electromagnetic field immunity test EN 61000-4-3 - IEC 61000-4-4 - Electromagnetic compatibility (EMC) - Part 4-4: Testing and measurement
20、 techniques - Electrical fast transient/burst immunity test EN 61000-4-4 - IEC 61000-4-5 - Electromagnetic compatibility (EMC) - Part 4-5: Testing and measurement techniques - Surge immunity test FprEN 61000-4-5 - IEC 61000-4-6 - Electromagnetic compatibility (EMC) - Part 4-6: Testing and measuremen
21、t techniques - Immunity to conducted disturbances, induced by radio-frequency fields FprEN 61000-4-6 - IEC 61000-4-11 - Electromagnetic compatibility (EMC) - Part 4-11: Testing and measurement techniques - Voltage dips, short interruptions and voltage variations immunity tests EN 61000-4-11 - IEC 61
22、000-6-2 - Electromagnetic compatibility (EMC) - Part 6-2: Generic standards - Immunity for industrial environments EN 61000-6-2 + corr. September - - IEC 61000-6-4 - Electromagnetic compatibility (EMC) - Part 6-4: Generic standards - Emission standard for industrial environments EN 61000-6-4 - IEC 6
23、1076-2-101 - Connectors for electronic equipment - Product requirements - Part 2-101: Circular connectors - Detail specification for M12 connectors with screw-locking EN 61076-2-101 - IEC 61131-1 - Programmable controllers - Part 1: General information EN 61131-1 - BS EN 61131-9:2013EN 61131-9:2013
24、- 4 - Publication Year Title EN/HD Year IEC 61131-2 - Programmable controllers - Part 2: Equipment requirements and tests EN 61131-21) - IEC/TR 62390 - Common automation device - Profile guideline - - ISO/IEC 646 1991 Information technology - ISO 7-bit coded character set for information interchange
25、 - - ISO/IEC 2022 - Information technology - Character code structure and extension techniques - - ISO/IEC 10646 - Information technology - Universal Coded Character Set (UCS) - - ISO/IEC 10731 - Information technology - Open Systems Interconnection - Basic reference model - Conventions for the defi
26、nition of OSI services - - ISO 1177 - Information processing - Character structure for start/stop and synchronous character-oriented transmission - - IEEE 754 2008 Binary floating-point arithmetic - - 1) EN 61131-2 is superseded by EN 61010-2-201:2013, which is based on IEC 61010-2-201:2013. BS EN 6
27、1131-9:2013 2 61131-9 IEC:2013 CONTENTS INTRODUCTION . 16 1 Scope . 18 2 Normative references . 18 3 Terms, definitions, symbols, abbreviated terms and conventions 19 3.1 Terms and definitions 19 3.2 Symbols and abbreviated terms. 23 3.3 Conventions 25 3.3.1 General . 25 3.3.2 Service parameters . 2
28、5 3.3.3 Service procedures 26 3.3.4 Service attributes 26 3.3.5 Figures 26 3.3.6 Transmission octet order . 26 3.3.7 Behavioral descriptions . 27 4 Overview of SDCI (IO-LinkTM) . 27 4.1 Purpose of technology . 27 4.2 Positioning within the automation hierarchy . 28 4.3 Wiring, connectors and power .
29、 29 4.4 Communication features of SDCI . 29 4.5 Role of a Master 31 4.6 SDCI configuration 32 4.7 Mapping to fieldbuses . 32 4.8 Standard structure . 32 5 Physical Layer (PL) 33 5.1 General . 33 5.1.1 Basics . 33 5.1.2 Topology . 33 5.2 Physical layer services 34 5.2.1 Overview . 34 5.2.2 PL service
30、s 35 5.3 Transmitter/Receiver . 37 5.3.1 Description method 37 5.3.2 Electrical requirements 37 5.3.3 Timing requirements 41 5.4 Power supply . 44 5.4.1 Power supply options 44 5.4.2 Power-on requirements 45 5.5 Medium . 45 5.5.1 Connectors 45 5.5.2 Cable. 47 6 Standard Input and Output (SIO) 48 7 D
31、ata link layer (DL) 48 7.1 General . 48 7.2 Data link layer services . 50 7.2.1 DL-B services 50 BS EN 61131-9:201361131-9 IEC:2013 3 7.2.2 DL-A services 61 7.3 Data link layer protocol 66 7.3.1 Overview . 66 7.3.2 DL-mode handler . 67 7.3.3 Message handler . 75 7.3.4 Process Data handler 82 7.3.5 O
32、n-request Data handler . 85 7.3.6 ISDU handler . 88 7.3.7 Command handler . 92 7.3.8 Event handler 95 8 Application layer (AL) . 98 8.1 General . 98 8.2 Application layer services 99 8.2.1 AL services within Master and Device 99 8.2.2 AL Services . 100 8.3 Application layer protocol 108 8.3.1 Overvi
33、ew . 108 8.3.2 On-request Data transfer . 108 8.3.3 Event processing . 114 8.3.4 Process Data cycles 117 9 System management (SM) . 118 9.1 General . 118 9.2 System management of the Master . 118 9.2.1 Overview . 118 9.2.2 SM Master services . 120 9.2.3 SM Master protocol . 125 9.3 System management
34、 of the Device . 133 9.3.1 Overview . 133 9.3.2 SM Device services . 135 9.3.3 SM Device protocol . 141 10 Device 148 10.1 Overview . 148 10.2 Process Data Exchange (PDE) 149 10.3 Parameter Manager (PM) 149 10.3.1 General . 149 10.3.2 Parameter manager state machine 149 10.3.3 Dynamic parameter . 15
35、1 10.3.4 Single parameter . 152 10.3.5 Block parameter 153 10.3.6 Concurrent parameterization access 155 10.3.7 Command handling 155 10.4 Data Storage (DS) . 155 10.4.1 General . 155 10.4.2 Data Storage state machine 155 10.4.3 DS configuration 157 10.4.4 DS memory space . 157 10.4.5 DS Index_List 1
36、58 10.4.6 DS parameter availability . 158 10.4.7 DS without ISDU 158 BS EN 61131-9:2013 4 61131-9 IEC:2013 10.4.8 DS parameter change indication 158 10.5 Event Dispatcher (ED) . 158 10.6 Device features . 158 10.6.1 General . 158 10.6.2 Device backward compatibility . 159 10.6.3 Protocol revision co
37、mpatibility . 159 10.6.4 Factory settings . 159 10.6.5 Application reset 159 10.6.6 Device reset 159 10.6.7 Visual SDCI indication . 159 10.6.8 Parameter access locking 160 10.6.9 Data Storage locking . 160 10.6.10 Device parameter locking 160 10.6.11 Device user interface locking . 160 10.6.12 Offs
38、et time . 160 10.6.13 Data Storage concept 161 10.6.14 Block Parameter 161 10.7 Device design rules and constraints 161 10.7.1 General . 161 10.7.2 Process Data . 161 10.7.3 Communication loss 161 10.7.4 Direct Parameter . 161 10.7.5 ISDU communication channel 162 10.7.6 DeviceID rules related to De
39、vice variants 162 10.7.7 Protocol constants . 162 10.8 IO Device description (IODD) 163 10.9 Device diagnosis . 163 10.9.1 Concepts . 163 10.9.2 Events . 164 10.9.3 Visual indicators 165 10.10 Device connectivity . 166 11 Master 166 11.1 Overview . 166 11.1.1 Generic model for the system integration
40、 of a Master 166 11.1.2 Structure and services of a Master 166 11.2 Configuration Manager (CM) . 169 11.2.1 General . 169 11.2.2 Configuration parameter 171 11.2.3 State machine of the Configuration Manager . 173 11.3 Data Storage (DS) . 175 11.3.1 Overview . 175 11.3.2 DS data object . 175 11.3.3 D
41、S state machine 175 11.3.4 Parameter selection for Data Storage 181 11.4 On-Request Data exchange (ODE) 181 11.5 Diagnosis Unit (DU) . 182 11.6 PD Exchange (PDE) 183 11.6.1 General . 183 11.6.2 Process Data mapping. 183 BS EN 61131-9:201361131-9 IEC:2013 5 11.6.3 Process Data invalid/valid qualifier
42、 status 184 11.7 Port and Device configuration tool (PDCT) 185 11.7.1 General . 185 11.7.2 Basic layout examples . 185 11.8 Gateway application 186 11.8.1 General . 186 11.8.2 Changing Device configuration including Data Storage 186 11.8.3 Parameter server and recipe control 186 11.8.4 Anonymous par
43、ameters . 186 11.8.5 Virtual port mode DIwithSDCI 187 Annex A (normative) Codings, timing constraints, and errors . 190 Annex B (normative) Parameter and commands 211 Annex C (normative) ErrorTypes (ISDU errors) 228 Annex D (normative) EventCodes (diagnosis information) 233 Annex E (normative) Data
44、types 236 Annex F (normative) Structure of the Data Storage data object 247 Annex G (normative) Master and Device conformity . 248 Annex H (informative) Residual error probabilities . 254 Annex I (informative) Example sequence of an ISDU transmission . 256 Annex J (informative) Recommended methods f
45、or detecting parameter changes . 258 Bibliography 259 Figure 1 Example of a confirmed service . 26 Figure 2 Memory storage and transmission order for WORD based data types 27 Figure 3 SDCI compatibility with IEC 61131-2 27 Figure 4 Domain of the SDCI technology within the automation hierarchy 28 Fig
46、ure 5 Generic Device model for SDCI (Masters view) . 29 Figure 6 Relationship between nature of data and transmission types 30 Figure 7 Object transfer at the application layer level (AL) . 31 Figure 8 Logical structure of Master and Device. 32 Figure 9 Three wire connection system 33 Figure 10 Topo
47、logy of SDCI . 34 Figure 11 Physical layer (Master) . 34 Figure 12 Physical layer (Device) . 35 Figure 13 Line driver reference schematics 37 Figure 14 Receiver reference schematics 37 Figure 15 Reference schematics for SDCI 3-wire connection system . 38 Figure 16 Voltage level definitions . 38 Figu
48、re 17 Switching thresholds 39 Figure 18 Format of an SDCI UART frame . 41 Figure 19 Eye diagram for the H and L detection 42 Figure 20 Eye diagram for the correct detection of a UART frame 42 Figure 21 Wake-up request 44 Figure 22 Power-on timing for Power1 . 45 BS EN 61131-9:2013 6 61131-9 IEC:2013
49、 Figure 23 Pin layout front view . 46 Figure 24 Class A and B port definitions 47 Figure 25 Reference schematic for effective line capacitance and loop resistance . 47 Figure 26 Structure and services of the data link layer (Master) . 49 Figure 27 Structure and services of the data link layer (Device) . 49 Figure 28 State machines of the data link layer 67 Figure 29 Example of an attempt to establish communication 67 Figure 30 Failed attempt to establish communication . 68