JPH0593634A - Command converter - Google Patents

Command converter

Info

Publication number
JPH0593634A
JPH0593634A JP25329291A JP25329291A JPH0593634A JP H0593634 A JPH0593634 A JP H0593634A JP 25329291 A JP25329291 A JP 25329291A JP 25329291 A JP25329291 A JP 25329291A JP H0593634 A JPH0593634 A JP H0593634A
Authority
JP
Japan
Prior art keywords
command
control command
converted
measuring instrument
processed
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.)
Granted
Application number
JP25329291A
Other languages
Japanese (ja)
Other versions
JP2995947B2 (en
Inventor
Susumu Sasaki
進 佐々木
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3253292A priority Critical patent/JP2995947B2/en
Publication of JPH0593634A publication Critical patent/JPH0593634A/en
Application granted granted Critical
Publication of JP2995947B2 publication Critical patent/JP2995947B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To convert a standardized control command into a control command matching each measuring instrument. CONSTITUTION:A conversion confirming part 12 receives the control command from a computer 2 through a buffer 11 and confirms whether the command is the already converted command or not in reference to a processed-command storing part 13. In the case of the converted control command, the converted command is read out of the processed-command storing part 13 and sends the command into an applicable measuring instrument 3 through a buffer 14. In the case of the control command which is not converted, a conversion controlling part 15 reads the command for the applicable measuring instrument out of a command library 16 and transfers the command into a command storing part 17. A command converting part 18 executes the command conversion based on the command data in the command storing part 17. The converted command is made to correspond to the control command and registered into the processedcommand storing part 13. The converted command is sent into the measuring instrument through the buffer 14.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はコマンドコンバータに関
し、特に計測機器をコンピュータによって制御する場合
に、コンピュータから送出される標準化された制御コマ
ンドを計測機器毎のコマンドに変換するコマンドコンバ
ータに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a command converter, and more particularly to a command converter for converting a standardized control command sent from a computer into a command for each measuring device when the measuring device is controlled by the computer.

【0002】[0002]

【従来の技術】一般に、コンピュータにより制御される
各種計測機器には、GPIB規格のコマンド(以下、コ
マンドと称す)が使用されている。しかし、メーカ毎
に、あるいは機種毎に、使用されるコマンドが異なるた
め、各計測機器毎に制御プログラムを作成している。
2. Description of the Related Art Generally, a command of the GPIB standard (hereinafter referred to as a command) is used for various measuring instruments controlled by a computer. However, since the commands used are different for each maker or for each model, a control program is created for each measuring device.

【0003】[0003]

【発明が解決しようとする課題】上述したように従来
は、各計測機器毎にコマンドが異なるために、次のよう
な問題点がある。 (1)各計測機器毎に制御プログラムが必要となるた
め、プログラム作成に時間がかかる。 (2)同種の計測器であっても、形式やメーカが異なる
と制御プログラムが使えない。 (3)使用する計測器毎に、制御プログラムの変更処理
が必要となる。 (4)自動検査システム等では、使用している計測器の
故障や定期校正等の場合、同じ計測器が準備できないと
システムが停止する。
As described above, in the related art, since the command is different for each measuring device, there are the following problems. (1) Since a control program is required for each measuring device, it takes time to create the program. (2) Even with the same type of measuring instrument, the control program cannot be used if the format and manufacturer are different. (3) It is necessary to change the control program for each measuring instrument used. (4) In an automatic inspection system or the like, if the same measuring instrument cannot be prepared, the system will stop in the case of a failure of the measuring instrument being used or periodic calibration.

【0004】本発明の目的は、標準化された制御コマン
ドを各計測機器に適合するコマンドに変換するコマンド
コンバータを提供することにある。
An object of the present invention is to provide a command converter for converting standardized control commands into commands suitable for each measuring instrument.

【0005】[0005]

【課題を解決するための手段】本発明のコマンドコンバ
ータは、標準化された標準制御コマンドを計測機器毎の
制御コマンドに変換するコマンドコンバータであって、
前記計測機器毎の制御コンマンドを予じめ格納するコマ
ンドライブラリーと、このコマンドライブラリーからデ
ータを読出して前記標準制御コマンドを前記計測機器毎
の制御コマンドに変換する変換手段と、この変換手段に
よって変換処理された制御コマンドを前記標準制御コマ
ンドと対応させて記憶する処理済コマンド格納手段と、
前記標準制御コマンドを受けたときに前記処理済コマン
ド格納手段を照合し、既に変換処理されている場合には
前記処理済コマンド格納手段から該当する制御コマンド
を読出して送出する手段とを備えて構成されている。
A command converter according to the present invention is a command converter for converting a standardized standard control command into a control command for each measuring device.
A command library for predictively storing a control command for each measuring device, a conversion unit for reading data from the command library and converting the standard control command into a control command for each measuring device, and the conversion unit. Processed command storage means for storing the converted control command in association with the standard control command;
And a means for collating the processed command storage means when the standard control command is received, and for reading out and transmitting a corresponding control command from the processed command storage means when the conversion processing has already been performed. Has been done.

【0006】[0006]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0007】図1は本発明の一実施例を示すブロック図
であり、コマンドコンバータ1は、ケーブル4によって
コンピュータ2と接続され、またケーブル5によって複
数の測定器3とそれぞれ接続されている。コマンドコン
バータ1は、コンピュータ2から送出されてきた標準化
された制御コマンド(以下、標準制御コマンドと称す)
を受け、制御される測定器に適合するコマンドに変換す
る。また、複数の測定器3から送出されてくる測定デー
タを受け、コンピュータ2の要求する標準形式のデータ
に変換する。
FIG. 1 is a block diagram showing an embodiment of the present invention. A command converter 1 is connected to a computer 2 by a cable 4 and a plurality of measuring instruments 3 by a cable 5. The command converter 1 is a standardized control command sent from the computer 2 (hereinafter referred to as a standard control command).
And convert it into a command that is compatible with the controlled instrument. Further, it receives the measurement data sent from the plurality of measuring devices 3 and converts it into the data in the standard format required by the computer 2.

【0008】ここで、コマンドコンバータ1の動作につ
いて説明する。
The operation of the command converter 1 will be described below.

【0009】コンピュータ2からの標準制御コマンド
は、まずバッファ11に格納された後、変換処理確認部
12に送出される。変換処理確認部12は、標準制御コ
マンドが、既に変換処理されたコマンドか否かを確認す
る。この確認は、処理済コマンド格納部13を照合して
行う。この処理済コマンド格納部13には、一度変換処
理されたコマンドが、対応する標準制御コマンドと共に
格納されている。
The standard control command from the computer 2 is first stored in the buffer 11 and then sent to the conversion processing confirmation unit 12. The conversion processing confirmation unit 12 confirms whether the standard control command is a command that has already been converted. This confirmation is performed by collating the processed command storage unit 13. In the processed command storage unit 13, the command which has been once converted is stored together with the corresponding standard control command.

【0010】既に変換処理された標準制御コマンドであ
った場合は、処理済コマンド格納部13から変換された
コマンドを読出し、バッファ14を介して該当する測定
器へ送出する。
If the standard control command has already been converted, the converted command is read from the processed command storage 13 and sent to the corresponding measuring instrument via the buffer 14.

【0011】また、変換処理が行われていない標準制御
コマンドの場合、変換処理確認部12は標準制御コマン
ドを変換制御部15へ送出する。変換制御部15は、測
定器識別コードに応じてコマンドライブラリー16に格
納されている該当測定器のコマンドをコマンド格納部1
7へ転送する。その後、コマンド変換処理部18を制御
して、コマンド格納部17が格納しているコマンドデー
タを基に、コマンド変換処理を実行する。
Further, in the case of a standard control command which has not been converted, the conversion process confirmation section 12 sends the standard control command to the conversion control section 15. The conversion control unit 15 sends the command of the corresponding measuring device stored in the command library 16 according to the measuring device identification code to the command storage unit 1.
Transfer to 7. After that, the command conversion processing unit 18 is controlled to execute the command conversion processing based on the command data stored in the command storage unit 17.

【0012】コマンド変換処理部18は、変換処理した
コマンドと標準制御コマンドとを対応させて処理済コマ
ンド格納部13に登録すると共に、変換処理したコマン
ドをバッファ14を介して該当する測定器へ送出する。
The command conversion processing unit 18 registers the converted command and the standard control command in the processed command storage unit 13 in association with each other, and sends the converted command to the corresponding measuring instrument via the buffer 14. To do.

【0013】一方、測定器からの測定データは、バッフ
ァ14に格納された後、コマンド変換処理部18へ送出
され、予じめ指定された形式に変換された後、バッファ
11を介してコンピュータ2へ送出される。
On the other hand, the measurement data from the measuring device is stored in the buffer 14 and then sent to the command conversion processing unit 18 to be converted into a format designated in advance, and then the computer 2 via the buffer 11. Sent to.

【0014】[0014]

【発明の効果】以上説明したように本発明によれば、コ
マンドライブラリーを設けて各計測機器毎のコンマンド
を予じめ格納しておき、コンピュータから送出される標
準制御コマンドを該当する計測機器のコマンドに変換
し、変換処理したコマンドと標準制御コマンドとを対応
させて登録し、標準制御コマンドを受けたときに、既に
変換処理が実行されたコマンドか否かを確認し、変換処
理が実行済の場合には、登録されているコマンドを読出
して該当する計測機器へ送出することにより、次のよう
な効果が得られる。 (1)一度変換した制御コマンドに対しては既に登録し
たコマンドをそのまま利用するので、コマンド変換処理
を短時間で実行できる。 (2)制御プログラムを標準化できるので、計測機器毎
に制御プログラムを用意する必要はなく、プログラム開
発の効率化をはかることができる。 (3)計測機器の制約を受けないので、メンテナンス性
が著しく向上する。
As described above, according to the present invention, the command library is provided to previously store the command for each measuring device, and the standard control command sent from the computer is applied to the corresponding measuring device. Command, the converted command and the standard control command are registered in correspondence, and when the standard control command is received, it is confirmed whether the command has already been converted and the conversion process is executed. If it has already been completed, the following effects can be obtained by reading the registered command and sending it to the corresponding measuring device. (1) Since the command already registered is used as it is for the once converted control command, the command conversion process can be executed in a short time. (2) Since the control program can be standardized, it is not necessary to prepare a control program for each measuring device, and the efficiency of program development can be improved. (3) Maintainability is remarkably improved because there is no restriction on measuring equipment.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

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

1 コマンドコンバータ 2 コンピュータ 3 測定器 12 変換処理確認部 13 処理済コマンド格納部 15 変換制御部 16 コマンドライブラリー 17 コマンド格納部 18 コマンド変換処理部 1 Command Converter 2 Computer 3 Measuring Instrument 12 Conversion Processing Confirmation Section 13 Processed Command Storage Section 15 Conversion Control Section 16 Command Library 17 Command Storage Section 18 Command Conversion Processing Section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 標準化された標準制御コマンドを計測機
器毎の制御コマンドに変換するコマンドコンバータであ
って、前記計測機器毎の制御コンマンドを予じめ格納す
るコマンドライブラリーと、このコマンドライブラリー
からデータを読出して前記標準制御コマンドを前記計測
機器毎の制御コマンドに変換する変換手段と、この変換
手段によって変換処理された制御コマンドを前記標準制
御コマンドと対応させて記憶する処理済コマンド格納手
段と、前記標準制御コマンドを受けたときに前記処理済
コマンド格納手段を照合し、既に変換処理されている場
合には前記処理済コマンド格納手段から該当する制御コ
マンドを読出して送出する手段とを備えることを特徴と
するコマンドコンバータ。
1. A command converter for converting a standardized standard control command into a control command for each measuring device, which stores a control command for each measuring device in advance, and a command library from the command library. Conversion means for reading the data and converting the standard control command into a control command for each measuring device; and a processed command storage means for storing the control command converted by the conversion means in association with the standard control command. A means for collating the processed command storage means when the standard control command is received, and for reading out a corresponding control command from the processed command storage means and transmitting the converted control command when the conversion processing has already been performed. A command converter featuring.
JP3253292A 1991-10-01 1991-10-01 Command converter Expired - Fee Related JP2995947B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3253292A JP2995947B2 (en) 1991-10-01 1991-10-01 Command converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3253292A JP2995947B2 (en) 1991-10-01 1991-10-01 Command converter

Publications (2)

Publication Number Publication Date
JPH0593634A true JPH0593634A (en) 1993-04-16
JP2995947B2 JP2995947B2 (en) 1999-12-27

Family

ID=17249259

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3253292A Expired - Fee Related JP2995947B2 (en) 1991-10-01 1991-10-01 Command converter

Country Status (1)

Country Link
JP (1) JP2995947B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002330109A (en) * 2001-04-27 2002-11-15 Nippon Telegr & Teleph Corp <Ntt> Optical line testing system and optical line testing method
JP2008310619A (en) * 2007-06-15 2008-12-25 Yokogawa Electric Corp Data processor
JP2010061235A (en) * 2008-09-01 2010-03-18 Anritsu Corp Control device and control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002330109A (en) * 2001-04-27 2002-11-15 Nippon Telegr & Teleph Corp <Ntt> Optical line testing system and optical line testing method
JP2008310619A (en) * 2007-06-15 2008-12-25 Yokogawa Electric Corp Data processor
JP2010061235A (en) * 2008-09-01 2010-03-18 Anritsu Corp Control device and control method

Also Published As

Publication number Publication date
JP2995947B2 (en) 1999-12-27

Similar Documents

Publication Publication Date Title
KR900007136B1 (en) A method of and apparatus for data i/o control
JPS6213145A (en) Operation/maintenance procedure generator for communication exchange equipment
JPH0593634A (en) Command converter
EP0115348A2 (en) Remote initialization of interconnected communications stations
JP3648996B2 (en) FA system
JPH06214766A (en) Generation system for hardware constitution information
JPH04127251A (en) Data transfer system
KR0118994B1 (en) The cross debugging method for parallel chill using communication line
JPH0526201B2 (en)
JPS6220080A (en) Picking-up and collecting system for memory contents of remote place processor in network system
JPS63271521A (en) Processing controller for data
JPS6358551A (en) Remote maintenance system
JPH0270142A (en) Method for controlling communication
JPH0587850B2 (en)
JPH02141835A (en) Test processing system for online system
JPH09305409A (en) Remote program download control system
CN117336119A (en) Programmable IO-Link gateway system
JP2576236B2 (en) Communication method of programmable controller
JPH0342740B2 (en)
JPH04245795A (en) Facility management controller
JPH0218630A (en) Remote maintenance program control system
JPH06208440A (en) Status transmission system for shared device
JPH05120166A (en) On-line system having terminal simulating function
JPH04137145A (en) Diagnostic program execution system
JPS63147237A (en) Input/output controller

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990928

LAPS Cancellation because of no payment of annual fees