JPH03201107A - Control panel for numerical controller - Google Patents

Control panel for numerical controller

Info

Publication number
JPH03201107A
JPH03201107A JP34359489A JP34359489A JPH03201107A JP H03201107 A JPH03201107 A JP H03201107A JP 34359489 A JP34359489 A JP 34359489A JP 34359489 A JP34359489 A JP 34359489A JP H03201107 A JPH03201107 A JP H03201107A
Authority
JP
Japan
Prior art keywords
key data
key
data
flag
transmission
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
JP34359489A
Other languages
Japanese (ja)
Other versions
JP2776596B2 (en
Inventor
Mamoru Hirono
守 廣野
Tsutomu Sugawara
努 菅原
Kazutoshi Matsushita
和敏 松下
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
NEC Robotics Engineering Ltd
Original Assignee
NEC Corp
NEC Robotics Engineering 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 NEC Corp, NEC Robotics Engineering Ltd filed Critical NEC Corp
Priority to JP34359489A priority Critical patent/JP2776596B2/en
Publication of JPH03201107A publication Critical patent/JPH03201107A/en
Application granted granted Critical
Publication of JP2776596B2 publication Critical patent/JP2776596B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To improve responseness to key operation and to surely inform a final state by storing up-to-date key data in a control panel, registering a depressed key switch and forming transmission data based upon the stored/ registered data. CONSTITUTION:A transmission data forming part 12 refers a key data status table 121 in each input of key data to compare the current data with the data in the table 121, and at the time of detecting a change in these data, sets up a corresponding flag in the 1st flag table 121 to '1' and updates the correspond ing data in the table 121. Flags are retrieved in response to sending timing, the flag in the 2nd flag table 123 corresponding to the flag '1' is set up to '1', its corresponding data are extracted from the table 121 and transferred to a key data transmission processing part 13. Since the flag transferred to the table 12 is initialized in the table 122, up-to-date key operation is registered in the table 122 and transmitted in the succeeding time. Thereby, the up-to-date data are always transmitted to a numerical controller 2 and responsiveness corresponding to the key operation of the control console 1 can be improved.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は数値制御装置の操作盤に係り、特に操作盤から
数値制御装置に対しキースイッチの操作状態を通知する
キーデータ通知方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an operation panel for a numerical control device, and more particularly to a key data notification method for notifying the operating state of a key switch from the operation panel to the numerical control device.

(従来の技術〉 周知のように、数値制御装置では、キーデータの入力装
置たる操作盤を備えるが、例えば第3図に示すように、
操作盤1を可搬型に構成して数値制御装W2とは通信ケ
ーブル3にて接続し、数値制御装置2を遠隔から操作制
御できるようにしたものが知られている。また、図示省
略したが、操作盤を数値制御装置の筐体に固定配置した
ものもあり、この場合でも両者間は通信ケーブルを介し
て接続される。なお、第3図において、数値制御装置2
は、通常正面部にカラーデイスプレィ31とキーパネル
32とが設けられ、当該装置の各種制御状態の表示や所
定のキー操作ができるようになっている。
(Prior Art) As is well known, a numerical control device is equipped with an operation panel that is a key data input device, and for example, as shown in FIG.
It is known that the operation panel 1 is configured to be portable and connected to the numerical control device W2 through a communication cable 3, so that the numerical control device 2 can be operated and controlled remotely. Although not shown, there is also a system in which the operation panel is fixed to the casing of the numerical control device, and even in this case, the two are connected via a communication cable. In addition, in FIG. 3, the numerical control device 2
Usually, a color display 31 and a key panel 32 are provided on the front surface of the device, and various control states of the device can be displayed and predetermined key operations can be performed.

ところで、従来の操作盤は、例えば第4図に示すように
、複数のキースイッチttiと、キーデータ入力処理部
41と、所謂先入れ先出しタイプの送信データバッファ
421を備える送信データ形成部42と、I10ボート
たるキーデータ送信処理部43と、以上の各要素を統括
制御する図示しないcpU(中央処理装置)とで基本的
に構成される。
By the way, as shown in FIG. 4, the conventional operation panel includes a plurality of key switches tti, a key data input processing section 41, a transmission data forming section 42 including a so-called first-in, first-out type transmission data buffer 421, and an I10. It basically consists of a key data transmission processing section 43, which is a port, and a CPU (central processing unit), not shown, which centrally controls each of the above-mentioned elements.

第4図において操作盤1は概路次のように動作する。即
ち、キーデータ入力処理部41は、複数のキースイッチ
111それぞれのキー状態の変化有無を例えば所定の時
間間隔で検索し、変化のあったキースイッチのキーデー
タを形成し、それを順次送信データ形成部42に出力す
る。送信データ形成部42では、送信データバッファ4
21を制御して入力したキーデータを順次格納するとと
もに、最先に格納されたキーデータから順次キーデータ
送信処理部43に対して出力する。そして、キーデータ
送信処理部43は送信データ形成部42から入力したキ
ーデータを数値制御装置2に対し同期を取りながら順次
送信通知する。
In FIG. 4, the operation panel 1 operates as follows. That is, the key data input processing unit 41 searches for the presence or absence of a change in the key state of each of the plurality of key switches 111, for example, at predetermined time intervals, forms key data for the key switch that has changed, and sequentially transmits the key data to the transmitted data. It is output to the forming section 42. In the transmission data forming section 42, the transmission data buffer 4
21 to sequentially store the input key data, and sequentially output the key data stored first to the key data transmission processing section 43. Then, the key data transmission processing section 43 successively transmits and notifies the numerical control device 2 of the key data input from the transmission data forming section 42 while maintaining synchronization.

(発明が解決しようとする課題) ところで、数値制御装置では、キースイッチのオン状1
1/オフ状態によって機械系を制御するのであるから、
キー操作に対する応答性が重要であるとともに、キー操
作の最終状態(これはオン状態またはオフ状態のいずれ
か一方のキー状態で特定される)を確実に通知できるこ
とも重要である。
(Problem to be solved by the invention) By the way, in a numerical control device, when the key switch is on
1/Since the mechanical system is controlled by the off state,
Responsiveness to key operations is important, and it is also important to be able to reliably notify the final state of key operations (which is specified by the key state of either the on or off state).

ところが、上述した従来のキーデータ通知方式では、キ
ー操作された全てのキーデータは送信データバッファを
介して送信通知されるようになっているので、数値制御
装置に対する送信通知時爵間隔との兼ね合いにもよるが
、例えばキースイッチの操作頻度が高い場合には送信デ
ータバッファに待ち行列が形成される。そして、送信デ
ータバッファ内のキーデータは先頭行列から順次通知す
るのであるから、待ち行列の最後列に追加登録された最
新のキーデータは先行キーデータの全てが送信されてか
ら通知されることとなり、操作盤のキー操作に対する応
答性が劣化するという問題がある。
However, in the conventional key data notification method described above, all key data operated by a key is transmitted through the transmission data buffer, so it is difficult to balance the transmission notification interval for the numerical control device. Depending on the situation, for example, if a key switch is operated frequently, a queue is formed in the transmission data buffer. Since the key data in the transmission data buffer is notified sequentially from the top of the queue, the latest key data added to the last column of the queue will be notified after all of the preceding key data has been sent. , there is a problem that the responsiveness to key operations on the operation panel deteriorates.

また、上記事例において、送信データバッファの容量は
有限であるから、送信データバッファがオーバーフロー
することもあ−る。そうするとキー操作の最終状態を示
すキースイッチの状態を通知できない場合が生ずるとい
う問題がある。
Furthermore, in the above case, since the capacity of the transmission data buffer is finite, the transmission data buffer may overflow. In this case, there is a problem in that the state of the key switch indicating the final state of the key operation may not be notified.

この問題は、数値制御装置に対するデータ転送速度を高
めることで解決できるようにも考えられるが、チャタリ
ングの存在等を考慮すれば必ずしも妥当な解決策ではな
いということができる。
Although it may be possible to solve this problem by increasing the data transfer rate to the numerical control device, it can be said that this is not necessarily an appropriate solution if the presence of chattering and the like are taken into consideration.

本発明は、このような問題に鑑みなされたもので、その
目的は、キー操作に対する応答性の向上を図るとともに
、キー操作の最終状態の確実通知をなし得る数値制御装
置の操作盤を提供することにある。
The present invention has been made in view of these problems, and its purpose is to provide an operation panel for a numerical control device that can improve responsiveness to key operations and can reliably notify the final state of key operations. There is a particular thing.

(課題を解決するための手段) 前記目的を達成するために、本発明の数値制御装置の操
作盤は次の如き構成を有する。
(Means for Solving the Problems) In order to achieve the above object, the operation panel of the numerical control device of the present invention has the following configuration.

即ち、本発明の数値制御装置の操作盤は、複数のキース
イッチと; 各キースイッチの状態変化有無を監視し変
化のあったキースイッチのキーデータを出力するキーデ
ータ入力処理部と; キーデータ入力処理部の出力する
キーデータを受けて送信すべきキーデータを形成出力す
る送信キーデータ形成部と; 送信キーデータ形成部の
出力するキーデータを数値制御装置に対し通信ケープル
を介して送信するキーデータ送信処理部と; を備える
数値制御装置の操作盤において; 前記送信キーデータ
形成部は、各キースイッチのキー状態がそれぞれ登録さ
れるキーデータ状態テーブルと; 各キースイッチのキ
ー状態の変化有無を示すフラグがそれぞれ登録される第
1および第2のフラグテーブルと; 前記キーデータ入
力処理部の出力を受けて前記キーデータ状態テーブルを
参照し対応するキースイッチのキー状態に変化があれば
前記第1のフラグテーブルの対応するフラグを所定の状
態に操作し、併せてキーデータ状態テーブルの対応する
キーデータをその入力した新キーデータに更新登録する
登録処理部と; キーデータの送出タイミングに応答し
て前記第1のフラグテーブルにおいて操作されたフラグ
の全部または一部に対応する前記第2のフラグテーブル
のフラグを対応する所定の状態に操作し、当該第2のフ
ラグテーブルにおいて操作されたフラグに対応した第1
のフラグテーブルのフラグを初期化すること、および、
当該第2のフラグテーブルにおいて操作されたフラグに
対応するキーデータを前記キーデータ状態テーブルから
取り出し送信データとして前記キーデータ送信処理部に
出力することを行う送信処理部と: を備えたことを特
徴とするものである。
That is, the operation panel of the numerical control device of the present invention includes: a plurality of key switches; a key data input processing section that monitors whether or not the state of each key switch has changed and outputs key data of the key switch that has changed; a transmission key data forming section that receives key data output from the input processing section, forms and outputs key data to be transmitted; and transmits the key data output from the transmission key data forming section to the numerical control device via the communication cable. In an operation panel of a numerical control device comprising: a key data transmission processing unit; the transmission key data forming unit includes a key data status table in which the key status of each key switch is registered; and a change in the key status of each key switch. first and second flag tables in which flags indicating presence/absence are registered; upon receiving the output of the key data input processing section, referring to the key data state table and determining if there is a change in the key state of the corresponding key switch; a registration processing unit that operates a corresponding flag of the first flag table to a predetermined state and also updates and registers the corresponding key data of the key data state table with the input new key data; key data sending timing; in response to operating the flags in the second flag table corresponding to all or part of the flags operated in the first flag table to a corresponding predetermined state; The first flag corresponding to the
initializing the flags in the flag table of
A transmission processing section that extracts key data corresponding to a flag operated in the second flag table from the key data state table and outputs it to the key data transmission processing section as transmission data. That is.

(作 用〉 次に、前記の如く構成される本発明の数値制御装置の操
作盤の作用を説明する。
(Function) Next, the function of the operation panel of the numerical control device of the present invention configured as described above will be explained.

キーデータ形成部では、キーデータの入力があると、キ
ーデータ状態テーブルを参照して前回と今回のキーデー
タを比較し、キー状態に変化があれば第1のフラグテー
ブルにおける対応するフラグを例えば“1”にし、併せ
てこのフラグの操作有無とは無関係にキーデータ状態テ
ーブルの対応するキーデータを更新する。
In the key data forming section, when key data is input, it refers to the key data status table and compares the previous and current key data, and if there is a change in the key status, the corresponding flag in the first flag table is changed, for example. This flag is set to "1" and the corresponding key data in the key data state table is updated regardless of whether or not this flag is operated.

そして、キーデータの送出タイミングに応答して第1の
フラグテーブルにおいて1”になっているフラグを検索
し、その“1”フラグに対応する第2のフラグテーブル
のフラグを“1”にし、この第2のフラグテーブルにお
ける“1″フラグに対応したキーデータをキーデータ状
態テーブルから取り出し、それを送信データとしてキー
データ送信処理部に引き渡す、このとき、第1のフラグ
テーブルでは、第2のフラグテーブルに転記されたフラ
グは初期化されるので、その後キー操作がなされると、
それは前記の手順で第1のフラグテーブルに登録され、
次回送信されることになる。
Then, in response to the sending timing of the key data, the first flag table is searched for a flag that is set to 1, and the flag in the second flag table that corresponds to the 1 flag is set to 1, and this flag is set to 1. The key data corresponding to the "1" flag in the second flag table is extracted from the key data state table and handed over to the key data transmission processing unit as transmission data.At this time, in the first flag table, the second flag The flags posted to the table are initialized, so when a key operation is performed afterwards,
It is registered in the first flag table in the above procedure, and
It will be sent next time.

斯くして、数値制御装置には常に最新のキーデータが送
信されることとなり、操作盤のキー操作に対する応答性
が向上する。また、全てのキースイッチそれぞれの状態
把握をなし得るテーブルを設け、かつ、フラグテーブル
をキー操作登録用と送信用と2種類設け、キー操作を確
実に検出記憶できるようにしであるので、キー操作の最
終状態を確実に通知することができる。
In this way, the latest key data is always sent to the numerical control device, improving responsiveness to key operations on the operation panel. In addition, a table is provided that can grasp the status of each key switch, and two types of flag tables are provided, one for key operation registration and one for sending, so that key operations can be reliably detected and memorized. The final state of the system can be reliably notified.

(実 施 例〉 以下、本発明の実施例を添付図面を参照して説明する。(Example> Embodiments of the present invention will be described below with reference to the accompanying drawings.

第1図は本発明の一実施例に係る数値制御装置の操作盤
を示す1本発明では、送信データ形成部I2を、登録処
理部101と、送信準備処理部102と、キーデータ状
態テーブル121と、キーデータ変化フラグテーブル(
第1のフラグテーブル)122と、キーデータ送信フラ
グテーブル(第2のフラグテーブル)I23とで楕成し
である。なお、その他の構成は従来と同様である。
FIG. 1 shows an operation panel of a numerical control device according to an embodiment of the present invention. In the present invention, the transmission data forming section I2 is divided into a registration processing section 101, a transmission preparation processing section 102, and a key data state table 121. and key data change flag table (
The first flag table) 122 and the key data transmission flag table (second flag table) I23 are mutually exclusive. Note that the other configurations are the same as the conventional one.

キーデータ状態テーブル!21には、キースイッチ11
1それぞれのキーデータが対応するキースイッチと関連
付けられて登録される。また、フラグテーブル(122
,123)には、キースイッチillそれぞれのキー状
態の変化有無を示すフラグ(キーデータ変化フラグ、キ
ーデータ送信フラグ)が対応するキースイッチと関連付
けられて登録される。
Key data state table! 21 is the key switch 11
1. Each key data is registered in association with a corresponding key switch. Also, the flag table (122
, 123), flags (key data change flag, key data transmission flag) indicating whether or not the key state of each key switch ill has changed are registered in association with the corresponding key switch.

以下、第2図を参照して本発明に係る送信データ形成部
12の動作を説明する。
The operation of the transmission data forming section 12 according to the present invention will be explained below with reference to FIG.

キーデータ入力処理部11では、従来と同様に、サンプ
リングによってキースイッチ111の状態を監視し、変
化のあったキースイッチのキー状態をキーデータとして
登録処理部101に出力する。
The key data input processing section 11 monitors the state of the key switch 111 by sampling, as in the conventional case, and outputs the changed key state of the key switch to the registration processing section 101 as key data.

キーデータ状態テーブル121は、初期状態では対応す
るキースイッチの初期状態でのキー状態を示すキーデー
タが登録される。また、フラグテーブル(122,12
3)は、初期状態では各フラグ(キーデータ変化フラグ
、キーデータ送信フラグ)は例えば“O”に設定される
In the key data state table 121, in the initial state, key data indicating the key state of the corresponding key switch in the initial state is registered. Also, the flag table (122, 12
3), each flag (key data change flag, key data transmission flag) is set to, for example, "O" in the initial state.

登録処理部101では、キーデータ入力処理部11から
最新のキーデータが入力すると、第2図(a)に示すス
テップ201と同202の動作を行う、即ち、ステップ
201では、キーデータ状態テーブル121の該当キー
スイッチのキーデータ(初期値または前回登録されたも
のである)と今回入力された新キーデータと比較し、変
化していればキーデータ変化フラグテーブル122の対
応するキーデータ変化フラグを“1”にする、また、ス
テップ202では、キーデータ状態テーブル121の該
当キースイッチのキーデータ(初期値または前回登録さ
れたものである)を今回入力された新キーデータに更新
する0以上の動作は、キーデータ入力処理部11からキ
ーデータが入力する度に行われる。
When the latest key data is input from the key data input processing unit 11, the registration processing unit 101 performs the operations of steps 201 and 202 shown in FIG. Compare the key data of the corresponding key switch (initial value or previously registered one) with the new key data input this time, and if there is a change, set the corresponding key data change flag in the key data change flag table 122. In addition, in step 202, the key data of the corresponding key switch in the key data status table 121 (the initial value or the one registered last time) is updated to the new key data input this time. The operation is performed every time key data is input from the key data input processing section 11.

なお、同一のキースイッチが複数回操作され、キー状態
が例えば「オン」→「オフ」→「オン」と変化した場合
、キーデータ変化フラグは最初の「オン→オフ」の変化
で“1”になり、その後キー状態が「オフ→オン」と変
化しても“1”を保持する。このキーデータ変化フラグ
を“0”にするリセット操作は後述する送信準備処理部
102が行う、一方、キーデータ状態テーブル121に
は、最後のキー状態「オン」のキーデータが登録される
。即ち、キーデータ状態テーブル121には、古いキー
データは保持されず、常に最新のキーデータが登録保持
される。
Note that if the same key switch is operated multiple times and the key status changes from "on" to "off" to "on", the key data change flag will be set to "1" at the first change from "on to off". , and then holds "1" even if the key state changes from "off to on". The reset operation for setting this key data change flag to "0" is performed by the transmission preparation processing unit 102, which will be described later.On the other hand, the key data with the last key state "ON" is registered in the key data state table 121. That is, the key data state table 121 does not hold old key data, but always registers and holds the latest key data.

次に、キーデータ送信処理部I3は、従来と同様に、送
信データ形成部12からキーデータが入力されると、そ
の都度同期を取りながら数値制御装置2に送信するが、
送信データ形成部12からキーデータ送信処理部13に
対するデータ送出の態様が本実施例では従来例と異なる
Next, when key data is input from the transmission data forming section 12, the key data transmission processing section I3 transmits it to the numerical control device 2 while synchronizing each time, as in the conventional case.
The manner in which data is sent from the transmission data forming section 12 to the key data transmission processing section 13 in this embodiment is different from the conventional example.

即ち、本実施例では、所定数のキーデータを連続的に送
出する期間と若干の休止期間とが繰り返すようになって
おり、送信データ形成部I2の送信準備処理部102で
は、キーデータ送信処理部13へのデータ送出タイミン
グが到来すると、第2図(b)に示す動作を開始する。
That is, in this embodiment, a period in which a predetermined number of key data are continuously transmitted and a slight pause period are repeated, and the transmission preparation processing section 102 of the transmission data forming section I2 performs key data transmission processing. When the timing for sending data to the unit 13 arrives, the operation shown in FIG. 2(b) starts.

まず、最初のステップ203では、キーデータ変化フラ
グテーブル122を検索して1′にセットされているキ
ーデータ変化フラグを検出し、キーデータ送信フラグテ
ーブル123においてその“1”となっているキーデー
タ変化フラグに対応するキーデータ送信フラグを“1”
にし、その後キーデータ変化フラグテーブルにおけるキ
ーデータ変化フラグを“O”にリセットする。このリセ
ット操作はキーデータ送信フラグテーブル123への転
記を終えたキーデータ変化フラグについてのみ行われる
。この措置は、数値制御装置2への送信期間内にキー操
作がなされた場合に対する配慮である。
First, in the first step 203, the key data change flag table 122 is searched to detect the key data change flag set to 1', and the key data that is set to "1" in the key data transmission flag table 123 is searched. Set the key data transmission flag corresponding to the change flag to “1”
Then, the key data change flag in the key data change flag table is reset to "O". This reset operation is performed only for the key data change flag that has been transferred to the key data transmission flag table 123. This measure is taken in consideration of the case where a key operation is performed within the transmission period to the numerical control device 2.

次いで、キーデータ送信フラグテーブルにおいて“1”
にセットされているキーデータ送信フラグに対応するキ
ーデータを前記キーデータ状態テーブル121から取り
出しくステップ204)、その取り出したキーデータ(
送信データ)を順次キーデータ送信処理部13に出力す
る(ステップ205>。
Next, “1” is set in the key data transmission flag table.
Step 204) of extracting the key data corresponding to the key data transmission flag set in the key data status table 121), and extracting the extracted key data (
transmission data) are sequentially output to the key data transmission processing section 13 (step 205>).

そして、キーデータ送信処理部13から数値制御装置2
に対しキーデータが通知されるたびに、数値制御装置2
から受信したキーデータの良否等を示す応答があるので
(図示省略〉、送信が正常であれば、ステップ206の
判定結果は肯定(YES)となり、ステップ207にて
対応するキーデータ送信フラグを“O”にリセットする
送信終了処理を行う。
Then, from the key data transmission processing section 13 to the numerical control device 2
Each time key data is notified to the numerical controller 2,
Since there is a response indicating the quality of the received key data (not shown), if the transmission is normal, the determination result in step 206 is affirmative (YES), and the corresponding key data transmission flag is set in step 207. Performs transmission end processing to reset to "O".

一方、送信が正しく行われなかった場合に゛は、ステッ
プ206の判定結果は否定(NO)となるので、先のス
テップ204に戻り、キーデータ状態テーブル121か
ら送信データを作成し直して再度送信する。
On the other hand, if the transmission was not performed correctly, the determination result at step 206 is negative (NO), so the process returns to step 204, where the transmission data is recreated from the key data status table 121 and transmitted again. do.

(発明の効果) 以上説明したように、本発明の数値制御装置の操作盤に
よれば、キーデータ状態テーブルに最新のキーデータが
保持されるようにし、かつ、キー操作のあったキースイ
ッチをフラグテーブルに登録し、このフラグに基づき送
信データを形成するようにしたので、数値制御装置には
常に最新のキーデータが送信されることとなり、操作盤
のキー操作に対する応答性が向上する。また、オーバー
フローを生ずる送信データバッファを排除し、全てのキ
ースイッチそれぞれの状態把握をなし得るテーブルを設
け、かつ、フラグテーブルを2種類設けであるので、キ
ー操作の最終状態を確実に通知することができる等の効
果がある。
(Effects of the Invention) As explained above, according to the operation panel of the numerical control device of the present invention, the latest key data is held in the key data status table, and the key switch that has been operated is Since it is registered in the flag table and transmission data is formed based on this flag, the latest key data is always transmitted to the numerical control device, improving responsiveness to key operations on the operation panel. In addition, the transmission data buffer that causes overflow is eliminated, and a table is provided that can grasp the status of each key switch. Also, two types of flag tables are provided, so the final status of key operations can be reliably notified. There are effects such as being able to.

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

第1図は本発明の一実施例に係る数値制御装置の操作盤
の構成ブロック図、第2図は送信データ形成部の動作フ
ローチャート、第3図は数値制御装置と操作盤の関係を
示す斜視図、第4図は従来の数値制御装置の操作盤の構
成ブロック図である。 1・・・・・・操作盤、 2・・・・・・数値制御装置
、 3・・・・・・通信ケーブル、 11・・・・・・
キーデータ入力処理部、12・・・・・・送信データ形
成部、 13・・・・・・キーデータ送信処理部、 3
1・・・・・・カラー・デイスプレィ、32・・・・・
・キーパネル、 41・・・・・・キーデータ入力処理
部、 42・・・・・・送信データ形成部、 43・・
・・・・キーデータ送信処理部、101・・・・・・登
録処理部、102・・・・・・送信準備処理部、111
・・・・・・キースイッチ、121・・・・・・キーデ
ータ状態テーブル、+22・・・・・・キーデータ変化
フラグテーブル、123・・・・・・キーデータ送信フ
ラグテーブル、421・・・・・・送信データバッファ
FIG. 1 is a block diagram of the configuration of the operation panel of a numerical control device according to an embodiment of the present invention, FIG. 2 is an operation flowchart of the transmission data forming section, and FIG. 3 is a perspective view showing the relationship between the numerical control device and the operation panel. 4 are block diagrams showing the configuration of an operation panel of a conventional numerical control device. 1...Operation panel, 2...Numerical control device, 3...Communication cable, 11...
Key data input processing section, 12... Transmission data forming section, 13... Key data transmission processing section, 3
1...Color display, 32...
・Key panel, 41... Key data input processing section, 42... Transmission data forming section, 43...
...Key data transmission processing section, 101... Registration processing section, 102... Transmission preparation processing section, 111
...Key switch, 121...Key data status table, +22...Key data change flag table, 123...Key data transmission flag table, 421... ...Transmission data buffer.

Claims (1)

【特許請求の範囲】[Claims] 複数のキースイッチと;各キースイッチの状態変化有無
を監視し変化のあったキースイッチのキーデータを出力
するキーデータ入力処理部と;キーデータ入力処理部の
出力するキーデータを受けて送信すべきキーデータを形
成出力する送信キーデータ形成部と;送信キーデータ形
成部の出力するキーデータを数値制御装置に対し通信ケ
ーブルを介して送信するキーデータ送信処理部と;を備
える数値制御装置の操作盤において;前記送信キーデー
タ形成部は、各キースイッチのキー状態がそれぞれ登録
されるキーデータ状態テーブルと;各キースイッチのキ
ー状態の変化有無を示すフラグがそれぞれ登録される第
1および第2のフラグテーブルと;前記キーデータ入力
処理部の出力を受けて前記キーデータ状態テーブルを参
照し対応するキースイッチのキー状態に変化があれば前
記第1のフラグテーブルの対応するフラグを所定の状態
に操作し、併せてキーデータ状態テーブルの対応するキ
ーデータをその入力した新キーデータに更新登録する登
録処理部と;キーデータの送出タイミングに応答して前
記第1のフラグテーブルにおいて操作されたフラグの全
部または一部に対応する前記第2のフラグテーブルのフ
ラグを対応する所定の状態に操作し、当該第2のフラグ
テーブルにおいて操作されたフラグに対応した第1のフ
ラグテーブルのフラグを初期化すること、および、当該
第2のフラグテーブルにおいて操作されたフラグに対応
するキーデータを前記キーデータ状態テーブルから取り
出し送信データとして前記キーデータ送信処理部に出力
することを行う送信処理部と;を備えたことを特徴とす
る数値制御装置の操作盤。
a plurality of key switches; a key data input processing section that monitors whether or not the state of each key switch has changed and outputs key data of the key switch that has changed; and a key data input processing section that receives and transmits key data output from the key data input processing section. a transmission key data forming section that forms and outputs key data to be used; and a key data transmission processing section that transmits the key data output from the transmission key data forming section to the numerical control device via a communication cable. In the operation panel; the transmission key data forming section includes a key data state table in which the key state of each key switch is registered, and a first and second key data state table in which a flag indicating whether or not the key state of each key switch changes A second flag table; upon receiving the output of the key data input processing section, the key data state table is referred to, and if there is a change in the key state of the corresponding key switch, the corresponding flag of the first flag table is changed to a predetermined value. a registration processing unit that operates on the state and also updates and registers the corresponding key data in the key data state table with the input new key data; The flags in the second flag table corresponding to all or part of the flags that have been manipulated are operated to a corresponding predetermined state, and the flags in the first flag table that correspond to the operated flags in the second flag table are a transmission processing unit that performs initialization, and extracts key data corresponding to a flag operated in the second flag table from the key data state table and outputs it to the key data transmission processing unit as transmission data; An operation panel for a numerical control device, characterized in that it is equipped with;
JP34359489A 1989-12-28 1989-12-28 Operation panel of numerical controller Expired - Lifetime JP2776596B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34359489A JP2776596B2 (en) 1989-12-28 1989-12-28 Operation panel of numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34359489A JP2776596B2 (en) 1989-12-28 1989-12-28 Operation panel of numerical controller

Publications (2)

Publication Number Publication Date
JPH03201107A true JPH03201107A (en) 1991-09-03
JP2776596B2 JP2776596B2 (en) 1998-07-16

Family

ID=18362737

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34359489A Expired - Lifetime JP2776596B2 (en) 1989-12-28 1989-12-28 Operation panel of numerical controller

Country Status (1)

Country Link
JP (1) JP2776596B2 (en)

Also Published As

Publication number Publication date
JP2776596B2 (en) 1998-07-16

Similar Documents

Publication Publication Date Title
JPH04142642A (en) Information processor having communication function
DE3856486D1 (en) Single packet message in a data link controller
JPH03201107A (en) Control panel for numerical controller
JP6741085B2 (en) Data output system and data output method
JPS63185299A (en) Remote control device
JP2002207554A (en) Character input device and character input method
JPS5527919A (en) Time setting system
EP0335373A2 (en) Hardware status switching input control system
JPS5952456B2 (en) CRT display device
JPH08147116A (en) Buffer device
JPH07121216A (en) Robot control unit
JPH01211159A (en) Clock matching device for computer
JP3516152B2 (en) Synchronization establishing device
JPS6333994A (en) Key telephone system
JPS63159918A (en) Communication terminal equipment
TW336278B (en) Remote control operation system for a wafer probe the invention relates to a remote control operation system for a wafer probe
JPH10200680A (en) Terminal equipment, server, printer and network print system
JPS6460469A (en) Information display device
JPH0398089A (en) Display system
JPH04251359A (en) Graphic picture control system using inter-workstation communication
JPH0316454A (en) Communication control method
JP2002026978A (en) Real time data multiple reception system
JPH04165415A (en) Key input control part
JPH0582605B2 (en)
JPH02198990A (en) Controller for elevator