[go: up one dir, main page]

JPH1145393A - Automatic measurement system - Google Patents

Automatic measurement system

Info

Publication number
JPH1145393A
JPH1145393A JP20200697A JP20200697A JPH1145393A JP H1145393 A JPH1145393 A JP H1145393A JP 20200697 A JP20200697 A JP 20200697A JP 20200697 A JP20200697 A JP 20200697A JP H1145393 A JPH1145393 A JP H1145393A
Authority
JP
Japan
Prior art keywords
control program
controller
measuring instrument
user machine
control
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
JP20200697A
Other languages
Japanese (ja)
Inventor
Satoshi Matsuura
聡 松浦
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.)
Ando Electric Co Ltd
Original Assignee
Ando Electric Co Ltd
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 Ando Electric Co Ltd filed Critical Ando Electric Co Ltd
Priority to JP20200697A priority Critical patent/JPH1145393A/en
Priority to US09/007,685 priority patent/US6301508B1/en
Publication of JPH1145393A publication Critical patent/JPH1145393A/en
Pending legal-status Critical Current

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an automatic measurement system which greatly reduce generating operation for the control program of a measuring instrument and is affected a little by delay time variation and disconnection due to congestion even when a system is structured by using a network. SOLUTION: Measuring instruments 1 and 2 and a controller 3 which controls them are connected by a high-performance communication line 101, and the controller 3 and a user machine 4 are connected by a communication line 102 such as a network. The measuring instrument 1 includes a control program module 11A for controlling detailed operation of the measuring instrument 1 and a control module 11B for controlling the control program module 11A of the controller 3. The measuring instrument 2 has similar constitution. When a user machine 4 indicates the extraction of a control module on the start of measurement and the controller 3 takes the control module 11A out of the measuring instrument 1 and executes it, and also sends the control module 11B taken out of the measuring instrument 1 to the user machine 4 for execution.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、制御装置(以下、
「コントローラ」と呼ぶ)と複数台の計測器を通信線で
接続し、コントローラから各計測器を制御して各種計測
を自動的に行う自動計測システムに関する。また本発明
は、特に、遠く離れた地点に設置されている計測器をユ
ーザの居る場所から制御して自動計測を行える自動計測
システムに関するものである。
The present invention relates to a control device (hereinafter referred to as a control device).
The present invention relates to an automatic measurement system in which a plurality of measuring instruments are connected by a communication line and a controller controls each measuring instrument to automatically perform various measurements. In addition, the present invention particularly relates to an automatic measurement system capable of performing automatic measurement by controlling a measuring instrument installed at a distant point from a place where a user is.

【0002】[0002]

【従来の技術】[Prior art]

〔第1の従来技術〕上述した自動計測システムとして
は、従来、以下のような構成のものが使用されてきてい
る。すなわち、コントローラと計測器の間をGPIB
(General Purpose Interface Bus)やRS-232Cと
いったインターフェース規格の通信線で結び、BASI
C(Beginner's All-purpose Symbolic Instruction Co
de)等のプログラム言語を用いたり各計測器固有の制御
コマンドを組み合わせたりすることで、計測器をコント
ローラから制御するための制御プログラムを作成する。
そして、作成された制御プログラムをコントローラ側で
実行することによって各計測器を制御して自動計測を行
っていた。しかしながら、GPIBの最大ケーブル長は
20mに制限されており、RS−232Cの最大ケーブ
ル長も15mに制限されている。そのために、遠隔地か
ら計測器を制御する必要が生じた場合には、これらの規
格を採用した自動計測システムを利用することができな
かった。
[First Prior Art] As the above-described automatic measurement system, the following configuration has conventionally been used. That is, the GPIB between the controller and the measuring instrument
(General Purpose Interface Bus) and RS-232C interface cables.
C (Beginner's All-purpose Symbolic Instruction Co
By using a programming language such as de) or by combining control commands unique to each measuring instrument, a control program for controlling the measuring instrument from the controller is created.
Then, by executing the created control program on the controller side, each measuring device is controlled to perform automatic measurement. However, the maximum cable length of GPIB is limited to 20 m, and the maximum cable length of RS-232C is also limited to 15 m. Therefore, when it became necessary to control the measuring instrument from a remote place, an automatic measuring system employing these standards could not be used.

【0003】〔第2の従来技術〕このような問題を回避
するために、光ファイバなどを利用してGPIBやRS
−232Cのケーブル長を実質的に長くする製品も販売
されているが、こうした製品を利用するには光ファイバ
等を敷設しなければならないため、遠くから計測器を制
御したいという要求を簡単に満たすことは困難であっ
た。また、上述した自動計測システムを構築する場合、
システムを構築する者(所謂、システムエンジニア)に
は、少なくとも上記のような制御プログラムを作成する
能力が必要とされるため、誰でも簡単にシステムを組め
るわけではなかった。
[Second Prior Art] In order to avoid such a problem, GPIB or RS using an optical fiber or the like is used.
There are also products on the market that extend the cable length of -232C substantially, but the use of such products requires the laying of an optical fiber or the like, which easily meets the demand for controlling the measuring instrument from a distance. It was difficult. When constructing the above-mentioned automatic measurement system,
Since a person who constructs the system (a so-called system engineer) needs at least the ability to create the above-described control program, not everyone can easily construct the system.

【0004】さらに、制御プログラムの中でも計測器の
詳細動作に関わる部分は、計測器に対する制御コマンド
の組み合わせで構成されているため、制御コマンドが計
測器毎に異なっていると、各計測器の取扱説明書を熟読
して制御コマンドを十分に理解した上で制御プログラム
の作成にとりかかる必要があり、プログラム作成能力を
持つ者といえども制御プログラムの作成は容易でなかっ
た。加えて、せっかく制御プログラムを作成しても、計
測器毎に制御コマンドが異なることから別の計測器を用
いたシステムへの流用が困難である。したがって、多く
の場合では、システム変更に伴う制御プログラムの改造
は新規に制御プログラムを作成するのに近い労力を要し
ていた。
[0004] Furthermore, since the part related to the detailed operation of the measuring instrument in the control program is composed of a combination of control commands for the measuring instrument, if the control command is different for each measuring instrument, the handling of each measuring instrument will be considered. It was necessary to read the instruction manual and fully understand the control commands before starting to create the control program, and even a person having the ability to create a program could not easily create a control program. In addition, even if a control program is created, it is difficult to divert the control program to a system using another measuring instrument because the control command is different for each measuring instrument. Therefore, in many cases, the modification of the control program in accordance with the system change requires an effort close to creating a new control program.

【0005】〔第3の従来技術〕こうした問題を回避す
るため、各計測器の詳細動作に関わるプログラムを、各
計測器専用の制御プログラムモジュールのライブラリと
して予め計測器毎に多数準備しておき、これらを組み合
わせて制御プログラムを作成するようにした計測制御ソ
フトウェアが開発されて既に販売もされている。この計
測制御ソフトウェアは次に述べるようにして利用されて
いる。すなわち、システムエンジニアは、制御プログラ
ムモジュールのライブラリと計測制御ソフトウェアとを
予めコントローラにインストールしておく。そして、制
御プログラムを作成する際には、必要となる制御プログ
ラムモジュールをライブラリの中から選択して、選択さ
れた制御プログラムモジュールをシステム全体の動作を
制御する制御プログラム本体と組み合わせるようにす
る。こうすることで、初歩的なプログラム作成能力さえ
あれば、各計測器の制御コマンドを理解していなくとも
簡単に制御プログラムを作成できるようになり、制御プ
ログラム作成の労力が大幅に軽減される。
[Third Prior Art] In order to avoid such a problem, a large number of programs related to the detailed operation of each measuring instrument are prepared for each measuring instrument in advance as a library of control program modules dedicated to each measuring instrument. Measurement control software which creates a control program by combining these has been developed and is already sold. This measurement control software is used as described below. That is, the system engineer installs a library of control program modules and measurement control software in the controller in advance. When a control program is created, a required control program module is selected from a library, and the selected control program module is combined with a control program body that controls the operation of the entire system. By doing so, it is possible to easily create a control program without having to understand the control commands of each measuring device, as long as there is only a rudimentary program creation ability, and the labor for creating a control program is greatly reduced.

