SVENSK STANDARD SS-EN 62541-100 Fastställd Utgåva Sida Ansvarig kommitté 2015-11-18 1 1 (1+58) SEK TK 65 Copyright SEK. Reproduction in any form without permission is prohibited. OPC Unified Architecture Del 100: Gränssnitt för utrustning OPC unified architecture Part 100: Device Interface Som svensk standard gäller europastandarden EN 62541-100:2015. Den svenska standarden innehåller den officiella engelska språkversionen av EN 62541-100:2015. Nationellt förord Europastandarden EN 62541-100:2015 består av: europastandardens ikraftsättningsdokument, utarbetat inom CENELEC IEC 62541-100, First edition, 2015 - OPC unified architecture - Part 100: Device Interface utarbetad inom International Electrotechnical Commission, IEC. ICS 25.040.40; 35.100.00 Denna standard är fastställd av, som också kan lämna upplysningar om sakinnehållet i standarden. Postadress: Box 1284, 164 29 KISTA Telefon: 08-444 14 00. E-post: sek@elstandard.se. Internet: www.elstandard.se
Standarder underlättar utvecklingen och höjer elsäkerheten Det finns många fördelar med att ha gemensamma tekniska regler för bl a mätning, säkerhet och provning och för utförande, skötsel och dokumentation av elprodukter och elanläggningar. Genom att utforma sådana standarder blir säkerhetsfordringar tydliga och utvecklingskostnaderna rimliga samtidigt som marknadens acceptans för produkten eller tjänsten ökar. Många standarder inom elområdet beskriver tekniska lösningar och metoder som åstadkommer den elsäkerhet som föreskrivs av svenska myndigheter och av EU. SEK är Sveriges röst i standardiseringsarbetet inom elområdet svarar för standardiseringen inom elområdet i Sverige och samordnar svensk medverkan i internationell och europeisk standardisering. SEK är en ideell organisation med frivilligt deltagande från svenska myndigheter, företag och organisationer som vill medverka till och påverka utformningen av tekniska regler inom elektrotekniken. SEK samordnar svenska intressenters medverkan i SEKs tekniska kommittéer och stödjer svenska experters medverkan i internationella och europeiska projekt. Stora delar av arbetet sker internationellt Utformningen av standarder sker i allt väsentligt i internationellt och europeiskt samarbete. SEK är svensk nationalkommitté av International Electrotechnical Commission (IEC) och Comité Européen de Normalisation Electrotechnique (CENELEC). Standardiseringsarbetet inom SEK är organiserat i referensgrupper bestående av ett antal tekniska kommittéer som speglar hur arbetet inom IEC och CENELEC är organiserat. Arbetet i de tekniska kommittéerna är öppet för alla svenska organisationer, företag, institutioner, myndigheter och statliga verk. Den årliga avgiften för deltagandet och intäkter från försäljning finansierar SEKs standardiseringsverksamhet och medlemsavgift till IEC och CENELEC. Var med och påverka! Den som deltar i SEKs tekniska kommittéarbete har möjlighet att påverka framtida standarder och får tidig tillgång till information och dokumentation om utvecklingen inom sitt teknikområde. Arbetet och kontakterna med kollegor, kunder och konkurrenter kan gynnsamt påverka enskilda företags affärsutveckling och bidrar till deltagarnas egen kompetensutveckling. Du som vill dra nytta av dessa möjligheter är välkommen att kontakta SEKs kansli för mer information. Box 1284 164 29 Kista Tel 08-444 14 00 www.elstandard.se
EUROPEAN STANDARD NORME EUROPÉENNE EUROPÄISCHE NORM EN 62541-100 May 2015 ICS 25.040.40; 35.100 English Version OPC unified architecture - Part 100: Device Interface (IEC 62541-100:2015) Architecture unifiée OPC - Partie 100: Interface d'appareils (IEC 62541-100:2015) OPC Unified Architecture - Teil 100: Geräteschnittstelle (IEC 62541-100:2015) This European Standard was approved by CENELEC on 2015-04-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, Former Yugoslav Republic of Macedonia, France, Germany, Greece, Hungary, Iceland, 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é Européen de Normalisation Electrotechnique Europäisches Komitee für 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-100:2015 E
EN 62541-100:2015-2 - Foreword The text of document 65E/372/CDV, future edition 1 of IEC 62541-100, 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-100:2015. 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 latest date by which the national standards conflicting with the document have to be withdrawn (dop) 2016-01-29 (dow) 2018-04-29 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 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-100:2015 was approved by CENELEC as a European Standard without any modification. In the official version, for Bibliography, the following notes have to be added for the standards indicated: IEC 61131 NOTE Harmonized in EN 61131 series (not modified). IEC 61499-1:2012 NOTE Harmonized as EN 61499-1:2013 (not modified). IEC 61784 NOTE Harmonized in EN 61784 series (not modified). IEC 62591 NOTE Harmonized as EN 62591. IEC 62769 NOTE Harmonized in EN 62769 series 1) (not modified). 1) At draft stage.
- 3 - EN 62541-100: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 cited 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 versions 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 IEC 62541-3 - OPC unified architecture - Part 3: Address Space Model IEC 62541-4 - OPC unified architecture - Part 4: Services IEC 62541-5 - OPC unified architecture - Part 5: Information Model IEC 62541-6 - OPC unified architecture - Part 6: Mappings IEC 62541-7 - OPC unified architecture - Part 7: Profiles IEC 62541-8 - OPC Unified Architecture - Part 8: Data Access CLC/TR 62541-1 - EN 62541-3 - EN 62541-4 - EN 62541-5 - EN 62541-6 - EN 62541-7 - EN 62541-8 -
2 IEC 62541-100:2015 IEC 2015 CONTENTS FOREWORD... 6 1 Scope... 8 2 Reference documents... 8 3 Terms, definitions, abbreviations and used data types... 8 3.1 Terms and definitions... 8 3.2 Abbreviations... 10 3.3 Used data types... 10 4 Fundamentals... 10 4.1 OPC UA... 10 4.2 Conventions used in this document... 11 4.2.1 Conventions for Node descriptions... 11 4.2.2 NodeIds and BrowseNames... 12 5 Device model... 13 5.1 General... 13 5.2 TopologyElementType... 14 5.3 FunctionalGroupType... 16 5.4 Identification FunctionalGroup... 18 5.5 UIElement Type... 19 5.6 DeviceType... 19 5.7 Device support information... 22 5.7.1 General... 22 5.7.2 Device Type Image... 23 5.7.3 Documentation... 23 5.7.4 Protocol support files... 23 5.7.5 Images... 24 5.8 DeviceSet entry point... 24 5.9 ProtocolType... 25 5.10 BlockType... 26 5.11 Configurable components... 28 5.11.1 General pattern... 28 5.11.2 ConfigurableObjectType... 28 6 Device vommunication model... 29 6.1 General... 29 6.2 Network... 30 6.3 ConnectionPoint... 31 6.4 ConnectsTo and ConnectsToParent ReferenceTypes... 33 6.5 NetworkSet Object (mandatory)... 34 7 Device integration host model... 35 7.1 General... 35 7.2 DeviceTopology Object... 36 7.3 Online/Offline... 37 7.3.1 General... 37 7.3.2 IsOnline ReferenceType... 38 8 AddIn Capabilities... 39 8.1 Overview... 39
IEC 62541-100:2015 IEC 2015 3 8.2 Offline-Online data transfer... 40 8.2.1 Definition... 40 8.2.2 TransferServices Type... 40 8.2.3 TransferServices Object... 41 8.2.4 TransferToDevice Method... 41 8.2.5 TransferFromDevice Method... 42 8.2.6 FetchTransferResultData Method... 43 8.3 Locking... 45 8.3.1 Overview... 45 8.3.2 LockingServices Type... 45 8.3.3 LockingServices Object... 47 8.3.4 MaxInactiveLockTime Property... 47 8.3.5 InitLock Method... 48 8.3.6 ExitLock Method... 48 8.3.7 RenewLock Method... 49 8.3.8 BreakLock Method... 49 9 Specialized topology elements... 50 9.1 General... 50 9.2 Block Devices (BlockOriented DeviceType)... 50 9.3 Modular Devices... 51 10 Profiles... 52 10.1 General... 52 10.2 Device Server Facets... 52 10.3 Device Client Facets... 53 Annex A (normative) Namespace and mappings... 55 Bibliography... 56 Figure 1 Device model overview... 13 Figure 2 Components of the TopologyElementType... 14 Figure 3 FunctionalGroupType... 16 Figure 4 Analyser Device use for FunctionalGroups (UA Companion ADI)... 17 Figure 5 PLCopen use for FunctionalGroups (UA Companion PLCopen)... 18 Figure 6 Example of an Identification FunctionalGroup... 19 Figure 7 DeviceType... 20 Figure 8 Integration of support information within a DeviceType... 22 Figure 9 Standard entry point for Devices... 25 Figure 10 Example of a ProtocolType hierarchy with instances that represent specific communication profiles... 26 Figure 11 BlockType hierarchy... 27 Figure 12 Configurable component pattern... 28 Figure 13 ConfigurableObjectType... 29 Figure 14 Initial example of a communication topology... 30 Figure 15 NetworkType... 30 Figure 16 Example of ConnectionPointType hierarchy... 31 Figure 17 ConnectionPointType... 32 Figure 18 ConnectionPoint usage... 33
4 IEC 62541-100:2015 IEC 2015 Figure 19 Type hierarchy for ConnectsTo and ConnectsToParent References... 33 Figure 20 Example with ConnectsTo and ConnectsToParent References... 34 Figure 21 Example of an automation system... 35 Figure 22 Example of a Device topology... 36 Figure 23 Online component for access to device data... 37 Figure 24 Type hierarchy for IsOnline Reference... 39 Figure 25 TransferServicesType... 40 Figure 26 TransferServices... 41 Figure 27 LockingServicesType... 46 Figure 28 LockingServices... 47 Figure 29 Block-oriented Device structure example... 50 Figure 30 Modular Device structure example... 51 Table 1 DataTypes defined in IEC 62541-3... 10 Table 2 Type definition table... 11 Table 3 Examples of DataTypes... 12 Table 4 TopologyElementType definition... 15 Table 5 ParameterSet definition... 15 Table 6 MethodSet definition... 15 Table 7 FunctionalGroupType definition... 16 Table 8 UIElementType definition... 19 Table 9 DeviceType definition... 20 Table 10 DeviceHealth values... 22 Table 11 DeviceTypeImage definition... 23 Table 12 Documentation definition... 23 Table 13 ProtocolSupport definition... 23 Table 14 ImageSet definition... 24 Table 15 DeviceSet definition... 25 Table 16 ProtocolType definition... 26 Table 17 BlockType definition... 27 Table 18 ConfigurableObjectType definition... 29 Table 19 NetworkType definition... 31 Table 20 ConnectionPointType definition... 32 Table 21 ConnectsTo ReferenceType... 34 Table 22 ConnectsToParent ReferenceType... 34 Table 23 NetworkSet definition... 34 Table 24 DeviceTopology definition... 37 Table 25 IsOnline ReferenceType... 39 Table 26 TransferServicesType definition... 40 Table 27 TransferToDevice Method arguments... 42 Table 28 TransferToDevice Method AddressSpace definition... 42 Table 29 TransferFromDevice Method arguments... 42 Table 30 TransferFromDevice Method AddressSpace definition... 43
IEC 62541-100:2015 IEC 2015 5 Table 31 FetchTransferResultData Method Arguments... 44 Table 32 FetchTransferResultData Method AddressSpace definition... 44 Table 33 FetchResultDataType structure... 44 Table 34 TransferResultError DataType structure... 44 Table 35 TransferResultData DataType structure... 45 Table 36 LockingServicesType definition... 46 Table 37 MaxInactiveLockTime Property definition... 47 Table 38 InitLock Method Arguments... 48 Table 39 InitLock Method AddressSpace definition... 48 Table 40 ExitLock Method Arguments... 49 Table 41 ExitLock Method AddressSpace definition... 49 Table 42 RenewLock Method Arguments... 49 Table 43 RenewLock Method AddressSpace definition... 49 Table 44 BreakLock Method Arguments... 50 Table 45 BreakLock Method AddressSpace definition... 50 Table 46 BaseDevice_Server_Facet definition... 52 Table 47 DeviceIdentification_Server_Facet definition... 52 Table 48 BlockDevice_Server_Facet definition... 52 Table 49 Locking_Server_Facet definition... 52 Table 50 DeviceCommunication_Server_Facet definition... 53 Table 51 DeviceIntegrationHost_Server_Facet definition... 53 Table 52 BaseDevice_Client_Facet definition... 53 Table 53 DeviceIdentification_Client_Facet definition... 53 Table 54 BlockDevice_Client_Facet definition... 54 Table 55 Locking_Client_Facet definition... 54 Table 56 DeviceCommunication_Client_Facet definition... 54 Table 57 DeviceIntegrationHost_Client_Facet definition... 54
6 IEC 62541-100:2015 IEC 2015 INTERNATIONAL ELECTROTECHNICAL COMMISSION OPC UNIFIED ARCHITECTURE Part 100: Device Interface FOREWORD 1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising all national electrotechnical committees (IEC National Committees). The object of IEC is to promote international co-operation on all questions concerning standardization in the electrical and electronic fields. To this end and in addition to other activities, IEC publishes International Standards, Technical Specifications, Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as IEC Publication(s) ). Their preparation is entrusted to technical committees; any IEC National Committee interested in the subject dealt with may participate in this preparatory work. International, governmental and nongovernmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely with the International Organization for Standardization (ISO) in accordance with conditions determined by agreement between the two organizations. 2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international consensus of opinion on the relevant subjects since each technical committee has representation from all interested IEC National Committees. 3) IEC Publications have the form of recommendations for international use and are accepted by IEC National Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any misinterpretation by any end user. 4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications transparently to the maximum extent possible in their national and regional publications. Any divergence between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in the latter. 5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any services carried out by independent certification bodies. 6) All users should ensure that they have the latest edition of this publication. 7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and members of its technical committees and IEC National Committees for any personal injury, property damage or other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC Publications. 8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is indispensable for the correct application of this publication. 9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of patent rights. IEC shall not be held responsible for identifying any or all such patent rights. International Standard IEC 62541-100 has been prepared by subcommittee 65E: Devices and integration in enterprise systems, of IEC technical committee 65: Industrial-process measurement, control and automation. The text of this standard is based on the following documents: CDV 65E/372/CDV Report on voting 65E/412/RVC Full information on the voting for the approval of this standard can be found in the report on voting indicated in the above table. This publication has been drafted in accordance with the ISO/IEC Directives, Part 2.
IEC 62541-100:2015 IEC 2015 7 A list of all parts of the IEC 62541 series, published under the general title, can be found on the IEC website. The committee has decided that the contents of this publication will remain unchanged until the stability date indicated on the IEC web site under "http://webstore.iec.ch" in the data related to the specific publication. At this date, the publication will be reconfirmed, withdrawn, replaced by a revised edition, or amended. IMPORTANT The 'colour inside' logo on the cover page of this publication indicates that it contains colours which are considered to be useful for the correct understanding of its contents. Users should therefore print this document using a colour printer.
8 IEC 62541-100:2015 IEC 2015 OPC UNIFIED ARCHITECTURE Part 100: Device Interface 1 Scope This part of IEC 62541 is an extension of the overall OPC Unified Architecture standard series and defines the information model associated with Devices. This part of IEC 62541 describes three models which build upon each other as follows: the (base) Device Model is intended to provide a unified view of devices irrespective of the underlying device protocols; the Device Communication Model adds Network and Connection information elements so that communication topologies can be created; the Device Integration Host Model finally adds additional elements and rules required for host systems to manage integration for a complete system. It allows reflecting the topology of the automation system with the devices as well as the connecting communication networks. 2 Reference documents 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 cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. IEC TR 62541-1, OPC Unified Architecture Part 1: Overview and Concepts IEC 62541-3, OPC Unified Architecture Part 3: Address Space Model IEC 62541-4 OPC Unified Architecture Part 4: Services IEC 62541-5, OPC Unified Architecure Part 5: Information Model IEC 62541-6, OPC Unified Architecure Part 6: Mappings IEC 62541-7, OPC Unified Architecure Part 7: Profiles IEC 62541-8, OPC Unified Architecure Part 8: Data Access NAMUR Recommendation NE107: Self-monitoring and diagnosis of field devices