JPH10208181A - Automatic measuring system - Google Patents

Automatic measuring system

Info

Publication number
JPH10208181A
JPH10208181A JP972697A JP972697A JPH10208181A JP H10208181 A JPH10208181 A JP H10208181A JP 972697 A JP972697 A JP 972697A JP 972697 A JP972697 A JP 972697A JP H10208181 A JPH10208181 A JP H10208181A
Authority
JP
Japan
Prior art keywords
control program
controller
measuring
measuring instrument
measurement system
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
JP972697A
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 JP972697A priority Critical patent/JPH10208181A/en
Priority to US09/007,685 priority patent/US6301508B1/en
Publication of JPH10208181A publication Critical patent/JPH10208181A/en
Pending legal-status Critical Current

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an automatic measuring system which does not require the generation work of a control program controlling respective measuring instruments (or work is considerably reduced). SOLUTION: In the automatic measuring system where the measuring instruments 1 and 2 controlled from outside are connected with a controller 3 controlling the measuring instruments 1 and 2 by a communication line 4, the measuring instruments 1 and 2 store control program modules 11 and 21 for controlling the measuring instruments 11 and 21 for controlling the measuring units 1 and 2 from the controller 3. The controller 3 controls the measuring instruments 1 and 2 by reading the control program modules 11 and 21 from the measuring instruments 1 and 2 and executing the control program modules 11 and 21 which are read.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、コントローラと複
数台の計測器とを通信線で接続すると共に、該コントロ
ーラから各計測器を制御することにより、自動的に各種
計測を行う自動計測システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic measurement system for connecting a controller to a plurality of measuring instruments via a communication line, and automatically performing various measurements by controlling the measuring instruments from the controller. .

【0002】[0002]

【従来の技術】従来、上述した自動計測システムでは、
まず、コントローラと各計測器とをGPIBなどの通信
線で結び、次に、コントローラから各計測器を制御する
ための制御プログラムを、BASIC等のプログラム言
語や各計測器固有の制御コマンドで作成し、その制御プ
ログラムをコントローラで実行することにより各計測器
を該コントローラから制御し計測を行っていた。
2. Description of the Related Art Conventionally, in the above-described automatic measurement system,
First, the controller and each measuring instrument are connected by a communication line such as GPIB, and then a control program for controlling each measuring instrument from the controller is created using a programming language such as BASIC or a control command specific to each measuring instrument. By executing the control program by the controller, each measuring device is controlled by the controller to perform measurement.

【0003】[0003]

【発明が解決しようとする課題】ところで、上述した従
来の自動計測システムを構築する場合、該システムを構
築する者(システムエンジニア)は、少なくとも上記制
御プログラムを作成する能力を必要とし、誰でも簡単に
システムを組むことができるというわけではなかった。
また、上記制御プログラムのうちでも、各計測器の詳細
動作に関わる部分は上記(各計測器固有の)制御コマン
ドの組み合わせからなるが、該制御コマンドは各計測器
ごとに異なるため、制御プログラムの作成に際しては、
各計測器の取扱説明書を熟読し制御コマンドを理解して
から制御プログラムの作成にとりかかる必要があり、プ
ログラム作成能力を持つ者といえども制御プログラムを
作成することは容易ではなかった。さらに、せっかく作
成した制御プログラムも、上述したように、各計測器ご
とに制御コマンドが異なるため、別の計測器を用いたシ
ステムへの流用は困難であり、多くの場合、システム変
更に伴う制御プログラムの改造は、新規に制御プログラ
ムを作成するのに近い労力を要していた。
By the way, when constructing the above-mentioned conventional automatic measurement system, a person who constructs the system (system engineer) needs at least the ability to create the above-mentioned control program, and anyone can easily do so. It was not possible to set up the system in any way.
In the control program, the part related to the detailed operation of each measuring instrument is composed of a combination of the control commands (specific to each measuring instrument). Since the control commands are different for each measuring instrument, When creating,
It is necessary to read the instruction manual of each measuring instrument and understand the control command before starting to create the control program, and even a person having the ability to create a program has difficulty in creating the control program. Further, as described above, since the control commands for each measuring instrument are different from each other, it is difficult to divert the control program to a system using another measuring instrument. Modification of the program required close effort to create a new control program.

