JP2008071126A - Control system - Google Patents

Control system Download PDF

Info

Publication number
JP2008071126A
JP2008071126A JP2006249329A JP2006249329A JP2008071126A JP 2008071126 A JP2008071126 A JP 2008071126A JP 2006249329 A JP2006249329 A JP 2006249329A JP 2006249329 A JP2006249329 A JP 2006249329A JP 2008071126 A JP2008071126 A JP 2008071126A
Authority
JP
Japan
Prior art keywords
control
command
shared folder
file
target device
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
JP2006249329A
Other languages
Japanese (ja)
Inventor
Yoichi Tomita
洋一 富田
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2006249329A priority Critical patent/JP2008071126A/en
Publication of JP2008071126A publication Critical patent/JP2008071126A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To easily prepare the program of a controller and control object equipment. <P>SOLUTION: A program performance part 11 of a controller 10 performs access to a shared folder 220 of control object equipment 20 to prepare a command file 221 including a control command for controlling the control object equipment 20. A command performance part 21 of the control object equipment 20 reads the command file 221 from the shared folder 220, and performs processing based on the control command included in the command file 221, and prepares a result file 222 including the result of the execution of the control command in the shared folder 220. The program performance part 11 of the controller 10 reads the result file 222 from the shared folder 220, and makes a display part 12 display the performance result of the control command performed by the command performance part 21 of the control object equipment 20. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、制御対象機器を制御する制御システムに関する。   The present invention relates to a control system that controls a device to be controlled.

従来、アナライザや信号発生器等の機器を外部から制御する場合には、PC(Personal Computer)等の制御装置と制御対象となる機器(以下、制御対象機器という。)とを通信インターフェースを介して接続し、制御装置から制御対象機器に、通信インターフェースを制御するAPI(Application Program Interface)を使用して、パラメータの設定や、ある動作をさせるための制御コマンドを送信している(例えば、特許文献1、特許文献2、特許文献3参照)。   Conventionally, when devices such as analyzers and signal generators are externally controlled, a control device such as a PC (Personal Computer) and a device to be controlled (hereinafter referred to as a control target device) are connected via a communication interface. A control command is transmitted from the control device to the control target device using API (Application Program Interface) for controlling the communication interface to set a parameter or perform a certain operation (for example, patent document) 1, Patent Document 2 and Patent Document 3).

図5を参照して、従来の制御システム100について説明する。
制御システム100は、制御装置110と制御対象機器120(例えば、信号発生器等)とがGPIB(General Purpose Interface Bus)ケーブル130により接続されて構成されており、制御装置110及び制御対象機器120に対して、それぞれ通信先のGPIBアドレスが設定されている。
A conventional control system 100 will be described with reference to FIG.
The control system 100 is configured by connecting a control device 110 and a control target device 120 (for example, a signal generator) by a GPIB (General Purpose Interface Bus) cable 130, and the control device 110 and the control target device 120 are connected to each other. On the other hand, the GPIB address of the communication destination is set for each.

制御装置110のプログラム実行部111は、プログラムに従って、制御対象機器120へ制御コマンドを送信する。図6に、プログラム実行部111により実行される従来のプログラム(C言語)の一部を示す。図6に示す命令文140では、予め設定したGPIBアドレスを持つ制御対象機器120のボードアドレスを取得している。また、命令文141は、取得したボードアドレスの制御対象機器120に対して、“OUTPUT ON”という制御コマンド(出力をONにする制御コマンド)を送信することを示している。このように、従来のプログラムには、iopen()、iwrite()等のコマンド、すなわち、通信インターフェース制御用API(GPIBのAPI)を使用するためのコマンドが含まれている。   The program execution unit 111 of the control device 110 transmits a control command to the control target device 120 according to the program. FIG. 6 shows a part of a conventional program (C language) executed by the program execution unit 111. In the command statement 140 shown in FIG. 6, the board address of the control target device 120 having a preset GPIB address is acquired. Further, the command statement 141 indicates that a control command “OUTPUT ON” (a control command for turning on the output) is transmitted to the control target device 120 having the acquired board address. As described above, the conventional program includes commands such as iopen () and iwrite (), that is, commands for using the communication interface control API (GPIB API).

制御対象機器120では、制御装置110から制御コマンドを受信し、コマンド実行部121により制御コマンドに基づく処理を実行して結果を出力する。   The control target device 120 receives a control command from the control device 110, executes processing based on the control command by the command execution unit 121, and outputs the result.