【0006】以上のように、計測制御ソフトウェアを用
いたシステムでは、各種計測器に対応した制御プログラ
ムモジュールを予めコントローラ内に用意しておくこと
で、制御プログラムの作成を簡単化している。そのた
め、利用者(システムエンジニア)の便利のためには、
より多くの計測器(即ち、コントローラに接続される可
能性のある全ての計測器)に対応できる数多くの制御プ
ログラムモジュールをライブラリとしてコントローラ内
に用意しておく必要がある。このことは、現時点では接
続されていないが過去に接続されたことのある計測器
や、将来接続される可能性のある計測器に対応した制御
プログラムモジュールライブラリをコントローラ内の記
憶装置へインストールする事態を招くことになる。つま
り、このようなシステムではコントローラが大容量の記
憶装置を必要するため、それに伴ってコントローラも高
価格になるという欠点があった。
As described above, in a system using measurement control software, the preparation of a control program is simplified by preparing control program modules corresponding to various measuring instruments in the controller in advance. Therefore, for the convenience of the user (system engineer),
It is necessary to prepare a large number of control program modules in the controller as a library that can support more measuring instruments (that is, all measuring instruments that may be connected to the controller). This means that a control program module library corresponding to a measuring instrument that is not connected at this time but has been connected in the past or a measuring instrument that may be connected in the future is installed in the storage device in the controller. Will be invited. In other words, in such a system, the controller requires a large-capacity storage device, and accordingly, there is a disadvantage that the controller is also expensive.

【0007】もちろん、現時点で接続されている計測器
に対応した制御プログラムモジュールだけをコントロー
ラへインストールすれば、コントローラ側に必要とされ
る記憶容量を少なくできる。しかしそうすると、新しい
計測器を接続する度に、追加された計測器の制御プログ
ラムモジュールをコントローラにインストールしなくて
はならず極めて不便である。また、制御プログラムモジ
ュールが保存されているCD−ROM(コンパクトディ
スク−読み出し専用メモリ)等の記憶媒体を紛失してし
まうといった事故が発生してしまう虞もある。
Of course, if only the control program module corresponding to the currently connected measuring instrument is installed in the controller, the storage capacity required on the controller side can be reduced. However, in this case, every time a new measuring instrument is connected, the control program module of the added measuring instrument must be installed in the controller, which is extremely inconvenient. Further, there is a possibility that an accident such as loss of a storage medium such as a CD-ROM (compact disk-read only memory) storing the control program module may occur.

【0008】一方で、計測器の中には発売後間もない新
製品や極く限られた分野でのみ使用される特殊な製品も
多数存在しており、これら全ての計測器に対する制御プ
ログラムモジュールが上述した計測制御ソフトウェアの
ために用意されているわけではない。したがって、こう
した制御プログラムモジュールが予め用意されていない
計測器を用いる場合は、システムエンジニアが自ら制御
プログラムを作成しなくてはならない。したがって、こ
うした場合は計測制御ソフトウェアが登場する以前と同
様の問題が生じることになる。
On the other hand, among measuring instruments, there are many new products that have just been released and special products that are used only in very limited fields, and control program modules for all these measuring instruments are provided. Is not prepared for the measurement control software described above. Therefore, when using a measuring instrument for which such a control program module is not prepared in advance, a system engineer must create a control program by himself. Therefore, in such a case, the same problem as before the appearance of the measurement control software occurs.

【0009】[0009]

【発明が解決しようとする課題】以上述べたような種々
の問題を回避するために、本発明者は、コントローラと
計測器を通信線で結び、コントローラで実行する制御プ
ログラムモジュールを予め計測器側に内蔵させておき、
自動計測システムを使用する際に、制御プログラムモジ
ュールを計測器からコントローラ側に読み出して実行さ
せる自動計測システムを提案している(特願平9−97
26号)。この発明は上述した諸々の問題を解決できる
点において優れたものである。しかしながら、通信線と
してLAN(ローカルエリアネットワーク)やインター
ネットといったネットワークを使う場合には問題もあ
る。すなわち、これらのネットワークは自動計測システ
ム以外のシステムにも接続されて利用されることから、
ネットワークが混雑してくるとその遅延時間(応答時
間)が大きくなったり、接続が切断されてしまったりと
いった事態が生じる。
In order to avoid the various problems described above, the present inventor connects the controller and the measuring instrument with a communication line, and installs a control program module to be executed by the controller in advance on the measuring instrument side. Built in
When using an automatic measurement system, an automatic measurement system has been proposed in which a control program module is read from a measuring instrument to a controller side and executed (Japanese Patent Application No. 9-97).
No. 26). The present invention is excellent in that the various problems described above can be solved. However, there is a problem when using a network such as a LAN (local area network) or the Internet as a communication line. In other words, these networks are used by being connected to systems other than the automatic measurement system,
When the network becomes congested, the delay time (response time) increases or the connection is disconnected.

【0010】本発明は上記のような背景の下になされた
もので、その目的は、計測器を制御する制御プログラム
の作成作業を必要としないかその作業を大幅に軽減で
き、しかも、ネットワークを利用してシステムを構築す
る場合にも、ネットワークの混雑による遅延時間変動や
接続の切断による影響の少ない自動計測システムを提供
することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above background, and an object of the present invention is to eliminate or greatly reduce the need for creating a control program for controlling a measuring instrument, and to reduce the network. It is also an object of the present invention to provide an automatic measurement system that is less affected by delay time fluctuation due to network congestion and disconnection when a system is constructed using the system.

【0011】[0011]

【課題を解決するための手段】以上の課題を解決するた
めに、請求項1記載の発明は、ユーザの操作するユーザ
マシンと計測器を制御するコントローラとを第1の通信
線で接続すると共に、前記計測器と前記コントローラと
を第2の通信線で接続した自動計測システムであって、
前記計測器は、前記コントローラから該計測器の詳細動
作を制御するための第1の制御プログラムと、前記コン
トローラ上に読み出される前記第1の制御プログラムの
詳細動作を前記ユーザマシンから制御するための第2の
制御プログラムとを予め記憶しており、前記コントロー
ラが前記第1の制御プログラムを前記計測器から読み出
して実行し、前記ユーザマシンが前記コントローラを介
して前記第2の制御プログラムを前記計測器から読み出
して実行することで、前記ユーザマシン上の第2の制御
プログラムに従って前記コントローラ上の第1の制御プ
ログラムを制御すると共に、該第1の制御プログラムに
従って前記計測器の詳細動作を制御することを特徴とし
ている。
According to a first aspect of the present invention, a user machine operated by a user and a controller for controlling a measuring instrument are connected by a first communication line. An automatic measurement system in which the measuring instrument and the controller are connected by a second communication line,
The measuring device includes a first control program for controlling a detailed operation of the measuring device from the controller, and a first control program for controlling the detailed operation of the first control program read on the controller from the user machine. The controller reads out the first control program from the measuring instrument and executes the first control program, and the user machine measures the second control program via the controller. By reading from the device and executing, the first control program on the controller is controlled according to the second control program on the user machine, and the detailed operation of the measuring instrument is controlled according to the first control program. It is characterized by:

【0012】また、請求項2記載の発明は、ユーザの操
作するユーザマシンとコントローラを内蔵した計測器と
を第1の通信線で接続した自動計測システムであって、
前記計測器は、前記コントローラを介して該計測器の詳
細動作を制御するための第1の制御プログラムと、前記
ユーザマシンから前記第1の制御プログラムの詳細動作
を制御するための第2の制御プログラムとを予め記憶し
ており、前記計測器が前記第1の制御プログラムを実行
し、前記ユーザマシンが前記第2の制御プログラムを前
記計測器から読み出して実行することで、前記ユーザマ
シン上の第2の制御プログラムに従って前記第1の制御
プログラムを制御すると共に、該第1の制御プログラム
に従って前記計測器の詳細動作を制御することを特徴と
している。
According to a second aspect of the present invention, there is provided an automatic measurement system in which a user machine operated by a user and a measuring instrument including a controller are connected by a first communication line.
The measuring instrument has a first control program for controlling a detailed operation of the measuring instrument via the controller, and a second control for controlling a detailed operation of the first control program from the user machine. Program is stored in advance, the measuring instrument executes the first control program, and the user machine reads out the second control program from the measuring instrument and executes the program. The first control program is controlled according to a second control program, and the detailed operation of the measuring device is controlled according to the first control program.

