JP2011107957A - Application execution method and unification control device - Google Patents

Application execution method and unification control device Download PDF

Info

Publication number
JP2011107957A
JP2011107957A JP2009261986A JP2009261986A JP2011107957A JP 2011107957 A JP2011107957 A JP 2011107957A JP 2009261986 A JP2009261986 A JP 2009261986A JP 2009261986 A JP2009261986 A JP 2009261986A JP 2011107957 A JP2011107957 A JP 2011107957A
Authority
JP
Japan
Prior art keywords
component
application
control
request information
controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009261986A
Other languages
Japanese (ja)
Inventor
Kazuichi Higuchi
数一 樋口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Azbil Corp
Original Assignee
Azbil Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Azbil Corp filed Critical Azbil Corp
Priority to JP2009261986A priority Critical patent/JP2011107957A/en
Publication of JP2011107957A publication Critical patent/JP2011107957A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an application execution method and a unification control device, allowing facilitation of the operation control of a plurality of devices that serve as control targets. <P>SOLUTION: The unification control device 10 includes, as a device component 14 device control components A15, B16 control devices A21-B32; and communication components 17, 18 for receiving instructions of the device control components A15, B16 and transmitting/receiving data to/from device controllers 20, 30. An application execution part 11 executes a device-control application and generates request information to the devices A21-B32; an application I/F 12 converts the request information, based on the information of a definition DB 13a and a function library 12a; and the device component 14 controls the devices A21-B32, in accordance with the converted request information. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

この発明は、ハードウェアに依拠した制御を行う複数のデバイスコントローラを共通のコンポーネント化プログラムで制御するアプリケーション実行方法及び統一制御装置に関するものである。   The present invention relates to an application execution method and a unified control apparatus for controlling a plurality of device controllers that perform control depending on hardware using a common componentized program.

従来、制御対象となるデバイス(装置)を制御するデバイスコントローラ間で通信を行う場合、ハードウェアに依拠した制御を行う各処理をコンポーネント化することによって、各コンポーネント間の相互接続性及び再利用性の高い制御システムを構築することができる。例えば特許文献1に記載されたコンポーネント化制御システムでは、デバイスコントローラとの間で通信を行うコマンドインタフェース、入力インタフェース、出力インタフェースをそれぞれモジュール化(コンポーネント化)している。そして、これらのモジュールのうち、コマンドインタフェースモジュールは制御対象となるデバイスコントローラとの間でコマンド通信を行い、入力インタフェースモジュール及び出力インタフェースモジュールはデータ通信を行う。   Conventionally, when communication is performed between device controllers that control devices (devices) to be controlled, each process that performs control based on hardware is made into components, thereby enabling interconnection and reusability between components. High control system can be constructed. For example, in the componentized control system described in Patent Document 1, the command interface, the input interface, and the output interface that communicate with the device controller are modularized (componentized). Of these modules, the command interface module performs command communication with the device controller to be controlled, and the input interface module and output interface module perform data communication.

特開2005−196427号公報JP 2005-196427 A

従来の制御システムは以上のように構成されているので、ハードウェアに依拠した制御を行う処理をコンポーネント化しているが、複数のデバイスコントローラを有機的に操作するような上位の統一制御装置を備えた制御システムを構築する場合には、その操作プログラムは一般的にコンポーネント群を利用する外部のプログラムとして実装する必要があり、手間と時間がかかるという課題があった。また、新たにデバイスコントローラを制御システムに追加する等のシステム構成変更があった場合には、外部の操作プログラムに手直しが必要となる可能性が大きく、手間と時間がかかっていた。   Since the conventional control system is configured as described above, the processing for performing the control based on the hardware is made into a component, but a high-level unified control device that organically operates a plurality of device controllers is provided. When constructing a control system, the operation program generally needs to be implemented as an external program that uses a group of components, and there is a problem that it takes time and effort. In addition, when there is a system configuration change such as newly adding a device controller to the control system, it is likely that an external operation program needs to be reworked, which takes time and effort.

この発明は、上記のような課題を解決するためになされたもので、分散オブジェクトの機構とコンポーネント化の機構とを併せ持つようにすることで、制御対象となる複数のデバイスの操作制御の簡易化を実現したアプリケーション実行方法及び統一制御装置を提供することを目的とする。   The present invention has been made to solve the above-described problems, and simplifies operation control of a plurality of devices to be controlled by having both a distributed object mechanism and a componentization mechanism. An object of the present invention is to provide an application execution method and a unified control device that realize the above.

この発明に係るアプリケーション実行方法は、アプリケーションとデバイスコントローラの間のデータの送受信を、所定の規則に基づいて生成された要求情報に従って仲介するためのデバイスコンポーネントを生成するコンポーネント化ステップと、アプリケーションを実行して、デバイスに対する要求情報を生成するアプリケーション実行ステップと、アプリケーション実行ステップで生成されたデバイスに対する要求情報を、所定の規則に基づいて変換するコンポーネント呼び出しステップと、デバイスコンポーネントが、コンポーネント呼び出しステップで変換された要求情報に従って当該要求を実現する処理を実行し、デバイスコントローラとの間でデータの送受信を行ってデバイスを制御するコンポーネント処理ステップとを備えるものである。   An application execution method according to the present invention includes a componentization step for generating a device component for mediating transmission / reception of data between an application and a device controller according to request information generated based on a predetermined rule, and executing the application The application execution step for generating request information for the device, the component invocation step for converting the request information for the device generated in the application execution step based on a predetermined rule, and the device component in the component invocation step A component processing step for executing a process for realizing the request according to the received request information and transmitting / receiving data to / from the device controller to control the device. It is intended.