制御装置110のプログラム実行部111は、通信インターフェース制御用APIを使用するためのコマンドを含むプログラムに従って、制御対象機器120から制御コマンドの実行結果を取得し、表示部112に表示させる。
特開平5−118886号公報 特開2002−148282号公報 特開2002−214252号公報
The program execution unit 111 of the control device 110 acquires the execution result of the control command from the control target device 120 according to a program including a command for using the communication interface control API, and displays the execution result on the display unit 112.
Japanese Patent Laid-Open No. 5-118886 JP 2002-148282 A JP 2002-214252 A

しかし、従来技術においては、制御装置110のプログラム実行部111により実行される制御対象機器120を制御するためのプログラムを作成する際、Visual Basic(登録商標)やC言語にデフォルトで用意されていないiopen()、iwrite()等のコマンドを使用しなければならないため、一般のプログラム作成者には馴染みの少ない通信インターフェース制御用APIを使用するためのコマンドを新たに学習する必要があった。このように慣れないコマンドを使用することは、不具合の発生やプログラム開発工数の増加の要因となっていた。   However, in the prior art, when creating a program for controlling the control target device 120 executed by the program execution unit 111 of the control device 110, it is not prepared by default in Visual Basic (registered trademark) or C language. Since commands such as iopen () and iwrite () must be used, it is necessary to newly learn a command for using a communication interface control API that is not familiar to general program creators. The use of such unfamiliar commands has caused problems and increases the number of program development steps.

本発明は、上記の従来技術における問題に鑑みてなされたものであって、制御装置及び制御対象機器のプログラムの作成を容易にすることを課題とする。   The present invention has been made in view of the above-described problems in the prior art, and an object of the present invention is to facilitate creation of a program for a control device and a control target device.

上記課題を解決するために、請求項1に記載の制御システムは、制御装置と、制御対象機器と、前記制御装置及び制御対象機器の双方からアクセス可能な共有フォルダを有するファイル格納手段と、を備え、前記制御装置は、前記共有フォルダにアクセスして前記制御対象機器を制御するための制御コマンドを含むコマンドファイルを作成するコマンドファイル作成手段を備え、前記制御対象機器は、前記共有フォルダにアクセスして前記共有フォルダから前記コマンドファイルを読み込んで、当該コマンドファイルに含まれる制御コマンドを実行するコマンド実行手段を備えたことを特徴とする。   In order to solve the above-described problem, a control system according to claim 1 includes a control device, a control target device, and a file storage unit having a shared folder accessible from both the control device and the control target device. And the control device includes command file creation means for creating a command file including a control command for accessing the shared folder to control the controlled device, and the controlled device accesses the shared folder. And a command execution unit that reads the command file from the shared folder and executes a control command included in the command file.

請求項2に記載の発明は、請求項1に記載の制御システムにおいて、前記制御対象機器は、さらに、前記共有フォルダにアクセスして前記制御コマンドを実行した結果を含む結果ファイルを作成する結果ファイル作成手段を備え、前記制御装置は、さらに、前記共有フォルダにアクセスして前記共有フォルダから前記結果ファイルを読み込む読み込み手段を備えたことを特徴とする。   According to a second aspect of the present invention, in the control system according to the first aspect, the control target device further generates a result file including a result of accessing the shared folder and executing the control command. The control apparatus further includes a reading unit that accesses the shared folder and reads the result file from the shared folder.

請求項3に記載の発明は、請求項1又は2に記載の制御システムにおいて、前記共有フォルダは、前記制御対象機器内に設けられることを特徴とする。   According to a third aspect of the present invention, in the control system according to the first or second aspect, the shared folder is provided in the device to be controlled.

請求項1に記載の発明によれば、制御装置及び制御対象機器の双方からアクセス可能な共有フォルダに対するファイル操作によって、制御コマンドの受け渡しを実現することができるので、制御装置及び制御対象機器のプログラムを容易に作成することができる。   According to the first aspect of the present invention, since the control command can be transferred by the file operation on the shared folder accessible from both the control device and the control target device, the program of the control device and the control target device can be realized. Can be easily created.

