ImageVerifierCode 换一换
格式:PDF , 页数:86 ,大小:1,022KB ,
资源ID:1252215      下载积分:10000 积分
快捷下载
登录下载
邮箱/手机:
温馨提示:
如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝扫码支付 微信扫码支付   
注意:如需开发票,请勿充值!
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【http://www.mydoc123.com/d-1252215.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(ISO 20242-2-2010 Industrial automation systems and integration - Service interface for testing applications - Part 2 Resource management service interface《工业自动化.pdf)为本站会员(explodesoak291)主动上传,麦多课文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文库(发送邮件至master@mydoc123.com或直接QQ联系客服),我们立即给予删除!

ISO 20242-2-2010 Industrial automation systems and integration - Service interface for testing applications - Part 2 Resource management service interface《工业自动化.pdf

1、 Reference number ISO 20242-2:2010(E) ISO 2010INTERNATIONAL STANDARD ISO 20242-2 First edition 2010-09-01 Industrial automation systems and integration Service interface for testing applications Part 2: Resource management service interface Systmes dautomatisation industrielle et intgration Interfac

2、e de service pour contrler les applications Partie 2: Interface de service pour la gestion de ressource ISO 20242-2:2010(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited unless the t

3、ypefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adob

4、e Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unl

5、ikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. COPYRIGHT PROTECTED DOCUMENT ISO 2010 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electron

6、ic or 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

7、Web www.iso.org Published in Switzerland ii ISO 2010 All rights reservedISO 20242-2:2010(E) ISO 2010 All rights reserved iiiContents Page Foreword iv Introduction.v 1 Scope1 2 Normative references1 3 Terms and definitions .1 4 Symbols and abbreviated terms 1 5 Conventions for service definitions and

8、 procedures 2 5.1 General .2 5.2 Parameters .2 5.3 Service procedures .3 5.4 Service primitives and state diagrams3 6 Resource Management Services .4 6.1 Overview.4 6.2 List of services 5 6.3 Management support services.7 6.4 Input/output services 11 6.5 Extended services.28 6.6 Operating Support Se

9、rvices.32 6.7 States of RMS state machine .60 Annex A (informative) Implementation guidelines for RMSI Mapping of services to C/C+ function calls .64 Annex B (informative) Cascading of device drivers via RMSI77 Bibliography79 ISO 20242-2:2010(E) iv ISO 2010 All rights reservedForeword ISO (the Inter

10、national Organization for Standardization) is a worldwide federation of national standards bodies (ISO member bodies). The work of preparing International Standards is normally carried out through ISO technical committees. Each member body interested in a subject for which a technical committee has

11、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 collaborates closely with the International Electrotechnical Commission (IEC) on all matters of electrotechnical st

12、andardization. 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 International Standards. Draft International Standards adopted by the technical committees are circulated to the member bodies

13、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 elements of this document may be the subject of patent rights. ISO shall not be held responsible for identifying any or

14、all such patent rights. ISO 20242-2 was prepared by Technical Committee ISO/TC 184, Automation systems and integration, Subcommittee SC 5, Architecture, communications and integration frameworks. ISO 20242 consists of the following parts, under the general title Industrial automation systems and int

15、egration Service interface for testing applications: Part 1: Overview Part 2: Resource management service interface The following parts are planned: Part 3: Virtual device service interface Part 4: Device capability profile template Part 5: Application program service interface Part 6: Conformance t

16、est methods, criteria and reports ISO 20242-2:2010(E) ISO 2010 All rights reserved vIntroduction The motivation for ISO 20242 stems from international automotive industries and their suppliers to facilitate the integration of automation and measurement devices, and other peripheral components for th

17、is purpose, into computer-based applications. It defines rules for the construction of device drivers and their behaviour in the context of an automation application, or a measurement application, or an automation and measurement application. The main goal of ISO 20242 is to provide users with: inde

18、pendence from the computer operating system; independence from the device connection technology (device interface/network); independence from device suppliers; the ability to certify device drivers with connected devices and their behaviour in the context of a given computer platform; independence f

19、rom the technological device development in the future. ISO 20242 will not force the development of new device families or the use of special interface technologies (networks). It encapsulates a device and its communication interface to make it compatible with other devices of that kind for a given

20、application. INTERNATIONAL STANDARD ISO 20242-2:2010(E) ISO 2010 All rights reserved 1Industrial automation systems and integration Service interface for testing applications Part 2: Resource management service interface 1 Scope This part of ISO 20242 defines a service interface that provides a gene

21、ric service access point for managing and operating the resources supported by the operating system of a computer and its peripherals, including special hardware on plug-in boards that are used in computer-assisted testing applications. The resource management service interface is intended to be imp

22、lemented in a manner that offers the exposed services of a computing platform adapter to be generic and independent of the operating system and its communication interfaces. 2 Normative references The following referenced documents are indispensable for the application of this document. For dated re

23、ferences, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. ISO 20242-1, Industrial automation systems and integration Service interface for testing applications Part 1: Overview 3 Terms and definitions For the p

24、urposes of this document, the terms and definitions given in ISO 20242-1 and the following apply. 3.1 device driver software module providing an ISO 20242-specified interface with service functions to call a platform adapter to access physical devices 3.2 platform adapter software module providing a

25、 resource management service interface as defined in this part of ISO 20242, which encapsulates the computer platform, including the operating system, the hardware and its peripherals 4 Symbols and abbreviated terms CNF, Cnf Confirm (service primitive) IND, Ind Indication (service primitive) REQ, Re

26、q Request (service primitive) ISO 20242-2:2010(E) 2 ISO 2010 All rights reservedRMS Resource Management Services RMSI Resource Management Service Interface RSP, Rsp Response (service primitive) SAP Service Access Point 5 Conventions for service definitions and procedures 5.1 General This part of ISO

27、 20242 uses the descriptive conventions given in ISO/IEC 10731. The interface between the user of RMS and the provider of RMS is described by service primitives that convey parameters. Since data transmission aspects are outside the scope of ISO 20242, only the request and confirm primitives are use

28、d to describe events occurring at the RMS service provider. Indication and response primitives are used to handle events occurring at the RMS service provider. The service model, service primitives and sequence diagrams are abstract descriptions; they do not represent a specification for implementat

29、ion. Annex A contains rules for example implementations. 5.2 Parameters Service primitives, used to represent service user/provider interactions (see ISO/IEC 10731), convey parameters that indicate information used and exchanged in these interactions. This part of ISO 20242 uses a tabular format to

30、describe the component parameters of the RMS primitives, as shown in Table 1. The parameters that apply to each group of RMS primitives are set out in tables throughout the remainder of this part of ISO 20242. Each table consists of three columns, where the first column contains the name of the serv

31、ice parameter, the second column contains the input parameters of either the request or indication primitives, and the third column contains the output parameters of either the confirm or response primitives. One parameter (or part of it) is listed in each row of each table. Under the appropriate se

32、rvice primitive columns, the following codes are used to specify the type of usage of the parameter on the primitive and parameter direction specified in the column: a) M: parameter is mandatory for the primitive; b) C: parameter is conditional upon other parameters or upon RMS capabilities; c) S: p