【0013】また、請求項3記載の発明は、請求項1又
は2記載の発明において、前記第1の通信線は所定のネ
ットワークであることを特徴としている。また、請求項
4記載の発明は、請求項1〜3の何れかの項記載の発明
において、前記第1の通信線はTCP/IPプロトコル
により運用される通信線であることを特徴としている。
また、請求項5記載の発明は、請求項4記載の発明にお
いて、前記計測器はHTTPサーバ機能あるいはFTP
サーバ機能を有し、これらサーバ機能を利用して前記第
1又は前記第2の制御プログラムの少なくとも一方を読
み出すことを特徴としている。
According to a third aspect of the present invention, in the first or second aspect, the first communication line is a predetermined network. According to a fourth aspect of the present invention, in the first aspect of the present invention, the first communication line is a communication line operated by a TCP / IP protocol.
According to a fifth aspect of the present invention, in the fourth aspect of the present invention, the measuring instrument has an HTTP server function or an FTP server.
It is characterized by having a server function and reading out at least one of the first or second control program using these server functions.

【0014】また、請求項6記載の発明は、請求項4又
は5記載の発明において、前記コントローラはHTTP
サーバ機能,FTPサーバ機能又はプロキシサーバ機能
を有し、これらサーバ機能を利用して前記第2の制御プ
ログラムを前記ユーザマシンへ読み出すことを特徴とし
ている。また、請求項7記載の発明は、請求項1〜6の
何れかの項記載の発明において、前記第1又は前記第2
の制御プログラムの少なくとも一方は所定のプログラム
言語のソースプログラム又は中間コードで記述されてお
り、前記コントローラ又は前記ユーザマシンは、前記第
1又は前記第2の制御プログラムを翻訳実行することを
特徴としている。
According to a sixth aspect of the present invention, in the fourth or fifth aspect of the invention, the controller is an HTTP server.
It has a server function, an FTP server function or a proxy server function, and reads out the second control program to the user machine using these server functions. The invention according to claim 7 is the invention according to any one of claims 1 to 6, wherein the first or the second
At least one of the control programs is described in a source program or an intermediate code of a predetermined programming language, and the controller or the user machine translates and executes the first or second control program. .

【0015】また、請求項8記載の発明は、請求項7記
載の発明において、前記所定のプログラム言語はJAV
A言語であって、前記コントローラ又は前記ユーザマシ
ンは前記JAVA言語の実行環境を有することを特徴と
している。また、請求項9記載の発明は、請求項1〜8
の何れかの項記載の発明において、前記第1又は前記第
2の制御プログラムの少なくとも一方は書き換え可能な
記憶媒体に記憶されており、前記計測器は、外部からの
指示に従って前記第1又は前記第2の制御プログラムの
書き換えを行うことを特徴としている。また、請求項1
0記載の発明は、請求項9記載の発明において、前記計
測器は、前記記憶媒体上に記憶されている前記第1又は
前記第2の制御プログラムの書き換えを禁止する手段を
有することを特徴としている。
The invention according to claim 8 is the invention according to claim 7, wherein the predetermined program language is JAVA.
In the A language, the controller or the user machine has an execution environment of the JAVA language. Further, the invention according to claim 9 provides the invention according to claims 1 to 8
In the invention according to any one of the first to third aspects, at least one of the first or second control program is stored in a rewritable storage medium, and the measuring instrument is configured to control the first or the second program in accordance with an external instruction. It is characterized in that the second control program is rewritten. Claim 1
The invention according to claim 0 is the invention according to claim 9, wherein the measuring device has means for inhibiting rewriting of the first or second control program stored on the storage medium. I have.

【0016】[0016]

【発明の実施の形態】以下、図面を参照して本発明の一
実施形態について説明する。図1は、同実施形態による
自動計測システムの構成例を示すブロック図である。同
図に示すように、この自動計測システムでは2台の計測
器1,2と1台のコントローラ3が通信線101で接続
されると共に、1台のユーザマシン4とコントローラ3
が通信線102で接続されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration example of the automatic measurement system according to the embodiment. As shown in FIG. 1, in this automatic measurement system, two measuring instruments 1 and 2 and one controller 3 are connected by a communication line 101, and one user machine 4 and one controller 3
Are connected by a communication line 102.

【0017】計測器1は、記憶装置10,当該記憶装置
10に記憶された制御プログラムモジュール11A及び
11B,計測機能部12,制御部13から構成される。
記憶装置10はROM等の記憶素子が用いられるが、後
述するようにRAM(ランダムアクセスメモリ)などで
構成されていても良い。また、計測機能部12は計測器
1における実際の計測動作を担っており、制御部13は
コントローラ3からの命令に基づいて計測器1内の各部
を制御するものである。
The measuring instrument 1 includes a storage device 10, control program modules 11A and 11B stored in the storage device 10, a measurement function unit 12, and a control unit 13.
The storage device 10 uses a storage element such as a ROM, but may be configured by a RAM (random access memory) or the like as described later. The measurement function unit 12 is responsible for an actual measurement operation in the measuring device 1, and the control unit 13 controls each unit in the measuring device 1 based on a command from the controller 3.

【0018】ここで、制御プログラムモジュール11A
は、計測機能部12における各種の詳細動作を制御する
ための制御プログラムモジュールから成るプログラムラ
イブラリであって、これらの制御プログラムモジュール
は、計測機能部12に対する制御コマンドの組み合わせ
により成る。一方、制御プログラムモジュール11B
は、制御プログラムモジュール11Aの各種詳細動作を
制御するための制御プログラムモジュールから成るプロ
グラムである。さらに詳細には、制御プログラムモジュ
ール11Bは、計測開始,計測終了の指示や計測実施状
況の報告といった自動計測システムの全体動作を司るプ
ログラムである。このように、本実施形態では、計測器
が2つの制御プログラムモジュール11A,11Bによ
って段階的に制御される構造となっている。
Here, the control program module 11A
Is a program library including control program modules for controlling various detailed operations in the measurement function unit 12. These control program modules are formed by a combination of control commands for the measurement function unit 12. On the other hand, the control program module 11B
Is a program including a control program module for controlling various detailed operations of the control program module 11A. More specifically, the control program module 11B is a program that governs the overall operation of the automatic measurement system, such as instructing the start and end of measurement and reporting the status of measurement execution. As described above, the present embodiment has a structure in which the measuring instrument is controlled stepwise by the two control program modules 11A and 11B.

【0019】また、計測器2はその構成が計測器1と同
様であって、記憶装置20,当該記憶装置20に記憶さ
れた制御プログラムモジュール21A及び21B,計測
機能部22,制御部23から構成されており、それぞれ
が、計測器1に設けられた記憶装置10,制御プログラ
ムモジュール11A及び11B,計測機能部12,制御
部13に対応する。
The measuring device 2 has the same configuration as the measuring device 1 and includes a storage device 20, control program modules 21A and 21B stored in the storage device 20, a measurement function unit 22, and a control unit 23. These correspond to the storage device 10, control program modules 11A and 11B, the measurement function unit 12, and the control unit 13 provided in the measuring instrument 1, respectively.