請求項2に記載の発明によれば、制御装置及び制御対象機器の双方からアクセス可能な共有フォルダに対するファイル操作によって、制御コマンドを実行した結果の受け渡しを実現することができるので、制御装置及び制御対象機器のプログラムを容易に作成することができる。   According to the second aspect of the present invention, it is possible to realize the delivery of the result of executing the control command by the file operation on the shared folder accessible from both the control device and the control target device. It is possible to easily create a program for the target device.

請求項3に記載の発明によれば、共有フォルダが制御対象機器内に設けられるので、制御対象機器が外部の共有フォルダを検索してファイルを読み書きする必要がない。これにより、制御対象機器の構成が簡素化され、制御対象機器の小型化、コストダウン、設計の容易化を図ることができる。   According to the invention described in claim 3, since the shared folder is provided in the control target device, it is not necessary for the control target device to search the external shared folder and read / write the file. Thereby, the configuration of the control target device is simplified, and the control target device can be reduced in size, cost, and design can be facilitated.

以下、図面を参照して本発明の実施の形態について詳細に説明する。
図1に、本発明の実施の形態における制御システム1の構成を示す。
図1に示すように、制御システム1は、制御装置10と制御対象機器20とがLAN(Local Area Network)ケーブル30により接続されて構成されている。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 shows a configuration of a control system 1 in the embodiment of the present invention.
As shown in FIG. 1, the control system 1 is configured by connecting a control device 10 and a control target device 20 via a LAN (Local Area Network) cable 30.

制御装置10は、プログラム実行部11、表示部12等を備える。制御装置10として、一般のPCを用いることができる。   The control device 10 includes a program execution unit 11, a display unit 12, and the like. A general PC can be used as the control device 10.

プログラム実行部11は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等により構成され、CPUとROMに格納されたプログラムとの協働によってソフトウェア処理で実現される。具体的には、プログラム実行部11は、制御対象機器20の共有フォルダ220にアクセスして、共有フォルダ220内に、制御対象機器20を制御するための制御コマンドを含むコマンドファイル221を作成する。また、プログラム実行部11は、制御対象機器20の共有フォルダ220にアクセスして、共有フォルダ220から結果ファイル222を読み込み、制御対象機器20のコマンド実行部21により実行された制御コマンドの実行結果を表示部12に表示させる。すなわち、プログラム実行部11は、コマンドファイル作成手段及び読み込み手段として機能する。   The program execution unit 11 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like, and is realized by software processing in cooperation with the CPU and a program stored in the ROM. . Specifically, the program execution unit 11 accesses the shared folder 220 of the control target device 20 and creates a command file 221 including a control command for controlling the control target device 20 in the shared folder 220. Further, the program execution unit 11 accesses the shared folder 220 of the control target device 20, reads the result file 222 from the shared folder 220, and displays the execution result of the control command executed by the command execution unit 21 of the control target device 20. It is displayed on the display unit 12. That is, the program execution unit 11 functions as a command file creation unit and a reading unit.

表示部12は、LCD(Liquid Crystal Display)等のモニタにより構成され、プログラム実行部11から入力される表示信号の指示に従って、制御対象機器20による制御コマンドの実行結果等を表示する。   The display unit 12 is configured by a monitor such as an LCD (Liquid Crystal Display), and displays a control command execution result and the like by the control target device 20 in accordance with a display signal instruction input from the program execution unit 11.

制御対象機器20は、アナライザや信号発生器等の測定器であり、コマンド実行部21、メモリ22等を備える。   The control target device 20 is a measuring instrument such as an analyzer or a signal generator, and includes a command execution unit 21, a memory 22, and the like.

コマンド実行部21は、CPU、ROM、RAM等により構成され、CPUとROMに格納されたプログラムとの協働によってソフトウェア処理で実現される。具体的には、コマンド実行部21は、共有フォルダ220にアクセスして共有フォルダ220からコマンドファイル221を読み込んで、このコマンドファイル221に含まれる制御コマンドに基づく処理を実行する。また、コマンド実行部21は、共有フォルダ220にアクセスして、共有フォルダ220内に、制御コマンドを実行した結果を含む結果ファイル222を作成する。すなわち、コマンド実行部21は、コマンド実行手段及び結果ファイル作成手段として機能する。   The command execution unit 21 includes a CPU, a ROM, a RAM, and the like, and is realized by software processing in cooperation with the CPU and a program stored in the ROM. Specifically, the command execution unit 21 accesses the shared folder 220, reads the command file 221 from the shared folder 220, and executes processing based on the control command included in the command file 221. Further, the command execution unit 21 accesses the shared folder 220 and creates a result file 222 including a result of executing the control command in the shared folder 220. That is, the command execution unit 21 functions as a command execution unit and a result file creation unit.