【0004】このような問題を回避するため、各計測器
の詳細動作に関わるプログラムを、該計測器専用の制御
プログラムモジュールのライブラリとして、あらかじめ
各計測器ごとに多数準備し、それらを組み合わせて制御
プログラムを作成する計測制御ソフトウェアが開発さ
れ、既に販売されている。この計測制御ソフトウェアの
利用方法は、次の通りである。すなわち、システムエン
ジニアは、上記制御プログラムモジュールのライブラリ
(および計測制御ソフトウェア)を、あらかじめコント
ローラにインストールしておき、制御プログラム作成時
には、必要となる制御プログラムモジュールをライブラ
リから選択し、システム全体の動作を制御する制御プロ
グラム本体に組み合わせる。この計測制御ソフトウェア
を利用することにより、初歩的なプログラム作成能力さ
えあれば、各計測器の制御コマンドを理解しなくても、
簡単に制御プログラムを作成することができ、制御プロ
グラム作成労力が大幅に軽減されるようになる。
In order to avoid such a problem, a large number of programs related to the detailed operation of each measuring instrument are prepared in advance for each measuring instrument as a library of a control program module dedicated to the measuring instrument, and control is performed by combining them. Measurement control software for creating programs has been developed and is already sold. The method of using the measurement control software is as follows. That is, the system engineer previously installs the library of the control program modules (and measurement control software) in the controller, selects a necessary control program module from the library when creating the control program, and controls the operation of the entire system. Combine with the control program body to be controlled. By using this measurement control software, if you only have a rudimentary program creation ability, you do not need to understand the control commands of each measuring instrument,
The control program can be easily created, and the effort for creating the control program is greatly reduced.

【0005】ところで、上記計測制御ソフトウェアを用
いたシステムでは、上述したように、各種計測器に対す
る制御プログラムモジュールをあらかじめコントローラ
内に用意しておくことで、制御プログラムの作成を簡単
化しているので、利用者(システムエンジニア)の便利
のためには、より多くの計測器(すなわち、コントロー
ラに接続される可能性のある全ての計測器)に対応でき
る数多くの制御プログラムモジュールライブラリを、該
コントローラ内に用意しておく必要がある。このこと
は、現在は接続されていないが過去に接続されたことの
ある計測器、あるいは、将来接続される可能性のある計
測器に対する制御プログラムモジュールライブラリを、
コントローラの記憶装置へインストールする事態を招
く。このため、上記計測制御ソフトウェアを用いたシス
テムでは、コントローラは大容量の記憶装置を必要と
し、それに伴いコントローラが高価格になる、という欠
点があった。
By the way, in the system using the above measurement control software, as described above, the preparation of the control program is simplified by preparing the control program modules for various measuring instruments in the controller in advance. For the convenience of the user (system engineer), a large number of control program module libraries capable of supporting more instruments (that is, all instruments that may be connected to the controller) are stored in the controller. It must be prepared. This means that the control program module library for instruments that are not currently connected but have been connected in the past, or instruments that may be connected in the future,
This causes installation to the storage device of the controller. For this reason, the system using the measurement control software has a drawback that the controller requires a large-capacity storage device, and the controller becomes expensive accordingly.

【0006】もちろん、現在接続されている計測器に対
応する制御プログラムモジュールだけをインストールす
れば、コントローラに必要な記憶容量を少なくできる
が、この場合、新しい計測器を接続するたびに、その計
測器の制御プログラムモジュールをインストールしなく
てはならないため不便であるほか、その制御プログラム
モジュールを保存しているCD−ROM等の記憶媒体を
紛失してしまう、といった事故が発生する虞もある。
Of course, if only the control program module corresponding to the currently connected measuring instrument is installed, the storage capacity required for the controller can be reduced. However, in this case, every time a new measuring instrument is connected, the measuring instrument is connected to the new measuring instrument. This is inconvenient because the control program module must be installed, and a storage medium such as a CD-ROM storing the control program module may be lost.

【0007】一方、計測器の中には、発売後間もない新
製品や、ごく限られた分野でのみ使用される特殊な製品
も多数存在する。これに対し、上述した計測制御ソフト
ウェアといえども、これら全ての計測器に対する制御プ
ログラムモジュールが用意されているわけではない。そ
のため、これら新製品や特殊な製品のように制御プログ
ラムモジュールが用意されていない計測器を用いる場合
には、利用者(システムエンジニア)自らが制御プログ
ラムを作成しなくてはならない。この場合には、上述し
たような計測制御ソフトウェアの登場前の問題が同様に
存在する。
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. On the other hand, even with the measurement control software described above, control program modules for all of these measuring instruments are not prepared. Therefore, when using a measuring instrument for which a control program module is not prepared, such as a new product or a special product, a user (system engineer) must create a control program by himself. In this case, the problem before the appearance of the measurement control software as described above similarly exists.

【0008】この発明は、このような背景の下になされ
たもので、各計測器を制御する制御プログラムの作成作
業を必要としない(あるいは作業が大幅に軽減される)
自動計測システムを提供することを目的とする。
The present invention has been made under such a background, and does not require the work of creating a control program for controlling each measuring instrument (or greatly reduces the work).
An object is to provide an automatic measurement system.