【0020】コントローラ3は計測器1及び計測器2を
制御して自動計測を行わせるもので、インターフェース
31と図示しない記憶装置に格納された制御プログラム
本体32とから構成されている。インターフェース31
はコントローラ3と通信線101又は通信線102の間
の送受信を行う。また制御プログラム本体32は、計測
器1,2からそれぞれ読み取った制御プログラムモジュ
ール11A,21Aを実行するプログラムであり、計測
器1,計測器2,ユーザマシン4,通信線101,通信
線102の大まかな制御(即ち、計測器1及び計測器2
の計測開始や計測終了等のシステムの全体動作の制御)
を行う。つまり、制御プログラム本体32には計測器1
及び計測器2の動作の詳細な制御は記述されておらず、
その詳細な制御は、制御プログラム本体32に組み込ま
れる制御プログラムモジュール11A,21Aが行う。
The controller 3 controls the measuring instrument 1 and the measuring instrument 2 to perform automatic measurement, and comprises an interface 31 and a control program main body 32 stored in a storage device (not shown). Interface 31
Performs transmission and reception between the controller 3 and the communication line 101 or 102. The control program main body 32 is a program for executing the control program modules 11A and 21A read from the measuring instruments 1 and 2, respectively, and roughly measures the measuring instrument 1, the measuring instrument 2, the user machine 4, the communication line 101, and the communication line 102. Control (ie, measuring device 1 and measuring device 2)
Control of the overall operation of the system, such as start and end of measurement
I do. That is, the measuring instrument 1 is included in the control program main body 32.
And the detailed control of the operation of the measuring instrument 2 is not described,
The detailed control is performed by the control program modules 11A and 21A incorporated in the control program main body 32.

【0021】ユーザマシン4は自動計測システムの全体
動作を制御する装置であって、コントローラ3を介して
計測器1及び計測器2を制御するように構成されてい
る。このユーザマシン4は、インターフェース41と図
示しない記憶装置に格納された制御プログラム本体42
から構成される。インターフェース41はユーザマシン
4と通信線102の間の送受信を行う。また制御プログ
ラム本体42は、計測器1,2からコントローラ3を媒
介として読み取った制御プログラムモジュール11B,
21Bを実行するプログラムであって、計測器1,計測
器2,コントローラ3,通信線101,通信線102の
大まかな制御(即ち、計測器1及び計測器2の計測開始
や計測終了等のシステムの全体動作の制御)を行う。つ
まり、制御プログラム本体42も計測器1及び計測器2
の動作の詳細を制御するものではない、その詳細な制御
は、制御プログラム本体42に組み込まれる制御プログ
ラムモジュール11B,21Bが行う。
The user machine 4 is a device for controlling the entire operation of the automatic measuring system, and is configured to control the measuring instruments 1 and 2 via the controller 3. The user machine 4 includes an interface 41 and a control program main body 42 stored in a storage device (not shown).
Consists of The interface 41 performs transmission and reception between the user machine 4 and the communication line 102. The control program main body 42 includes a control program module 11B read from the measuring instruments 1 and 2 via the controller 3,
21B, which is a program for executing a general control of the measuring device 1, the measuring device 2, the controller 3, the communication line 101, and the communication line 102 (that is, a system for starting and ending the measurement of the measuring device 1 and the measuring device 2). Control of the overall operation of. That is, the control program main body 42 also includes the measuring device 1 and the measuring device 2.
The detailed control of the operation is not performed by the control program modules 11B and 21B incorporated in the control program body 42.

【0022】そして以上の説明からわかるように、通信
線101は主に計測器1及び計測器2の制御に必要とな
る通信に用いられ、通信線102上では計測開始や計測
終了の指示,計測実施状況報告のための情報等が送受さ
れる。つまり、通信線101上で授受される通信データ
は多く、通信線101の処理速度は計測処理速度に大き
く影響する。そのため、通信線101には遅延時間があ
まり大きくならず切断の危険のないものを使う必要があ
る。
As can be understood from the above description, the communication line 101 is mainly used for communication necessary for controlling the measuring instrument 1 and the measuring instrument 2, and the communication line 102 is used to instruct the start and end of the measurement and the measurement. Information and the like for the implementation status report are transmitted and received. That is, the amount of communication data transmitted and received on the communication line 101 is large, and the processing speed of the communication line 101 greatly affects the measurement processing speed. For this reason, it is necessary to use a communication line 101 that does not have a large delay time and has no danger of disconnection.

【0023】これに対し、通信線102上で授受される
通信データは少なく、通信線102の処理速度は計測処
理速度にあまり影響しない。したがって、通信線102
としては遅延時間が大きく切断の危険があるようなネッ
トワークでも利用可能であって、例えば上述したLAN
やインターネットがその候補となる。そして、通信線1
02としてインターネット等を利用することができれ
ば、コントローラ3とユーザマシン4の間の距離は事実
上無制限となる。
On the other hand, the amount of communication data transmitted and received on the communication line 102 is small, and the processing speed of the communication line 102 does not significantly affect the measurement processing speed. Therefore, the communication line 102
Can be used in a network where the delay time is large and there is a risk of disconnection.
And the Internet are candidates. And communication line 1
If the Internet or the like can be used as 02, the distance between the controller 3 and the user machine 4 is virtually unlimited.

【0024】次に、上記構成による自動計測システムの
動作を説明する。まず、オペレータが、ユーザマシン4
のコントロールパネル(図示略)を操作して計測開始を
指示すると、ユーザマシン4は制御プログラム本体42
に従って動作を開始する。つまり、ユーザマシン4上の
制御プログラム本体42は、インターフェース41及び
通信線102を介し、コントローラ3内の制御プログラ
ム本体32に対して各計測器からの制御プログラムモジ
ュールの読み出しを命ずる。すると制御プログラム本体
32は、受け付けた命令に従って、インターフェース3
1及び通信線101を介し、計測器1へ制御プログラム
モジュール11A及び11Bの読み出し命令を送信する
とともに、計測器2へ制御プログラムモジュール21A
及び21Bの読み出し命令を送信する。
Next, the operation of the automatic measurement system having the above configuration will be described. First, the operator sets the user machine 4
The user machine 4 instructs the start of measurement by operating a control panel (not shown).
The operation starts according to. That is, the control program main body 42 on the user machine 4 commands the control program main body 32 in the controller 3 to read out the control program module from each measuring instrument via the interface 41 and the communication line 102. Then, the control program main body 32 executes the interface 3 according to the received command.
1 and the communication line 101, the read command of the control program modules 11A and 11B is transmitted to the measuring instrument 1 and the control program module 21A is transmitted to the measuring instrument 2.
, And a read command of 21B.

【0025】計測器1内の制御部13は、コントローラ
3からの読み出し命令を受信した時点で当該命令を解釈
して、記憶装置10から制御プログラムモジュール11
A及び11Bを読み出し、通信線101を介してこれら
制御プログラムモジュールをコントローラ3へ送信す
る。計測器1から制御プログラムモジュール11A及び
11Bを受信すると、コントローラ3は制御プログラム
モジュール11Aを制御プログラム本体32へ組み込む
と共に、制御プログラムモジュール11Bをユーザマシ
ン4へ送信する。同様にして、計測器2内の制御部23
は、コントローラ3からの読み出し命令を受信し解釈し
て、記憶装置20から読み出した制御プログラムモジュ
ール21A及び21Bを通信線101を介してコントロ
ーラ3へ送信する。これにより、コントローラ3は計測
器2から受信した制御プログラムモジュール21Aを制
御プログラム本体32に組み込むと共に、同じく受信し
た制御プログラムモジュール21Bをユーザマシン4へ
送信する。
When receiving the read command from the controller 3, the control unit 13 in the measuring instrument 1 interprets the command and reads the control program module 11 from the storage device 10.
A and 11B are read, and these control program modules are transmitted to the controller 3 via the communication line 101. When receiving the control program modules 11A and 11B from the measuring instrument 1, the controller 3 incorporates the control program module 11A into the control program main body 32 and transmits the control program module 11B to the user machine 4. Similarly, the control unit 23 in the measuring instrument 2
Receives and interprets the read command from the controller 3, and transmits the control program modules 21A and 21B read from the storage device 20 to the controller 3 via the communication line 101. As a result, the controller 3 incorporates the control program module 21A received from the measuring instrument 2 into the control program main body 32 and transmits the control program module 21B also received to the user machine 4.