メモリ22は、制御装置10と制御対象機器20の双方からアクセス可能な共有フォルダ220を有するファイル格納手段である。制御装置10からは、LANケーブル30を介して共有フォルダ220にアクセスが行われる。   The memory 22 is a file storage unit having a shared folder 220 that can be accessed from both the control device 10 and the control target device 20. The shared folder 220 is accessed from the control device 10 via the LAN cable 30.

次に、制御システム1の動作を説明する。
図2は、制御システム1において実行される処理を示すフローチャートである。
まず、制御装置10のプログラム実行部11により、制御対象機器20の共有フォルダ220にアクセスが行われ、制御対象機器20を制御するための制御コマンドが共有フォルダ220の一時ファイルに書き込まれる(ステップS1)。
Next, the operation of the control system 1 will be described.
FIG. 2 is a flowchart showing processing executed in the control system 1.
First, the program execution unit 11 of the control device 10 accesses the shared folder 220 of the control target device 20 and writes a control command for controlling the control target device 20 in a temporary file of the shared folder 220 (step S1). ).

図3に、制御装置10のプログラム実行部11により実行されるプログラム(C言語)の一部を示す。図3の命令文40は、DIRフォルダ(共有フォルダ220)にある“Temp.in”というファイルを開くことを示し、命令文41は、“Temp.in”に“OUTPUT ON”という制御コマンド(出力をONにするコマンド)を書き込むことを示し、命令文42は、ファイルを閉じることを示している。   FIG. 3 shows a part of a program (C language) executed by the program execution unit 11 of the control device 10. 3 indicates that the file “Temp.in” in the DIR folder (shared folder 220) is opened, and the command statement 41 indicates that a control command (output ON) is output to “Temp.in”. The command statement 42 indicates that the file is to be closed.

次に、プログラム実行部11により、制御コマンドを含む一時ファイルのファイル名が“Command.in”にリネームされ、コマンドファイル221が作成される(ステップS2)。   Next, the file name of the temporary file including the control command is renamed to “Command.in” by the program execution unit 11, and a command file 221 is created (step S2).

一方、制御対象機器20では、コマンド実行部21により、共有フォルダ220にアクセスが行われ、“Command.in”という名前のコマンドファイル221が共有フォルダ220に存在するか否かがチェックされる(ステップT1)。“Command.in”が共有フォルダ220に存在しない場合には(ステップT2;No)、ステップT1に戻る。   On the other hand, in the control target device 20, the command execution unit 21 accesses the shared folder 220 and checks whether or not the command file 221 named “Command.in” exists in the shared folder 220 (step). T1). If “Command.in” does not exist in the shared folder 220 (step T2; No), the process returns to step T1.

制御装置10のプログラム実行部11によりコマンドファイル221が作成され、“Command.in”が共有フォルダ220に存在する場合には(ステップT2;Yes)、コマンド実行部21により、共有フォルダ220からコマンドファイル221が読み込まれる(ステップT3)。   If the command execution unit 11 of the control device 10 creates the command file 221 and “Command.in” exists in the shared folder 220 (step T2; Yes), the command execution unit 21 causes the command file from the shared folder 220 to be created. 221 is read (step T3).

図4に、制御対象機器20のコマンド実行部21により実行されるプログラム(C言語)の一部を示す。図4の命令文50は、DIRフォルダ(共有フォルダ220)にある“Command.in”というファイルを開くことを示し、命令文51は、ファイルの内容をcmdに格納する(読み込む)ことを示し、命令文52は、ファイルを閉じることを示している。   FIG. 4 shows a part of a program (C language) executed by the command execution unit 21 of the control target device 20. 4 indicates that the file “Command.in” in the DIR folder (shared folder 220) is opened, and the command 51 indicates that the contents of the file are stored (read) in cmd. The command statement 52 indicates that the file is closed.