【0009】[0009]

【課題を解決するための手段】請求項1記載の発明は、
外部から制御される計測器と、該計測器を制御するコン
トローラとを、通信線で接続した自動計測システムにお
いて、前記計測器は、前記コントローラから該計測器を
制御するための制御プログラムを記憶しており、前記コ
ントローラは、前記制御プログラムを前記計測器から読
み出し、該読み出した制御プログラムを実行することに
よって該計測器を制御することを特徴とする。請求項2
記載の発明は、請求項1記載の自動計測システムにおい
て、前記通信線は、TCP/IPプロトコルにより運用
される通信線であることを特徴とする。請求項3記載の
発明は、請求項2記載の自動計測システムにおいて、前
記計測器は、HTTPサーバ機能あるいはFTPサーバ
機能を有し、前記制御プログラムを該計測器から読み出
す際に、該サーバ機能を利用することを特徴とする。請
求項4記載の発明は、請求項1ないし請求項3のいずれ
かに記載の自動計測システムにおいて、前記制御プログ
ラムは、所定のプログラム言語のソースファイルあるい
は中間コードであり、前記コントローラは、前記プログ
ラム言語のソースファイルあるいは中間コードの実行環
境を有することを特徴とする。請求項5記載の発明は、
請求項1ないし請求項3のいずれかに記載の自動計測シ
ステムにおいて、前記制御プログラムはJAVA言語で
記述され、前記コントローラはJAVA言語の実行環境
を有することを特徴とする。請求項6記載の発明は、請
求項1ないし請求項5のいずれかに記載の自動計測シス
テムにおいて、前記制御プログラムは、書き換え可能な
記憶媒体に記憶されており、前記コントローラは、前記
制御プログラムの書き換え機能を有することを特徴とす
る。請求項7記載の発明は、請求項6記載の自動計測シ
ステムにおいて、前記制御プログラムの書き換え機能
は、不正な書き換えを防止する保安機能を具備すること
を特徴とする。
According to the first aspect of the present invention,
In an automatic measurement system in which a measuring instrument controlled from the outside and a controller for controlling the measuring instrument are connected by a communication line, the measuring instrument stores a control program for controlling the measuring instrument from the controller. The controller reads the control program from the measuring instrument, and controls the measuring instrument by executing the read control program. Claim 2
According to the invention described in the first aspect, the communication line is a communication line operated by a TCP / IP protocol. According to a third aspect of the present invention, in the automatic measurement system according to the second aspect, the measuring instrument has an HTTP server function or an FTP server function, and when reading out the control program from the measuring instrument, the server function is used. It is characterized by using. According to a fourth aspect of the present invention, in the automatic measurement system according to any one of the first to third aspects, the control program is a source file or an intermediate code of a predetermined programming language, and the controller is It has a language source file or an intermediate code execution environment. The invention according to claim 5 is
4. The automatic measurement system according to claim 1, wherein the control program is described in a JAVA language, and the controller has an execution environment in a JAVA language. According to a sixth aspect of the present invention, in the automatic measurement system according to any one of the first to fifth aspects, the control program is stored in a rewritable storage medium, and the controller is configured to execute the control program. It has a rewriting function. According to a seventh aspect of the present invention, in the automatic measurement system according to the sixth aspect, the rewriting function of the control program includes a security function for preventing unauthorized rewriting.

【0010】[0010]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

§1.第1実施形態 以下、図面を参照して、この発明の第1実施形態につい
て説明する。図1は、この発明の第1実施形態による自
動計測システムの構成例を示すブロック図である。この
図は、一台のコントローラ3と二台の計測器1および2
が通信線4で接続されている例を示している。
§1. First Embodiment Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration example of the automatic measurement system according to the first embodiment of the present invention. This figure shows one controller 3 and two measuring instruments 1 and 2
Are connected by the communication line 4.

【0011】図1において、計測器1は、記憶装置1
0,計測機能部12および制御部13から構成される。
ここで、計測機能部12は、計測器1による実際の計測
動作を行う。また、記憶装置10は、制御プログラムモ
ジュール11を記憶している。この制御プログラムモジ
ュール11は、計測機能部12の各種詳細動作を制御す
る制御プログラムモジュールからなるプログラムライブ
ラリである。ここで、各制御プログラムモジュールは、
計測機能部12の制御コマンドの組み合わせからなる。
また、制御部13は、コントローラ3からの命令に基づ
いて、計測器1の各部を制御する。一方、計測器2は、
記憶装置20,計測機能部22および制御部23から構
成され、その各部の構成は、計測器1と同様である。
In FIG. 1, a measuring instrument 1 is a storage device 1
0, a measurement function unit 12 and a control unit 13.
Here, the measurement function unit 12 performs an actual measurement operation by the measurement device 1. The storage device 10 stores a control program module 11. The control program module 11 is a program library including a control program module for controlling various detailed operations of the measurement function unit 12. Here, each control program module is
It consists of a combination of control commands for the measurement function unit 12.
The control unit 13 controls each unit of the measuring device 1 based on a command from the controller 3. On the other hand, measuring instrument 2
It comprises a storage device 20, a measurement function unit 22, and a control unit 23, and the configuration of each unit is the same as that of the measuring instrument 1.

