1、 Reference number ISO 20242-4:2011(E) ISO 2011INTERNATIONAL STANDARD ISO 20242-4 First edition 2011-12-15 Industrial automation systems and integration Service interface for testing applications Part 4: Device capability profile template Systmes dautomatisation industrielle et intgration Interface d
2、e service pour contrler les applications Partie 4: Modle de profil de capacit de dispositif ISO 20242-4:2011(E) COPYRIGHT PROTECTED DOCUMENT ISO 2011 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or
3、mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web ww
4、w.iso.org Published in Switzerland ii ISO 2011 All rights reservedISO 20242-4:2011(E) ISO 2011 All rights reserved iiiContents Page Foreword iv Introduction . v 1 Scope 1 2 Normative references 1 3 Terms and definitions . 1 4 Abbreviated terms . 2 5 Device capability profile framework 3 5.1 General
5、. 3 5.2 Creation procedure of DCD, CCD and PID 4 6 Generic device capability profile template . 6 6.1 General . 6 6.2 Generic DCPT model . 6 6.3 Generic DCPT XML schema . 7 7 Common rules for DCPT . 10 7.1 General . 10 7.2 DCPT header 11 7.3 Extension of profile template . 12 7.4 Assignment of textu
6、al information 13 7.5 Creating PID . 14 8 Multilingual text elements. 14 Annex A (informative) ASAM GDI device capability profile template 16 Annex B (informative) Device capability profile templates for manufacturing applications . 35 Annex C (informative) Device capability profile templates for OR
7、iN robot applications 55 Bibliography 75 ISO 20242-4:2011(E) iv ISO 2011 All rights reservedForeword ISO (the International Organization for Standardization) is a worldwide federation of national standards bodies (ISO member bodies). The work of preparing International Standards is normally carried
8、out through ISO technical committees. Each member body interested in a subject for which a technical committee has been established has the right to be represented on that committee. International organizations, governmental and non-governmental, in liaison with ISO, also take part in the work. ISO
9、collaborates closely with the International Electrotechnical Commission (IEC) on all matters of electrotechnical standardization. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of technical committees is to prepare Internationa
10、l Standards. Draft International Standards adopted by the technical committees are circulated to the member bodies for voting. Publication as an International Standard requires approval by at least 75 % of the member bodies casting a vote. Attention is drawn to the possibility that some of the eleme
11、nts of this document may be the subject of patent rights. ISO shall not be held responsible for identifying any or all such patent rights. ISO 20242-4 was prepared by Technical Committee ISO/TC 184, Automation systems and integration, Subcommittee SC 5, Interoperability, integration, and architectur
12、es for enterprise systems and automation applications. ISO 20242 consists of the following parts, under the general title Industrial automation systems and integration Service interface for testing applications: Part 1: Overview Part 2: Resource management service interface Part 3: Virtual device se
13、rvice interface Part 4: Device capability profile template The following parts are under preparation: Part 5: Application program service interface Part 6: Conformance test methods, criteria and reports ISO 20242-4:2011(E) ISO 2011 All rights reserved vIntroduction The motivation for ISO 20242 stems
14、 from the desire of international automotive industries and their suppliers to facilitate the integration of automation and measurement devices, and other peripheral components for this purpose, into computer-based applications. ISO 20242 defines rules for the construction of device drivers and thei
15、r behaviour in the context of an automation and/or measurement application. The main goal of ISO 20242 is to provide users with: independence from the computer operating system; independence from the device connection technology (device interface/network); independence from device suppliers; the abi
16、lity to ensure compatibility between device drivers and connected devices, and their behaviour in the context of a given computer platform; independence from the technological device development in the future. ISO 20242 does not necessitate the development of new device families or the use of specia
17、l interface technologies (networks). It encapsulates a device and its communication interface to make it compatible with other devices of that kind for a given application. INTERNATIONAL STANDARD ISO 20242-4:2011(E) ISO 2011 All rights reserved 1Industrial automation systems and integration Service
18、interface for testing applications Part 4: Device capability profile template 1 Scope This part of ISO 20242 defines the formatting, syntax and semantic rules for describing device and coordinator capabilities with XML schema, and the configuration of devices with XML. NOTE This part of ISO 20242 do
19、es not address the coordinator configuration, which will be addressed elsewhere in the ISO 20242 series. 2 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the
20、 latest edition of the referenced document (including any amendments) applies. ISO 15745-1, Industrial automation systems and integration Open systems application integration framework Part 1: Generic reference description ISO 20242-1, Industrial automation systems and integration Service interface
21、for testing applications Part 1: Overview ISO 20242-3, Industrial automation systems and integration Service interface for testing applications Part 3: Virtual device service interface 3 Terms and definitions For the purposes of this document, the terms and definitions given in ISO 20242-1, ISO 2024
22、2-3 and the following apply. 3.1 communication object existing object which may be accessed with a communication function to read or write a value ISO 20242-1:2005, definition 2.3 ISO 20242-4:2011(E) 2 ISO 2011 All rights reserved3.2 coordinator program with a specified interface to handle the acces
23、s of an application program to one or more device drivers and to manage real-time application aspects, synchronization and events ISO 20242-1:2005, definition 2.4 3.3 coordinator capability description text file containing information about the capabilities of coordinators in a defined format (i.e.
24、structure, syntax) 3.4 device capability description text file containing information about the capabilities of virtual devices in a defined format (i.e. structure, syntax) ISO 20242-1:2005, definition 2.5 3.5 device driver software module providing an ISO 20242-specified interface with service func
25、tions to call a platform adapter to access physical devices ISO 20242-2:2010, definition 3.1 3.6 function object instance describing one capability of a virtual device ISO 20242-3:2011, definition 3.4 3.7 operation instance describing one complete procedure ISO 20242-3:2011, definition 3.5 3.8 param
26、eterization instance description information about the configuration of a coordinator and of virtual devices 3.9 virtual device representation of one or more physical devices and/or stand-alone software modules that provide an unambiguous view of the resources of a communication interface ISO 20242-
27、3:2011, definition 3.7 4 Abbreviated terms CCD Coordinator Capability Description DCD Device Capability Description DCPT Device Capability Profile Template PID Parameterization Instance Description ISO 20242-4:2011(E) ISO 2011 All rights reserved 3VD Virtual Device VDSI Virtual Device Service Interf
28、ace XML eXtensible Markup Language 5 Device capability profile framework 5.1 General For the design of device capability profile templates (DCPTs), device capability descriptions (DCDs) and coordinator capability descriptions (CCDs), a device capability profile framework as shown in Figure 1 shall b
29、e used. The generic DCPT shall use the generic information exchange profile template of ISO 15745-1 as a skeleton and shall be constructed in XML schema. The technology-specific DCPT describes technology- specific capabilities and shall extend the generic DCPT in XML schema. A DCD describes capabili
30、ties of virtual devices in a device driver and shall extend a technology-specific DCPT in XML schema. A CCD describes capabilities of a coordinator and shall extend a technology-specific DCPT in XML schema. A CCD imports DCDs for device drivers and describes capabilities of a system. A parameterizat
31、ion instance description (PID) describes configurations of a coordinator and device drivers. A PID shall be constructed by instantiations of one CCD and one to many DCDs. The PID is a realization of the information exchange profile in ISO 15745-1 and can be used together with other profiles of ISO 1
32、5745. ISO15745-1: GenericInformationExchangeProfileTemplate GenericDCPT TechnologySpecificDCPT TechnologySpecificCapability CCD DCD DeviceCapability CoordinatorCapability :PID :InformationExchangeProfile (from ISO15745-1) Figure 1 Class diagram of device capability profile framework Figure 2 shows t
33、he class diagram of CCD and DCD in the framework. The generic DCPT specifies the aggregate of the generic CCD and generic DCD. The generic CCD describes generic capabilities of a coordinator. The generic DCD describes generic capabilities of virtual devices. The technology-specific CCD in a technolo
34、gy-specific DCPT shall inherit the generic CCD and describes technology-specific capabilities of a coordinator. The technology-specific DCD shall inherit the generic DCD and describes technology-specific capabilities of virtual devices. ISO 20242-4:2011(E) 4 ISO 2011 All rights reserved(CoordinatorS
35、pecificCCD) 0* GenericCCD GenericDCD 1* TechnologySpecificCCD TechnologySpecificDCD (DeviceSpecificCCD) (CCD instance) (DCD instance) GenericDCPT TechnologySpecificDCPT CCD DCD PID Figure 2 Class diagram of CCD and DCD The coordinator-specific CCD shall inherit the technology-specific CCD and descri
36、bes coordinator-specific capabilities. The name of a coordinator-specific CCD can be described by the coordinator-specific name. The device-specific DCD shall inherit the technology-specific DCD and shows device-specific capabilities. The name of a device-specific DCD can be described by the device-
37、driver-specific name. Between the generic CCD and the generic DCD, there shall be an aggregation relation as shown in Figure 2. A generic CCD may contain one to many generic DCDs. Different generic CCDs may use the same generic DCD. Generic DCDs may exist without a generic CCD. The coordinator-speci
38、fic CCD and the device-specific DCD have the aggregation relation from inheritance. A CCD can import the DCDs of device drivers. The CCD instance in a PID shall be an XML instance of the coordinator-specific CCD XML schema. A DCD instance in a PID shall be an XML instance of a device-specific DCD XM
39、L schema. The XML tag name of a CCD instance shall be the name of the coordinator-specific CCD. The XML tag name of a DCD instance shall be the name of the device- specific DCD. 5.2 Creation procedure of DCD, CCD and PID 5.2.1 General Figure 3 shows the creation procedure of DCD and CCD. Clause 6 de
40、fines the generic DCPT in XML schema. The technology of each service interface defines technology-specific capabilities as a technology-specific DCPT. NOTE Technology-specific DCPTs for ASAM GDI, MICX and ORiN are described in Annexes A, B and C. The vendor of a device, equipment or software module
41、shall extend the technology-specific DCD of the technology-specific DCPT with the capabilities of the device or equipment. The resulting DCD XML schema shall be provided together with a device driver. The vendor of a coordinator shall extend the technology-specific CCD of the technology-specific DCP
42、T with the capabilities of the coordinator. The resulting CCD XML schema shall be provided with the coordinator. A configuration tool can import the CCD and the required DCDs to create the PID XML instance with the configuration data for the required application. The PID shall contain all required i
43、nstances with names and values. The coordinator can read the PID XML instance and perform a coordinator setup and the configuration of devices, equipment or software modules. The configuration shall be performed via the virtual device service interface (VDSI) of the device drivers as defined in ISO
44、20242-3. ISO 20242-4:2011(E) ISO 2011 All rights reserved 5Generic DCD Generic CCD Technology- Specific DCD Technology- Specific CCD Technology- Specific Capabilities Generic DCPT (XML Schema) Technology- Specific DCPT (XML Schema) Device C Capabilities Device B Capabilities Device A Capabilities DC
45、D C (XML Schema) DCD B (XML Schema) DCD A (XML Schema) CCD (XML Schema) Import Extension Extension Coordinator Capabilities PID (XML Instance) Coordinator Parameters and Device Configurations Extension ExtensionNOTE In this figure, a cylinder shape shows the XML file and a paper shape shows the capa
46、bility or configuration information. A solid arrow shows the extension of the XML schema file. A broken arrow shows the injection of capability or configuration information. A small dotted arrow shows the application of the XML schema. Figure 3 Creation procedure of CCD and DCD 5.2.2 Device capabili
47、ty description (DCD) The DCD shall be an XML schema and shall contain the following: identification information of the device driver; a description of device capabilities of virtual devices supported by the device driver. 5.2.3 Coordinator capability description (CCD) The CCD shall be an XML schema
48、and shall contain the following: identification information of the coordinator software; a description of coordinator capabilities; qualification of the supported application program service interface. 5.2.4 Parameterization instance description (PID) The PID shall be an XML instance and shall conta
49、in the following: identification information of the PID as information exchange profile of ISO 15745; a description of parameterization instances with application-defined names; configuration data for the device drivers. ISO 20242-4:2011(E) 6 ISO 2011 All rights reserved6 Generic device capability profile template 6.1 General The generic DCPT defines the common structure of DCPT and is not dependent on technology of a service interface. A technology-speci