次に、コマンドファイル221に、実行されていない制御コマンドが存在する場合には(ステップT4;Yes)、コマンド実行部21により、その制御コマンドに基づく処理が実行され(ステップT5)、制御コマンドを実行した結果が共有フォルダ220の一時ファイルに書き込まれる(ステップT6)。そして、ステップT4に戻り、コマンドファイル221に含まれる全ての制御コマンドが実行されるまでステップT4〜ステップT6の処理が繰り返される。   Next, when there is an unexecuted control command in the command file 221 (step T4; Yes), the command execution unit 21 executes a process based on the control command (step T5), The execution result is written to a temporary file in the shared folder 220 (step T6). Then, the process returns to step T4, and the processes from step T4 to step T6 are repeated until all the control commands included in the command file 221 are executed.

ステップT4において、実行されていない制御コマンドが存在しない場合(ステップT4;No)、すなわち、コマンドファイル221に含まれる全ての制御コマンドの実行が完了した場合には、共有フォルダ220のコマンドファイル221(“Command.in”)が削除される(ステップT7)。そして、コマンド実行部21により、制御コマンドを実行した結果を含む一時ファイルのファイル名が“Result.out”にリネームされ、結果ファイル222が作成される(ステップT8)。   In step T4, when there is no control command that has not been executed (step T4; No), that is, when execution of all the control commands included in the command file 221 is completed, the command file 221 ( “Command.in”) is deleted (step T7). Then, the command execution unit 21 renames the temporary file including the result of executing the control command to “Result.out” and creates a result file 222 (step T8).

制御装置10では、プログラム実行部11により、制御対象機器20の共有フォルダ220にアクセスが行われ、“Result.out”という名前の結果ファイル222が共有フォルダ220に存在するか否かがチェックされる(ステップS3)。“Result.out”が共有フォルダ220に存在しない場合には(ステップS4;No)、ステップS3に戻る。   In the control device 10, the program execution unit 11 accesses the shared folder 220 of the control target device 20 and checks whether or not the result file 222 named “Result.out” exists in the shared folder 220. (Step S3). If “Result.out” does not exist in the shared folder 220 (step S4; No), the process returns to step S3.

制御対象機器20のコマンド実行部21により結果ファイル222が作成され、“Result.out”が共有フォルダ220に存在する場合には(ステップS4;Yes)、プログラム実行部11により、共有フォルダ220から結果ファイル222が読み込まれ(ステップS5)、制御対象機器20のコマンド実行部21により実行された制御コマンドの実行結果が表示部12に表示される。そして、プログラム実行部11により、共有フォルダ220の結果ファイル222(“Result.out”)が削除される(ステップS6)。
以上で、制御システム1における処理が終了する。
When the result file 222 is created by the command execution unit 21 of the control target device 20 and “Result.out” exists in the shared folder 220 (step S4; Yes), the result from the shared folder 220 is obtained by the program execution unit 11. The file 222 is read (step S5), and the execution result of the control command executed by the command execution unit 21 of the control target device 20 is displayed on the display unit 12. Then, the program execution unit 11 deletes the result file 222 (“Result.out”) in the shared folder 220 (step S6).
Thus, the process in the control system 1 ends.

以上説明したように、制御システム1によれば、制御装置10及び制御対象機器20の双方からアクセス可能な共有フォルダ220に対するファイル操作によって、制御コマンド及び制御コマンドを実行した結果の受け渡しを実現することができる。したがって、プログラムにおいて、制御装置10と制御対象機器20とを接続する通信インターフェースを制御するAPIを使用するためのコマンドが必要がなくなり、代わりにfopen()、fprintf()、fscanf()等のプログラム作成者が使い慣れているコマンド(ファイル操作のAPIを使用するためのコマンド)を用いるだけで済むので、制御装置10及び制御対象機器20のプログラムを容易に作成することができる。これに伴って、制御システム1における不具合の減少、開発工数の削減を図ることができる。   As described above, according to the control system 1, the control command and the result of executing the control command are realized by the file operation on the shared folder 220 accessible from both the control device 10 and the control target device 20. Can do. Therefore, in the program, there is no need for a command for using an API for controlling a communication interface for connecting the control device 10 and the control target device 20, and a program such as fopen (), fprintf (), fscanf () is used instead. Since only the command (command for using the file operation API) that the creator is familiar with is used, the programs of the control device 10 and the control target device 20 can be easily created. Accordingly, it is possible to reduce defects in the control system 1 and reduce development man-hours.