【0012】次に、コントローラ3は、インターフェー
ス31および制御プログラム本体32から構成される。
インターフェース31は、コントローラ3と通信線4と
の間の送受信を行う。また、制御プログラム本体32
は、本システム(コントローラ3,計測器1および2)
全体の制御プログラムである。但し、制御プログラム本
体32は、本システム全体の大まかな制御(計測器1お
よび2の計測開始,計測終了等)に関するものであり、
計測器1および2の動作の詳細については記載されてい
ない。
Next, the controller 3 comprises an interface 31 and a control program main body 32.
The interface 31 performs transmission and reception between the controller 3 and the communication line 4. In addition, the control program body 32
Is the system (controller 3, measuring instruments 1 and 2)
This is the entire control program. However, the control program main body 32 relates to rough control (start of measurement, end of measurement, etc. of the measuring devices 1 and 2) of the entire system,
The details of the operation of the measuring instruments 1 and 2 are not described.

【0013】次に、上記構成による自動計測システムの
動作を説明する。オペレータが、コントローラ3のコン
トロールパネル(図示略)を用いて計測開始を指示する
と、コントローラ3は、制御プログラム本体32に従っ
て、インターフェース31および通信線4を介して、計
測器1へ制御プログラムモジュール11の読み出し命令
を送信し、計測器2へ制御プログラムモジュール21の
読み出し命令を送信する。
Next, the operation of the automatic measurement system having the above configuration will be described. When the operator gives an instruction to start measurement using a control panel (not shown) of the controller 3, the controller 3 sends the control program module 11 to the measuring instrument 1 via the interface 31 and the communication line 4 in accordance with the control program main body 32. A read command is transmitted, and a read command of the control program module 21 is transmitted to the measuring instrument 2.

【0014】計測器1の制御部13は、コントローラ3
から上記読み出し命令を受信すると、該読み出し命令を
解釈し、記憶装置10から制御プログラムモジュール1
1を読み出し、通信線4を介してコントローラ3へ送信
する。コントローラ3は、計測器1から制御プログラム
モジュール11を受信すると、該制御プログラムモジュ
ール11を制御プログラム本体32に組み込む。また、
同様に、計測器2の制御部23は、コントローラ3から
上記読み出し命令を受信すると、該読み出し命令を解釈
し、記憶装置20から制御プログラムモジュール21を
読み出し、通信線4を介してコントローラ3へ送信す
る。コントローラ3は、計測器2から制御プログラムモ
ジュール21を受信すると、該制御プログラムモジュー
ル21を制御プログラム本体32に組み込む。
The control unit 13 of the measuring instrument 1 includes a controller 3
When the read command is received from the storage device 10, the control program module 1
1 is read out and transmitted to the controller 3 via the communication line 4. When receiving the control program module 11 from the measuring instrument 1, the controller 3 incorporates the control program module 11 into the control program main body 32. Also,
Similarly, upon receiving the read command from the controller 3, the control unit 23 of the measuring instrument 2 interprets the read command, reads the control program module 21 from the storage device 20, and transmits the control program module 21 to the controller 3 via the communication line 4. I do. When receiving the control program module 21 from the measuring device 2, the controller 3 incorporates the control program module 21 into the control program main body 32.

【0015】制御プログラムモジュール11および制御
プログラムモジュール21の組み込みが完了すると、コ
ントローラ3は、計測を開始する。そして、コントロー
ラ3は、制御プログラム本体32に従って本システム全
体の動作を制御すると共に、該制御プログラム本体32
において計測器1による計測が指示されると、その処理
を、制御プログラム本体32に組み込んだ制御プログラ
ムモジュール11に移し、該制御プログラムモジュール
11に従って、計測機能部12を制御し、計測器1によ
る計測を行う。また、同様に、コントローラ3は、制御
プログラム本体32において計測器2による計測が指示
されると、その処理を、制御プログラム本体32に組み
込んだ制御プログラムモジュール21に移し、該制御プ
ログラムモジュール21に従って、計測機能部22を制
御し、計測器2による計測を行う。以上で、上記構成に
よる自動計測システムの動作説明を終了する。
When the incorporation of the control program module 11 and the control program module 21 is completed, the controller 3 starts measurement. The controller 3 controls the operation of the entire system in accordance with the control program main body 32 and also controls the control program main body 32
When the measurement by the measuring device 1 is instructed, the processing is transferred to the control program module 11 incorporated in the control program main body 32, and the measuring function unit 12 is controlled according to the control program module 11, and the measurement by the measuring device 1 is performed. I do. Similarly, when the measurement by the measuring device 2 is instructed in the control program main body 32, the controller 3 transfers the processing to the control program module 21 incorporated in the control program main body 32, and according to the control program module 21, The measurement function unit 22 is controlled, and measurement by the measuring device 2 is performed. This is the end of the description of the operation of the automatic measurement system having the above configuration.