33、arameter is a selected item; d) (blank): parameter is not conveyed by the RMS user or the RMS provider. ISO 20242-2:2010(E) ISO 2010 All rights reserved 3Table 1 Tabular format for service primitive parameters Parameter name REQ or IND CNF or RSP Argument M Parameter 1 M Parameter 2 C Result (+) S P

34、arameter 3 M Parameter 4 C Result (-) S Parameter 5 M 5.3 Service procedures 5.3.1 RMS confirmed services An RMS user submits a request primitive to the RMSI. It is implied that the service access point (SAP) exists. The corresponding service processing entity delivers a confirmation primitive to th

35、e user after all necessary interactions are finished or an error occurred. 5.3.2 RMS event handling The user creates a service access point (SAP) at RMSI for handling events. An event is signalled with an indication primitive at this access point. The user of RMSI issues a response primitive after a

36、ll necessary interactions are finished or an error occurred (see Figure 1). Interface SAP SAP Service provider confirm request local event indication response local service processorFigure 1 Handling local events with RMS 5.4 Service primitives and state diagrams If needed, UML state diagrams are us

37、ed to describe the behaviour of RMS. In such diagrams, only the service name is used to describe a state transition where no explicit state between request and confirm primitives is necessary see Figure 2 b). Otherwise an extra state of processing the service is denoted see Figure 2 a). ISO 20242-2:

38、2010(E) 4 ISO 2010 All rights reservedService Processing State service.request service.confirm RMS State X RMS State Y service RMS State U RMS State V A) B)Figure 2 State transitions caused by services 6 Resource Management Services 6.1 Overview The RMSI shall provide generic management support serv

39、ices, generic operating support services, and generic input/output services. The input/output services access another subjacent layer providing extended services. Extended services are introduced to describe the structure of loadable resources for different kinds of periphery interfaces (see Figure

40、3). NOTE 1 ISO 20242 does not define the methods for integrating entities with extended services into the RMS provider, as that will depend on the computer operating system and the programming language used for implementing service providers. However, the extended services need to be described to en

41、able the extension of input/output services for different peripheral interfaces without changing the RMS provider. See Annex A for an implementation example. NOTE 2 There are additional cascading methods described in Annex B for using the RMSI in more complex structures of device and equipment integ

42、ration. Resource Management Service Interface management support services input/output services operation support services extended services Extended Service InterfaceFigure 3 Service users and providers at the RMSI ISO 20242-2:2010(E) ISO 2010 All rights reserved 56.2 List of services 6.2.1 Generic

43、 management support services Generic management support services are used for handling the access to other services and for initiating (and loading, if necessary) extended service providers. Table 2 gives an overview of these services. Table 2 Generic management support services Service Name for ide

44、ntification Remarks Get Service Reference getFuncAddress Get the reference for a service by identifier (name and/or number) and version number. Initiate Periphery Interface Type io_initiate Get the identifier for a specified interface type and load an extended service provider for this type (if nece

45、ssary). Conclude Periphery Interface Type io_conclude Release a type identifier and close the extended service provider for this type (if existing). 6.2.2 Generic input/output services Generic input/output services are used for communication with real devices and for configuration and control of per

46、ipheral interfaces. Table 3 gives an overview of these services. Table 3 Generic input/output services Service Name for identification Remarks Open Periphery Interface Channel io_open Open a peripheral interface for data transmission and configure the interface. Reconfigure Periphery Interface Chann

47、el io_config Change the configuration of an interface without closing it, e.g. change transmission parameters. Read Data io_read Fetch received data at a peripheral interface. Write Data io_write Deliver data to a peripheral interface for transmitting. Execute Operation io_execute Execute an operati

48、on belonging to a peripheral interface channel. This is comparable to handling both read and write data with one service (data exchange). Cancel Communication io_cancel Cancel a Read Data, Write Data or Execute Operation service and prepare the interface for new requests. Get Periphery Interface Cha

49、nnel Status io_stat Investigate the status of a peripheral interface. Clear Read Buffer io_clear Delete the contents of the input buffer of a peripheral interface. Close Peripheral Interface Channel io_close Close a peripheral interface. Signal Event io_event Indicating a local event and responding to the event source. Generic input/output services are transferred to corresponding extended services (see Table 4) if an extended service provider is loaded for the specified type of interfac

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1