【0026】ユーザマシン4は、通信線102を介して
コントローラ3から制御プログラムモジュール11B及
び21Bを受け取り、これら制御プログラムモジュール
を制御プログラム本体42に組み込む。この組み込み処
理が完了した時点でユーザマシン4は計測動作を開始さ
せる。すなわちユーザマシン4は、制御プログラム本体
42に組み込まれた制御プログラムモジュール11B及
び21Bに従ってコントローラ3上の制御プログラムモ
ジュール11A及び21Aを制御する。それにより、制
御プログラムモジュール11A及び21Aは計測器1内
の制御部13と計測器2内の制御部23に命令して、計
測機能部12及び計測機能部22を用いた実際の計測動
作を行わせる。
The user machine 4 receives the control program modules 11B and 21B from the controller 3 via the communication line 102, and incorporates these control program modules into the control program body 42. When the installation process is completed, the user machine 4 starts the measurement operation. That is, the user machine 4 controls the control program modules 11A and 21A on the controller 3 according to the control program modules 11B and 21B incorporated in the control program body 42. Thereby, the control program modules 11A and 21A instruct the control unit 13 in the measuring device 1 and the control unit 23 in the measuring device 2 to perform the actual measuring operation using the measuring function unit 12 and the measuring function unit 22. Let

【0027】こうして、計測器1及び計測器2の詳細な
計測動作は、コントローラ3に取り込まれた制御プログ
ラムモジュール11A及び21Aに基づいて制御される
ようになる。その後に、オペレータがユーザマシン4か
ら計測実施状況の報告や計測終了を指示すると、ユーザ
マシン4上の制御プログラム本体42はコントローラ3
上の制御プログラム本体32に対してこの旨を通知す
る。これにより、コントローラ3は、計測実施状況に関
する情報を計測器1,2から採取し或いは計測器1,2
に対して計測終了を指示する。また、計測実施状況の報
告が指示されている場合、コントローラ3上の制御プロ
グラム本体32は、採取された情報をユーザマシン4の
制御プログラム本体42へ送出し、ユーザマシン4側で
送られた情報の表示や印刷等の必要な処理を適宜行う。
In this way, the detailed measuring operations of the measuring device 1 and the measuring device 2 are controlled based on the control program modules 11A and 21A taken into the controller 3. Thereafter, when the operator instructs the user machine 4 to report the measurement execution status or terminate the measurement, the control program main body 42 on the user machine 4
This is notified to the control program body 32 above. Thereby, the controller 3 collects information on the measurement execution status from the measuring devices 1 and 2 or the measuring devices 1 and 2
To the end of measurement. When the report of the measurement execution status is instructed, the control program main body 32 on the controller 3 sends the collected information to the control program main body 42 of the user machine 4, and the information sent on the user machine 4 side. Necessary processing such as display and printing of is performed as appropriate.

【0028】以上のように、本実施形態によれば、コン
トローラ3から計測器1及び計測器2へ送るコマンドと
して、制御プログラムモジュールの読み出し命令だけを
新たに標準化している。これによって、動作に必要な固
有のコマンドを有する計測器1及び計測器2がコントロ
ーラ3から最適なコマンドで制御できるようになる。ま
た、この読み出し命令は、コントローラ3を介して計測
器1,2からユーザマシン4上に制御プログラムモジュ
ール11B,21Bを読み出す場合にも利用できる。こ
のように、本実施形態によれば、計測器の用途や機能に
応じて各計測器が備えるべきコマンドが相違し、それに
よって制御コマンドが計測器毎に異なる場合であって
も、全ての制御コマンドを計測器間で標準化することな
く制御コマンドの実行が可能になる。
As described above, according to the present embodiment, only a read command of the control program module is newly standardized as a command sent from the controller 3 to the measuring instruments 1 and 2. As a result, the measuring instrument 1 and the measuring instrument 2 having unique commands necessary for the operation can be controlled by the controller 3 with the optimal commands. This read command can also be used when reading the control program modules 11B and 21B from the measuring instruments 1 and 2 to the user machine 4 via the controller 3. As described above, according to the present embodiment, the commands to be provided for each measuring instrument are different depending on the use or function of the measuring instrument. Control commands can be executed without standardizing commands between measuring instruments.

【0029】また、本実施形態によれば、ユーザマシン
4上の制御プログラム本体42は、制御プログラムモジ
ュール11B及び21Bの読み出し命令と、それらを制
御プログラム本体42へ組み込んで実行する機能だけを
持っていれば良い。それ故、制御プログラム本体42の
規模が小さくなり、これを格納するための記憶装置の記
憶容量も小さくなる。同様にして、コントローラ3上の
制御プログラム本体32も、制御プログラムモジュール
11A,11B,21A,21Bの読み出し命令と、制
御プログラムモジュール11B,21Bのユーザマシン
4への転送と、制御プログラムモジュール11A,21
Aの組み込み及び実行の機能だけを持っていれば良い。
したがって、制御プログラム本体32の規模を小さくで
き、これを格納するのに必要となる記憶装置の記憶容量
も小さくできる。
Further, according to the present embodiment, the control program main body 42 on the user machine 4 has only a read command of the control program modules 11B and 21B and a function of incorporating and executing them in the control program main body 42. Just do it. Therefore, the scale of the control program main body 42 is reduced, and the storage capacity of the storage device for storing the control program is also reduced. Similarly, the control program body 32 on the controller 3 also reads the control program modules 11A, 11B, 21A and 21B, transfers the control program modules 11B and 21B to the user machine 4, and executes the control program modules 11A and 21B.
It is only necessary to have the function of incorporating and executing A.
Therefore, the size of the control program main body 32 can be reduced, and the storage capacity of the storage device required to store the control program main body 32 can also be reduced.

【0030】さらに、本実施形態では、コントローラ3
に接続される可能性のある全ての計測器に対応した制御
プログラムモジュールを予めコントローラ3へインスト
ールしておく必要がない。つまり、計測開始時点で接続
されている計測器(この場合は計測器1及び計測器2)
に対応した制御プログラムモジュールだけを各計測器か
ら読み出して制御プログラム本体32と組み合わせれば
良く、コントローラ3に必要とされる記憶容量を抑える
ことができる。
Further, in this embodiment, the controller 3
It is not necessary to install in the controller 3 control program modules corresponding to all measuring instruments that may be connected to the controller 3 in advance. In other words, the measuring instruments connected at the start of measurement (in this case, measuring instrument 1 and measuring instrument 2)
It is sufficient to read out only the control program module corresponding to the above from each measuring instrument and combine it with the control program main body 32, and the storage capacity required for the controller 3 can be suppressed.

【0031】〔応用例/変形例〕 (1)通信線102として、TCP/IP(Transmissi
on Control Protocol/Internet Protocol)等のプロト
コルで運用される通信線を用いても良い。こうした通信
線の代表的なものとして、10BASE−2/10BA
SE−5/10BASE−T等の規格がある。これらの
通信線を用いた場合、多数のユーザが通信線を使用する
と遅延時間の増大や切断の危険などの問題が生じる。し
かしながら、本実施形態では、自動計測のための主要な
通信が通信線101を介して行われるように構成されて
いることから、こうした問題は計測自体にほとんど影響
を与えない。
[Applications / Modifications] (1) TCP / IP (Transmissi
A communication line operated by a protocol such as on Control Protocol / Internet Protocol) may be used. A typical example of such a communication line is 10BASE-2 / 10BA.
There are standards such as SE-5 / 10 BASE-T. When these communication lines are used, when a large number of users use the communication lines, problems such as an increase in delay time and a risk of disconnection occur. However, in the present embodiment, since the main communication for automatic measurement is performed via the communication line 101, such a problem hardly affects the measurement itself.