【0016】上述したように、計測器の制御コマンド
は、計測器ごとに異なる。これは、計測器が、それぞれ
の用途、それぞれが持つ機能により、備えるべきコマン
ドが異なるためである(従って、全コマンドの標準化は
無理である)。本システムによれば、コントローラ3か
ら計測器1および2に送る制御プログラムモジュールの
読み出し命令(コマンド)を新たに1つ標準化するだけ
で、該コントローラ3は、それぞれの動作に必要な固有
のコマンドを有する各計測器1および2を最適なコマン
ドで制御することができる。また、本システムによれ
ば、制御プログラム本体32は、制御プログラムモジュ
ール11および21の読み出し命令と、本システム全体
の制御プログラムのみからなるので、該制御プログラム
本体32(および該制御プログラム本体32を格納する
記憶装置の記憶容量)を小さくすることができる。ま
た、本システムによれば、コントローラ3に接続される
可能性のある全ての計測器の制御プログラムモジュール
を(該コントローラ3に)あらかじめインストールして
おく必要はなく、計測開始時に、現在接続されている計
測器(計測器1および2)に関する制御プログラムモジ
ュールのみを読み出し、制御プログラム本体32と組み
合わせればよいので、コントローラ3が必要とする記憶
容量を小さく抑えることができる。
As described above, the control commands for measuring instruments differ from one measuring instrument to another. This is because the measuring instrument has different commands to be provided depending on each application and each function (accordingly, standardization of all commands is impossible). According to the present system, the controller 3 simply standardizes one new read command (command) of the control program module sent from the controller 3 to the measuring instruments 1 and 2, and the controller 3 issues a unique command necessary for each operation. Each of the measuring instruments 1 and 2 can be controlled by an optimal command. Further, according to the present system, since the control program main body 32 is composed of only the read command of the control program modules 11 and 21 and the control program of the entire system, the control program main body 32 (and the control program main body 32 is stored). Storage capacity of the storage device to be used) can be reduced. Further, according to the present system, it is not necessary to install control program modules of all measuring instruments that may be connected to the controller 3 (into the controller 3) in advance. Since only the control program modules related to the measuring instruments (measuring instruments 1 and 2) need to be read and combined with the control program main body 32, the storage capacity required by the controller 3 can be reduced.

【0017】§2.第2実施形態 次に、この発明の第2実施形態について説明する。第2
実施形態では、通信線4として、TCP/IPプロトコ
ルにより運用される通信線を用いる。TCP/IPプロ
トコルにより運用される通信線として代表的なものは1
0BASE−2/10−BASE−5/10BASE−
T等があるが、従来より計測インターフェースとしてよ
く使われているGPIBやRS−232CでTCP/I
Pプロトコルを利用することも可能であり、本発明はそ
の場合でも有効に実施できる。
§2. Second Embodiment Next, a second embodiment of the present invention will be described. Second
In the embodiment, a communication line operated by the TCP / IP protocol is used as the communication line 4. A typical communication line operated by the TCP / IP protocol is 1
0BASE-2 / 10-BASE-5 / 10BASE-
T / T, etc., but TCP / I is used in GPIB and RS-232C, which are often used as measurement interfaces.
It is also possible to use the P protocol, and the present invention can be effectively implemented in such a case.

【0018】§3.第3実施形態 次に、この発明の第3実施形態について説明する。第3
実施形態では、計測器1および2にHTTPサーバ機能
ないしはFTPサーバ機能を持たせ、制御プログラムモ
ジュール11および21を読み出す際にその機能を利用
する。これにより、計測器制御コマンドと制御プログラ
ムモジュール読み出しコマンドとが重複して混乱を招く
という危険を避けることができる。
§3. Third Embodiment Next, a third embodiment of the present invention will be described. Third
In the embodiment, the measuring instruments 1 and 2 are provided with an HTTP server function or an FTP server function, and the functions are used when the control program modules 11 and 21 are read. As a result, it is possible to avoid the danger that the instrument control command and the control program module read command overlap and cause confusion.