この発明に係るアプリケーション実行方法は、コンポーネント化ステップが、所定の規則に基づいて生成された要求情報に従って当該要求を実現する処理を実行するデバイス制御コンポーネントを、デバイスの種別毎に生成するデバイス制御コンポーネント化ステップと、デバイス制御コンポーネントからの指示を受けてデバイスコントローラとの間でデータの送受信を行う通信コンポーネントを、デバイスコントローラ毎に生成する通信コンポーネント化ステップとを有し、コンポーネント処理ステップは、コンポーネント呼び出しステップで変換された要求情報に該当するデバイス制御コンポーネントが、当該要求を実現する処理を実行するデバイス制御コンポーネント処理ステップと、コンポーネント呼び出しステップで変換された要求情報に該当する通信コンポーネントが、デバイス制御コンポーネントからの指示を受けてデバイスコントローラとの間でデータの送受信を行う通信コンポーネント処理ステップとを有するものである。   In the application execution method according to the present invention, the componentization step generates a device control component for executing a process for realizing the request according to the request information generated based on a predetermined rule for each device type. And a communication componentizing step for generating for each device controller a communication component that transmits and receives data to and from the device controller in response to an instruction from the device control component. The device control component corresponding to the request information converted in the step is converted into a device control component processing step for executing processing for realizing the request and a component converted in the component call step. Communication component corresponding to the information and has a communications component processing step of transmitting and receiving data to and from the device controller in response to an instruction from the device control component.

この発明に係る統一制御装置は、デバイスを制御するアプリケーションを実行して、デバイスに対する要求情報を生成するアプリケーション実行部と、デバイスに対する要求情報を、所定の規則に基づいて変換するアプリケーションインタフェース部と、アプリケーションインタフェース部で変換された要求情報に従って、当該要求を実現する処理を実行し、デバイスコントローラとの間でデータの送受信を行ってデバイスを制御するデバイスコンポーネントとを備えるものである。   The unified control apparatus according to the present invention executes an application for controlling a device and generates request information for the device, an application interface unit for converting the request information for the device based on a predetermined rule, According to the request information converted by the application interface unit, a device component that executes processing for realizing the request and transmits / receives data to / from the device controller to control the device is provided.

この発明に係る統一制御装置は、デバイスコンポーネントが、所定の規則に基づいて生成された要求情報に従って当該要求を実現する処理を実行する、デバイスの種別毎に用意されたデバイス制御コンポーネントと、デバイス制御コンポーネントからの指示を受けてデバイスコントローラとの間でデータの送受信を行う、デバイスコントローラ毎に用意された通信コンポーネントとを有するものである。   The unified control apparatus according to the present invention includes a device control component prepared for each device type, in which the device component executes processing for realizing the request according to request information generated based on a predetermined rule, and device control It has a communication component prepared for each device controller that receives data from the component and transmits / receives data to / from the device controller.

この発明によれば、アプリケーションとデバイスコントローラの間のデータの送受信を仲介するためのデバイスコンポーネントが、所定の規則に基づいて生成された要求情報に従って要求を実現する処理を実行し、デバイスコントローラとの間でデータの送受信を行ってデバイスを制御するようにしたので、デバイスに対応したデバイスコンポーネントを用意すればよく、種別の異なるデバイスであっても制御を簡易化することのできるアプリケーション実行方法及び統一制御装置を提供することができる。   According to the present invention, a device component for mediating transmission / reception of data between an application and a device controller executes processing for realizing a request according to request information generated based on a predetermined rule, and Since devices are controlled by sending and receiving data between them, it is only necessary to prepare device components corresponding to the devices, and application execution methods that can simplify control even for devices of different types and unification A control device can be provided.

この発明によれば、デバイスコンポーネントは、デバイスの種別毎に用意したデバイス制御コンポーネントが、所定の規則に基づいて生成された要求情報に従って当該要求を実現する処理を実行し、デバイスコントローラ毎に用意した通信コンポーネントが、デバイス制御コンポーネントからの指示を受けてデバイスコントローラとの間でデータの送受信を行うようにしたので、デバイス制御コンポーネントをデバイスの種別毎に用意すると共に通信コンポーネントをデバイスコントローラ毎に用意すればよく、種別の異なるデバイスであっても制御を簡易化することのできるアプリケーション実行方法及び統一制御装置を提供することができる。   According to this invention, the device component prepared for each device type executes processing for realizing the request according to the request information generated based on a predetermined rule, and prepared for each device controller. Since the communication component receives data from the device control component and sends / receives data to / from the device controller, prepare a device control component for each device type and a communication component for each device controller. In other words, it is possible to provide an application execution method and a unified control device that can simplify the control even for devices of different types.

