1、BSI Standards PublicationOPC unified architecturePart 5: Information ModelBS EN 62541-5:2015National forewordThis British Standard is the UK implementation of EN 62541-5:2015. It isidentical to IEC 62541-5:2015. It supersedes BS EN 62541-5:2011 which iswithdrawn.The UK participation in its preparati
2、on was entrusted to TechnicalCommittee AMT/7, Industrial communications: process measurement andcontrol, including fieldbus.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 provisions ofa c
3、ontract. Users are responsible for its correct application. The British Standards Institution 2015.Published by BSI Standards Limited 2015ISBN 978 0 580 83004 4ICS 25.040.40; 25.100.01Compliance with a British Standard cannot confer immunity fromlegal obligations.This British Standard was published
4、under the authority of theStandards Policy and Strategy Committee on 30 June 2015.Amendments/corrigenda issued since publicationDate Text affectedBRITISH STANDARDBS EN 62541-5:2015EUROPEAN STANDARDNORME EUROPENNEEUROPISCHE NORMEN 62541-5 May 2015 ICS 25.040.40; 35.100 Supersedes EN 62541-5:2011 Engl
5、ish Version OPC unified architecture - Part 5: Information Model(IEC 62541-5:2015) Architecture unifie OPC - Partie 5: Modle dinformations (IEC 62541-5:2015) OPC Unified Architecture - Teil 5: Informationsmodell (IEC 62541-5:2015) This European Standard was approved by CENELEC on 2015-04-29. CENELEC
6、 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 appli
7、cation 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-CEN
8、ELEC 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, Ice
9、land, 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 Electrotechnical Standardization Comit Europen de Normalisation ElectrotechniqueEuropi
10、sches Komitee fr Elektrotechnische Normung CEN-CENELEC Management Centre: Avenue Marnix 17, B-1000 Brussels 2015 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members. Ref. No. EN 62541-5:2015 E EN 62541-5:2015 - 2 - Foreword The text of document 65E/
11、376/CDV, future edition 2 of IEC 62541-5, prepared by SC 65E “Devices and integration in enterprise systems“, of IEC/TC 65 “Industrial-process measurement, control and automation“ was submitted to the IEC-CENELEC parallel vote and approved by CENELEC as EN 62541-5:2015. The following dates are fixed
12、: latest date by which the document has to be implemented at national level by publication of an identical national standard or by endorsement (dop) 2016-01-29 latest date by which the national standards conflicting with the document have to be withdrawn (dow) 2018-04-29 This document supersedes EN
13、62541-5:2011. 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 patent rights. This document has been prepared under a mandate given to CENELEC by the
14、European Commission and the European Free Trade Association, and supports essential requirements of EU Directive(s). Endorsement notice The text of the International Standard IEC 62541-5:2015 was approved by CENELEC as a European Standard without any modification. BS EN 62541-5:2015- 3 - EN 62541-5:
15、2015 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 references, only the edition cite
16、d 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 information on the latest version
17、s of the European Standards listed in this annex is available here: www.cenelec.eu. Publication Year Title EN/HD Year IEC/TR 62541-1 - OPC unified architecture - Part 1: Overview and concepts CLC/TR 62541-1 - IEC 62541-3 - OPC unified architecture - Part 3: Address Space Model EN 62541-3 - IEC 62541
18、-4 - OPC Unified Architecture - Part 4: Services EN 62541-4 - IEC 62541-6 - OPC unified architecture - Part 6: Mappings EN 62541-6 - IEC 62541-7 - OPC unified architecture - Part 7: Profiles EN 62541-7 - IEC 62541-9 - OPC unified architecture - Part 9: Alarms and conditions EN 62541-9 - IEC 62541-10
19、 - OPC Unified Architecture - Part 10: Programs EN 62541-10 - IEC 62541-11 - OPC unified architecture - Part 11: Historical Access EN 62541-11 - BS EN 62541-5:2015 2 IEC 62541-5:2015 IEC 2015 CONTENTS FOREWORD . 12 1 Scope 14 2 Normative references 14 3 Terms, definitions and conventions 14 3.1 Term
20、s and definitions 14 3.2 Abbreviations and symbols . 14 3.3 Conventions for Node descriptions 15 4 NodeIds and BrowseNames . 16 4.1 NodeIds 16 4.2 BrowseNames . 16 5 Common Attributes 17 5.1 General . 17 5.2 Objects . 17 5.3 Variables 17 5.4 VariableTypes . 17 6 Standard ObjectTypes . 18 6.1 General
21、 . 18 6.2 BaseObjectType . 18 6.3 ObjectTypes for the Server Object 18 6.3.1 ServerType 18 6.3.2 ServerCapabilitiesType 20 6.3.3 ServerDiagnosticsType 22 6.3.4 SessionsDiagnosticsSummaryType 23 6.3.5 SessionDiagnosticsObjectType 24 6.3.6 VendorServerInfoType . 25 6.3.7 ServerRedundancyType . 25 6.3.
22、8 TransparentRedundancyType 25 6.3.9 NonTransparentRedundancyType 26 6.3.10 NonTransparentNetworkRedundancyType . 26 6.3.11 OperationLimitsType 27 6.3.12 AddressSpaceFileType 29 6.3.13 NamespaceMetadataType 29 6.3.14 NamespacesType 31 6.4 ObjectTypes used as EventTypes . 31 6.4.1 General 31 6.4.2 Ba
23、seEventType 31 6.4.3 AuditEventType . 33 6.4.4 AuditSecurityEventType . 34 6.4.5 AuditChannelEventType . 35 6.4.6 AuditOpenSecureChannelEventType . 35 6.4.7 AuditSessionEventType . 36 6.4.8 AuditCreateSessionEventType . 36 6.4.9 AuditUrlMismatchEventType 37 6.4.10 AuditActivateSessionEventType . 38
24、6.4.11 AuditCancelEventType . 38 6.4.12 AuditCertificateEventType 39 BS EN 62541-5:2015IEC 62541-5:2015 IEC 2015 3 6.4.13 AuditCertificateDataMismatchEventType 39 6.4.14 AuditCertificateExpiredEventType 39 6.4.15 AuditCertificateInvalidEventType . 40 6.4.16 AuditCertificateUntrustedEventType. 40 6.4
25、.17 AuditCertificateRevokedEventType 40 6.4.18 AuditCertificateMismatchEventType . 41 6.4.19 AuditNodeManagementEventType . 41 6.4.20 AuditAddNodesEventType . 42 6.4.21 AuditDeleteNodesEventType . 42 6.4.22 AuditAddReferencesEventType 42 6.4.23 AuditDeleteReferencesEventType 43 6.4.24 AuditUpdateEve
26、ntType 43 6.4.25 AuditWriteUpdateEventType 44 6.4.26 AuditHistoryUpdateEventType . 44 6.4.27 AuditUpdateMethodEventType . 45 6.4.28 SystemEventType 45 6.4.29 DeviceFailureEventType 45 6.4.30 SystemStatusChangeEventType 46 6.4.31 BaseModelChangeEventType 46 6.4.32 GeneralModelChangeEventType 46 6.4.3
27、3 SemanticChangeEventType . 47 6.4.34 EventQueueOverflowEventType . 47 6.4.35 ProgressEventType . 48 6.5 ModellingRuleType . 48 6.6 FolderType . 48 6.7 DataTypeEncodingType 49 6.8 DataTypeSystemType . 49 6.9 AggregateFunctionType 49 7 Standard VariableTypes 50 7.1 General . 50 7.2 BaseVariableType .
28、 50 7.3 PropertyType 50 7.4 BaseDataVariableType . 50 7.5 ServerVendorCapabilityType . 51 7.6 DataTypeDictionaryType . 51 7.7 DataTypeDescriptionType . 52 7.8 ServerStatusType . 52 7.9 BuildInfoType 52 7.10 ServerDiagnosticsSummaryType 53 7.11 SamplingIntervalDiagnosticsArrayType . 53 7.12 SamplingI
29、ntervalDiagnosticsType . 54 7.13 SubscriptionDiagnosticsArrayType 54 7.14 SubscriptionDiagnosticsType 54 7.15 SessionDiagnosticsArrayType . 55 7.16 SessionDiagnosticsVariableType 56 7.17 SessionSecurityDiagnosticsArrayType 57 7.18 SessionSecurityDiagnosticsType 58 7.19 OptionSetType 58 8 Standard Ob
30、jects and their Variables . 59 BS EN 62541-5:2015 4 IEC 62541-5:2015 IEC 2015 8.1 General . 59 8.2 Objects used to organise the AddressSpace structure 59 8.2.1 Overview . 59 8.2.2 Root . 60 8.2.3 Views . 60 8.2.4 Objects 61 8.2.5 Types 61 8.2.6 ObjectTypes 62 8.2.7 VariableTypes 63 8.2.8 ReferenceTy
31、pes. 64 8.2.9 DataTypes . 64 8.2.10 OPC Binary 66 8.2.11 XML Schema . 66 8.2.12 EventTypes 66 8.3 Server Object and its containing Objects . 67 8.3.1 General 67 8.3.2 Server Object . 68 8.4 ModellingRule Objects 69 8.4.1 ExposesItsArray . 69 8.4.2 Mandatory 69 8.4.3 Optional . 69 8.4.4 OptionalPlace
32、holder. 70 8.4.5 MandatoryPlaceholder . 70 9 Standard Methods . 70 9.1 GetMonitoredItems . 70 10 Standard Views . 71 11 Standard ReferenceTypes . 71 11.1 References . 71 11.2 HierarchicalReferences . 71 11.3 NonHierarchicalReferences 71 11.4 HasChild . 72 11.5 Aggregates . 72 11.6 Organizes . 72 11.
33、7 HasComponent . 73 11.8 HasOrderedComponent 73 11.9 HasProperty 73 11.10 HasSubtype 73 11.11 HasModellingRule . 74 11.12 HasTypeDefinition. 74 11.13 HasEncoding 74 11.14 HasDescription . 75 11.15 HasEventSource . 75 11.16 HasNotifier 75 11.17 GeneratesEvent 75 11.18 AlwaysGeneratesEvent . 76 12 Sta
34、ndard DataTypes 76 12.1 Overview. 76 12.2 DataTypes defined in IEC 62541-3 76 BS EN 62541-5:2015IEC 62541-5:2015 IEC 2015 5 12.3 DataTypes defined in IEC 62541-4 81 12.4 BuildInfo . 82 12.5 RedundancySupport . 82 12.6 ServerState . 83 12.7 RedundantServerDataType . 83 12.8 SamplingIntervalDiagnostic
35、sDataType 84 12.9 ServerDiagnosticsSummaryDataType . 84 12.10 ServerStatusDataType 85 12.11 SessionDiagnosticsDataType 86 12.12 SessionSecurityDiagnosticsDataType . 87 12.13 ServiceCounterDataType 88 12.14 StatusResult . 88 12.15 SubscriptionDiagnosticsDataType . 89 12.16 ModelChangeStructureDataTyp
36、e 90 12.17 SemanticChangeStructureDataType . 90 12.18 BitFieldMaskDataType 91 12.19 NetworkGroupDataType 91 12.20 EndpointUrlListDataType 92 Annex A (informative) Design decisions when modelling the server information . 93 A.1 Overview. 93 A.2 ServerType and Server Object 93 A.3 Typed complex Object
37、s beneath the Server Object . 93 A.4 Properties versus DataVariables . 93 A.5 Complex Variables using complex DataTypes . 94 A.6 Complex Variables having an array . 94 A.7 Redundant information 94 A.8 Usage of the BaseDataVariableType . 95 A.9 Subtyping . 95 A.10 Extensibility mechanism 95 Annex B (
38、normative) StateMachines 96 B.1 General . 96 B.2 Examples of finite state machines . 96 B.2.1 Simple state machine . 96 B.2.2 State machine containing substates . 97 B.3 Definition of state machine 98 B.4 Representation of state machines in the AddressSpace 98 B.4.1 Overview . 98 B.4.2 StateMachineT
39、ype . 99 B.4.3 StateVariableType . 100 B.4.4 TransitionVariableType 101 B.4.5 FiniteStateMachineType 101 B.4.6 FiniteStateVariableType . 102 B.4.7 FiniteTransitionVariableType . 103 B.4.8 StateType 103 B.4.9 InitialStateType 104 B.4.10 TransitionType . 105 B.4.11 FromState 105 B.4.12 ToState 106 B.4
40、.13 HasCause 106 BS EN 62541-5:2015 6 IEC 62541-5:2015 IEC 2015 B.4.14 HasEffect . 106 B.4.15 HasSubStateMachine. 107 B.4.16 TransitionEventType 107 B.4.17 AuditUpdateStateEventType 108 B.4.18 Special Restrictions on subtyping StateMachines 108 B.4.19 Specific StatusCodes for StateMachines 109 B.5 E
41、xamples of StateMachines in the AddressSpace . 110 B.5.1 StateMachineType using inheritance 110 B.5.2 StateMachineType with a sub-machine using inheritance . 111 B.5.3 StateMachineType using containment 112 B.5.4 Example of a StateMachine having Transition to SubStateMachine 113 Annex C (normative)
42、File Transfer . 115 C.1 Overview. 115 C.2 FileType 115 C.3 Open . 116 C.4 Close 117 C.5 Read . 117 C.6 Write . 118 C.7 GetPosition . 118 C.8 SetPosition . 119 Figure 1 Standard AddressSpace Structure . 59 Figure 2 Views Organization 60 Figure 3 Objects Organization 61 Figure 4 ObjectTypes Organizati
43、on 62 Figure 5 VariableTypes Organization . 63 Figure 6 ReferenceType Definitions . 64 Figure 7 DataTypes Organization . 65 Figure 8 EventTypes Organization . 67 Figure 9 Excerpt of Diagnostic Information of the Server 68 Figure B.1 Example of a simple state machine . 97 Figure B.2 Example of a stat
44、e machine having a sub-machine . 97 Figure B.3 The StateMachine Information Model 99 Figure B.4 Example of an initial State in a sub-machine . 104 Figure B.5 Example of a StateMachineType using inheritance . 110 Figure B.6 Example of a StateMachineType with a SubStateMachine using inheritance 111 Fi
45、gure B.7 Example of a StateMachineType using containment 112 Figure B.8 Example of a state machine with transitions from sub-states . 113 Figure B.9 Example of a StateMachineType having Transition to SubStateMachine . 114 Table 1 Examples of DataTypes . 15 Table 2 Type Definition Table 16 Table 3 Co
46、mmon Node Attributes 17 Table 4 Common Object Attributes . 17 Table 5 Common Variable Attributes 17 BS EN 62541-5:2015IEC 62541-5:2015 IEC 2015 7 Table 6 Common VariableType Attributes 18 Table 7 BaseObjectType Definition 18 Table 8 ServerType Definition 19 Table 9 ServerCapabilitiesType Definition
47、21 Table 10 ServerDiagnosticsType Definition 23 Table 11 SessionsDiagnosticsSummaryType Definition . 24 Table 12 SessionDiagnosticsObjectType Definition 24 Table 13 VendorServerInfoType Definition . 25 Table 14 ServerRedundancyType Definition . 25 Table 15 TransparentRedundancyType Definition 25 Tab
48、le 16 NonTransparentRedundancyType Definition 26 Table 17 NonTransparentNetworkRedundancyType Definition . 27 Table 18 OperationLimitsType Definition 28 Table 19 AddressSpaceFileType Definition 29 Table 20 NamespaceMetadataType Definition . 30 Table 21 NamespacesType Definition 31 Table 22 BaseEvent
49、Type Definition . 31 Table 23 AuditEventType Definition . 34 Table 24 AuditSecurityEventType Definition . 34 Table 25 AuditChannelEventType Definition 35 Table 26 AuditOpenSecureChannelEventType Definition . 35 Table 27 AuditSessionEventType Definition . 36 Table 28 AuditCreateSessionEventType Definition . 37 Table 29 AuditUrlMismatchEventType Definition 37 Table 30 AuditActivateSessionEventType Definition . 38 Table 31