【0019】§4.第4実施形態 次に、この発明の第4実施形態について説明する。第4
実施形態では、制御プログラムモジュール11および2
1を所定のプログラム言語のソースファイルあるいは中
間コードとし、コントローラ3にそのソースファイルあ
るいは中間コードの実行環境を持たせる。すなわち、コ
ントローラ3に該ソースファイルあるいは中間コードの
コンパイラあるいはインタプリタを設ける。これによ
り、コントローラ3を制御するCPU(中央処理装置)
の種類に関わらず、計測器1および2から読み出された
制御プログラムモジュール11および21をコントロー
ラ3で実行することが可能になる。また、制御プログラ
ムモジュール11および21を上記プログラム言語で作
成できるので、該制御プログラムモジュール11および
21の作成が簡単になる。
§4. Fourth Embodiment Next, a fourth embodiment of the present invention will be described. 4th
In the embodiment, the control program modules 11 and 2
1 is a source file or an intermediate code of a predetermined programming language, and the controller 3 has an execution environment for the source file or the intermediate code. That is, the controller 3 is provided with a compiler or interpreter for the source file or the intermediate code. Thereby, a CPU (central processing unit) for controlling the controller 3
Regardless of the type, the control program modules 11 and 21 read from the measuring instruments 1 and 2 can be executed by the controller 3. Further, since the control program modules 11 and 21 can be created in the above-mentioned programming language, the creation of the control program modules 11 and 21 is simplified.

【0020】§5.第5実施形態 次に、この発明の第5実施形態について説明する。第5
実施形態では、制御プログラムモジュール11および2
1をプログラム言語JAVA(登録商標)で記述し、コ
ントローラ3にJAVA言語実行環境を持たせる。これ
により、インターネット等のネットワーク環境との親和
性が高まる。
§5. Fifth Embodiment Next, a fifth embodiment of the present invention will be described. Fifth
In the embodiment, the control program modules 11 and 2
1 is described in a programming language JAVA (registered trademark), and the controller 3 has a JAVA language execution environment. Thereby, affinity with a network environment such as the Internet is enhanced.

【0021】§6.第6実施形態 次に、この発明の第6実施形態について説明する。第6
実施形態では、記憶装置10および20を、RAM(ラ
ンダムアクセスメモリ)等の書き換え可能なICメモ
リ、または、ハードディスクや光磁気ディスク等の書き
換え可能な記憶装置で構成すると共に、コントローラ3
に、記憶装置10および20に対する書き換え命令を持
たせる。これにより、制御プログラムモジュール11お
よび21の書き換えが可能となる。故に、制御プログラ
ムモジュール11および21の改版が可能となり、該制
御プログラムモジュール11および21の陳腐化を防ぐ
ことができる。
§6. Sixth Embodiment Next, a sixth embodiment of the present invention will be described. Sixth
In the embodiment, the storage devices 10 and 20 are configured by a rewritable IC memory such as a RAM (random access memory) or a rewritable storage device such as a hard disk or a magneto-optical disk.
Have a rewrite instruction for the storage devices 10 and 20. Thus, the control program modules 11 and 21 can be rewritten. Therefore, the control program modules 11 and 21 can be updated, and the control program modules 11 and 21 can be prevented from becoming obsolete.

【0022】§7.第7実施形態 次に、この発明の第7実施形態について説明する。第7
実施形態では、第6実施形態において、コントローラ
3,記憶装置10および20に周知の保安機能を持たせ
る。これにより、悪意あるいは事故による制御プログラ
ムモジュール11および21の書き換えを防止し、安全
性を確保する。
§7. Seventh Embodiment Next, a seventh embodiment of the present invention will be described. Seventh
In this embodiment, the controller 3 and the storage devices 10 and 20 have a known security function in the sixth embodiment. This prevents the control program modules 11 and 21 from being rewritten due to malicious or accident, and ensures safety.

【0023】以上、この発明の実施形態を図面を参照し
て詳述してきたが、具体的な構成はこの実施形態に限ら
れるものではなく、この発明の要旨を逸脱しない範囲の
設計の変更等があってもこの発明に含まれる。例えば、
上述した実施形態では、読み出された制御プログラムモ
ジュール11および21は、制御プログラム本体32に
組み込まれて実行されるとしたが、この他にも、制御プ
ログラムモジュール11および21は、(制御プログラ
ム本体32に組み込まれることなく)単体で制御プログ
ラムとして機能することも考えられる。
The embodiment of the present invention has been described above in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and changes in design and the like can be made without departing from the gist of the present invention. The present invention is included in the present invention. For example,
In the above-described embodiment, the read control program modules 11 and 21 are incorporated in the control program main body 32 and executed, but in addition, the control program modules 11 and 21 may include the (control program main body). It is also conceivable that it functions alone as a control program (without being incorporated in 32).