この発明の実施の形態1に係る統一制御装置10の構成を示すブロック図である。It is a block diagram which shows the structure of the unified control apparatus 10 which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る統一制御装置10の動作の一例を説明するフローチャートである。It is a flowchart explaining an example of operation | movement of the unified control apparatus 10 which concerns on Embodiment 1 of this invention.

実施の形態1.
図1は、この発明の実施の形態1に係る統一制御装置10の構成を示すブロック図である。統一制御装置を説明するための一例として、図1ではロボットを制御して、部品の組み立て及び加工等を行って製品を製造するロボットシステムを制御するために用いる統一制御装置10を図示する。この製造ラインには、複数のロボットコントローラ(デバイスコントローラ)20,30が設置されており、統一制御装置10が各ロボットコントローラを全体統括する。この統一制御装置10には制御対象となるロボットを制御するためのアプリケーションプログラムが設定され、このアプリケーションを実行して製造工程毎にロボットを動作させ、部品を供給し、温度制御を経て製品を組み立てていくことになる。そのために、統一制御装置10が各デバイスコントローラ20,30に対し、製造工程毎にデータの入出力要求及び操作コマンドの発行を行う。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of a unified control apparatus 10 according to Embodiment 1 of the present invention. As an example for explaining the unified control apparatus, FIG. 1 shows a unified control apparatus 10 used for controlling a robot and controlling a robot system that manufactures products by assembling and processing parts. In this production line, a plurality of robot controllers (device controllers) 20 and 30 are installed, and the unified control apparatus 10 controls each robot controller as a whole. An application program for controlling a robot to be controlled is set in the unified control apparatus 10, and this application is executed to operate the robot for each manufacturing process, supply parts, and assemble products through temperature control. It will follow. For this purpose, the unified control apparatus 10 issues a data input / output request and an operation command to the device controllers 20 and 30 for each manufacturing process.

統一制御装置10は、デバイスコントローラ20,30制御用のアプリケーションを実行するアプリケーション実行部11と、アプリケーション実行部11の指示をデバイスコンポーネント14用に変換するアプリケーションインタフェース(以下、I/F)12と、変換用の定義情報を記憶している定義データ記憶部13と、アプリケーションとデバイスコントローラ20,30間を仲介するデバイスコンポーネント14とから構成される。   The unified control apparatus 10 includes an application execution unit 11 that executes an application for controlling the device controllers 20 and 30, an application interface (hereinafter referred to as I / F) 12 that converts an instruction from the application execution unit 11 for the device component 14, It is composed of a definition data storage unit 13 that stores definition information for conversion, and a device component 14 that mediates between the application and the device controllers 20 and 30.

アプリケーション実行部11は、デバイスコントローラ20,30を制御するための各アプリケーションを備え、アプリケーションを実行することにより、デバイス制御コンポーネントA15,B16に対して、各デバイスA21〜B32へのデータ出力要求及びデータ取得要求を行う。アプリケーション実行部11は、これら各種要求の指示を「論理名+パラメータ」からなる引数としてアプリケーションI/F12へ出力して、アプリケーションI/F12において対応するデバイス制御コンポーネントA15又はB16を呼び出して実行させる。論理名は、デバイスA21〜B32の位置及び種別を表し、パラメータは要求の内容を表す。
また、アプリケーション実行部11は、各デバイスA21〜B32のステータス情報等の収集データを保持する収集データテーブル11aを備える。この収集データテーブル11aはメモリ等で構成する。
The application execution unit 11 includes each application for controlling the device controllers 20 and 30. By executing the application, a data output request and data to the devices A21 to B32 are transmitted to the device control components A15 and B16. Make an acquisition request. The application execution unit 11 outputs these request instructions to the application I / F 12 as arguments consisting of “logical name + parameter”, and calls and executes the corresponding device control component A15 or B16 in the application I / F 12. The logical name represents the position and type of the devices A21 to B32, and the parameter represents the content of the request.
In addition, the application execution unit 11 includes a collection data table 11a that holds collection data such as status information of the devices A21 to B32. The collected data table 11a is composed of a memory or the like.

アプリケーションI/F12は、アプリケーションによらず共通の汎用的な関数(プログラム)を格納している関数ライブラリ12aを備え、関数呼び出し時に定義データ記憶部13の定義データベース(以下、DB)13aから論理名及びパラメータに応じた定義情報を取得する。定義DB13aの定義情報としては、論理名に対応したデバイス情報、パラメータに対応したデータ情報(例えば、データ型やデータサイズ情報)、及びデバイスコンポーネント14内の各コンポーネントの位置情報がある。また、デバイス制御コンポーネントA15,B16及び通信コンポーネント17,18の動作定義情報、並びにポート間接続情報等の定義情報も登録されており、デバイス制御コンポーネントA15,B16と通信コンポーネント17,18の動作周期、相互の接続等が決定される。   The application I / F 12 includes a function library 12a that stores common general-purpose functions (programs) regardless of the application, and a logical name from a definition database (hereinafter referred to as DB) 13a of the definition data storage unit 13 when the function is called. And definition information corresponding to the parameters is acquired. The definition information in the definition DB 13a includes device information corresponding to a logical name, data information corresponding to a parameter (for example, data type and data size information), and position information of each component in the device component 14. In addition, the operation definition information of the device control components A15 and B16 and the communication components 17 and 18 and the definition information such as the inter-port connection information are also registered. Mutual connections and the like are determined.