また、制御装置10からコマンドファイル221を直接変更することで、直接編集したファイルを制御対象機器20に読み込ませることができ、制御対象機器20を制御することができる。   Further, by directly changing the command file 221 from the control device 10, the directly edited file can be read into the control target device 20, and the control target device 20 can be controlled.

また、従来使用されていたGPIBケーブルの長さは規格で決められており、(i)総延長は「20m」以下、又は、「同一バス上の機器の台数×2m」以下、(ii)機器間の距離は「4m」以下、を満たさなければならないが、制御システム1では、制御装置10と制御対象機器20とをGPIBケーブルで接続しなくてよいため、制御装置10を制御対象機器20の近くに設置する必要がなくなる。   In addition, the length of the GPIB cable that has been used in the past is determined by the standard. (I) The total extension is “20 m” or less, or “the number of devices on the same bus × 2 m” or less, (ii) the device The distance between them must satisfy “4 m” or less. However, in the control system 1, since the control device 10 and the control target device 20 do not have to be connected by the GPIB cable, the control device 10 is connected to the control target device 20. No need to install nearby.

また、共有フォルダ220が制御対象機器20内に設けられるので、制御対象機器20がLANを介して外部の共有フォルダを検索してファイルを読み書きする必要がない。これにより、制御対象機器20の構成が簡素化され、制御対象機器20の小型化、コストダウン、設計の容易化を図ることができる。   Further, since the shared folder 220 is provided in the control target device 20, it is not necessary for the control target device 20 to search for an external shared folder via the LAN to read / write a file. As a result, the configuration of the control target device 20 is simplified, and the control target device 20 can be reduced in size, cost, and design.

また、本実施の形態のように、制御対象機器20が測定器である場合には、時間的な遅れを生ずることなく所定の時間内に信号を解析したり、信号を発生する必要がある。しかし、LANを介してファイルを読み書きする場合、LANの負荷状態によっては測定に時間的な遅れが生ずるおそれがある。図1に示す制御システム1では、共有フォルダ220が制御対象機器20側に設けられているので、LANの負荷状態によらずに所定の時間内に測定を行うことができ、測定の高速化を図ることができる。   Further, when the control target device 20 is a measuring instrument as in the present embodiment, it is necessary to analyze a signal or generate a signal within a predetermined time without causing a time delay. However, when reading and writing a file via the LAN, there is a possibility that a time delay may occur in the measurement depending on the load state of the LAN. In the control system 1 shown in FIG. 1, since the shared folder 220 is provided on the control target device 20 side, measurement can be performed within a predetermined time regardless of the load state of the LAN, and the measurement speed can be increased. Can be planned.

なお、上記実施の形態における記述は、本発明に係る制御システムの例であり、これに限定されるものではない。制御システムを構成する各装置の細部構成及び細部動作に関しても本発明の趣旨を逸脱することのない範囲で適宜変更可能である。   The description in the above embodiment is an example of the control system according to the present invention, and the present invention is not limited to this. The detailed configuration and detailed operation of each device constituting the control system can be changed as appropriate without departing from the spirit of the present invention.

例えば、本発明は、制御装置10と制御対象機器20の間だけでなく、制御装置10又は異なる制御装置において実行されるプログラムを他のプログラムから制御するために使用することも可能である。つまり、プログラムの言語が異なっている装置同士でも、共有フォルダ内のファイルを介して一方が他方を制御することも可能である。   For example, the present invention can be used not only between the control device 10 and the control target device 20 but also for controlling a program executed in the control device 10 or a different control device from another program. In other words, even devices having different program languages can be controlled by one through the files in the shared folder.

また、制御対象機器20は、測定器に限らず、例えば、シーケンサや調節計等の機器、XY方向に移動する2次元可動ステージ等であってもよい。また、カメラに対する姿勢制御や撮像動作に関する各種設定等に本発明を利用することも可能である。   Further, the control target device 20 is not limited to a measuring instrument, and may be, for example, a device such as a sequencer or a controller, a two-dimensional movable stage that moves in the XY directions, or the like. Further, the present invention can also be used for various settings relating to posture control and imaging operation with respect to the camera.