【0024】[0024]

【発明の効果】以上説明したように、本発明によれば、
各計測器を制御する制御プログラムの作成作業が必要な
くなり(あるいは作業が大幅に軽減され)、誰でも簡単
に自動計測システムを構築・利用することができるよう
になる。また、本発明によれば、不必要な制御プログラ
ムをコントローラに内蔵しておく必要がないので、コン
トローラの記憶容量を小さく抑えることができ、その結
果、コントローラが安価となる。また、計測器を制御す
るための制御プログラムが該計測器に記憶されているの
で、制御プログラムがないとか、コントローラ内に無駄
な制御プログラムが存在するとか、制御プログラムを保
存しておいた記憶媒体を紛失する、などといった問題も
発生しない。
As described above, according to the present invention,
The work of creating a control program for controlling each measuring instrument is not required (or work is greatly reduced), and anyone can easily construct and use an automatic measurement system. Further, according to the present invention, it is not necessary to incorporate unnecessary control programs in the controller, so that the storage capacity of the controller can be reduced, and as a result, the controller can be inexpensive. Further, since a control program for controlling the measuring instrument is stored in the measuring instrument, there is no control program, there is a useless control program in the controller, or a storage medium storing the control program. There is no problem such as losing.

【0025】また、制御プログラムをプログラム言語の
ソースファイルあるいは中間コードとし、コントローラ
に該ソースファイルあるいは中間コードの実行環境を持
たせることにより、CPUの種類ごとに複数の機械語で
作成された制御プログラムを用意しなくとも、コントロ
ーラを制御するCPUの種類に依存せず、一つの制御プ
ログラムで計測器を制御できる。
The control program may be a source file or an intermediate code of a program language, and the controller may have an execution environment for the source file or the intermediate code. , The measuring instrument can be controlled by one control program without depending on the type of CPU that controls the controller.

【0026】さらに、本発明によれば、計測器内部の制
御プログラムの書き換えを可能とすることにより、制御
プログラムの改版が可能となり、制御プログラムの陳腐
化を防ぐことができる。加えて、本発明によれば、悪意
あるいは事故による制御プログラムの書き換えを防止
し、安全性を確保する。これにより、コンピュータウィ
ルスなどによる被害を防止することができる。
Further, according to the present invention, the control program in the measuring instrument can be rewritten, so that the control program can be revised and the control program can be prevented from becoming obsolete. In addition, according to the present invention, rewriting of the control program due to malicious or accident is prevented, and safety is ensured. This can prevent damage from computer viruses and the like.

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

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

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

1,2……計測器、 3……コントローラ、 4……通
信線、10,20……記憶装置、 11,21……制御
プログラムモジュール、12,22……計測機能部、
13,23……制御部、31……インターフェース、
32……制御プログラム本体
1, 2, ... measuring instrument, 3 ... controller, 4 ... communication line, 10, 20 ... storage device, 11, 21 ... control program module, 12, 22 ... measuring function unit,
13, 23 ... control unit, 31 ... interface,
32 ... Control program body

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 外部から制御される計測器と、該計測器
を制御するコントローラとを、通信線で接続した自動計
測システムにおいて、 前記計測器は、前記コントローラから該計測器を制御す
るための制御プログラムを記憶しており、 前記コントローラは、前記制御プログラムを前記計測器
から読み出し、該読み出した制御プログラムを実行する
ことによって該計測器を制御することを特徴とする自動
計測システム。
1. An automatic measuring system in which a measuring device controlled from the outside and a controller for controlling the measuring device are connected by a communication line, wherein the measuring device is used for controlling the measuring device from the controller. An automatic measurement system storing a control program, wherein the controller reads the control program from the measuring instrument and controls the measuring instrument by executing the read control program.
【請求項2】 前記通信線は、TCP/IPプロトコル
により運用される通信線であることを特徴とする請求項
1記載の自動計測システム。
2. The automatic measurement system according to claim 1, wherein the communication line is a communication line operated by a TCP / IP protocol.
【請求項3】 前記計測器は、HTTPサーバ機能ある
いはFTPサーバ機能を有し、前記制御プログラムを該
計測器から読み出す際に、該サーバ機能を利用すること
を特徴とする請求項2記載の自動計測システム。
3. The automatic measuring device according to claim 2, wherein the measuring device has an HTTP server function or an FTP server function, and uses the server function when reading out the control program from the measuring device. Measurement system.
【請求項4】 前記制御プログラムは、所定のプログラ
ム言語のソースファイルあるいは中間コードであり、 前記コントローラは、前記プログラム言語のソースファ
イルあるいは中間コードの実行環境を有することを特徴
とする請求項1ないし請求項3のいずれかに記載の自動
計測システム。
4. The program according to claim 1, wherein the control program is a source file or an intermediate code of a predetermined program language, and the controller has an execution environment of the source file or the intermediate code of the program language. The automatic measurement system according to claim 3.
【請求項5】 前記制御プログラムはJAVA言語で記
述され、 前記コントローラはJAVA言語の実行環境を有するこ
とを特徴とする請求項1ないし請求項3のいずれかに記
載の自動計測システム。
5. The automatic measurement system according to claim 1, wherein the control program is described in a JAVA language, and the controller has an execution environment of the JAVA language.
【請求項6】 前記制御プログラムは、書き換え可能な
記憶媒体に記憶されており、 前記コントローラは、前記制御プログラムの書き換え機
能を有することを特徴とする請求項1ないし請求項5の
いずれかに記載の自動計測システム。
6. The control program according to claim 1, wherein the control program is stored in a rewritable storage medium, and the controller has a function of rewriting the control program. Automatic measurement system.
【請求項7】 前記制御プログラムの書き換え機能は、
不正な書き換えを防止する保安機能を具備することを特
徴とする請求項6記載の自動計測システム。
7. The rewriting function of the control program,
7. The automatic measurement system according to claim 6, further comprising a security function for preventing unauthorized rewriting.
JP972697A 1997-01-22 1997-01-22 Automatic measuring system Pending JPH10208181A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP972697A JPH10208181A (en) 1997-01-22 1997-01-22 Automatic measuring 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
JP972697A JPH10208181A (en) 1997-01-22 1997-01-22 Automatic measuring system