なお、定義DB13aの定義情報は、例えば、統一制御装置10とは別のノードに接続されたパーソナルコンピュータでコンフィグレーションした上でXML(Extensible Markup Language)形式のデータとして生成し、統一制御装置10の定義DB13aに反映させる。   The definition information of the definition DB 13a is generated as data in XML (Extensible Markup Language) format after being configured with a personal computer connected to a node different from the unified control device 10, for example. Reflected in the definition DB 13a.

アプリケーションI/F12は、関数ライブラリ12aから呼び出した関数中の論理名及びパラメータを、定義DB13aに登録された定義情報に基づいて、要求対象となるデバイス用のデバイス制御コンポーネントのサービス関数を呼び出す指示(例えば、リモートプロシージャコール)に変換する。   The application I / F 12 instructs to call the service function of the device control component for the device to be requested based on the definition information registered in the definition DB 13a with the logical name and parameters in the function called from the function library 12a ( For example, a remote procedure call).

なお、この統一制御装置10では、アプリケーションI/F12とデバイスコンポーネント14を、CORBA(Common Object Request Broker Architecture)等の分散オブジェクト機構に準拠した言語で記述しておき、アプリケーション実行部11とデバイスコンポーネント14の間をアプリケーションI/F12が取り持つことによって、アプリケーションの言語によらず共通のデバイスコンポーネント14を利用できるようにする。   In the unified control apparatus 10, the application I / F 12 and the device component 14 are described in a language that conforms to a distributed object mechanism such as CORBA (Common Object Request Broker Architecture), and the application execution unit 11 and the device component 14. The application I / F 12 holds the common device component 14 regardless of the language of the application.

デバイスコンポーネント14は、デバイス制御コンポーネントA15,B16と、通信コンポーネント17,18とから構成される。これらデバイス制御コンポーネントA15、デバイス制御コンポーネントB16、通信コンポーネント17及び通信コンポーネント18は、データ及びコマンドの入出力インタフェース(以下、データポート)を持つコンポーネントとして統一制御装置10に実装される。デバイス制御コンポーネントA15,B16は、アプリケーションとのインタフェースを取り持ち、デバイスの種別毎に用意する。この例では、2種類(AとB)のデバイス(デバイスA21,A31とデバイスB22,B32)が存在するため、デバイスA21,A31用のデバイス制御コンポーネントA15とデバイスB22,B32用のデバイス制御コンポーネントB16とを用意する。   The device component 14 includes device control components A15 and B16 and communication components 17 and 18. The device control component A15, device control component B16, communication component 17 and communication component 18 are implemented in the unified control apparatus 10 as components having data and command input / output interfaces (hereinafter referred to as data ports). The device control components A15 and B16 have an interface with the application, and are prepared for each device type. In this example, since there are two types (A and B) of devices (devices A21 and A31 and devices B22 and B32), a device control component A15 for devices A21 and A31 and a device control component B16 for devices B22 and B32 And prepare.

デバイス制御コンポーネントA15は、デバイスAについて各パラメータに対応した処理が設定されており、アプリケーションI/F12の呼び出しに応じた処理に従ってアプリケーションからの各種要求を実行して、必要に応じてデータポート経由で各通信コンポーネント17,18へ通信の指示を出す。
デバイス制御コンポーネントB16は、デバイスBについて各パラメータに対応した処理が設定されており、アプリケーションI/F12の呼び出しに応じた処理に従ってアプリケーションからの各種要求を実行して、必要に応じてデータポート経由で各通信コンポーネント17,18へ通信の指示を出す。
The device control component A15 has a process corresponding to each parameter set for the device A, executes various requests from the application according to the process according to the call of the application I / F 12, and via the data port as necessary. A communication instruction is issued to each communication component 17, 18.
In the device control component B16, processing corresponding to each parameter is set for the device B, and various requests from the application are executed according to processing according to the call of the application I / F 12, and if necessary, via the data port A communication instruction is issued to each communication component 17, 18.

通信コンポーネント17,18は、デバイスコントローラ20,30との通信を行い、通信相手となるデバイスコントローラ毎に用意する。この例では、2つのデバイスコントローラ20,30が存在するため、デバイスコントローラ20の通信方式に対応した通信を行う通信コンポーネント17とデバイスコントローラ30の通信方式に対応した通信を行う通信コンポーネント18とを用意する。   The communication components 17 and 18 communicate with the device controllers 20 and 30 and are prepared for each device controller that is a communication partner. In this example, since two device controllers 20 and 30 exist, a communication component 17 that performs communication corresponding to the communication method of the device controller 20 and a communication component 18 that performs communication corresponding to the communication method of the device controller 30 are prepared. To do.

通信コンポーネント17は、デバイス制御コンポーネントA15,B16の指示に従って、必要に応じて又は定期的にデバイスコントローラ20との間で通信を行い、デバイスA21,B22へ各種要求の指示を出力したり、デバイスコントローラ20から出力されるデータを収集したりする。
通信コンポーネント18は、デバイス制御コンポーネントA15,B16の指示に従って、必要に応じて又は定期的にデバイスコントローラ30との間で通信を行い、デバイスA31,B32へ各種要求の指示を出力したり、デバイスコントローラ30から出力されるデータを収集したりする。
The communication component 17 communicates with the device controller 20 as necessary or periodically according to the instructions of the device control components A15 and B16, and outputs various request instructions to the devices A21 and B22. Or the data output from 20 is collected.
The communication component 18 communicates with the device controller 30 as necessary or periodically according to the instructions of the device control components A15 and B16, and outputs various request instructions to the devices A31 and B32. Or the data output from 30 is collected.