また、上記実施の形態では、制御装置10と制御対象機器20の双方からアクセス可能な共有フォルダ220が制御対象機器20内に設けられている場合について説明したが、共有フォルダ220は、制御装置10内や、制御装置10及び制御対象機器20の外部に設けられていてもよい。例えば、制御装置10のUSB(Universal Serial Bus)インターフェースに接続されるUSBメモリデバイス、ネットワーク上のファイルサーバ、バスで接続された共有メモリ、シリアルATA(Advanced Technology Attachment)に接続されたメモリデバイス等に共有フォルダ220が設けられることとしてもよい。   In the above embodiment, the case where the shared folder 220 that can be accessed from both the control device 10 and the control target device 20 is provided in the control target device 20 has been described. It may be provided inside or outside the control device 10 and the control target device 20. For example, a USB memory device connected to a USB (Universal Serial Bus) interface of the control device 10, a file server on a network, a shared memory connected by a bus, a memory device connected to a serial ATA (Advanced Technology Attachment), etc. A shared folder 220 may be provided.

本発明の実施の形態における制御システム1の構成図である。It is a lineblock diagram of control system 1 in an embodiment of the invention. 制御システム1において実行される処理を示すフローチャートである。3 is a flowchart showing processing executed in the control system 1. 制御装置10のプログラム実行部11により実行されるプログラムの例である。It is an example of a program executed by the program execution unit 11 of the control device 10. 制御対象機器20のコマンド実行部21により実行されるプログラムの例である。It is an example of a program executed by the command execution unit 21 of the control target device 20. 従来の制御システム100の構成図である。1 is a configuration diagram of a conventional control system 100. FIG. 制御装置110のプログラム実行部111により実行される従来のプログラムの例である。It is an example of a conventional program executed by the program execution unit 111 of the control device 110.

符号の説明Explanation of symbols

1 制御システム
10 制御装置
11 プログラム実行部
12 表示部
20 制御対象機器
21 コマンド実行部
22 メモリ
220 共有フォルダ
221 コマンドファイル
222 結果ファイル
30 LANケーブル
100 制御システム
110 制御装置
111 プログラム実行部
112 表示部
120 制御対象機器
121 コマンド実行部
130 GPIBケーブル
DESCRIPTION OF SYMBOLS 1 Control system 10 Control apparatus 11 Program execution part 12 Display part 20 Control object apparatus 21 Command execution part 22 Memory 220 Shared folder 221 Command file 222 Result file 30 LAN cable 100 Control system 110 Control apparatus 111 Program execution part 112 Display part 120 Control Target device 121 Command execution unit 130 GPIB cable

Claims (3)

制御装置と、制御対象機器と、前記制御装置及び制御対象機器の双方からアクセス可能な共有フォルダを有するファイル格納手段と、を備え、
前記制御装置は、前記共有フォルダにアクセスして前記制御対象機器を制御するための制御コマンドを含むコマンドファイルを作成するコマンドファイル作成手段を備え、
前記制御対象機器は、前記共有フォルダにアクセスして前記共有フォルダから前記コマンドファイルを読み込んで、当該コマンドファイルに含まれる制御コマンドを実行するコマンド実行手段を備えたことを特徴とする制御システム。
A control device, a control target device, and a file storage means having a shared folder accessible from both the control device and the control target device,
The control device includes command file creation means for creating a command file including a control command for accessing the shared folder and controlling the device to be controlled.
The control system includes a command execution unit that accesses the shared folder, reads the command file from the shared folder, and executes a control command included in the command file.
前記制御対象機器は、さらに、前記共有フォルダにアクセスして前記制御コマンドを実行した結果を含む結果ファイルを作成する結果ファイル作成手段を備え、
前記制御装置は、さらに、前記共有フォルダにアクセスして前記共有フォルダから前記結果ファイルを読み込む読み込み手段を備えたことを特徴とする請求項1に記載の制御システム。
The device to be controlled further comprises a result file creation means for creating a result file including a result of executing the control command by accessing the shared folder,
The control system according to claim 1, further comprising a reading unit that accesses the shared folder and reads the result file from the shared folder.
前記共有フォルダは、前記制御対象機器内に設けられることを特徴とする請求項1又は2に記載の制御システム。   The control system according to claim 1, wherein the shared folder is provided in the device to be controlled.
JP2006249329A 2006-09-14 2006-09-14 Control system Pending JP2008071126A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006249329A JP2008071126A (en) 2006-09-14 2006-09-14 Control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006249329A JP2008071126A (en) 2006-09-14 2006-09-14 Control system

Publications (1)

Publication Number Publication Date
JP2008071126A true JP2008071126A (en) 2008-03-27

Family