Publications (1)

Publication Number Publication Date
JPH10208181A true JPH10208181A (en) 1998-08-07

Family

ID=11728323

Family Applications (1)

Application Number Title Priority Date Filing Date
JP972697A Pending JPH10208181A (en) 1997-01-22 1997-01-22 Automatic measuring system

Country Status (1)

Country Link
JP (1) JPH10208181A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005301835A (en) * 2004-04-14 2005-10-27 Nippon Telegr & Teleph Corp <Ntt> Monitoring system, air pollutant sensor and sensor station
JP2007085922A (en) * 2005-09-22 2007-04-05 Yokogawa Electric Corp Recorder controller, and program
JP2009128332A (en) * 2007-11-28 2009-06-11 Yamato Scale Co Ltd Weighing and packaging system
JP2015161503A (en) * 2014-02-26 2015-09-07 住友電気工業株式会社 Power measuring device, terminal device, power measuring system, communication control method, and communication control program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005301835A (en) * 2004-04-14 2005-10-27 Nippon Telegr & Teleph Corp <Ntt> Monitoring system, air pollutant sensor and sensor station
JP2007085922A (en) * 2005-09-22 2007-04-05 Yokogawa Electric Corp Recorder controller, and program
JP2009128332A (en) * 2007-11-28 2009-06-11 Yamato Scale Co Ltd Weighing and packaging system
JP2015161503A (en) * 2014-02-26 2015-09-07 住友電気工業株式会社 Power measuring device, terminal device, power measuring system, communication control method, and communication control program

Similar Documents

Publication Publication Date Title
JP2526688B2 (en) Programmable controller and partial execution method of sequence program
JPH02214994A (en) Ic card
US20150227128A1 (en) Control device and communication control method
JP2002007299A (en) Developing means and executing means for device control program
JP3222821B2 (en) Programmable controller
EP1118939A2 (en) Software debugger user interface
JPH10208181A (en) Automatic measuring system
US7818717B2 (en) Method for the remote control programming of machine controllers and machine controller for carrying out said method
US6301508B1 (en) Automatic instrumentation system
US5995987A (en) Programming method and programming unit for programmable controller in which only common names for application instructions need be designated by the programmer
JPH1145393A (en) Automatic measurement system
JP2005038063A (en) Programmable controller system, support tool, and unit for programmable controller and method for securing connection
JPH06242819A (en) Signal state control system for programmable controller
JPH10320209A (en) Method and system for controlling general-purpose electronic equipment
JP2000132208A (en) Control controller
EP1738235B1 (en) Control system, method and computer program
CN100440145C (en) Method for carrying out an update in a program-controlled device, program-controlled device, and program code that can be executed in a web browser
JPS62162105A (en) Flow chart type programmable controller
JP3672758B2 (en) Debugging support device
JPS62267841A (en) Program debug device
KR100250005B1 (en) The control device of the game machine
JPH11203114A (en) Multi remote device
JP3847571B2 (en) Display device for control, program thereof, recording medium recording the same, and control system
JPS595931B2 (en) Address stop method for arithmetic processing system
JP2004151762A (en) Programmable controller

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20011002