なお、通信コンポーネント17,18がデバイスコントローラ20,30から収集したデバイスA21〜B32のステータス情報等のデータは、データポート経由でデバイス制御コンポーネントA15,B16へ出力される。そしてデバイス制御コンポーネントA15,B16がアプリケーションの戻り値としてアプリケーション実行部11へ返却すると共に、収集データテーブル11aに格納する。   Note that data such as status information of the devices A21 to B32 collected by the communication components 17 and 18 from the device controllers 20 and 30 is output to the device control components A15 and B16 via the data port. The device control components A15 and B16 return the application return value to the application execution unit 11 and store it in the collected data table 11a.

このように、統一制御装置10は、アプリケーションとデバイスの間の通信処理を仲介する部位をデバイスコンポーネント14として独立して実装する。また、デバイスコンポーネント14とアプリケーションとのインタフェースは汎用的な関数ライブラリ12aを使用して行う。そのため、システムに新たなデバイスを追加する場合にはデバイスに対応したコンポーネントを用意し、統一制御装置10に組み込むことで、統一した機構で様々なデバイスを制御することができる。   As described above, the unified control apparatus 10 independently implements a part that mediates communication processing between the application and the device as the device component 14. The interface between the device component 14 and the application is performed using a general-purpose function library 12a. Therefore, when a new device is added to the system, a component corresponding to the device is prepared and incorporated in the unified control apparatus 10, whereby various devices can be controlled with a unified mechanism.

次に、統一制御装置10の動作を説明する。
図2は、統一制御装置10の動作の一例を説明するフローチャートである。なお、この例では、デバイスコンポーネント14に既にデバイス制御コンポーネントA15,B16と通信コンポーネント17,18が用意されているものとする。
先ず、デバイスA21へ設定値を送って、設定させる場合の例を説明する。アプリケーション実行部11は、デバイスA21に対するデータ設定要求のためのアプリケーションを実行して、論理名としてデバイスA21を指定し、パラメータとしてデータ設定要求とその設定値を指定した引数をアプリケーションI/F12へ出力する(ステップST1、アプリケーション実行ステップ)。
Next, the operation of the unified control apparatus 10 will be described.
FIG. 2 is a flowchart for explaining an example of the operation of the unified control apparatus 10. In this example, it is assumed that device control components A15 and B16 and communication components 17 and 18 are already prepared in the device component 14.
First, an example in which a setting value is sent to the device A21 to be set will be described. The application execution unit 11 executes an application for a data setting request to the device A21, specifies the device A21 as a logical name, and outputs an argument specifying the data setting request and its setting value as parameters to the application I / F 12 (Step ST1, application execution step).

アプリケーションI/F12は引数に基づいて、定義DB13aから定義情報を取得して、デバイス制御コンポーネントA15に対する呼び出し指示に変換して出力する(ステップST2、コンポーネント呼び出しステップ)。この呼び出し指示には、論理名に対応したデバイスA21を指定する情報と、パラメータに対応したデータ設定要求の情報及びデバイスA21に設定するデータとなる設定値の情報とが含まれる。   Based on the argument, the application I / F 12 acquires definition information from the definition DB 13a, converts it into a call instruction for the device control component A15, and outputs it (step ST2, component call step). This call instruction includes information specifying the device A21 corresponding to the logical name, information on the data setting request corresponding to the parameter, and information on the setting value that is data to be set in the device A21.

デバイス制御コンポーネントA15は、呼び出し指示に応じた設定用サービス関数が選択され、その関数の処理として、通信コンポーネント17,18に対してデバイスA21へのデータ設定要求指示を出す処理を実行する(ステップST3、デバイス制御コンポーネント処理ステップ)。
通信コンポーネント17は、デバイス制御コンポーネントA15から指示を受けると、デバイスA21に対するデータ設定要求を依頼する情報を、デバイスコントローラ20に対して出力する(ステップST4、通信コンポーネント処理ステップ)。
なお、通信コンポーネント18もデバイス制御コンポーネントA15から同様の指示を受けるが、呼び出し指示には通信コンポーネント17のみ指定する情報が含まれているため、通信コンポーネント18がこの呼び出し指示に応じた処理を実行することはない。
The device control component A15 selects a setting service function corresponding to the call instruction, and executes a process of issuing a data setting request instruction to the device A21 to the communication components 17 and 18 as a process of the function (step ST3). Device control component processing step).
Upon receiving an instruction from the device control component A15, the communication component 17 outputs information requesting a data setting request to the device A21 to the device controller 20 (step ST4, communication component processing step).
The communication component 18 also receives the same instruction from the device control component A15. However, since the call instruction includes information specifying only the communication component 17, the communication component 18 executes processing according to the call instruction. There is nothing.