【0032】(2)計測器1及び計測器2に HTTP
(HyperText Transfer Protocol)サーバ機能やFTP
(File Transfer Protocol)サーバ機能を持たせ、これ
ら計測器からコントローラ3へ制御プログラムモジュー
ル11A,11B,21A,21Bを読み出す際に、計
測器の持つサーバ機能を利用するようにしても良い。こ
れにより、これら制御プログラムモジュールの転送命令
がHTTPプロトコル処理又はFTPプロトコル処理の
内部で行われ、これらプロトコル処理後において処理さ
れる計測器制御用の制御コマンドと明確に区別できる。
したがって、計測器に送られる制御コマンドと制御プロ
グラムモジュールの読み出しコマンドが重複して混乱を
招くという危険を避けることができる。 (3)コントローラ3にHTTPサーバ機能,FTPサ
ーバ機能或いはプロキシサーバ(代理サーバ)機能を持
たせ、制御プログラムモジュール11B及び21Bをコ
ントローラ3からユーザマシン4へ読み出す際に、コン
トローラ3が持つサーバ機能を利用するようにしても良
い。
(2) HTTP is used for measuring device 1 and measuring device 2.
(HyperText Transfer Protocol) server function and FTP
(File Transfer Protocol) A server function may be provided, and when reading out the control program modules 11A, 11B, 21A, and 21B from these measuring instruments to the controller 3, the server function of the measuring instrument may be used. As a result, the transfer commands of these control program modules are performed inside the HTTP protocol processing or the FTP protocol processing, and can be clearly distinguished from the control commands for instrument control that are processed after these protocol processing.
Therefore, it is possible to avoid the danger that the control command sent to the measuring instrument and the read command of the control program module are duplicated and cause confusion. (3) The controller 3 is provided with an HTTP server function, an FTP server function, or a proxy server (proxy server) function. When the control program modules 11B and 21B are read from the controller 3 to the user machine 4, the server function of the controller 3 is used. You may use it.

【0033】(4)制御プログラムモジュール11A,
11B,21A,21Bを所定のプログラム言語(例え
ば上述したBASIC言語)のソースプログラム又は中
間コードで記述して、コントローラ3及びユーザマシン
4にこれらソースプログラム又は中間コードの実行環境
を持たせても良い。つまり、コントローラ3及びユーザ
マシン4にソースプログラムのコンパイラや中間コード
のインタプリタを設けるようにして、コントローラ3及
びユーザマシン4では、コントローラ3やユーザマシン
4を制御するCPU(中央処理装置)が用いる機械語へ
翻訳して実行するようにする。
(4) The control program module 11A,
11B, 21A, and 21B may be described in a source program or an intermediate code of a predetermined program language (for example, the above-described BASIC language), and the controller 3 and the user machine 4 may have an execution environment for the source program or the intermediate code. . That is, the controller 3 and the user machine 4 are provided with a compiler of a source program and an interpreter of an intermediate code, and the controller 3 and the user machine 4 use a machine used by a CPU (central processing unit) that controls the controller 3 and the user machine 4. Translate it into words and execute it.

【0034】こうすることで、各制御プログラムモジュ
ールがCPUの種類に依存しなくなるため、制御プログ
ラムモジュールを一本化することができる。また、制御
プログラムモジュールをプログラム言語で作成すること
でその作成が容易になる。なお、これらの制御プログラ
ムモジュールをプログラム言語JAVA(登録商標)で
記述すると共に、コントローラ3及びユーザマシン4に
JAVA言語実行環境を持たせるようにすれば、インタ
ーネットなどのネットワーク環境との親和性が高まる。
By doing so, since each control program module does not depend on the type of CPU, the control program modules can be unified. In addition, the creation of the control program module in a programming language facilitates its creation. If these control program modules are described in the programming language JAVA (registered trademark) and the controller 3 and the user machine 4 are provided with a JAVA language execution environment, affinity with a network environment such as the Internet is enhanced. .

【0035】(5)記憶装置10及び記憶装置20とし
て、RAM等の書き換え可能なIC(集積回路)メモリ
や、ハードディスク,光磁気ディスク等の書き換え可能
な記憶装置を用いて、システム外部からの書き換え命令
に応じて記憶装置10及び記憶装置20の内容を書き換
える機能を計測器1及び計測器2に持たせても良い。こ
うすれば、制御プログラムモジュール11A,11B,
21A,21Bが書き換え可能となるため、これら制御
プログラムモジュールを適宜に改版してその陳腐化を防
ぐことができる。また、記憶装置10や記憶装置20に
対する周知の保安機能を制御部13や制御部23に持た
せて、これら記憶装置への書き込みを禁止できるように
しても良い。これにより、悪意あるいは事故による制御
プログラムモジュール11A,11B,21A,21B
の書き換えを防止でき、安全性が確保される。
(5) A rewritable IC (integrated circuit) memory such as a RAM or a rewritable storage device such as a hard disk or a magneto-optical disk is used as the storage device 10 and the storage device 20 to rewrite data from outside the system. The measuring device 1 and the measuring device 2 may have a function of rewriting the contents of the storage device 10 and the storage device 20 according to the command. In this case, the control program modules 11A, 11B,
Since the control program modules 21A and 21B are rewritable, these control program modules can be appropriately revised to prevent their obsolescence. In addition, a known security function for the storage device 10 or the storage device 20 may be provided in the control unit 13 or the control unit 23 so that writing to these storage devices may be prohibited. As a result, the control program modules 11A, 11B, 21A, 21B due to malice or accidents
Can be prevented from being rewritten, and security is ensured.

【0036】(6)コントローラ3と通信線101の機
能を全て計測器1,計測器2に内蔵させるようにしても
良い。すなわち、コントローラ3を構成するインターフ
ェース31及び制御プログラム本体32を計測器1,計
測器2の内部にそれぞれ設け、インタフェース31と制
御部13,23を通信線101に相当するバスで結ぶ。
また、計測器1,2と通信線102の間をインターフェ
ース31を介して接続する。また、制御プログラムモジ
ュール11A,21Aの制御プログラム本体32への組
み込み処理は、計測器1,2の内部で行うようにする。
(6) All functions of the controller 3 and the communication line 101 may be incorporated in the measuring instruments 1 and 2. That is, the interface 31 and the control program main body 32 constituting the controller 3 are provided inside the measuring instrument 1 and the measuring instrument 2, respectively, and the interface 31 and the control units 13 and 23 are connected by a bus corresponding to the communication line 101.
The measuring instruments 1 and 2 are connected to the communication line 102 via the interface 31. The process of incorporating the control program modules 11A and 21A into the control program main body 32 is performed inside the measuring instruments 1 and 2.

【0037】(7)上述した実施形態では、各計測器か
ら読み出した制御プログラムモジュール11A,11
B,21A,21Bを制御プログラム本体32又は制御
プログラム本体42へ組み込んで実行している。しかし
ながら、これら制御プログラムモジュールを制御プログ
ラム本体とは独立した単体の制御プログラムとして機能
させても良い。
(7) In the above-described embodiment, the control program modules 11A, 11A read from each measuring instrument
B, 21A, and 21B are incorporated into the control program main body 32 or the control program main body 42 and executed. However, these control program modules may function as a single control program independent of the control program body.

【0038】(8)コントローラ3及びユーザマシン4
に対し、既存の技術である分散オブジェクト間通信機構
を適用するようにしても良い。こうすることで、計測器
1,2や制御プログラムモジュール11A,11B,2
1A,21Bに一切変更を加えることなく、上述の如く
コントローラ3とユーザマシン4とを物理的に分離しな
がら、これらコントローラ3及びユーザマシン4を1台
の制御装置に統合したのと同様に扱うことが可能とな
る。
(8) Controller 3 and user machine 4
On the other hand, a distributed inter-object communication mechanism, which is an existing technology, may be applied. By doing so, the measuring instruments 1 and 2 and the control program modules 11A, 11B, 2
The controller 3 and the user machine 4 are physically separated from each other as described above without any change to 1A and 21B, and the controller 3 and the user machine 4 are handled as if they were integrated into one controller. It becomes possible.

【0039】[0039]

