logo资料库

官方原版非图片版BSENIEC61131-10-2019.pdf

第1页 / 共282页
第2页 / 共282页
第3页 / 共282页
第4页 / 共282页
第5页 / 共282页
第6页 / 共282页
第7页 / 共282页
第8页 / 共282页
资料共282页,剩余部分请下载后查看
undefined
Annex ZA(normative)Normative references to international publicationswith their corresponding European publications
English
CONTENTS
FOREWORD
INTRODUCTION
1 Scope
1.1 General
Figures
Figure 1 – Main overview of XML exchange format usage (example)
1.2 Implementation specific parameters
2 Normative references
3 Terms, definitions, abbreviated terms and acronyms
3.1 General terms and definitions
3.2 Abbreviated terms
4 Overview of schema concepts
4.1 Schema versioning
4.2 Naming conventions
4.3 Coordinate system of graphical languages
Figure 2 – Mapping coordinate information to the coordinate system
Figure 3 – Transforming position using the scaling information
4.4 Schema extension concepts
Figure 4 – Objects anchor points and object rectangles examples
5 Compliance
5.1 General
5.2 Feature tables
5.3 Vendor's compliance statement
6 Main schema element "Project"
6.1 General
6.2 "FileHeader"
Figure 5 – Main schema element "Project"
6.3 "ContentHeader"
Figure 6 – Element "FileHeader"
Figure 7 – Element "ContentHeader"
6.4 "Types"
6.5 "Instances"
6.5.1 General ("Configuration")
Figure 8 – Element "Types"
6.5.2 "Resource"
Figure 9 – Element "Instances"
Figure 10 – Element "Resource"
Figure 11 – Element "ProgramInstance"
6.5.3 "AccessVars"
6.5.4 "ConfigVars"
Figure 12 – Element "AccessVars"
7 Abstract complex types
7.1 Purpose of abstract complex types
Figure 13 – Element "ConfigVars"
7.2 Abstract complex types for data type specifications
7.2.1 General
7.2.2 "TypeSpecBase"
7.2.3 "InstantlyDefinableTypeSpecBase"
7.3 Abstract complex types for behaviour representations
7.3.1 General
Figure 14 – Extension relationship among complex types for data type specifications
7.3.2 "BehaviourRepresentationBase"
7.3.3 "ProgrammingLanguageBase"
7.4 Abstract complex types for graphical objects
7.4.1 General
Figure 15 – Extension relationship among complex types for behaviour representations
Figure 16 – Extension relationship among complex types for graphical objects
7.4.2 "IdentifiedObjectBase"
7.4.3 "GraphicalObjectBase"
Figure 17 – Complex type "IdentifiedObjectBase"
Figure 18 – Complex type "GraphicalObjectBase"
7.4.4 "CommonObjectBase"
7.4.5 "FbdObjectBase"
7.4.6 "LdObjectBase"
Figure 19 – Complex type "CommonObjectBase"
Figure 20 – Complex type "FbdObjectBase"
7.4.7 "SfcObjectBase"
7.4.8 "NetworkBase"
Figure 21 – Complex type "LdObjectBase"
Figure 22 – Complex type "SfcObjectBase"
7.5 Abstract complex types for textual constructs
7.5.1 General
Figure 23 – Complex type "NetworkBase"
7.5.2 "TextualObjectBase"
Figure 24 – Extension relationship among complex types for textual objects
7.5.3 "NamespaceContentBase"
Figure 25 – Complex type "TextualObjectBase"
Figure 26 – Complex type "NamespaceContentBase"
7.5.4 "TaskBase"
8 Namespace declaration
Figure 27 – Complex type "TaskBase"
Figure 28 – Complex type "NamespaceDecl"
9 User-defined data type declaration
9.1 "UserDefinedTypeDecl"
9.2 "ArrayTypeSpec"
Figure 29 – Complex type "UserDefinedTypeDecl"
9.3 "DirectlyDerivedTypeSpec"
9.4 "EnumTypeSpec"
Figure 30 – Complex type "ArrayTypeSpec"
Figure 31 – Complex type "DirectlyDerivedTypeSpec"
9.5 "EnumTypeWithNamedValueSpec"
9.6 "StructTypeSpec"
Figure 32 – Complex type "EnumTypeSpec"
Figure 33 – Complex type "EnumTypeWithNamedValueSpec"
9.7 "SubrangeTypeSpec"
9.8 "ReferenceTypeSpec"
Figure 34 – Complex type "StructTypeSpec"
Figure 35 – Complex type "SubrangeTypeSpec"
Figure 36 – Complex type "ReferenceTypeSpec"
9.9 "ElementaryType"
10 POU declaration
10.1 "PouDecl"
10.2 "Program"
Figure 37 – Complex type "PouDecl"
Figure 38 – Complex type "Program"
10.3 "FunctionBlock"
Figure 39 – Complex type "FunctionBlock"
10.4 "Class"
Figure 40 – Complex type "Class"
10.5 "Function"
Figure 41 – Complex type "Function"
10.6 "Interface"
10.7 "Action"
Figure 42 – Complex type "Interface"
Figure 43 – Complex type "Action"
10.8 "NamedTransition"
10.9 "MethodPrototype"
Figure 44 – Complex type "NamedTransition"
10.10 "Method"
Figure 45 – Complex type "MethodPrototype"
Figure 46 – Complex type "Method"
10.11 "ParameterSet"
Figure 47 – Complex type "ParameterSet"
10.12 "VarListWithAccessSpec"
10.13 "AccessSpecifiers"
10.14 "Body"
Figure 48 – Complex type "VarListWithAccessSpec"
10.15 "BodyWithoutSFC"
10.16 "Predicate"
Figure 49 – Complex type "Body"
Figure 50 – Complex type "BodyWithoutSFC"
11 Variable declaration
11.1 "VarList"
Figure 51 – Complex type "Predicate"
Figure 52 – Complex type "VarList"
11.2 "ExternalVarList"
11.3 "VariableDecl"
Figure 53 – Complex type "ExternalVarList"
Figure 54 – Complex type "VariableDecl"
11.4 "VariableDeclPlain"
11.5 "TypeRef"
11.6 "Value"
Figure 55 – Complex type "VariableDeclPlain"
Figure 56 – Complex type "TypeRef"
11.7 "AddressExpression"
Figure 57 – Complex type "Value"
Figure 58 – Complex type "AddressExpression"
11.8 "FixedAddressExpression"
12 Behaviour representation
12.1 "IL"
12.2 "ST"
Figure 59 – Complex type "FixedAddressExpression"
Figure 60 – Complex type "IL"
Figure 61 – Complex type "ST"
12.3 "FBD"
12.4 "FbdNetwork"
12.5 "LD"
Figure 62 – Complex type "FBD"
Figure 63 – Complex type "FbdNetwork"
Figure 64 – Complex type "LD"
12.6 "LadderRung"
12.7 "SFC"
13 Graphical behaviour representation
13.1 General
Figure 65 – Complex type "LadderRung"
Figure 66 – Complex type "SFC"
13.2 Common elements
13.2.1 "Comment"
13.2.2 "Connector"
Figure 67 – Complex type "Comment"
Figure 68 – Complex type "Connector"
13.2.3 "Continuation"
13.2.4 "ActionBlocks"
Figure 69 – Complex type "Continuation"
Figure 70 – Complex type "ActionBlocks"
13.3 FBD elements
13.3.1 "Block"
Figure 71 – Complex type "Block"
13.3.2 "graphicalFormalParameterCommon"
13.3.3 "DataSource"
Figure 72 – Complex type "DataSource"
13.3.4 "DataSink"
13.3.5 "Unconnected"
Figure 73 – Complex type "DataSink"
13.3.6 "Jump"
Figure 74 – Complex type "Unconnected"
Figure 75 – Complex type "Jump"
13.3.7 "Return"
13.4 LD elements
13.4.1 "LeftPowerRail"
Figure 76 – Complex type "Return"
Figure 77 – Complex type "LeftPowerRail"
13.4.2 "RightPowerRail"
13.4.3 "Coil"
Figure 78 – Complex type "RightPowerRail"
13.4.4 "Contact"
Figure 79 – Complex type "Coil"
13.4.5 "CompareContact"
Figure 80 – Complex type "Contact"
13.5 SFC elements
13.5.1 "Step"
Figure 81 – Complex type "CompareContact"
13.5.2 "Transition"
Figure 82 – Complex type "Step"
13.5.3 "SelectionDivergence"
Figure 83 – Complex type "Transition"
13.5.4 "SelectionConvergence"
Figure 84 – Complex type "SelectionDivergence"
13.5.5 "SimultaneousDivergence"
13.5.6 "SimultaneousConvergence"
Figure 85 – Complex type "SelectionConvergence"
Figure 86 – Complex type "SimultaneousDivergence"
13.6 Connections
13.6.1 General
13.6.2 "ConnectionPointIn"
Figure 87 – Complex type "SimultaneousConvergence"
13.6.3 "Connection"
Figure 88 – Complex type "ConnectionPointIn"
Figure 89 – Complex type "Connection"
13.6.4 "FeedbackConnection"
13.6.5 "ConnectionPointOut"
Figure 90 – Complex type "FeedbackConnection"
Figure 91 – Complex type "ConnectionPointOut"
14 Resource declaration
14.1 "StandardTask"
14.2 "ParameterAssignment"
15 Miscellaneous
15.1 "XyDecimalValue"
Figure 92 – Complex type "StandardTask"
Figure 93 – Complex type "ParameterAssignment"
15.2 "AddData"
15.3 "TextBase"
15.4 "SimpleText"
Figure 94 – Complex type "XyDecimalValue"
Figure 95 – Complex type "AddData"
Figure 96 – Complex type "TextBase"
15.5 "EdgeModifierType"
Figure 97 – Complex type "SimpleText"
Annex A (normative)Formal XML exchange format schema definition
Annex B (informative)Recommended schemata
B.1 General
Figure B.1 – Only IEC 61131-3 features
Figure B.2 – Vendor specific extensions "AddData"
Figure B.3 – Vendor specific extensions (abstract complex type)
B.2 Recommended schemata to be used by "AddData"
B.3 Recommended schemata to be used by abstract complex type
Annex C (informative)Example XML document
Bibliography
BS EN IEC 61131-10:2019 BSI Standards Publication Programmable controllers Part 10: PLC open XML exchange format (IEC 61131-10:2019) 1
BRITISH STANDARD National foreword This British Standard is the UK implementation of EN IEC 61131‑10:2019. It is identical to IEC 61131‑10:2019. The UK participation in its preparation was entrusted to Technical Committee GEL/65, Measurement and control. 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 2019 Published by BSI Standards Limited 2019 ISBN 978 0 580 97336 9 ICS 25.040.40; 35.240.30; 35.240.50 This British Standard was published under the authority of the Standards Policy and Strategy Committee on 31 July 2019. Date Compliance with a British Standard cannot confer immunity from legal obligations. Amendments/corrigenda issued since publication Text affected BS EN IEC 61131‑10:20191
EUROPEAN STANDARD NORME EUROPÉENNE EUROPÄISCHE NORM ICS 25.040.40; 35.240.30; 35.240.50 EN IEC 61131-10 July 2019 English Version Programmable controllers - Part 10: PLC open XML exchange format (IEC 61131-10:2019) Automates programmables - Partie 10: Format d'échange XML ouvert PLC (IEC 61131-10:2019) Speicherprogrammierbare Steuerungen - Teil 10: XML- basiertes Austauschformat für Programme nach IEC 61131- 3 (IEC 61131-10:2019) This European Standard was approved by CENELEC on 2019-05-29. 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, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Republic of North Macedonia, Romania, Serbia, 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: Rue de la Science 23, B-1040 Brussels © 2019 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members. Ref. No. EN IEC 61131-10:2019 E BS EN IEC 61131‑10:20191
EN IEC 61131-10:2019 (E) European foreword The text of document 65B/1147/FDIS, future edition 1 of IEC 61131-10, 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 IEC 61131-10:2019. 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) 2020-02-29 latest date by which the national standards conflicting with the document have to be withdrawn (dow) 2022-05-29 • • Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. CENELEC shall not be held responsible for identifying any or all such patent rights. Endorsement notice The text of the International Standard IEC 61131-10:2019 was approved by CENELEC as a European Standard without any modification. 2 BS EN IEC 61131‑10:20191
EN IEC 61131-10:2019 (E) Annex ZA (normative) Normative references to international publications with their corresponding European publications The following documents are referred to in the text in such a way that some or all of their content constitutes requirements of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. NOTE 1 Where an International Publication has been modified by common modifications, indicated by (mod), the relevant EN/HD applies. NOTE 2 Up-to-date information on the latest versions of the European Standards listed in this annex is available here: www.cenelec.eu. Publication IEC 61131-1 Year Title - IEC 61131-3 - Programmable controllers information Programmable controllers - Part 3: Programming languages - Part 1: General EN/HD EN 61131-1 EN 61131-3 Year - - 3 BS EN IEC 61131‑10:20191
This page deliberately left blank 1
– 2 – IEC 61131-10:2019  IEC 2019 CONTENTS 1.1 1.2 3.1 3.2 4.1 4.2 4.3 4.4 5.1 5.2 5.3 6.1 6.2 6.3 6.4 6.5 FOREWORD ........................................................................................................................... 8 INTRODUCTION ................................................................................................................... 10 Scope ............................................................................................................................ 11 1 General ................................................................................................................. 11 Implementation specific parameters ...................................................................... 12 2 Normative references .................................................................................................... 13 Terms, definitions, abbreviated terms and acronyms ..................................................... 13 3 General terms and definitions ............................................................................... 13 Abbreviated terms ................................................................................................. 13 4 Overview of schema concepts ....................................................................................... 14 Schema versioning ............................................................................................... 14 Naming conventions.............................................................................................. 14 Coordinate system of graphical languages ............................................................ 14 Schema extension concepts .................................................................................. 17 5 Compliance ................................................................................................................... 18 General ................................................................................................................. 18 Feature tables ....................................................................................................... 18 Vendor's compliance statement ............................................................................. 18 6 Main schema element "Project" ..................................................................................... 19 General ................................................................................................................. 19 "FileHeader" ......................................................................................................... 19 "ContentHeader" ................................................................................................... 20 "Types" ................................................................................................................. 21 "Instances" ........................................................................................................... 21 General ("Configuration") ............................................................................... 21 6.5.1 "Resource" .................................................................................................... 22 6.5.2 "AccessVars" ................................................................................................. 25 6.5.3 "ConfigVars" .................................................................................................. 25 6.5.4 Abstract complex types .................................................................................................. 26 Purpose of abstract complex types ....................................................................... 26 Abstract complex types for data type specifications .............................................. 27 General ......................................................................................................... 27 "TypeSpecBase" ............................................................................................ 27 "InstantlyDefinableTypeSpecBase" ................................................................ 27 Abstract complex types for behaviour representations .......................................... 27 General ......................................................................................................... 27 "BehaviourRepresentationBase" .................................................................... 28 "ProgrammingLanguageBase" ....................................................................... 28 Abstract complex types for graphical objects......................................................... 28 General ......................................................................................................... 28 "IdentifiedObjectBase" ................................................................................... 30 "GraphicalObjectBase" .................................................................................. 30 "CommonObjectBase" ................................................................................... 31 "FbdObjectBase" ........................................................................................... 31 "LdObjectBase" ............................................................................................. 31 "SfcObjectBase" ............................................................................................ 32 7.4.1 7.4.2 7.4.3 7.4.4 7.4.5 7.4.6 7.4.7 7.3.1 7.3.2 7.3.3 7.2.1 7.2.2 7.2.3 7 7.1 7.2 7.3 7.4 BS EN IEC 61131‑10:20191
IEC 61131-10:2019  IEC 2019 – 3 – 7.4.8 7.5 7.5.1 7.5.2 7.5.3 7.5.4 9.1 9.2 9.3 9.4 9.5 9.6 9.7 9.8 9.9 "NetworkBase" ............................................................................................... 32 Abstract complex types for textual constructs ....................................................... 33 General ......................................................................................................... 33 "TextualObjectBase" ...................................................................................... 34 "NamespaceContentBase" ............................................................................. 35 "TaskBase" .................................................................................................... 36 8 Namespace declaration ................................................................................................. 36 9 User-defined data type declaration ................................................................................ 37 "UserDefinedTypeDecl" ......................................................................................... 37 "ArrayTypeSpec" ................................................................................................... 37 "DirectlyDerivedTypeSpec" ................................................................................... 38 "EnumTypeSpec" .................................................................................................. 38 "EnumTypeWithNamedValueSpec" ....................................................................... 39 "StructTypeSpec" .................................................................................................. 39 "SubrangeTypeSpec" ............................................................................................ 40 "ReferenceTypeSpec" ........................................................................................... 40 "ElementaryType" ................................................................................................. 41 10 POU declaration ............................................................................................................ 41 "PouDecl" ............................................................................................................. 41 10.1 "Program" ............................................................................................................. 41 10.2 "FunctionBlock"..................................................................................................... 43 10.3 "Class" .................................................................................................................. 44 10.4 "Function" ............................................................................................................. 45 10.5 "Interface" ............................................................................................................. 46 10.6 "Action" ................................................................................................................. 46 10.7 "NamedTransition" ................................................................................................ 47 10.8 "MethodPrototype" ................................................................................................ 47 10.9 10.10 "Method" ............................................................................................................... 48 10.11 "ParameterSet" ..................................................................................................... 50 10.12 "VarListWithAccessSpec" ...................................................................................... 52 10.13 "AccessSpecifiers" ................................................................................................ 52 10.14 "Body"................................................................................................................... 52 10.15 "BodyWithoutSFC" ................................................................................................ 53 10.16 "Predicate" ............................................................................................................ 53 11 Variable declaration ....................................................................................................... 54 "VarList" ............................................................................................................... 54 "ExternalVarList" ................................................................................................... 55 "VariableDecl" ....................................................................................................... 55 "VariableDeclPlain" ............................................................................................... 56 "TypeRef" ............................................................................................................. 56 "Value" ................................................................................................................. 56 "AddressExpression" ............................................................................................. 57 "FixedAddressExpression" .................................................................................... 58 12 Behaviour representation ............................................................................................... 58 "IL" ....................................................................................................................... 58 "ST" ...................................................................................................................... 58 "FBD".................................................................................................................... 59 "FbdNetwork" ........................................................................................................ 59 11.1 11.2 11.3 11.4 11.5 11.6 11.7 11.8 12.1 12.2 12.3 12.4 BS EN IEC 61131‑10:20191
分享到:
收藏