次に、デバイスA21のステータス情報を要求する場合の例を説明する。アプリケーション実行部11は、デバイスA21に対するデータ取得要求のためのアプリケーションを実行して、論理名としてデバイスA21を指定し、パラメータとしてデータ取得要求を指定した引数をアプリケーションI/F12へ出力する(ステップST1)。   Next, an example in which the status information of the device A21 is requested will be described. The application execution unit 11 executes an application for a data acquisition request to the device A21, specifies the device A21 as a logical name, and outputs an argument specifying the data acquisition request as a parameter to the application I / F 12 (step ST1). ).

アプリケーションI/F12は引数に基づいて、定義DB13aから定義情報を取得して、デバイス制御コンポーネントA15に対する呼び出し指示に変換して出力する(ステップST2)。この呼び出し指示には、論理名に対応したデバイスA21を指定する情報と、パラメータに対応したデータ取得要求の情報とが含まれる。   The application I / F 12 acquires definition information from the definition DB 13a based on the argument, converts it into a call instruction for the device control component A15, and outputs it (step ST2). This call instruction includes information specifying the device A21 corresponding to the logical name and data acquisition request information corresponding to the parameter.

デバイス制御コンポーネントA15は、呼び出し指示に応じた取得用サービス関数が選択され、データ取得処理が行われる(ステップST5)。その関数の処理として、先ず、最新値を取得要求しない場合には(ステップST6“NO”)、デバイス制御コンポーネントA15がそのデータを収集データテーブル11aから取得して(ステップST10)、アプリケーションの戻り値としてアプリケーション実行部11へ返却する(ステップST9)。   In the device control component A15, an acquisition service function corresponding to the call instruction is selected, and data acquisition processing is performed (step ST5). As the processing of the function, first, when the acquisition of the latest value is not requested (step ST6 “NO”), the device control component A15 acquires the data from the collected data table 11a (step ST10), and the return value of the application. To the application execution unit 11 (step ST9).

一方、最新値を取得要求する場合には(ステップST6“YES”)、デバイス制御コンポーネントA15は呼び出し指示に応じた処理として、続いて、通信コンポーネント17,18に対してデバイスA21へのデータ取得要求指示を出す。
通信コンポーネント17は、デバイス制御コンポーネントA15から指示を受けると、デバイスA21に対するデータ取得要求を依頼する情報をデバイスコントローラ20に出力すると共にその応答データを取得して、デバイス制御コンポーネントA15へ出力する(ステップST7)。
デバイス制御コンポーネントA15は、通信コンポーネント17から出力された応答データを収集データテーブル11aに格納し(ステップST8)、アプリケーションの戻り値としてアプリケーション実行部11へ返却する(ステップST9)。
On the other hand, when an acquisition request for the latest value is made (step ST6 “YES”), the device control component A15 subsequently sends a data acquisition request to the device A21 to the communication components 17 and 18 as processing corresponding to the call instruction. Give instructions.
When receiving an instruction from the device control component A15, the communication component 17 outputs information requesting a data acquisition request to the device A21 to the device controller 20 and also acquires response data thereof and outputs the response data to the device control component A15 (step). ST7).
The device control component A15 stores the response data output from the communication component 17 in the collected data table 11a (step ST8), and returns it to the application execution unit 11 as a return value of the application (step ST9).

上記処理と並行して、通信コンポーネント17は、定周期のデータ取得タイミングで、デバイスA21に対するデータ取得要求を依頼する情報をデバイスコントローラ20に出力すると共にその応答データを取得して、デバイス制御コンポーネントA15へ出力する(ステップST11)。
デバイス制御コンポーネントA15は、通信コンポーネント17から出力された応答データを収集データテーブル11aに格納する(ステップST12)。
なお、ステップST3〜ST12がコンポーネント処理ステップを構成する。
In parallel with the above processing, the communication component 17 outputs information requesting a data acquisition request to the device A21 to the device controller 20 at a fixed cycle data acquisition timing, acquires the response data, and acquires the device control component A15. (Step ST11).
The device control component A15 stores the response data output from the communication component 17 in the collected data table 11a (step ST12).
Steps ST3 to ST12 constitute a component processing step.

なお、上記説明では、統一制御装置10を適用するシステムの一例としてロボットシステムを、デバイスコントローラの一例としてロボットコントローラを、デバイスの一例としてロボットを例に用いたが、これに限定されるものではなく、様々なデバイスを接続したシステムに適用可能であることはいうまでもない。   In the above description, a robot system is used as an example of a system to which the unified control apparatus 10 is applied, a robot controller is used as an example of a device controller, and a robot is used as an example of a device. However, the present invention is not limited to this. Needless to say, the present invention is applicable to a system in which various devices are connected.