【発明の効果】以上説明したように、請求項1記載の発
明によれば、ユーザマシンとコントローラを接続する通
信線と、計測器とコントローラを接続する通信線を独立
させ、計測器の詳細動作を制御する第1の制御プログラ
ムとこのプログラムの詳細動作を制御する第2の制御プ
ログラムとを計測器に記憶しておき、第1及び第2の制
御プログラムをそれぞれコントローラ,ユーザマシンに
読み出し、第2の制御プログラムに従って第1の制御プ
ログラムを制御すると共に、第1の制御プログラムに従
って計測器の詳細動作を制御するようにしている。
As described above, according to the first aspect of the present invention, the communication line connecting the user machine to the controller and the communication line connecting the measuring instrument to the controller are made independent, and the detailed operation of the measuring instrument is performed. Is stored in a measuring instrument, and the first and second control programs are read out to a controller and a user machine, respectively. The first control program is controlled according to the second control program, and the detailed operation of the measuring instrument is controlled according to the first control program.

【0040】このように、計測器の詳細動作を制御する
制御プログラム自体を計測器側に内蔵させるようにした
ので、制御プログラムの作成が不要となるか若しくはそ
の作業が大幅に軽減され、誰でも簡単に自動計測システ
ムを利用できるようになる。また、現時点において必要
とされない制御プログラムをコントローラやユーザマシ
ンへ記憶させておく必要がないため、コントローラやユ
ーザマシンにおける制御プログラムの記憶領域の容量を
抑えることができ、安価なシステムを構築できる。さら
に、制御プログラムを計測器側に内蔵させていることか
ら、制御プログラムが格納されているCDROM等の記
憶媒体を紛失してしまうなどの問題も生じない。
As described above, since the control program itself for controlling the detailed operation of the measuring instrument is built in the measuring instrument, the creation of the control program becomes unnecessary or the work is greatly reduced. The automatic measurement system can be easily used. Further, since it is not necessary to store a control program that is not required at the present time in the controller or the user machine, the capacity of the storage area of the control program in the controller or the user machine can be suppressed, and an inexpensive system can be constructed. Further, since the control program is built in the measuring instrument side, there is no problem that a storage medium such as a CDROM in which the control program is stored is lost.

【0041】また、請求項2記載の発明によれば、コン
トローラを計測器に内蔵させると共に第2の通信線を省
略する構成としたので、請求項1記載の発明の構成に比
して、システム全体の構成がいっそう簡易なものとな
り、より安価なシステムを構築することが可能となる。
また、請求項3記載の発明によれば、ユーザマシンとコ
ントローラないし計測器の間をネットワークで接続する
ようにしたので、インターネット等を利用して遠隔地か
ら計測器を制御することができる。
According to the second aspect of the present invention, the controller is built in the measuring instrument and the second communication line is omitted. The overall configuration becomes simpler, and a cheaper system can be constructed.
According to the third aspect of the present invention, since the user machine and the controller or the measuring instrument are connected by a network, the measuring instrument can be controlled from a remote place using the Internet or the like.

【0042】また、請求項5記載の発明によれば、計測
器が自身のサーバ機能を利用して第1又は第2の制御プ
ログラムを読み出すので、これら制御プロトコルの転送
がサーバ機能の用いるプロトコル処理内部で行われるこ
ととなり、計測器に送られる制御コマンドとこれら制御
プログラムの読み出しが重複して混乱を招く恐れがなく
なる。また、請求項7記載の発明によれば、第1又は第
2の制御プログラムをソースプログラム又は中間コード
の形で記述し、これらを実行するコントローラ側ないし
ユーザマシン側で第1又は第2の制御プログラムを翻訳
するようにしたので、コントローラやユーザマシンの種
類毎に制御プログラムを用意しておく必要がなくなる。
According to the fifth aspect of the present invention, since the measuring instrument reads the first or second control program using its own server function, the transfer of these control protocols is performed by the protocol processing used by the server function. Since it is performed internally, there is no danger that the control command sent to the measuring instrument and the reading of these control programs will be duplicated and cause confusion. According to the seventh aspect of the present invention, the first or second control program is described in the form of a source program or an intermediate code, and the first or second control program is executed on the controller side or the user machine side which executes the first or second control program. Since the program is translated, there is no need to prepare a control program for each type of controller or user machine.

【0043】また、請求項8記載の発明によれば、JA
VA言語で記述された第1又は第2の制御プログラムを
コントローラ又はユーザマシンで実行可能としたので、
インターネットなどのネットワーク環境との親和性が高
まる。また、請求項9記載の発明によれば、第1又は第
2の制御プログラムを書き換え可能としたので、これら
制御プログラムを適宜に改版してその陳腐化を防ぐこと
ができる。
According to the eighth aspect of the present invention, the JA
Since the first or second control program described in the VA language can be executed by the controller or the user machine,
Affinity with network environments such as the Internet increases. According to the ninth aspect of the present invention, since the first or second control program can be rewritten, the control program can be appropriately revised to prevent its obsolescence.

