JPH08265394A - Processing method for communication message in measuring instrument - Google Patents
Processing method for communication message in measuring instrumentInfo
- Publication number
- JPH08265394A JPH08265394A JP7062287A JP6228795A JPH08265394A JP H08265394 A JPH08265394 A JP H08265394A JP 7062287 A JP7062287 A JP 7062287A JP 6228795 A JP6228795 A JP 6228795A JP H08265394 A JPH08265394 A JP H08265394A
- Authority
- JP
- Japan
- Prior art keywords
- message
- setting
- simultaneous
- received
- processing mode
- 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
Links
Landscapes
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、通信によるメッセージ
に基づいて動作する測定機器のメッセージ処理方法の改
善に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement of a message processing method of a measuring device which operates on the basis of a message by communication.
【0002】[0002]
【従来の技術】近年、GP−IBなどを介してメッセー
ジを送って測定機器を制御する方式は、測定の自動化な
どの必要性からごく当たり前のようになってきている。
測定機器などにおける通信でのメッセージ処理には、大
別して設定・実行メッセージ処理と問い合わせメッセー
ジ処理があり、その処理は図4に示すようなフローであ
る。問い合わせメッセージ(同図(2) )処理の場合は、
測定機器側において受信メッセージを解析し、問い合わ
せに対するレスポンスを作成して送信する。設定・実行
メッセージ(同図(1) )処理の場合は、受信メッセージ
を解析してそのメッセージに応じた設定を行う。2. Description of the Related Art In recent years, a method of sending a message via a GP-IB or the like to control a measuring device has become quite common due to the necessity of automation of measurement.
Message processing in communication in a measuring device or the like is roughly classified into setting / execution message processing and inquiry message processing, and the processing is a flow as shown in FIG. In case of inquiry message ((2) in the figure) processing,
The measuring device analyzes the received message, creates a response to the inquiry, and sends it. In the case of setting / execution message ((1) in the figure) processing, the received message is analyzed and settings are made according to the message.
【0003】[0003]
【発明が解決しようとする課題】ところで、設定・実行
メッセージの処理は、「受信」、「解析」、「設定・実
行」の3段階に分けて行われるようになっているが、連
続的に送られてくる複数のメッセージをシーケンシャル
に実行するときは、各メッセージごとに行われる設定・
実行の段階で内部のハードウェア設定などを行っている
ため、1つのメッセージの終了に時間がかかり、複数の
メッセージの終了までに相当の時間がかかるという問題
があった。By the way, the processing of the setting / execution message is divided into three stages of "reception", "analysis", and "setting / execution". If you want to execute multiple messages sent sequentially, set the settings for each message.
Since internal hardware settings are made at the execution stage, it takes a long time to finish one message, and there is a problem that it takes a considerable time to finish a plurality of messages.
【0004】測定機器などを通信で制御する場合、いく
つかの設定メッセージを送信して測定機器を必要な状態
にした後測定実行という動作が繰り返えされることが多
く、その意味では設定メッセージ1つ1つはあまり意味
を持たないことになる。つまり、測定機器の内部のハー
ドウェア設定などをするような時間のかかるメッセージ
を連続して送る場合、受信側の機器では逐一実際の設定
を行うのではなく、ある領域にその設定群をまとめて保
存しておき、測定動作に入る前に、例えば問い合わせメ
ッセージにおいて、特定のメッセージを受信するとはじ
めてそれまでに受信した設定群を一斉に設定するように
しても、1メッセージずつ設定・実行する通常の方式と
同様な処理が実現できるのみならず、通信時間の短縮も
図れることとなる。In the case of controlling a measuring device or the like by communication, it is often the case that an operation of transmitting a number of setting messages to bring the measuring device into a required state and then performing a measurement is repeated. Each one has little meaning. In other words, when sending a series of time-consuming messages such as hardware settings inside the measuring equipment, the receiving equipment does not make actual settings one by one, but collects the settings in a certain area. Even if you save the settings and set all the settings that have been received until a specific message is received in an inquiry message before entering the measurement operation, you can set and execute one message at a time. Not only can the same processing as the system be realized, but the communication time can be shortened.
【0005】本発明は、このような点に鑑み、従来と同
様な連続設定処理モードの他に一斉設定処理モードを設
け、処理モードの選択が任意であると共に、一斉設定処
理モードを選択した場合には通信時間を短縮できるメッ
セージ処理方法を提供することにある。In view of such a point, the present invention provides a simultaneous setting processing mode in addition to the continuous setting processing mode similar to the conventional one, and the selection of the processing mode is arbitrary, and the simultaneous setting processing mode is selected. Is to provide a message processing method that can reduce communication time.
【0006】[0006]
【課題を解決するための手段】このような目的を達成す
るために本発明では、通信により与えられる設定メッセ
ージを解析して設定を行う測定機器の通信メッセージ処
理方法であって、選択可能な連続設定処理モードと一斉
設定処理モードを備え、前記連続設定処理モードでは、
各メッセージごとに、メッセージを受信し、その受信し
たメッセージの内容を解析し、その解析後設定メッセー
ジを設定し、他方前記一斉設定処理モードでは、一斉設
定命令を受信するまでは、メッセージ受信、受信メッセ
ージの解析、設定メッセージの保存を繰り返し、一斉設
定命令を受信すると既に保存した設定メッセージの一斉
設定を行うようにしたことを特徴とする。In order to achieve such an object, the present invention relates to a communication message processing method for a measuring instrument for analyzing a setting message given by communication and setting the message. Equipped with setting processing mode and simultaneous setting processing mode, in the continuous setting processing mode,
For each message, receive the message, analyze the contents of the received message, set the setting message after the analysis, while in the simultaneous setting processing mode, receive and receive the message until the simultaneous setting command is received. The feature is that the analysis of the message and the saving of the setting message are repeated, and when the simultaneous setting command is received, the setting message which has been already saved is collectively set.
【0007】[0007]
【作用】通信による設定メッセージを受けると、連続設
定処理処理モードでは「受信」、「解析」、「設定・実
行」を繰り返し行うが、一斉設定処理モードでは一斉設
定命令を受信するまでは受信したメッセージを解読して
設定メッセージをバッファメモリに保存しておき、一斉
設定命令を受信するとそれまでに保存した設定メッセー
ジを読み出して一斉に設定する。一斉設定処理モードで
は時間のかかる設定が最後にまとめて行われるため、設
定メッセージの通信時間は短縮できる。[Operation] When a setting message is received by communication, "reception", "analysis", and "setting / execution" are repeated in the continuous setting processing mode, but in the simultaneous setting processing mode, it is received until the simultaneous setting command is received. The message is decoded and the setting message is stored in the buffer memory. When the simultaneous setting command is received, the setting messages saved up to that point are read out and set simultaneously. In the simultaneous setting processing mode, since the time-consuming setting is collectively performed at the end, the communication time of the setting message can be shortened.
【0008】[0008]
【実施例】以下図面を用いて本発明を詳しく説明する。
図1は本発明に係る測定機器の通信メッセージ処理方法
の処理フローである。図1の(1) は通常の設定メッセー
ジ処理(以下連続設定の処理という)を示す処理フロ
ー、同図の(2) は設定メッセージを一斉に設定する一斉
設定の処理フローである。いずれの処理フローとするか
は予め選択できるようになっている。図1の(1) のモー
ド(通常モード)では、シーケンシャルに送られるメッ
セージに対して「受信」、「解析」、「設定・実行」を
繰り返す。図1の(2) のモード(一斉設定モード)で
は、シーケンシャルに送られるメッセージに対して「受
信」、「解析」、「設定保存」を繰り返し、一斉設定命
令のメッセージを受信するまでは、すべての設定が保存
され、それまで機器には一切反映されないようになって
いる。The present invention will be described in detail below with reference to the drawings.
FIG. 1 is a processing flow of a communication message processing method of a measuring device according to the present invention. 1 (1) is a processing flow showing normal setting message processing (hereinafter referred to as continuous setting processing), and FIG. 1 (2) is a processing flow of simultaneous setting for setting setting messages all at once. Which processing flow is used can be selected in advance. In the mode (1) of FIG. 1 (normal mode), “receive”, “analyze”, and “set / execute” are repeated for messages sent sequentially. In the mode (2) in Figure 1 (simultaneous setting mode), all the messages are sent until the message of the simultaneous setting command is received by repeating “Receive”, “Analysis”, and “Save setting” for the messages sent sequentially. The settings of are saved and are not reflected on the device until then.
【0009】図2に実際の動作フローを示す。機器側で
は通信により送られるメッセージを受信し、そのメッセ
ージを解析する。処理モードが連続設定処理モードにな
っている場合は図1の(1) に示すように「設定・実行」
を行う。その後各メッセージごとに同様の動作を繰り返
す。処理モードが一斉設定モードになっている場合は、
受信、解析したメッセージが一斉設定命令でなければ、
当該データを設定保存用バッファメモリに保存する(現
在の設定は更新されない)。一斉設定命令であった場合
はそれまでに保存した設定データで一斉に設定を行う
(設定更新)。FIG. 2 shows an actual operation flow. The device receives the message sent by communication and analyzes the message. When the processing mode is the continuous setting processing mode, "Set / execute" as shown in (1) of Fig. 1
I do. After that, the same operation is repeated for each message. If the processing mode is set to simultaneous setting mode,
If the received and analyzed message is not a simultaneous setting command,
Save the data in the setting storage buffer memory (current settings are not updated). If it is a simultaneous setting command, the setting data saved up to that point will be set simultaneously (setting update).
【0010】図3はこのようなメッセージ処理方法を実
現するための機器の構成例である。同図において、10
は通信回線1より送られるメッセージを受信する受信手
段、20は受信手段10で受信したメッセージの内容を
解読する解析手段であり、通常はマイクロプロセッサな
どで構成される。30は動作モードを記憶する動作モー
ド記憶メモリ、40は一斉設定モードの時に設定データ
を一時的に記憶する設定保存用バッファメモリである。FIG. 3 shows an example of the configuration of equipment for implementing such a message processing method. In the figure, 10
Is a receiving means for receiving the message sent from the communication line 1, 20 is an analyzing means for decoding the content of the message received by the receiving means 10, and is usually composed of a microprocessor or the like. Reference numeral 30 is an operation mode storage memory for storing the operation mode, and 40 is a setting storage buffer memory for temporarily storing the setting data in the simultaneous setting mode.
【0011】このような構成における動作を次に説明す
る。通信回線1経由で送られるメッセージを受信手段1
0で受信し、そのメッセージの内容をメッセージ解析手
段20で解析する。メッセージ解析手段20は動作モー
ド記憶メモリ30に記憶された動作モードが通常モード
であれば解読したメッセージが直ちに設定されるように
出力する。なお、設定を行う機構および動作については
本発明と直接関係しないので、ここではその説明を省略
する。The operation of such a configuration will be described below. Receiving means 1 for receiving messages sent via communication line 1
0 is received, and the content of the message is analyzed by the message analysis means 20. If the operation mode stored in the operation mode storage memory 30 is the normal mode, the message analysis means 20 outputs so that the decoded message is immediately set. Since the mechanism and operation for setting are not directly related to the present invention, the description thereof is omitted here.
【0012】動作モード記憶メモリ30に記憶された動
作モードが通常モードでない場合(一斉設定モードであ
る場合)は、メッセージ解析手段20は送られたメッセ
ージが特定の一斉設定命令かどうかを判断し、一斉設定
命令でない場合はメッセージ(設定データ)を設定保存
用バッファメモリ40に保存し、再び次のメッセージの
受信→解析に移る。一斉設定命令であった場合はそれま
でに保存蓄積した設定データを一斉に設定するよう出力
する。When the operation mode stored in the operation mode storage memory 30 is not the normal mode (when it is the simultaneous setting mode), the message analysis means 20 judges whether the sent message is a specific simultaneous setting command, If it is not a simultaneous setting command, the message (setting data) is stored in the setting storage buffer memory 40, and the process moves to the reception of the next message and the analysis again. If the command is a simultaneous setting command, the setting data that has been saved and accumulated until then is output so as to be set simultaneously.
【0013】[0013]
【発明の効果】以上説明したように本発明によれば、選
択可能な通常モードと一斉設定モードを設け、一斉設定
モードを選択している場合は、通信により送られる設定
メッセージを一時的にバッファに保存しておき、一斉設
定メッセージを受信したとき一斉に設定を行うようにす
るため通信時間の短縮が可能となる。As described above, according to the present invention, the selectable normal mode and the simultaneous setting mode are provided, and when the simultaneous setting mode is selected, the setting message sent by communication is temporarily buffered. The communication time can be shortened because the settings are saved all at once when the simultaneous setting message is received.
【図1】本発明に係る測定機器の通信メッセージ処理方
法の処理フローである。FIG. 1 is a processing flow of a communication message processing method of a measuring device according to the present invention.
【図2】動作フローを示す図である。FIG. 2 is a diagram showing an operation flow.
【図3】本発明のメッセージ処理方法を実現するための
機器の一実施例を示す構成図である。FIG. 3 is a configuration diagram showing an embodiment of an apparatus for realizing the message processing method of the present invention.
【図4】従来のメッセージ処理方法の処理フローであ
る。FIG. 4 is a processing flow of a conventional message processing method.
1 通信回線 10 受信手段 20 解析手段 30 動作モード記憶メモリ 40 設定保存用バッファメモリ 1 Communication Line 10 Receiving Means 20 Analyzing Means 30 Operating Mode Storage Memory 40 Setting Saving Buffer Memory
Claims (1)
析して設定を行う測定機器の通信メッセージ処理方法で
あって、 選択可能な設定メッセージ処理モードと一斉設定処理モ
ードを備え、 前記設定メッセージ処理モードでは、各メッセージごと
に、メッセージを受信し、その受信したメッセージの内
容を解析し、その解析後設定メッセージを設定し、 前記一斉設定処理モードでは、一斉設定命令を受信する
までは、メッセージ受信、受信メッセージの解析、設定
メッセージの保存を繰り返し、一斉設定命令を受信する
と既に保存した設定メッセージの一斉設定を行うように
したことを特徴とする測定機器の通信メッセージ処理方
法。1. A communication message processing method for a measuring device for analyzing and setting a setting message provided by communication, comprising a selectable setting message processing mode and a simultaneous setting processing mode, wherein: , Receives a message for each message, analyzes the content of the received message, sets the post-analysis setting message, and in the simultaneous setting processing mode, receives and receives messages until a simultaneous setting command is received. A communication message processing method for a measuring instrument, characterized in that the analysis message is saved and the setting message is saved repeatedly, and when a simultaneous setting command is received, the saved setting message is collectively set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP06228795A JP3223749B2 (en) | 1995-03-22 | 1995-03-22 | Communication message processing method of measurement equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP06228795A JP3223749B2 (en) | 1995-03-22 | 1995-03-22 | Communication message processing method of measurement equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH08265394A true JPH08265394A (en) | 1996-10-11 |
JP3223749B2 JP3223749B2 (en) | 2001-10-29 |
Family
ID=13195763
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP06228795A Expired - Fee Related JP3223749B2 (en) | 1995-03-22 | 1995-03-22 | Communication message processing method of measurement equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3223749B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100302332B1 (en) * | 1999-09-10 | 2001-11-07 | 서평원 | A processing method of receiving message pilot terminal in communication system |
-
1995
- 1995-03-22 JP JP06228795A patent/JP3223749B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100302332B1 (en) * | 1999-09-10 | 2001-11-07 | 서평원 | A processing method of receiving message pilot terminal in communication system |
Also Published As
Publication number | Publication date |
---|---|
JP3223749B2 (en) | 2001-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11915006B2 (en) | Method, system and device for improved efficiency of pipeline processing of instructions, and computer storage medium | |
JPS63250702A (en) | Sequence controller | |
JP3223749B2 (en) | Communication message processing method of measurement equipment | |
JP2001005718A (en) | Protocol handler and its signal processing method | |
US5499347A (en) | System having multiple data flow processors and switching unit for selectively supplying packets containing data from packet transmitter to any selected data flow processor | |
US6757818B1 (en) | Programmable microcontroller for controlling multichannel sequences of states to be processed in each processing period | |
JPS6148009A (en) | Programmable controller | |
JPS59200362A (en) | Control system of terminal device | |
JPS62175831A (en) | Control system for pipeline with tag | |
JPH0697990A (en) | Communication line monitoring device | |
US6895473B2 (en) | Data control device and an ATM control device | |
JPH05290589A (en) | Semiconductor integrated circuit | |
JPH08179816A (en) | Distributed control system | |
JPH0353370A (en) | Parallel processor for information processor | |
JPH06295247A (en) | Real time processing realizing method | |
JPH09259066A (en) | Input and output controller | |
JPH07262053A (en) | Information processor | |
JPH07306798A (en) | Microcomputer device | |
JPH02280228A (en) | System for converting input data | |
JPH04175957A (en) | Data transfer device | |
JPH0535469A (en) | Programmable controller | |
JPH05334127A (en) | I/o simulation system | |
JPH0528081A (en) | Data input/output system for computer | |
JPS6258339A (en) | Instruction fetching controller | |
JPH04160548A (en) | Data read control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070824 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080824 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080824 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090824 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100824 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100824 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110824 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120824 Year of fee payment: 11 |
|
LAPS | Cancellation because of no payment of annual fees |