以上より、本実施の形態1によれば、デバイスA21〜B32を制御するデバイスコントローラ20,30に接続し、当該デバイスコントローラ20,30との間でデータの送受信を行ってデバイスA21〜B32を制御する統一制御装置10であって、デバイスA21〜B32を制御するアプリケーションを実行してデバイスA21〜B32に対する要求情報を生成するアプリケーション実行部11と、その要求情報を関数ライブラリ12a及び定義DB13aの情報に基づいて変換するアプリケーションI/F12と、アプリケーションI/F12で変換された要求情報に従って当該要求を実現する処理を実行する、デバイスの種別A,B毎に用意されたデバイス制御コンポーネントA15,B16と、デバイス制御コンポーネントA15,B16からの指示を受けてデバイスコントローラ20,30との間でデータの送受信を行う、デバイスコントローラ20,30毎に用意された通信コンポーネント17,18とを備えるように構成した。このため、デバイスを制御するプログラム、通信を制御するプログラム、アプリケーションとデバイスコントローラの間のインタフェースを取り持つプログラムをコンポーネント化できるので、デバイスに対応したデバイスコンポーネントを用意すればよく、種別の異なるデバイスであっても統一した機構で簡易に制御できるようになる。また、プログラミングも容易にできる。さらに、システムの構成に変更があった場合にも、デバイスに対応したデバイス制御コンポーネント及びデバイスコントロールに対応した通信コンポーネントを追加すればよく、手間も時間もかからない。   As described above, according to the first embodiment, the devices A21 to B32 are connected to the device controllers 20 and 30, and data is transmitted to and received from the device controllers 20 and 30 to control the devices A21 to B32. An application execution unit 11 that executes an application for controlling the devices A21 to B32 and generates request information for the devices A21 to B32, and converts the request information into information in the function library 12a and the definition DB 13a. An application I / F 12 to be converted based on the device, and device control components A15 and B16 prepared for each of the device types A and B that execute processing for realizing the request according to the request information converted by the application I / F 12, Device control component A1 It transmits and receives data to and from the device controllers 20 and 30 in response to an instruction from the B16, was configured with a communication component 17, 18 is prepared for each device controller 20, 30. For this reason, since a program for controlling a device, a program for controlling communication, and a program having an interface between an application and a device controller can be componentized, a device component corresponding to the device may be prepared, and devices of different types may be prepared. However, it can be controlled easily with a unified mechanism. Programming is also easy. Furthermore, even when the system configuration is changed, a device control component corresponding to the device and a communication component corresponding to the device control may be added, which saves time and effort.

10 統一制御装置
11 アプリケーション実行部
11a 収集データテーブル
12 アプリケーションI/F
12a 関数ライブラリ
13 定義データ記憶部
13a 定義DB
14 デバイスコンポーネント
15 デバイス制御コンポーネントA
16 デバイス制御コンポーネントB
17 通信コンポーネント
18 通信コンポーネント
20 デバイスコントローラ
21 デバイスA
22 デバイスB
30 デバイスコントローラ
31 デバイスA
32 デバイスB
DESCRIPTION OF SYMBOLS 10 Unified control apparatus 11 Application execution part 11a Collected data table 12 Application I / F
12a function library 13 definition data storage unit 13a definition DB
14 Device component 15 Device control component A
16 Device control component B
17 Communication Component 18 Communication Component 20 Device Controller 21 Device A
22 Device B
30 Device Controller 31 Device A
32 Device B

Claims (4)