【0044】また、請求項10記載の発明によれば、第
1又は第2の制御プログラムの書き換えを禁止できるよ
うにしたので、悪意あるいは事故による制御プログラム
の書き換えを防止して安全性を確保することができる。
また、第1の通信線としてインターネット等のネットワ
ークを用いる場合であっても、コンピュータウィルス等
による被害を未然に防止することができる。
According to the tenth aspect of the present invention, the rewriting of the first or second control program can be prohibited, so that the rewriting of the control program due to malicious or accident is prevented and the security is ensured. be able to.
Further, even when a network such as the Internet is used as the first communication line, damage due to a computer virus or the like can be prevented.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の一実施形態における自動計測システ
ムの構成例を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration example of an automatic measurement system according to an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1,2…計測器、3…コントローラ、4…ユーザマシ
ン、10,20…記憶装置、11A,11B,21A,
21B…制御プログラムモジュール、12,22…計測
機能部、13,23…制御部、31,41…インターフ
ェース、32,42…制御プログラム本体、101,1
02…通信線
1, 2, measuring instrument, 3, controller, 4 user machine, 10, 20 storage device, 11A, 11B, 21A,
21B: Control program module, 12, 22: Measurement function unit, 13, 23: Control unit, 31, 41: Interface, 32, 42: Control program body, 101, 1
02 ... Communication line

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 ユーザの操作するユーザマシンと計測器
を制御するコントローラとを第1の通信線で接続すると
共に、前記計測器と前記コントローラとを第2の通信線
で接続した自動計測システムであって、 前記計測器は、前記コントローラから該計測器の詳細動
作を制御するための第1の制御プログラムと、前記コン
トローラ上に読み出される前記第1の制御プログラムの
詳細動作を前記ユーザマシンから制御するための第2の
制御プログラムとを予め記憶しており、 前記コントローラが前記第1の制御プログラムを前記計
測器から読み出して実行し、前記ユーザマシンが前記コ
ントローラを介して前記第2の制御プログラムを前記計
測器から読み出して実行することで、前記ユーザマシン
上の第2の制御プログラムに従って前記コントローラ上
の第1の制御プログラムを制御すると共に、該第1の制
御プログラムに従って前記計測器の詳細動作を制御する
ことを特徴とする自動計測システム。
An automatic measurement system in which a user machine operated by a user and a controller for controlling a measuring instrument are connected by a first communication line and the measuring instrument and the controller are connected by a second communication line. And wherein the measuring device controls a first control program for controlling a detailed operation of the measuring device from the controller and a detailed operation of the first control program read on the controller from the user machine. And the controller reads out and executes the first control program from the measuring instrument, and the user machine executes the second control program via the controller. Is read from the measuring instrument and executed, whereby the control is performed according to a second control program on the user machine. Automatic measuring system, characterized in that to control the first control program on the La, controlling the detailed operation of the instrument in accordance with the first control program.
【請求項2】 ユーザの操作するユーザマシンとコント
ローラを内蔵した計測器とを第1の通信線で接続した自
動計測システムであって、 前記計測器は、前記コントローラを介して該計測器の詳
細動作を制御するための第1の制御プログラムと、前記
ユーザマシンから前記第1の制御プログラムの詳細動作
を制御するための第2の制御プログラムとを予め記憶し
ており、 前記計測器が前記第1の制御プログラムを実行し、前記
ユーザマシンが前記第2の制御プログラムを前記計測器
から読み出して実行することで、前記ユーザマシン上の
第2の制御プログラムに従って前記第1の制御プログラ
ムを制御すると共に、該第1の制御プログラムに従って
前記計測器の詳細動作を制御することを特徴とする自動
計測システム。
2. An automatic measurement system in which a user machine operated by a user and a measuring instrument including a controller are connected by a first communication line, wherein the measuring instrument is configured to perform a detailed operation of the measuring instrument via the controller. A first control program for controlling operation and a second control program for controlling detailed operation of the first control program from the user machine are stored in advance, and The first control program is executed, and the user machine reads the second control program from the measuring instrument and executes the second control program, thereby controlling the first control program according to the second control program on the user machine. An automatic measurement system for controlling detailed operation of the measuring instrument according to the first control program.
【請求項3】 前記第1の通信線は所定のネットワーク
であることを特徴とする請求項1又は2記載の自動計測
システム。
3. The automatic measurement system according to claim 1, wherein the first communication line is a predetermined network.
【請求項4】 前記第1の通信線はTCP/IPプロト
コルにより運用される通信線であることを特徴とする請
求項1〜3の何れかの項記載の自動計測システム。
4. The automatic measurement system according to claim 1, wherein the first communication line is a communication line operated according to a TCP / IP protocol.
【請求項5】 前記計測器はHTTPサーバ機能あるい
はFTPサーバ機能を有し、これらサーバ機能を利用し
て前記第1又は前記第2の制御プログラムの少なくとも
一方を読み出すことを特徴とする請求項4記載の自動計
測システム。
5. The measuring instrument has an HTTP server function or an FTP server function, and reads out at least one of the first and second control programs using these server functions. Automatic measurement system as described.
【請求項6】 前記コントローラはHTTPサーバ機
能,FTPサーバ機能又はプロキシサーバ機能を有し、
これらサーバ機能を利用して前記第2の制御プログラム
を前記ユーザマシンへ読み出すことを特徴とする請求項
4又は5記載の自動計測システム。
6. The controller has an HTTP server function, an FTP server function or a proxy server function,
The automatic measurement system according to claim 4, wherein the second control program is read out to the user machine using the server function.
【請求項7】 前記第1又は前記第2の制御プログラム
の少なくとも一方は所定のプログラム言語のソースプロ
グラム又は中間コードで記述されており、 前記コントローラ又は前記ユーザマシンは、前記第1又
は前記第2の制御プログラムを翻訳実行することを特徴
とする請求項1〜6の何れかの項記載の自動計測システ
ム。
7. At least one of the first and second control programs is described in a source program or an intermediate code of a predetermined programming language, and the controller or the user machine is configured to execute the first or second control program. The automatic measurement system according to any one of claims 1 to 6, wherein the control program is translated and executed.
【請求項8】 前記所定のプログラム言語はJAVA言
語であって、 前記コントローラ又は前記ユーザマシンは前記JAVA
言語の実行環境を有することを特徴とする請求項7記載
の自動計測システム。
8. The program language is a Java language, and the controller or the user machine is a Java language.
The automatic measurement system according to claim 7, further comprising a language execution environment.
【請求項9】 前記第1又は前記第2の制御プログラム
の少なくとも一方は書き換え可能な記憶媒体に記憶され
ており、 前記計測器は、外部からの指示に従って前記第1又は前
記第2の制御プログラムの書き換えを行うことを特徴と
する請求項1〜8の何れかの項記載の自動計測システ
ム。
9. At least one of the first and second control programs is stored in a rewritable storage medium, and the measuring device is configured to execute the first or second control program according to an external instruction. 9. The automatic measurement system according to claim 1, wherein the automatic measurement system is rewritten.
【請求項10】 前記計測器は、前記記憶媒体上に記憶
されている前記第1又は前記第2の制御プログラムの書
き換えを禁止する手段を有することを特徴とする請求項
9記載の自動計測システム。
10. The automatic measuring system according to claim 9, wherein said measuring device has means for prohibiting rewriting of said first or said second control program stored on said storage medium. .
JP20200697A 1997-01-22 1997-07-28 Automatic measurement system Pending JPH1145393A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP20200697A JPH1145393A (en) 1997-07-28 1997-07-28 Automatic measurement system
US09/007,685 US6301508B1 (en) 1997-01-22 1998-01-15 Automatic instrumentation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20200697A JPH1145393A (en) 1997-07-28 1997-07-28 Automatic measurement system

Publications (1)

Publication Number Publication Date
JPH1145393A true JPH1145393A (en) 1999-02-16

Family

ID=16450372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20200697A Pending JPH1145393A (en) 1997-01-22 1997-07-28 Automatic measurement system

Country Status (1)

Country Link
JP (1) JPH1145393A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001052281A (en) * 1999-08-17 2001-02-23 Advantest Corp Measuring device control adapter, measuring system, measuring device control method, and recording medium
JP2001067579A (en) * 1999-08-26 2001-03-16 Advantest Corp Measuring instrument, measuring instrument controller, measurement system, measuring process performing method, and recording medium
JP2001343409A (en) * 2000-06-01 2001-12-14 Sony Corp Electromagnetic radiation measuring device and electromagnetic radiation measuring method
JP2004158927A (en) * 2002-11-01 2004-06-03 Research Institute Of Biomolecule Metrology Co Ltd Remote contract measurement system and remote contract measurement method
EP1256858A3 (en) * 2001-05-09 2007-09-05 Agilent Technologies, Inc. Modular system with synchronized timing
JP2015161503A (en) * 2014-02-26 2015-09-07 住友電気工業株式会社 Power measurement device, terminal device, power measurement system, communication control method, and communication control program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001052281A (en) * 1999-08-17 2001-02-23 Advantest Corp Measuring device control adapter, measuring system, measuring device control method, and recording medium
JP2001067579A (en) * 1999-08-26 2001-03-16 Advantest Corp Measuring instrument, measuring instrument controller, measurement system, measuring process performing method, and recording medium
JP2001343409A (en) * 2000-06-01 2001-12-14 Sony Corp Electromagnetic radiation measuring device and electromagnetic radiation measuring method
EP1256858A3 (en) * 2001-05-09 2007-09-05 Agilent Technologies, Inc. Modular system with synchronized timing
JP2004158927A (en) * 2002-11-01 2004-06-03 Research Institute Of Biomolecule Metrology Co Ltd Remote contract measurement system and remote contract measurement method
JP2015161503A (en) * 2014-02-26 2015-09-07 住友電気工業株式会社 Power measurement device, terminal device, power measurement system, communication control method, and communication control program

Similar Documents

Publication Publication Date Title
US8041840B2 (en) Industrial control system with autonomous web server
US6327511B1 (en) Input/output (I/O) scanner for a control system with peer determination
JP4344576B2 (en) Packet communication device
JPH0570344B2 (en)
JP3566975B2 (en) Automatic operation device of computer operation terminal device
KR101501973B1 (en) Relay server and relay communication system
MXPA01011549A (en) A web browser.
JP2001209407A (en) Simulator for executing plc program
JPH1145393A (en) Automatic measurement system
KR20170028218A (en) Commucation device providing dynamic modbus protocol mapping
US6434617B1 (en) Extensible, object-oriented network interface
US6301508B1 (en) Automatic instrumentation system
US20020161828A1 (en) System and method for communicating with a device
JP2003526223A (en) Development and test tools for communication systems
US5946693A (en) System for communicating among objects and establishing linkages among them and method thereof
JPH10208181A (en) Automatic measuring system
Cisco Downloading Software and Firmware
KR100779019B1 (en) Data mapping method in intelligent electronic devices in substation
KR100350315B1 (en) Apparatus And Method For Remote Input/Output Control In Real-time System
KR100301111B1 (en) Remote digital camera control system and its control method on the Internet
JP4544422B2 (en) Programmable controller
JP2018088277A (en) Control device and communication control method
CN1526095A (en) Method for updating in program-controlled device, program code executed in program-controlled device and web browser
JPH0736374A (en) Data link system
JP2002095068A (en) Monitoring control system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20031007