ID=39292653

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006249329A Pending JP2008071126A (en) 2006-09-14 2006-09-14 Control system

Country Status (1)

Country Link
JP (1) JP2008071126A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101008327B1 (en) * 2010-09-06 2011-01-13 드림테크 주식회사 Explosion-proof type computer system
JP2011039880A (en) * 2009-08-13 2011-02-24 Hitachi Information & Control Solutions Ltd Information collecting apparatus and information collecting system
JP2016035786A (en) * 2012-07-10 2016-03-17 株式会社リコー System and method
CN106060307A (en) * 2015-04-17 2016-10-26 京瓷办公信息系统株式会社 IMAGE FORMING APPARATUS and information receiving and transmitting METHOD
US9665325B2 (en) 2012-07-10 2017-05-30 Ricoh Company, Ltd. System including operation device and information storing apparatus, method performed by the system, and the information storing apparatus

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011039880A (en) * 2009-08-13 2011-02-24 Hitachi Information & Control Solutions Ltd Information collecting apparatus and information collecting system
KR101008327B1 (en) * 2010-09-06 2011-01-13 드림테크 주식회사 Explosion-proof type computer system
JP2016035786A (en) * 2012-07-10 2016-03-17 株式会社リコー System and method
US9665325B2 (en) 2012-07-10 2017-05-30 Ricoh Company, Ltd. System including operation device and information storing apparatus, method performed by the system, and the information storing apparatus
US9959081B2 (en) 2012-07-10 2018-05-01 Ricoh Company, Ltd. System including operation device and information storing apparatus, method performed by the system, and the information storing apparatus
US10908857B2 (en) 2012-07-10 2021-02-02 Ricoh Company, Ltd. System including operation device and information storing apparatus, method performed by the system, and the information storing apparatus
US11797243B2 (en) 2012-07-10 2023-10-24 Ricoh Company, Ltd. System including operation device and information storing apparatus, method performed by the system, and the information storing apparatus
US11907597B2 (en) 2012-07-10 2024-02-20 Ricoh Company, Ltd. System including operation device and information storing apparatus, method performed by the system, and the information storing apparatus
CN106060307A (en) * 2015-04-17 2016-10-26 京瓷办公信息系统株式会社 IMAGE FORMING APPARATUS and information receiving and transmitting METHOD
JP2016206786A (en) * 2015-04-17 2016-12-08 京セラドキュメントソリューションズ株式会社 Electronic device

Similar Documents

Publication Publication Date Title
JP5679989B2 (en) Debug pipeline
JP6149165B2 (en) Chart conversion system and method using metadata
JP4831793B2 (en) Data control device
BRPI0718217A2 (en) MANAGED EXECUTION ENVIRONMENT FOR SOFTWARE APPLICATION INTERFACE ESTABLISHMENT
JP2008071126A (en) Control system
KR102002971B1 (en) Display and operating unit and method of operating a field instrument using a display and operating unit
US20120278701A1 (en) Automatically Generating And Porting A Cascading Style Sheets (&#39;CSS&#39;) Style Sheet
US20140201232A1 (en) Scoping searches within websites
JP2009217321A (en) Information processor and information processing program
US20120151321A1 (en) System for Generating Websites for Products with an Embedded Processor
Marron et al. Embedding Scenario-based Modeling in Statecharts.
EP3011451A1 (en) Synchronization points for state information
CN111078217A (en) Brain graph generation method, apparatus and computer-readable storage medium
US10241658B2 (en) Information processing apparatus, non-transitory computer-readable recording medium with information processing program recorded thereon, and information processing method
US11442105B2 (en) Disaggregated distributed measurement analysis system using dynamic application builder
JP2010092103A (en) Web page display method, server unit, and program
JP2006154993A (en) Web screen creating method, program, and server
JP2022098998A (en) Information processing device and information processing program
JP7241982B1 (en) Image generation program, image generation device, programmable controller system and image generation method
KR101323270B1 (en) Method, terminal and computer-readable recording media for providing emulator for development of web application
JP2018014603A (en) Information processing apparatus, control method and program of information processing apparatus
JP6857277B1 (en) Information processing device, PDF file generation method, and PDF file generation program
Di Paolo Emilio et al. Software for Data Acquisition Systems
WO2021214843A1 (en) Operation check assistance device, operation check assistance method, and operation check assistance program
JP2008306728A (en) System and method for processing document