デバイスを制御するデバイスコントローラに接続し、当該デバイスコントローラとの間でデータの送受信を行って、前記デバイスを制御するアプリケーションを実行する統一制御装置のアプリケーション実行方法であって、
前記アプリケーションと前記デバイスコントローラの間のデータの送受信を、所定の規則に基づいて生成された要求情報に従って仲介するためのデバイスコンポーネントを生成するコンポーネント化ステップと、
前記アプリケーションを実行して、前記デバイスに対する要求情報を生成するアプリケーション実行ステップと、
前記アプリケーション実行ステップで生成された前記デバイスに対する要求情報を、前記所定の規則に基づいて変換するコンポーネント呼び出しステップと、
前記デバイスコンポーネントが、前記コンポーネント呼び出しステップで変換された前記要求情報に従って当該要求を実現する処理を実行し、前記デバイスコントローラとの間でデータの送受信を行って前記デバイスを制御するコンポーネント処理ステップとを備えることを特徴とするアプリケーション実行方法。
An application execution method of a unified control apparatus that connects to a device controller that controls a device, transmits and receives data to and from the device controller, and executes an application that controls the device,
A componentization step of generating a device component for mediating transmission / reception of data between the application and the device controller according to request information generated based on a predetermined rule;
An application execution step of executing the application to generate request information for the device;
A component invocation step for converting the request information for the device generated in the application execution step based on the predetermined rule;
A component processing step in which the device component executes processing for realizing the request according to the request information converted in the component calling step, and transmits and receives data to and from the device controller to control the device; An application execution method characterized by comprising:
コンポーネント化ステップは、
所定の規則に基づいて生成された要求情報に従って当該要求を実現する処理を実行するデバイス制御コンポーネントを、デバイスの種別毎に生成するデバイス制御コンポーネント化ステップと、
前記デバイス制御コンポーネントからの指示を受けてデバイスコントローラとの間でデータの送受信を行う通信コンポーネントを、デバイスコントローラ毎に生成する通信コンポーネント化ステップとを有し、
コンポーネント処理ステップは、
コンポーネント呼び出しステップで変換された前記要求情報に該当する前記デバイス制御コンポーネントが、当該要求を実現する処理を実行するデバイス制御コンポーネント処理ステップと、
前記コンポーネント呼び出しステップで変換された前記要求情報に該当する前記通信コンポーネントが、前記デバイス制御コンポーネントからの指示を受けて前記デバイスコントローラとの間でデータの送受信を行う通信コンポーネント処理ステップとを有することを特徴とする請求項1記載のアプリケーション実行方法。
The componentization step is
A device control component forming step for generating, for each device type, a device control component that executes processing for realizing the request according to the request information generated based on a predetermined rule;
A communication component for generating a communication component for transmitting and receiving data to and from the device controller in response to an instruction from the device control component for each device controller;
The component processing steps are
A device control component processing step in which the device control component corresponding to the request information converted in the component call step executes a process for realizing the request;
The communication component corresponding to the request information converted in the component calling step has a communication component processing step of receiving and sending data to and from the device controller in response to an instruction from the device control component. The application execution method according to claim 1, wherein:
デバイスを制御するデバイスコントローラに接続し、当該デバイスコントローラとの間でデータの送受信を行って、前記デバイスを制御する統一制御装置であって、
前記デバイスを制御するアプリケーションを実行して、前記デバイスに対する要求情報を生成するアプリケーション実行部と、
前記デバイスに対する要求情報を、所定の規則に基づいて変換するアプリケーションインタフェース部と、
前記アプリケーションインタフェース部で変換された前記要求情報に従って、当該要求を実現する処理を実行し、前記デバイスコントローラとの間でデータの送受信を行って前記デバイスを制御するデバイスコンポーネントとを備えることを特徴とする統一制御装置。
A unified controller that controls a device by connecting to a device controller that controls the device, transmitting / receiving data to / from the device controller,
An application execution unit that executes an application for controlling the device and generates request information for the device;
An application interface unit that converts request information for the device based on a predetermined rule;
A device component that executes processing for realizing the request according to the request information converted by the application interface unit, and transmits and receives data to and from the device controller to control the device. Unified control device.
デバイスコンポーネントは、
所定の規則に基づいて生成された要求情報に従って当該要求を実現する処理を実行する、デバイスの種別毎に用意されたデバイス制御コンポーネントと、
前記デバイス制御コンポーネントからの指示を受けてデバイスコントローラとの間でデータの送受信を行う、デバイスコントローラ毎に用意された通信コンポーネントとを有することを特徴とする請求項3記載の統一制御装置。
The device component
A device control component prepared for each type of device, which executes processing for realizing the request according to the request information generated based on a predetermined rule;
The unified control apparatus according to claim 3, further comprising a communication component prepared for each device controller that receives and sends data to and from the device controller in response to an instruction from the device control component.
JP2009261986A 2009-11-17 2009-11-17 Application execution method and unification control device Pending JP2011107957A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009261986A JP2011107957A (en) 2009-11-17 2009-11-17 Application execution method and unification control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009261986A JP2011107957A (en) 2009-11-17 2009-11-17 Application execution method and unification control device

Publications (1)

Publication Number Publication Date
JP2011107957A true JP2011107957A (en) 2011-06-02

Family

ID=44231357

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009261986A Pending JP2011107957A (en) 2009-11-17 2009-11-17 Application execution method and unification control device

Country Status (1)

Country Link
JP (1) JP2011107957A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017191580A (en) * 2016-04-15 2017-10-19 ファナック株式会社 Server-based application software execution system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017191580A (en) * 2016-04-15 2017-10-19 ファナック株式会社 Server-based application software execution system
US10805159B2 (en) 2016-04-15 2020-10-13 Fanuc Corporation Server-based application software execution system

Similar Documents

Publication Publication Date Title
US10365626B2 (en) Extending the functionality of a programmable logic controller (PLC) with apps without changing the PLC programming
US7747416B2 (en) System and method for batch process control with diverse distributed control system protocols
EP3561680B1 (en) Rpc conversion process system and rpc conversion method
CN103324173B (en) Based on many heterogeneous robots collaboration method of middleware
CN101976062B (en) Open type control method based on lightweight service-oriented architectures (LSOA) framework
Virta et al. SOA-Based integration for batch process management with OPC UA and ISA-88/95
JP2011503682A (en) Automation device with control program and method for programming the control program
CN1297858C (en) Universal motion controller
CN111064627A (en) Plug-and-play management system for electric power internet of things terminal
EP3758333B1 (en) Method for configuring an industrial automation system
US20070283364A1 (en) Runtime Extension Framework
KR20190082645A (en) Artificial intelligence system for real-time training and calling and processing method thereof
CN113791758B (en) Service arrangement localization execution system and method thereof
WO2014061516A1 (en) Method and device for generation of conversion module linking between different robot middleware types
JP2011107957A (en) Application execution method and unification control device
US20080141263A1 (en) Embedded agent framework and method of providing ubiquitous services using the same
US8037129B2 (en) Method for generating function blocks for web services
KR20170093562A (en) Smart factory connection module and operating method thereof
CN109937404B (en) Method and system for real-time data exchange between program modules
JP4561331B2 (en) Home appliance adapter and software development device
KR20110098055A (en) Control systems interconnection apparatus
CN104702704A (en) HART (Highway Addressable Remote Transducer) communication interface for intelligent electropneumatic positioner
Qin et al. A reconfigurable jig assistant assembly system based on wearable devices
US20210141357A1 (en) Control System for an Automation System and Method for Operating an Automation System
Aendenroomer et al. Enabling federated control by developing a distributed control application platform