Orin2.1 Specifications Part 1: Outline Version 2.1.0
Total Page:16
File Type:pdf, Size:1020Kb
1 ORiN2.1 Specifications Part 1: Outline Version 2.1.0 November 18, 2008 【Remarks】 2 【Revision history】 Date Rev. Content 2005-08-25 1.0.0 First edition. 2008-11-18 2.1.0 3 Contents 1. Background ................................................................................................... 4 2. Technology outline ......................................................................................... 5 3. Range of modeling ......................................................................................... 6 3.1. Nonvolatile resource and volatile resource .......................................................................................... 7 3.2. Pull type device and push type device ................................................................................................. 7 4. Outline of CAO............................................................................................... 8 4.1. Object model of CAO ............................................................................................................................ 9 4.2. Function of CAO ................................................................................................................................. 10 5. Outline of CRD............................................................................................. 12 6. Outline of CAP ............................................................................................. 14 Appendix A. Glossary ...................................................................................... 15 4 1. Background Recently, the number PC application programs in the factory is increasing. Various application programs like production management system, process control system, operation monitoring system, and trouble analysis system, etc. operate at the factory, and they are becoming keys of the manufacturing system. However, most of these PC applications are developed only for a specific manufacturer and a specific model. This is because they are "a la carte" application that depends on specific proprietary networks and proprietary protocols. Once such a system is introduced in a factory, a full-time working software developer is required to reside in the factory to continue the improvement of the system. Otherwise, the system will be far from really usable one, and will be left in the factory without any improvement. Such a state decreases the cost effectiveness of the system, and decreases the value of the system itself. In addition, because the product demand increase is very steep recently, failure to catch up the demand will mean the opportunity loss. Therefore, each manufacturing companies are trying achieving vertical start-up of equipment. To achieve this goal, high reusability of hardware and software throughout the equipment life cycle is very important. The reusability of “a la carte” software becomes very low. To cope with the situation, ORiN was developed to prepare standard PC application network. ORiN is an abbreviation of Open Robot/Resource Interface for the Network, and it is a framework to handle wide range of resources like robots and various FA equipments. By using ORiN, manufacturer and model independent applications can be developed, and the reusability of PC application program will be greatly improved. The ORiN project started in 1999, and ORiN Version 1 was released in 2002 as a result of the project. ORiN version 1 was applied on various FA applications, and based on the technologies developed through the applications, new standard of ORiN version 2 (ORiN2) was released. This document is specifications of ORiN2. Figure1: Target of ORiN 5 2. Technology outline ORiN2 is middleware that provides a standard program interface for FA devices (equipments) such as industrial robot, PLC or NC, and has the following features. • Independence from programming language • Independence from communication protocol • Network transparency Independence from the programming language means that various programming languages can be used Independence from communication protocol means that the middleware does not rely on manufacturer proprietary protocol. Network transparency means that implemented module can be placed anywhere on the network and it can be accessed transparently from client applications. ORiN2 is composed of the following three technologies. 1 CAO-standard program interface (Chapter 2) 2 CRD-standard data schema (Chapter 3) 3 CAP-communication protocol for Internet (Chapter 4) CAO (Controller Access Object) is based on distributed object technology, CRD (Controller Resource Definition) is based on XML technology, and CAP (Controller Access Object) is based on SOAP technology, respectively. The relationship between these technologies is shown in Figure2. Application Add this layer for abstruction, and provide standard access procedures. ⇒ (1) Program Interface CAO ORiN device model Provide a standard schema to represent the resources of the devices. =CRD ⇒ (2) Data Schema CRD Device(substance) Provide a Internet-transparent access to the device =CAP ⇒ (3) Internet Transparent Protocol CAP Figure2: ORiN2model and three technologies 6 3. Range of modeling The specification of ORiN is defined in the viewpoint of "How are the resources in the device is opened to the public". ORiN defines a device model of abstracted FA device, and the modeled resources are shown in Message File Task(job) … File Task management PC ・Language Expansion Controller(main) interpretation … card Command Robot Teach Box I/O Variabole management Volatile resource Non-volatile Trajectory resource Servo FA device Figure3. To use ORiN, not all of these resources are required, but only at least one resource that matches ORiN model is required. This lax restriction enabled utilization of ORiN with various FA devices. Message File Task(job) … File Task management PC ・Language Expansion Controller(main) interpretation … card Command Robot Teach Box I/O Variabole management Volatile resource Non-volatile Trajectory resource Servo FA device 7 Figure3: Object area of ORiN2 3.1. Nonvolatile resource and volatile resource Resources managed by ORiN can be classified as nonvolatile and volatile. For instance, resources like I/O and register variable of PLC (Programmable Logic Controller) exists as long as the power is supplied to the device. These types of resources are called as nonvolatile resources. On the other hand, a message character string generated by a device or command character strings sent to a device are called as nonvolatile resource. Both types of resources are modeled in ORiN 3.2. Pull type device and push type device ORiN can manage two types of devices, i.e., a pull type (store type) device and push type (event type) device. For instance, most of PLCs or robot controllers are pull type device, and their resource data is accessed from the outside. A characteristic of a pull type device is that it has "present value". Oppositely, a push type is the kind of device that pushes out data from the device, like a bar code scanner. 8 4. Outline of CAO CAO (Controller Access Object) is a specification that becomes the nucleus of ORiN and defines a standard program interface. CAO is based on the distributed object technology. CAO consists of two parts, the engine part and the provider part. The engine part defines the sole application program interface. The aim of the engine part is to offer a generalized function that does not depend on each FA device. Oppositely, the provider part is a module that absorbs the differences between the CAO abstraction device and the actual FA device. The provider part defines the sole interface to the engine part. This is called as device interface. (Figure4) Figure4: Outline of CAO Because of the structure of CAO, application program developers can develop applications that do not so much depend on the devices, and device manufactures can open device functions to the public without depending on the type of the applications using the devices. Moreover, by dividing the engine part and the provider part, development of the essential function of device dependence absorption becomes easy. Following is the framework of the CAO application. 1 A CAO application operates the device object abstracted by the CAO engine. 2 Based on the operation demand, the CAO engine executes the part of the process that doesn't depend on an actual device. 3 The CAO provider executes the part of the process that depends on the actual device and could not be processed by the CAO engine. 9 In general, "Program = algorithm + data", and CAO is designed to unify the algorithm of the programs. Unifying application program strictly limits the program specifications, but unifying algorithm enables both generality and diversity of the program. In this way, resource data expression can be defined for each manufactures and models. However, if the data expression is too much different, sharing the program becomes difficult. Therefore, ORiN introduced two ideas. One idea is system variables. Data generality can be improved by defining system variables whose meaning and purpose are laxly defined. Another idea is CAO model description language. Using the expression, a group of object necessary in assumed situations can be defined, and it is helpful to separate program algorithm and data. 4.1. Object model of CAO Figure5 shows the object tree of CAO. Because the architecture of CAO is separated to two layers (the engine part and the provider part), the object model is also separated in two. The model