JP2010146329A - Numerical controller having multiple function keys - Google Patents

Numerical controller having multiple function keys Download PDF

Info

Publication number
JP2010146329A
JP2010146329A JP2008323421A JP2008323421A JP2010146329A JP 2010146329 A JP2010146329 A JP 2010146329A JP 2008323421 A JP2008323421 A JP 2008323421A JP 2008323421 A JP2008323421 A JP 2008323421A JP 2010146329 A JP2010146329 A JP 2010146329A
Authority
JP
Japan
Prior art keywords
window
screen
key
general
display
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
JP2008323421A
Other languages
Japanese (ja)
Other versions
JP5161057B2 (en
Inventor
Koichi Murata
耕一 村田
Mamoru Kubo
守 久保
Kazuhiko Morizaki
和彦 森嵜
Tatsuya Shirase
達也 白勢
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP2008323421A priority Critical patent/JP5161057B2/en
Publication of JP2010146329A publication Critical patent/JP2010146329A/en
Application granted granted Critical
Publication of JP5161057B2 publication Critical patent/JP5161057B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

<P>PROBLEM TO BE SOLVED: To dynamically switch a window to receive pressing information of a general purpose key according to the change of the arrangement and size of the window when a plurality of application software windows are displayed. <P>SOLUTION: The numerical controller having the multiple function keys has: a definition data file 5 for storing definition data defining the operation of which window the general purpose key 43 is to perform for each image layout; an image list file 4 wherein the image layout and the definition data are made to correspond; and key input monitoring software 1 for monitoring the change of the displayed image layout, selecting and reading the definition data of the image layout from the definition data file 5 when it is changed, monitoring the pressing of the general purpose key 43, and advising that the function key is pressed to the specified window on the basis of the definition data, thereby performing the operation of the application in accordance with the advised function key. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は複数のファンクションキーを有する数値制御装置に関する。   The present invention relates to a numerical control device having a plurality of function keys.

数値制御装置においては、該数値制御装置が生成する画像情報を数値制御装置が有する表示器の表示画面に表示することが行われている。数値制御装置は、数値制御装置の本質的な機能から生じる表示すべき情報を表示するための表示ソフトウェアを備えている。例えば、数値制御装置が制御する機械の各制御軸の現在位置を表示する画面、加工プログラムの編集用画面、プログラム運転チェック画面、機械操作画面等の数値制御装置の本来的な機能から発生する表示情報をウィンドウ形式で表示する表示ソフトウェアを有する。   In a numerical controller, image information generated by the numerical controller is displayed on a display screen of a display included in the numerical controller. The numerical control device is provided with display software for displaying information to be displayed resulting from the essential functions of the numerical control device. For example, displays generated from the original functions of the numerical control device such as a screen that displays the current position of each control axis of the machine controlled by the numerical control device, a machining program editing screen, a program operation check screen, and a machine operation screen It has display software that displays information in a window format.

この数値制御装置には、表示装置の表示画面に機能集合をメニューとして表示し、そのメニューからファンクションキー(以下、「汎用キー」という)、数字キー、矢印キーなどによって、所望の機能を作業者に選択させる方式になっているものが多い。   In this numerical control device, a set of functions is displayed as a menu on the display screen of the display device, and a desired function is displayed from the menu by a function key (hereinafter referred to as “general-purpose key”), numeric keys, arrow keys, etc. Many of them are made to be selected.

そして、表示装置の表示画面の外周囲に汎用キーを備えた数値制御装置において、複数のウィンドウを表示している場合、キー入力監視ソフトウェアによって汎用キーの押下情報はフォーカスの当たっているウィンドウに通知される(図19参照)。なお、フォーカスが当たっているウィンドウとは、入力データを受け付けるように選択されているウィンドウである。   And in a numerical control device equipped with general-purpose keys around the display screen of the display device, when multiple windows are displayed, the key input monitoring software notifies the focused window of general-purpose key press information. (See FIG. 19). The focused window is a window that is selected to accept input data.

特許文献1には、フォーカスが当たっていないウィンドウに押下情報を通知するには、キーイベントを優先して受け取りたいウィンドウの要求により、キーイベントを配送する技術が開示されている。   Patent Document 1 discloses a technique for delivering a key event in response to a request for a window in which key events are to be received preferentially in order to notify pressing information to a window that is not in focus.

また、特許文献2には、キーボードを複数のブロックに分割し、分割されたブロックを任意のウィンドウに割り当て、キー入力がなされた際に、キーが属する分割ブロックに属するウィンドウへデータを入力することによって、アクティブになっていないウィンドウにもデータの入力が可能な入力制御装置の技術が開示されている。   In Patent Document 2, the keyboard is divided into a plurality of blocks, the divided blocks are assigned to arbitrary windows, and when a key is input, data is input to the window belonging to the divided block to which the key belongs. Discloses a technique of an input control device capable of inputting data even in an inactive window.

国際公開WO2004/034257号公報International Publication WO 2004/034257 実開平3−86447号公報Japanese Utility Model Publication No. 3-86447

汎用キーと押下情報を通知するウィンドウの対応関係は、キー入力監視ソフトウェアに組み込まれており、画面レイアウトの変化に応じて途中で変更することはできなかった。そのため、画面レイアウトを変更しても、汎用キーの押下情報を通知するウィンドウはダイナミックに変更されず、作業者は直感的な汎用キーの操作を行うことができなかった。   The correspondence between the general-purpose keys and the windows for notifying the pressed information is built into the key input monitoring software and cannot be changed in the middle according to the change in the screen layout. For this reason, even if the screen layout is changed, the window for notifying general-purpose key press information is not dynamically changed, and the operator cannot intuitively operate the general-purpose keys.

このことを図19および図20を用いて説明する。図19に示される表示器の表示画面には、ウィンドウ1およびウィンドウ2が表示されている。表示画面の下部および両側部には、ソフトウェアキーが表示される。ソフトウェアキーには、様々な機能命令が画面の内容に対応して切り替え表示される。各機能命令の選択は、表示画面の下方および両側方に設けられた汎用キーによって行われる。   This will be described with reference to FIG. 19 and FIG. A window 1 and a window 2 are displayed on the display screen of the display shown in FIG. Software keys are displayed at the bottom and both sides of the display screen. Various function commands are switched and displayed on the software key corresponding to the contents of the screen. Selection of each function command is performed by general-purpose keys provided on the lower side and both sides of the display screen.

図19に示される画面レイアウトでは、ウィンドウ1には汎用キーF22〜F24,F34〜F36が対応し、ウィンドウ2には汎用キーF1〜F12,F13〜F21,F25〜F33が対応する。ここで、図20に示されるように、ウィンドウ2を拡大したり(図20(a))、ウィンドウ1を拡大したり(図20(b))した場合、従来技術の表示画面ではそれらウィンドウ1,2の拡大・縮小に応じて汎用キーの対応関係を変更できなかった。このため、作業員は直感的な汎用キーの入力作業を行うことが困難であった。   In the screen layout shown in FIG. 19, general-purpose keys F22 to F24 and F34 to F36 correspond to window 1, and general-purpose keys F1 to F12, F13 to F21, and F25 to F33 correspond to window 2. Here, as shown in FIG. 20, when the window 2 is enlarged (FIG. 20A) or the window 1 is enlarged (FIG. 20B), those windows 1 are displayed on the display screen of the prior art. , 2 could not change the correspondence of the general-purpose keys according to the enlargement / reduction. For this reason, it has been difficult for an operator to perform intuitive general-purpose key input operations.

そこで本発明の目的は、表示器の表示画面の周囲に汎用のファンクションキーを有する数値制御装置において、複数のアプリケーションソフトウェアのウィンドウを表示している場合、ウィンドウの配置やサイズの変化に応じて、汎用キーの押下情報を受取るウィンドウをダイナミックに切り替えできる数値制御装置を提供することである。   Therefore, an object of the present invention is to display a plurality of application software windows in a numerical control device having general-purpose function keys around the display screen of the display unit, depending on the arrangement and size of the windows, It is an object of the present invention to provide a numerical control device capable of dynamically switching a window for receiving general key press information.

本願の請求項1に係る発明は、画面レイアウトに応じて画面上に複数のアプリケーションソフトウェアのウィンドウを配置し表示する表示器と、前記ウィンドウに表示されたアプリケーションの操作を行う複数のファンクションキーを有する数値制御装置において、前記画面レイアウト毎に前記ファンクションキーがどのウィンドウの操作を行うかを定義した定義データを記憶する定義データ記憶手段と、前記画面レイアウトと前記定義データとの対応付けした画面リストデータを記憶する画面リストデータ記憶手段と、前記画面上に表示される画面レイアウトの変更を監視し、該画面レイアウトの変更があったときに前記画面リストデータを参照し該画面リストデータに基づいて選択された画面レイアウトの定義データを前記定義データ記憶手段から選択して読み込むと共に、前記複数のファンクションキーの押下を監視し、該定義データに基づいて指定されたウィンドウにファンクションキーが押下されたことを前記ウィンドウに通知するキー入力監視手段と、を有し、通知されたファンクションキーに応じて前記アプリケーションの操作が行われることを特徴とする複数のファンクションキーを有する数値制御装置である。   The invention according to claim 1 of the present application has a display device that arranges and displays a plurality of application software windows on the screen according to the screen layout, and a plurality of function keys that operate the applications displayed in the windows. In the numerical controller, definition data storage means for storing definition data defining which window the function key performs for each screen layout, and screen list data in which the screen layout and the definition data are associated with each other Screen list data storage means for storing and monitoring a change in the screen layout displayed on the screen, and referring to the screen list data when there is a change in the screen layout, and selecting based on the screen list data The definition data of the defined screen layout A key input monitoring means for selecting and reading from the means, monitoring the pressing of the plurality of function keys, and notifying the window that the function key has been pressed on a window designated based on the definition data; And a numerical control device having a plurality of function keys, wherein the operation of the application is performed in accordance with the notified function keys.

請求項2に係る発明は、前記選択された画面レイアウトのアプリケーションのウィンドウサイズの変更を監視し、前記ウィンドウサイズの変更があったときに前記ウィンドウサイズに応じて読み込まれている定義データを更新する更新手段を有することを特徴とする請求項1に記載の複数のファンクションキーを有する数値制御装置である。   The invention according to claim 2 monitors a change in the window size of the application having the selected screen layout, and updates definition data read in accordance with the window size when the window size is changed. The numerical control device having a plurality of function keys according to claim 1, further comprising an updating unit.

本発明により、複数のウィンドウを表示している場合、ウィンドウの配置やサイズの変化に応じて、汎用キーの押下情報を受取るウィンドウをダイナミックに切り替えできる、表示器の表示画面の周囲に汎用のファンクションキーを有する数値制御装置を提供できる。   According to the present invention, when a plurality of windows are displayed, a general-purpose function around the display screen of the display unit can dynamically switch a window that receives general-purpose key press information according to a change in the arrangement or size of the window. A numerical control device having a key can be provided.

以下、本発明の実施形態を図面とともに説明する。
図1は、本発明のアルゴリズムを実施する数値制御装置の概略ブロック図である。CPU11は数値制御装置10を全体的に制御するプロセッサである。CPU11はバス23を介してROM,RAM,不揮発性メモリなどで構成されるメモリ12、PMC(プログラマブル・マシン・コントローラ)13、液晶表示器などで構成される表示器14、各種指令やデータを入力するための入力機器15、外部記憶媒体やホストコンピュータ等に接続されるインタフェース16、工作機械の各軸制御回路17(図では5軸分を備えた例を示している)、スピンドル制御回路20に接続されている。なお、入力機器15は後述する図2に示されるように汎用キー43を備えている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a schematic block diagram of a numerical controller that implements the algorithm of the present invention. The CPU 11 is a processor that controls the numerical controller 10 as a whole. The CPU 11 inputs, via the bus 23, a memory 12 composed of ROM, RAM, nonvolatile memory, etc., a display 14 composed of a PMC (programmable machine controller) 13, a liquid crystal display, and various commands and data. Input device 15, interface 16 connected to an external storage medium, a host computer, etc., each axis control circuit 17 of the machine tool (in the figure, an example having five axes is shown), spindle control circuit 20 It is connected. The input device 15 includes a general-purpose key 43 as shown in FIG.

メモリ12には、入力機器15を用いて作成された加工プログラムまたはインタフェース16を介して外部より入力された加工プログラムを記憶しており、プロセッサ(CPU)11は、該加工プログラムを読み出し実行して、スピンドル制御回路20に主軸の速度指令を、また、各軸制御回路17に移動指令を所定周期毎出力する。   The memory 12 stores a machining program created using the input device 15 or a machining program input from the outside via the interface 16, and the processor (CPU) 11 reads and executes the machining program. Then, a spindle speed command is output to the spindle control circuit 20 and a movement command is output to each axis control circuit 17 at predetermined intervals.

メモリ12には、数値制御装置10の本来の機能として数値制御装置独自の表示データを表示するための表示ソフトウェアが格納されている。該表示ソフトウェアは、各送り軸の現在位置を表示する画面、加工プログラムの編集画面、プログラム運転チェック画面、パラメータ画面、アラームメッセージ画面などの画面が表示画面を分割してウィンドウ形式で表示する機能を備えている。該表示ソフトウェアは従来から数値制御装置の画面表示を行うソフトウェアである。さらに、メモリ12には、本発明に係る表示器14に配置された汎用キー43の押下を監視するキー入力監視ソフトウェア1も格納されている。   The memory 12 stores display software for displaying display data unique to the numerical control device as an original function of the numerical control device 10. The display software has a function to divide the display screen and display it in a window format, such as a screen that displays the current position of each feed axis, a machining program edit screen, a program operation check screen, a parameter screen, and an alarm message screen. I have. Conventionally, the display software is software for displaying a screen of a numerical control device. Further, the memory 12 also stores key input monitoring software 1 for monitoring the pressing of the general purpose key 43 arranged on the display 14 according to the present invention.

また、メモリ12には、該加工プログラムの実行あるいは表示ソフトウェアによる処理のために供されるRAM領域を有する。該RAM領域には、ウィンドウのレイアウト情報、ウィンドウサイズなどを含む表示ウィンドウ情報などがウィンドウ管理ファイル2として記憶され、該表示ソフトウェアによって参照される。また、メモリ12はキー入力監視ソフトウェアが管理するメモリ領域を有し、該メモリ領域には汎用キー43とウィンドウとの対応関係を規定するキー押下情報通知用定義ファイル3(定義ファイルについては後述する)が格納される。   Further, the memory 12 has a RAM area provided for execution of the machining program or processing by display software. In the RAM area, window layout information, display window information including window size, and the like are stored as the window management file 2 and referred to by the display software. Further, the memory 12 has a memory area managed by the key input monitoring software, and in this memory area, a key press information notification definition file 3 (definition file will be described later) that defines the correspondence between the general purpose key 43 and the window. ) Is stored.

本発明に係るキー入力監視ソフトウェア1は、表示器14の表示画面に表示される画面レイアウトの変化と汎用キーの入力とを常に監視し、指定されたウィンドウに汎用キーの押下情報を通知するソフトウェアである。表示ソフトウェアは、画面変更フラグFAを用意しておき、数値制御装置の内部信号によって自動的に画面レイアウトを変更したとき、該画面変更フラグFAを1にする。キー入力監視ソフトウェア1は該画面変更フラグFAの状態を制御周期毎監視する。なお、一度参照された該画面変更フラグFAは0(ゼロ)にリセットされるようにしておく。   The key input monitoring software 1 according to the present invention constantly monitors changes in the screen layout displayed on the display screen of the display device 14 and the input of the general-purpose key, and notifies the specified window of the press information of the general-purpose key. It is. The display software prepares a screen change flag FA, and sets the screen change flag FA to 1 when the screen layout is automatically changed by an internal signal of the numerical controller. The key input monitoring software 1 monitors the state of the screen change flag FA for each control cycle. Note that the screen change flag FA once referred to is reset to 0 (zero).

キー入力監視ソフトウェア1は、画面レイアウトが変更されたことを検知すると、メモリ12に記憶されているウィンドウ管理ファイル2の表示ウィンドウ情報から、画面レイアウト情報を読み出す。キー入力監視ソフトウェア1は、該画面レイアウト情報に基づき汎用キーとウィンドウとの対応関係の切り替えを行う。汎用キーとウィンドウとの対応関係の切り替えについては図3を用いて後述する。   When detecting that the screen layout has been changed, the key input monitoring software 1 reads the screen layout information from the display window information of the window management file 2 stored in the memory 12. The key input monitoring software 1 switches the correspondence relationship between general-purpose keys and windows based on the screen layout information. Switching of the correspondence relationship between the general-purpose key and the window will be described later with reference to FIG.

PMC13は数値制御装置10に内蔵されたシーケンスプログラムで制御対象物の加工機の補助装置に信号を出力し、または該補助装置からの信号を入力し制御する。また、数値制御装置で制御される加工機の本体に配備された操作盤の各種スイッチ等の信号を受け、必要な信号処理をした後、CPU11に渡す。   The PMC 13 is a sequence program built in the numerical controller 10 and outputs a signal to an auxiliary device of a processing machine as an object to be controlled, or inputs and controls a signal from the auxiliary device. Further, it receives signals from various switches on the operation panel provided in the main body of the processing machine controlled by the numerical control device, performs necessary signal processing, and then passes them to the CPU 11.

各軸(5軸)の軸制御回路17はCPU11から各軸に補間分配された移動指令量を受けて、各軸の指令をサーボアンプ18に出力する。サーボアンプ18はこの指令を受けて、工作機械の各軸のサーボモータ19を駆動する。各軸のサーボモータ19は位置・速度検出器を内蔵し、この位置・速度検出器からの位置・速度フィードバック信号を軸制御回路17にフィードバックし、位置・速度のフィードバック制御を行う。なお、図1では位置・速度のフィードバックについては記載を省略している。   The axis control circuit 17 for each axis (5 axes) receives a movement command amount interpolated and distributed to each axis from the CPU 11 and outputs a command for each axis to the servo amplifier 18. In response to this command, the servo amplifier 18 drives the servo motor 19 for each axis of the machine tool. The servo motor 19 for each axis has a built-in position / speed detector, and feeds back a position / speed feedback signal from the position / speed detector to the axis control circuit 17 to perform position / speed feedback control. In FIG. 1, description of position / speed feedback is omitted.

スピンドル制御回路20は主軸回転指令を受け、スピンドルアンプ21にスピンドル速度信号を出力する。スピンドルアンプ21はスピンドル速度信号を受けて、スピンドルモータ22を指令された回転速度で回転させる。又、ポジションコーダ(図示省略)で主軸の回転速度を検出しスピンドル制御回路20にフィードバックし、速度制御を行う。   The spindle control circuit 20 receives a spindle rotation command and outputs a spindle speed signal to the spindle amplifier 21. The spindle amplifier 21 receives the spindle speed signal and rotates the spindle motor 22 at the commanded rotational speed. Further, the rotational speed of the spindle is detected by a position coder (not shown) and fed back to the spindle control circuit 20 for speed control.

図2は、LCD/MDIユニット40の正面の外観図である。LCD/MDIユニット40は、主に表示器14とキーボードなどの入力機器15によって構成されている。表示器14の表示画面41の下部、および両側部にはソフトウェアキー42が表示される。ソフトウェアキー42には、様々な機能命令が画面の内容に応じて切り替え表示される。各機能命令の選択は、表示画面41の下方、および両側方に設けられた汎用キー43によって行われる。入力機器15の上部には文字キー44、および数字キー45が設けられている。ページ切り替えキー46は表示ページを切り替えるために使用される。カーソルキー47は表示画面41上のカーソル移動に使用される。編集キー48は、変更キー、挿入キー、削除キー、入力キー、キャンセルキー、および終了キーから構成されている。汎用キー43も入力機器15に属する。   FIG. 2 is an external view of the front of the LCD / MDI unit 40. The LCD / MDI unit 40 is mainly composed of a display 14 and an input device 15 such as a keyboard. Software keys 42 are displayed at the bottom and both sides of the display screen 41 of the display 14. Various function commands are switched and displayed on the software key 42 according to the contents of the screen. Selection of each function command is performed by a general-purpose key 43 provided below the display screen 41 and on both sides. Character keys 44 and numeric keys 45 are provided on the input device 15. The page switching key 46 is used for switching the display page. The cursor key 47 is used for moving the cursor on the display screen 41. The edit key 48 includes a change key, an insert key, a delete key, an input key, a cancel key, and an end key. The general purpose key 43 also belongs to the input device 15.

本発明の実施形態では、表示器14の表示画面に表示される画面レイアウトを変更した場合でも、汎用キーの押下情報を通知するウィンドウがダイナミックに変更される機能を備え、直感的なキー操作を可能とする構成を付加する点で、従来の数値制御装置と異なる。   In the embodiment of the present invention, even when the screen layout displayed on the display screen of the display device 14 is changed, a window for notifying general-purpose key press information is dynamically changed, and an intuitive key operation is performed. This is different from the conventional numerical control device in that a configuration that enables this is added.

図3は、画面レイアウトの変更とともに対応する汎用キーの変更を実行可能とする本発明の概略の機能ブロック図である。
キー入力監視ソフトウェア1は、数値制御装置10の起動時にウィンドウ管理ファイル2と画面リストファイル4を参照し、それに応じた定義ファイル5を決定し、キー入力監視ソフトウェア1が管理するメモリ領域(メモリ12のRAM領域)にキー押下情報通知用定義ファイル3として読み込むことで、各汎用キーの押下情報を通知するウィンドウ6を特定する。起動時には初期設定として選択される画面リストファイル4の通常レイアウトを選択するようにしてもよい。
FIG. 3 is a schematic functional block diagram of the present invention that enables the corresponding general-purpose key to be changed along with the screen layout.
The key input monitoring software 1 refers to the window management file 2 and the screen list file 4 when the numerical control device 10 is activated, determines a definition file 5 corresponding to the window management file 2, and a memory area (memory 12) managed by the key input monitoring software 1. In the RAM area), the window 6 for notifying the general key press information is specified. You may make it select the normal layout of the screen list file 4 selected as initial setting at the time of starting.

またキー入力監視ソフトウェア1は、ウィンドウ管理ファイル2に格納されている表示ウィンドウ情報の一つである画面レイアウトの変更を監視し、画面レイアウトの変更があったときに、画面リストファイル4に基づいて選択された定義ファイル5を読み込み、キー押下情報通知用定義ファイル3を更新し、汎用キー43の押下げを監視し更新されたキー押下情報通知用定義ファイル3に基づいて指定されたウィンドウ6に汎用キーが押下されたことを通知する。そして、通知されたウィンドウのアプリケーションソフトウェアは通知された汎用キーに従って操作される。   Further, the key input monitoring software 1 monitors a change in the screen layout, which is one of display window information stored in the window management file 2, and based on the screen list file 4 when the screen layout is changed. The selected definition file 5 is read, the key pressing information notification definition file 3 is updated, the depression of the general key 43 is monitored, and the window 6 designated based on the updated key pressing information notification definition file 3 is displayed. Notifies that a general-purpose key has been pressed. Then, the application software of the notified window is operated according to the notified general-purpose key.

なお、ここで画面リストファイル4や定義ファイルは数値制御装置10の外部記憶装置(図示省略)に記憶する構成としてもよい。数値制御装置の起動時、あるいは画面レイアウトの更新時に外部記憶装置に記憶された画面リストファイル4を参照し、定義ファイル5をメモリ12のRAM領域に読み込むようにしてもよい。   Here, the screen list file 4 and the definition file may be stored in an external storage device (not shown) of the numerical controller 10. The definition file 5 may be read into the RAM area of the memory 12 by referring to the screen list file 4 stored in the external storage device when starting the numerical control device or updating the screen layout.

次に、本発明において表示画面の画面レイアウトの変更に応じて対応する汎用キーも変更されることを表示画面を参照しながら説明する。図4は、本発明において画面レイアウトに応じて汎用キーの対応を変更することを説明する図である。図4(a)のウィンドウ1はアプリケーションソフトウェア1のウィンドウであり、ウィンドウ2はアプリケーションソフトウェア2のウィンドウである。このように、表示画面には、各アプリケーションソフトウェアに対応するウィンドウが表示される。また図4(a)のF1〜F36は汎用キーを示している。表示画面はウィンドウ1とウィンドウ2とが表示画面を分割して表示されている。ウィンドウ1には汎用キーF22〜F24およびF34〜F36が対応する。ウィンドウ2には汎用キーF1からF21およびF25〜F33が対応する。   Next, it will be described with reference to the display screen that the corresponding general-purpose key is changed in accordance with the change in the screen layout of the display screen in the present invention. FIG. 4 is a diagram for explaining changing the correspondence of general-purpose keys in accordance with the screen layout in the present invention. A window 1 in FIG. 4A is a window of the application software 1, and a window 2 is a window of the application software 2. Thus, the window corresponding to each application software is displayed on the display screen. Moreover, F1-F36 of Fig.4 (a) has shown the general purpose key. In the display screen, window 1 and window 2 are displayed by dividing the display screen. General-purpose keys F22 to F24 and F34 to F36 correspond to the window 1. Window 2 corresponds to general-purpose keys F1 to F21 and F25 to F33.

図4(b)に示されるようにウィンドウ1が拡大すると、ウィンドウ1に対応する汎用キーは、F16〜F24およびF28〜F36となり、ウィンドウ2に対応する汎用キーは、F1〜F15およびF25〜F27となる。図4(a)および図4(b)に示されるように、ウィンドウ1、ウィンドウ2が画面表示に占める領域に応じてそれぞれのウィンドウに対応する汎用キーが変更されている。   When the window 1 is enlarged as shown in FIG. 4B, the general keys corresponding to the window 1 become F16 to F24 and F28 to F36, and the general keys corresponding to the window 2 are F1 to F15 and F25 to F27. It becomes. As shown in FIGS. 4A and 4B, the general-purpose keys corresponding to the windows are changed in accordance with the area occupied by the windows 1 and 2 in the screen display.

したがって、各ウィンドウに対応する各アプリケーションソフトウェアを操作する汎用キーの数は、画面レイアウトが変更されるのに応じて変化する。汎用キーの数が画面レイアウトに応じて変化することによって、換言すれば、汎用キーの押下情報を通知するウィンドウがダイナミックに変更され、直感的なキー操作が可能となる。   Therefore, the number of general-purpose keys for operating each application software corresponding to each window changes as the screen layout is changed. In other words, the number of general-purpose keys changes in accordance with the screen layout. In other words, the window for notifying general-purpose key press information is dynamically changed, and intuitive key operations are possible.

次に、直感的な汎用キー入力が可能になることをより具体的に理解し易いように、機械操作ウィンドウとNC情報ウィンドウを配置し、NC情報ウィンドウを拡大する画面例1および、機械操作ウィンドウを拡大する画面例2を説明する。なお、本発明においては、後述する画面例1、画面例2、および画面例3に示されるように、表示装置の表示画面を分割して複数のウィンドウを表示する形態を対象としている。
<画面例1>
図5は、図4に示すウィンドウ1が機械操作ウィンドウでありウィンドウ2がNC情報表示ウィンドウの例である。図5(b)は、NCプログラムの編集作業を容易にするためにNC情報表示ウィンドウの表示サイズを拡大し、機械操作ウィンドウの表示サイズを縮小した画面レイアウトの例である。図5(a)の状態では、機械操作ウィンドウには汎用キーF22〜F24および汎用キーF34〜F36が対応し、NC情報表示ウィンドウには汎用キーF1〜F21および汎用キーF25〜F33が対応する。また、図5(b)の状態では、機械操作ウィンドウには汎用キーF24およびF36が対応し、NC情報表示ウィンドウには汎用キーF1〜F23および汎用キーF25〜F35が対応する。
Next, in order to make it easier to understand that it is possible to input intuitive general-purpose keys more specifically, screen example 1 in which a machine operation window and an NC information window are arranged and the NC information window is enlarged, and a machine operation window are displayed. Example 2 for enlarging the image will be described. In the present invention, as shown in screen example 1, screen example 2, and screen example 3 to be described later, the display screen of the display device is divided to display a plurality of windows.
<Screen example 1>
FIG. 5 shows an example in which window 1 shown in FIG. 4 is a machine operation window and window 2 is an NC information display window. FIG. 5B is an example of a screen layout in which the display size of the NC information display window is enlarged and the display size of the machine operation window is reduced in order to facilitate the NC program editing operation. In the state of FIG. 5A, general-purpose keys F22 to F24 and general-purpose keys F34 to F36 correspond to the machine operation window, and general-purpose keys F1 to F21 and general-purpose keys F25 to F33 correspond to the NC information display window. In the state shown in FIG. 5B, general-purpose keys F24 and F36 correspond to the machine operation window, and general-purpose keys F1 to F23 and general-purpose keys F25 to F35 correspond to the NC information display window.

図6を用いて図5のように汎用キーの対応関係が変更されることを説明する。符号4は画面リストファイルを示しており、画面レイアウトに対応する定義ファイルをあらかじめ設定して記憶させるためのファイルである。定義ファイル5(1),5(2)は、画面レイアウトと汎用キーとの対応関係をあらかじめ設定し記憶させるためのファイルである。   It will be described with reference to FIG. 6 that the correspondence relationship between the general-purpose keys is changed as shown in FIG. Reference numeral 4 denotes a screen list file, which is a file for setting and storing a definition file corresponding to the screen layout in advance. The definition files 5 (1) and 5 (2) are files for setting and storing in advance the correspondence between the screen layout and the general-purpose keys.

画面リストファイル4では、画面レイアウトの例として通常レイアウト、プログラム編集用レイアウト、および手動操作レイアウトが示されている。そして、通常レイアウトには定義ファイル1が対応し、プログラム編集用レイアウトには定義ファイル2が対応し、手動操作レイアウトには定義ファイル3が対応する。   In the screen list file 4, a normal layout, a program editing layout, and a manual operation layout are shown as examples of the screen layout. The definition file 1 corresponds to the normal layout, the definition file 2 corresponds to the layout for program editing, and the definition file 3 corresponds to the manual operation layout.

また、定義ファイル5(1)は、ウィンドウ1に機械操作ウィンドウ、ウィンドウ2にNC情報表示ウィンドウが表示される画面レイアウトの場合の汎用キーの対応関係を設定するための定義ファイルである。定義ファイル1では、ウィンドウ1の機械操作ウィンドウには汎用キーF22〜汎用キーF24、および汎用キーF34〜汎用キーF36が対応し、ウィンドウ2のNC情報表示ウィンドウには汎用キーF1〜汎用キーF21、および汎用キーF25〜汎用キーF33が対応する。   The definition file 5 (1) is a definition file for setting the correspondence relationship of general-purpose keys in a screen layout in which a machine operation window is displayed in the window 1 and an NC information display window is displayed in the window 2. In the definition file 1, general-purpose keys F22 to F24 and general-purpose keys F34 to F36 correspond to the machine operation window of window 1, and general-purpose keys F1 to F21 for NC information display window of window 2, And general purpose key F25-general purpose key F33 respond | corresponds.

定義ファイル5(2)では、ウィンドウ1の機械操作ウィンドウには汎用キーF24、および汎用キーF36が対応し、ウィンドウ2には汎用キーF1〜汎用キーF23、および汎用キーF25〜汎用キーF35が対応する。   In the definition file 5 (2), the general operation key F24 and the general purpose key F36 correspond to the machine operation window of the window 1, and the general purpose key F1 to the general purpose key F23 and the general purpose key F25 to the general purpose key F35 correspond to the window 2. To do.

符号5(1)で示される定義ファイル1は、図5(a)に示される状態にあるウィンドウと汎用キーとの対応関係を設定するために用いられるファイルである。ここで、表示画面のレイアウト変更がなされると、前述したキー入力監視ソフトウェアは、画面リストファイル4を参照し、NCプログラム編集用レイアウトに対応する定義ファイル5(2)を読み込む。汎用キーは、定義ファイル5(2)に規定されるとおり各ウィンドウとの対応関係が変更される。   The definition file 1 indicated by reference numeral 5 (1) is a file used for setting the correspondence relationship between the windows in the state shown in FIG. 5A and the general-purpose keys. If the layout of the display screen is changed, the key input monitoring software described above refers to the screen list file 4 and reads the definition file 5 (2) corresponding to the NC program editing layout. The correspondence relationship between the general-purpose key and each window is changed as defined in the definition file 5 (2).

そうすると、図7に示されるように拡大したNC情報表示ウィンドウのサイズに合わせて使用可能な汎用キーを多くすることで、NCプログラムの編集が容易になる。図7から明らかなように、汎用キーが表示されるウィンドウに対応しているので、作業員は直感的な入力作業を行うことができる。
<画面例2>
図8は、図4に示すウィンドウ1が機械操作ウィンドウでありウィンドウ2がNC情報表示ウィンドウの例である。図8は、汎用キーを使用して機械操作を行うために、画面レイアウトをNC情報表示ウィンドウの表示サイズを縮小し、機械操作ウィンドウを拡大した例である。
Then, as shown in FIG. 7, the NC program can be easily edited by increasing the number of general-purpose keys that can be used in accordance with the size of the enlarged NC information display window. As is apparent from FIG. 7, since the window corresponds to the window in which the general-purpose keys are displayed, the worker can perform an intuitive input operation.
<Screen example 2>
FIG. 8 shows an example in which window 1 shown in FIG. 4 is a machine operation window and window 2 is an NC information display window. FIG. 8 is an example in which the machine operation window is enlarged by reducing the display size of the NC information display window in the screen layout in order to perform the machine operation using the general-purpose keys.

図9を用いて図8のように汎用キーの対応関係が変更されることを説明する。符号5(1)で示される定義ファイル1は、図9(a)に示される状態にあるウィンドウと汎用キーとの対応関係を設定するために用いられるファイルである。ここで、表示画面のレイアウト変更がなされると、前述したキー入力監視ソフトウェアは、画面リストファイル4を参照し、NCプログラム編集用レイアウトに対応する定義ファイル5(3)を読み込む。汎用キーは、定義ファイル5(3)に規定されるとおり各ウィンドウとの対応関係が変更される。   With reference to FIG. 9, it will be described that the correspondence relationship of the general-purpose keys is changed as shown in FIG. The definition file 1 indicated by reference numeral 5 (1) is a file used for setting the correspondence between the window in the state shown in FIG. 9A and the general-purpose keys. Here, when the layout of the display screen is changed, the key input monitoring software described above refers to the screen list file 4 and reads the definition file 5 (3) corresponding to the NC program editing layout. The correspondence relationship between the general-purpose key and each window is changed as defined in the definition file 5 (3).

図9に示される符号5(1)の定義ファイル1と画面リストファイル4、および符号5(3)の定義ファイル3を説明する。定義ファイル1および画面リストファイル4は図6に示したとおりである。また、定義ファイル3は、画面レイアウトが画面リストファイル4の手動操作レイアウトに対応する汎用キーを設定するためのファイルである。定義ファイル3では、ウィンドウ1の機械操作ウィンドウに汎用キーF16〜汎用キーF24、および汎用キーF28〜汎用キーF36に対応し、ウィンドウ2のNC情報表示ウィンドウに汎用キーF1〜汎用キーF15、および汎用キーF25〜汎用キーF27が対応する。   The definition file 1 and screen list file 4 shown in FIG. 9 and the definition file 3 shown in FIG. 5 (3) will be described. The definition file 1 and the screen list file 4 are as shown in FIG. The definition file 3 is a file for setting a general key whose screen layout corresponds to the manual operation layout of the screen list file 4. In the definition file 3, the machine operation window of window 1 corresponds to general-purpose keys F16 to F24 and general-purpose keys F28 to F36, and the NC information display window of window 2 corresponds to general-purpose keys F1 to F15 and general-purpose keys. Key F25 to general purpose key F27 correspond.

図10(b)に示されるように機械操作ウィンドウには、オーバーライド設定ボタン、手動送りボタン、ハンドル軸選択ボタン、およびモード選択ボタンを操作可能な汎用キーに対応する指示ボタンが表示画面内に表示される。   As shown in FIG. 10B, an instruction button corresponding to a general-purpose key capable of operating an override setting button, a manual feed button, a handle axis selection button, and a mode selection button is displayed on the display screen in the machine operation window. Is done.

そして、拡大した機械操作ウィンドウのサイズに合わせて使用可能な汎用キーを多くすることが可能となり、様々な機械操作(オーバーライドの設定や手動送り、ハンドル軸の選択など)をキーに設定することができる。図10から明らかなように、汎用キーが表示されるウィンドウの指示ボタンに対応しているので、作業員は直感的な入力作業を行うことができる。   In addition, it is possible to increase the number of general-purpose keys that can be used according to the size of the enlarged machine operation window, and it is possible to set various machine operations (override setting, manual feed, selection of handle axis, etc.) as keys. it can. As is apparent from FIG. 10, the operator can perform an intuitive input work because it corresponds to the instruction button of the window in which the general-purpose keys are displayed.

次に図11により画面レイアウトが変更された場合のプロセッサ(CPU)11が実行する本発明のアルゴリズムを示すフローチャートを各ステップに従って説明する。プロセッサ(CPU)11は下記のアルゴリズムのフローチャートからなるキー入力監視ソフトウェアを所定周期毎に実行する。
●[ステップSA1]画面レイアウト情報を取得する。数値制御装置の起動時、および画面レイアウトが変更された時に、画面レイアウト情報を取得する。画面レイアウト情報はメモリ12に記憶されている。
●[ステップSA2]画面リストファイルを参照する。
●[ステップSA3]ステップSA2で読み込んだ画面リストファイルで指定されている定義ファイルがどのファイルであるのか特定する。
●[ステップSA4]ステップSA3で特定された定義ファイルを読み込む。
●[ステップSA5]ステップSA4で読み込まれた定義ファイルをメモリ12にキー押下情報通知用定義ファイルとして格納する。
Next, a flowchart showing the algorithm of the present invention executed by the processor (CPU) 11 when the screen layout is changed will be described with reference to FIG. A processor (CPU) 11 executes key input monitoring software comprising a flowchart of the following algorithm at predetermined intervals.
[Step SA1] Obtain screen layout information. Screen layout information is acquired when the numerical control device is started up and when the screen layout is changed. The screen layout information is stored in the memory 12.
[Step SA2] Refer to the screen list file.
[Step SA3] The definition file specified in the screen list file read in Step SA2 is identified.
[Step SA4] The definition file specified in Step SA3 is read.
[Step SA5] The definition file read in step SA4 is stored in the memory 12 as a key press information notification definition file.

●[ステップSA6]画面レイアウトが変化したか否かを判断し、画面レイアウトが変化した場合にはステップSA1へ戻り、画面レイアウトが変化しなかった場合ステップSA7へ移行する。
●[ステップSA7]汎用キーが押下げられたか否か判断し、押下げられなかった場合にはステップSA6へ戻り、押下げられた場合にはステップSA8に移行する。
●[ステップSA8]押下げられた場合にはキー押下情報を通知するウィンドウを特定する。
●[ステップSA9]特定されたウィンドウにフォーカスを当てて押下情報を通知し、ステップSA6へ戻る。
[Step SA6] It is determined whether or not the screen layout has changed. If the screen layout has changed, the process returns to Step SA1, and if the screen layout has not changed, the process proceeds to Step SA7.
[Step SA7] It is determined whether or not the general-purpose key has been pressed. If it has not been pressed, the process returns to Step SA6, and if it has been pressed, the process proceeds to Step SA8.
[Step SA8] When the key is pressed, a window for notifying key press information is specified.
[Step SA9] Focuses on the specified window to notify the pressing information, and returns to Step SA6.

次に、ウィンドウサイズが変更された場合に汎用キーの対応関係を変更する実施形態について説明する。キー入力監視ソフトウェア1は、ウィンドウサイズが変更された場合、変更後のウィンドウサイズを取得し、画面レイアウトに対応して読み込まれている定義ファイルをウィンドウサイズに応じて更新する。定義ファイルをウィンドウサイズに応じて更新することで、汎用キーの押下情報を通知するウィンドウを再定義することができる。以下、画面例3により説明する。   Next, an embodiment in which the correspondence relationship of the general-purpose keys is changed when the window size is changed will be described. When the window size is changed, the key input monitoring software 1 acquires the changed window size, and updates the definition file read corresponding to the screen layout according to the window size. By updating the definition file according to the window size, it is possible to redefine the window for notifying general key press information. Hereinafter, a screen example 3 will be described.

<画面例3>
図12は機械操作ウィンドウとNC情報表示ウィンドウとが表示されている表示画面のレイアウトを示している。図12(a)は、あらかじめ設定されている画面レイアウトに応じたウィンドウの大きさで表示されることを示している。図12(b)は、NC情報表示ウィンドウと機械操作ウィンドウの境界線をマウスなどでドラッグすることで、NC情報表示ウィンドウ1のサイズ縮小と機械操作ウィンドウの拡大を同時に行い、ウィンドウサイズを変更した場合を示している。境界線をドラッグすることで、機械操作ウィンドウ(1)は機械操作ウィンドウ1’にサイズが拡大され、NC情報表示ウィンドウ1はNC情報表示ウィンドウ1’に縮小される。
<Screen example 3>
FIG. 12 shows a layout of a display screen on which a machine operation window and an NC information display window are displayed. FIG. 12A shows that the window is displayed in a size corresponding to a preset screen layout. In FIG. 12B, the size of the NC information display window 1 and the enlargement of the machine operation window are simultaneously reduced by dragging the boundary line between the NC information display window and the machine operation window with a mouse or the like, and the window size is changed. Shows the case. By dragging the boundary line, the size of the machine operation window (1) is enlarged to the machine operation window 1 ′, and the NC information display window 1 is reduced to the NC information display window 1 ′.

ウィンドウサイズが変更された場合にも作業員が直感的な汎用キーの入力作業を行えるようにするために、定義ファイルの更新を行う。図14はドラッグする前の状態で読み込まれている定義ファイルをドラッグ後の定義ファイルに更新することを説明する図である。ドラッグする前の汎用キーの対応関係を設定する定義ファイル1を定義ファイル1’に更新する。   The definition file is updated so that the operator can perform intuitive general-purpose key input operations even when the window size is changed. FIG. 14 is a diagram for explaining that a definition file read in a state before dragging is updated to a definition file after dragging. The definition file 1 for setting the correspondence relationship of the general-purpose keys before dragging is updated to the definition file 1 '.

定義ファイル1は図6において説明したように、ウィンドウ1の機械操作ウィンドウ1には汎用キーF22〜汎用キーF24、および汎用キーF34〜汎用キーF36が対応し、ウィンドウ2のNC情報表示ウィンドウには汎用キーF1〜汎用キーF21、および汎用キーF25〜汎用キーF33が対応する。境界線をドラッグした場合、定義ファイル1’として、ウィンドウ1の機械操作ウィンドウ1’には汎用キーF19〜汎用キーF24、および汎用キーF31〜汎用キーF36が対応し、NC情報表示ウィンドウ1’には汎用キーF1〜汎用キーF18、および汎用キーF25〜汎用キーF30が対応する。このようにウィンドウサイズの変更に応じて使用可能な汎用キーをダイナミックに切り替えることで、操作性が向上する。   As described in FIG. 6, the definition file 1 corresponds to the general operation key F22 to the general purpose key F24 and the general purpose key F34 to the general purpose key F36 to the machine operation window 1 of the window 1, and the NC information display window of the window 2 to the NC information display window. General purpose key F1 to general purpose key F21 and general purpose key F25 to general purpose key F33 correspond to each other. When the boundary line is dragged, as the definition file 1 ′, the machine operation window 1 ′ of the window 1 corresponds to the general keys F19 to F24 and the general keys F31 to F36, and the NC information display window 1 ′. Corresponds to general-purpose key F1 to general-purpose key F18, and general-purpose key F25 to general-purpose key F30. Thus, the operability is improved by dynamically switching the general-purpose keys that can be used in accordance with the change in the window size.

次に図15により画面レイアウトが変更された場合のプロセッサ(CPU)11が実行する本発明のアルゴリズムを示すフローチャートを各ステップに従って説明する。プロセッサ(CPU)11は下記のアルゴリズムのフローチャートからなるキー入力監視ソフトウェアを所定周期毎に実行する。
●[ステップSB1]画面レイアウト情報を取得する。数値制御装置の起動時、および画面レイアウトが変更された時に、画面レイアウト情報を取得する。画面レイアウト情報はメモリ12に記憶されている。
●[ステップSB2]画面リストファイルを参照する。
●[ステップSB3]ステップSB2で読み込んだ画面リストファイルで指定されている定義ファイルがどのファイルであるのか特定する。
●[ステップSB4]ステップSB3で特定された定義ファイルを読み込む。
●[ステップSB5]ステップSB4で読み込まれた定義ファイルをメモリ12にキー押下情報通知定義ファイルとして格納する。
●[ステップSB6]画面レイアウトが変化したか否かを判断し、画面レイアウトが変化した場合にはステップSB1へ戻り、画面レイアウトが変化しなかった場合ステップSB7へ移行する。
Next, a flowchart showing the algorithm of the present invention executed by the processor (CPU) 11 when the screen layout is changed will be described with reference to FIG. A processor (CPU) 11 executes key input monitoring software comprising a flowchart of the following algorithm at predetermined intervals.
[Step SB1] Obtain screen layout information. Screen layout information is acquired when the numerical control device is started up and when the screen layout is changed. The screen layout information is stored in the memory 12.
[Step SB2] Refer to the screen list file.
[Step SB3] The definition file specified in the screen list file read in Step SB2 is identified.
[Step SB4] The definition file specified in Step SB3 is read.
[Step SB5] The definition file read in step SB4 is stored in the memory 12 as a key press information notification definition file.
[Step SB6] It is determined whether or not the screen layout has changed. If the screen layout has changed, the process returns to Step SB1, and if the screen layout has not changed, the process proceeds to Step SB7.

●[ステップSB7]ウィンドウサイズが変化したか否かを判断し、変化していない場合にはステップSB11へ移行し、変化した場合にはステップSB8へ移行する。
●[ステップSB8]ウィンドウサイズを取得する。
●[ステップSB9]汎用キーとの対応関係を特定する。
●[ステップSB10]メモリに読込まれている定義ファイルの内容をステップSB9により特定された対応関係で更新する。
●[ステップSB11]汎用キーが押下げられたか否か判断し、押下げられなかった場合にはステップSB6へ戻り、押下げられた場合にはステップSB12に移行する。
●[ステップSB12]押下げられた場合にはキー押下情報を通知するウィンドウを特定する。
●[ステップSB13]特定されたウィンドウにフォーカスを当てて押下情報を通知し、ステップSA6へ戻る。
[Step SB7] It is determined whether or not the window size has changed. If not, the process proceeds to Step SB11. If it has changed, the process proceeds to Step SB8.
[Step SB8] The window size is acquired.
[Step SB9] The correspondence relationship with the general-purpose key is specified.
[Step SB10] The contents of the definition file read into the memory are updated with the correspondence specified in Step SB9.
[Step SB11] It is determined whether or not the general-purpose key has been pressed. If it has not been pressed, the process returns to Step SB6, and if it has been pressed, the process proceeds to Step SB12.
[Step SB12] When the key is pressed, a window for notifying key press information is specified.
[Step SB13] Focuses on the identified window to notify the pressing information and returns to Step SA6.

上記フローチャートについて補足して説明する。ステップSB7でウィンドウサイズが変化したか否かを判定する。ウィンドウサイズが変化したか否かは、マウスなどの入力手段によりウィンドウの境界位置がドラッグされることによりウィンドウサイズが変更された場合、前記表示ソフトウェアにより各ウィンドウについて再計算を行い、メモリ12に記憶されているウィンドウサイズなどを含む表示ウィンドウ情報の内、ウィンドウサイズを更新する。そして、ウィンドウサイズの更新を行ったか否かを判定するためのサイズ変更フラグFBを用意する。   The above flowchart will be supplementarily described. In step SB7, it is determined whether the window size has changed. Whether or not the window size has changed is determined by recalculating each window by the display software when the window size is changed by dragging the boundary position of the window with an input means such as a mouse and stored in the memory 12. The window size is updated in the display window information including the window size being displayed. Then, a size change flag FB for determining whether or not the window size has been updated is prepared.

そして、前記キー入力監視ソフトウェア1は、該サイズ変更フラグFBの状態を監視することによって、ウィンドウサイズの境界位置が変更されたか否かを判断することができる。なお、一度参照された該サイズ変更フラグFBはリセットする。
ステップSB9で汎用キーとの対応関係を特定する処理を行う。各汎用キー43の位置と表示画面の位置との対応関係を規定するテーブルを予め用意し記憶手段に記憶しておく。メモリ12でもよいし外部メモリから読み込むようにしてもよい。ウィンドウの境界位置を特定することにより、当該境界位置に対応するに汎用メモリの組合せを変更する。
ステップSB10では、ステップSB5で記憶された定義ファイルをステップSB9で求めた対応関係に従って更新する。
次に、図16〜図17により表示器14に表示される画面例を示す。図16は図7(a)や図8(a)に示される画面レイアウト変更前のウィンドウの表示状態を示している。図17は図7(b)に示されるNC情報表示ウィンドウを拡大したウィンドウの表示状態を示している。図18は図8(b)に示される機械操作ウィンドウを拡大したウィンドウの表示状態を示している。
The key input monitoring software 1 can determine whether the boundary position of the window size has been changed by monitoring the state of the size change flag FB. Note that the size change flag FB once referred to is reset.
In step SB9, processing for specifying the correspondence with the general-purpose key is performed. A table that defines the correspondence between the position of each general-purpose key 43 and the position of the display screen is prepared in advance and stored in the storage means. It may be the memory 12 or read from an external memory. By specifying the boundary position of the window, the combination of general-purpose memories is changed to correspond to the boundary position.
In step SB10, the definition file stored in step SB5 is updated according to the correspondence obtained in step SB9.
Next, the example of a screen displayed on the indicator 14 by FIGS. 16-17 is shown. FIG. 16 shows the display state of the window before the screen layout change shown in FIGS. 7A and 8A. FIG. 17 shows a display state of a window obtained by enlarging the NC information display window shown in FIG. FIG. 18 shows a window display state in which the machine operation window shown in FIG. 8B is enlarged.

本発明の複数のファンクションキーを有する数値制御装置の概略ブロック図である。It is a schematic block diagram of the numerical control device having a plurality of function keys of the present invention. LCD/MDIユニットの正面の外観図である。It is an external view of the front of an LCD / MDI unit. 本発明の概略の機能ブロック図である。FIG. 2 is a schematic functional block diagram of the present invention. 本発明において画面レイアウトに応じて汎用キーの対応を変更することを説明する図である。It is a figure explaining changing correspondence of a general purpose key according to a screen layout in the present invention. ウィンドウと汎用キーとの対応関係を示す図である(NC情報表示ウィンドウを拡大した例)。It is a figure which shows the correspondence of a window and a general purpose key (example which expanded NC information display window). 画面リストファイルと定義ファイル1,2の例である。It is an example of a screen list file and definition files 1 and 2. NC情報表示ウィンドウの拡大例である。It is an enlarged example of NC information display window. ウィンドウと汎用キーの対応関係を示す図である(機械操作ウィンドウを拡大した例)。It is a figure which shows the correspondence of a window and a general purpose key (example which expanded the machine operation window). 画面リストファイルと定義ファイル1,3の例である。It is an example of a screen list file and definition files 1 and 3. 機械操作ウィンドウの拡大例である。It is an enlarged example of a machine operation window. キー入力監視ソフトウェアのアルゴリズムを示すフローチャートである。It is a flowchart which shows the algorithm of key input monitoring software. ウィンドウサイズの変更例である。It is an example of a change of window size. ウィンドウサイズを変更した場合のウィンドウと汎用キーの対応関係を示す図である。It is a figure which shows the correspondence of the window at the time of changing a window size, and a general purpose key. ウィンドウサイズを変更した場合の定義ファイルの変更例である。It is an example of a definition file change when the window size is changed. ウィンドウサイズの変更に対応したキー入力監視ソフトウェアのアルゴリズムを示すフローチャートである。It is a flowchart which shows the algorithm of the key input monitoring software corresponding to the change of window size. 画面レイアウト変更前のウィンドウの例である。It is an example of the window before a screen layout change. NC情報表示ウィンドウの拡大例である。It is an enlarged example of NC information display window. 機械操作ウィンドウの拡大例である。It is an enlarged example of a machine operation window. 従来技術である汎用キーとウィンドウとの対応関係を説明する図である。It is a figure explaining the correspondence of the general purpose key and window which are prior arts. 従来技術において画面レイアウトを変更した変更例である。It is the example which changed the screen layout in a prior art.

符号の説明Explanation of symbols

1 キー入力監視ソフトウェア
2 ウィンドウ管理ファイル
3 キー押下情報通知用定義ファイル
4 画面リストファイル
5 定義ファイル
6 ウィンドウ
10 数値制御装置
41 表示画面
42 ソフトウェアキー
43 汎用キー
1 Key Input Monitoring Software 2 Window Management File 3 Key Press Information Notification Definition File 4 Screen List File 5 Definition File 6 Window 10 Numerical Control Device 41 Display Screen 42 Software Key 43 General Key

Claims (2)

画面レイアウトに応じて画面上に複数のアプリケーションソフトウェアのウィンドウを配置し表示する表示器と、前記ウィンドウに表示されたアプリケーションの操作を行う複数のファンクションキーを有する数値制御装置において、
前記画面レイアウト毎に前記ファンクションキーがどのウィンドウの操作を行うかを定義した定義データを記憶する定義データ記憶手段と、
前記画面レイアウトと前記定義データとの対応付けした画面リストデータを記憶する画面リストデータ記憶手段と、
前記画面上に表示される画面レイアウトの変更を監視し、該画面レイアウトの変更があったときに前記画面リストデータを参照し該画面リストデータに基づいて選択された画面レイアウトの定義データを前記定義データ記憶手段から選択して読み込むと共に、前記複数のファンクションキーの押下を監視し、該定義データに基づいて指定されたウィンドウにファンクションキーが押下されたことを前記ウィンドウに通知するキー入力監視手段と、を有し、
通知されたファンクションキーに応じて前記アプリケーションの操作が行われることを特徴とする複数のファンクションキーを有する数値制御装置。
In a numerical controller having a plurality of function keys for operating the application displayed in the window, and a display for arranging and displaying a plurality of application software windows on the screen according to the screen layout,
Definition data storage means for storing definition data defining which window the function key performs for each screen layout;
Screen list data storage means for storing screen list data associated with the screen layout and the definition data;
Changes in the screen layout displayed on the screen are monitored, and when the screen layout is changed, the screen list data is referred to and the definition data of the screen layout selected based on the screen list data is defined. Key input monitoring means for selecting and reading from the data storage means, monitoring the pressing of the plurality of function keys, and notifying the window that the function key has been pressed in a window designated based on the definition data; Have
A numerical control apparatus having a plurality of function keys, wherein the operation of the application is performed in accordance with the notified function keys.
前記選択された画面レイアウトのアプリケーションのウィンドウサイズの変更を監視し、前記ウィンドウサイズの変更があったときに前記ウィンドウサイズに応じて読み込まれている定義データを更新する更新手段を有することを特徴とする請求項1に記載の複数のファンクションキーを有する数値制御装置。   An update unit that monitors a change in the window size of the application having the selected screen layout and updates definition data read in accordance with the window size when the window size is changed. A numerical control apparatus having a plurality of function keys according to claim 1.
JP2008323421A 2008-12-19 2008-12-19 Numerical control device having a plurality of function keys Active JP5161057B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008323421A JP5161057B2 (en) 2008-12-19 2008-12-19 Numerical control device having a plurality of function keys

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008323421A JP5161057B2 (en) 2008-12-19 2008-12-19 Numerical control device having a plurality of function keys

Publications (2)

Publication Number Publication Date
JP2010146329A true JP2010146329A (en) 2010-07-01
JP5161057B2 JP5161057B2 (en) 2013-03-13

Family

ID=42566701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008323421A Active JP5161057B2 (en) 2008-12-19 2008-12-19 Numerical control device having a plurality of function keys

Country Status (1)

Country Link
JP (1) JP5161057B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018147237A (en) * 2017-03-06 2018-09-20 京セラ株式会社 Electronic apparatus, control method, and control program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6252608A (en) * 1985-09-02 1987-03-07 Fanuc Ltd Interactive nc program generating method
JPH02138607A (en) * 1988-10-14 1990-05-28 Nachi Fujikoshi Corp Numerical controller
JPH05143142A (en) * 1991-11-20 1993-06-11 Okuma Mach Works Ltd Numerical controller
JPH0659716A (en) * 1992-08-06 1994-03-04 Okuma Mach Works Ltd Composite numerical controller
JPH06110526A (en) * 1992-09-30 1994-04-22 Toshiba Mach Co Ltd Nc device with function key
JP2002132312A (en) * 2000-10-24 2002-05-10 Hitachi Seiki Co Ltd Numerical controller capable of display data setting

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6252608A (en) * 1985-09-02 1987-03-07 Fanuc Ltd Interactive nc program generating method
JPH02138607A (en) * 1988-10-14 1990-05-28 Nachi Fujikoshi Corp Numerical controller
JPH05143142A (en) * 1991-11-20 1993-06-11 Okuma Mach Works Ltd Numerical controller
JPH0659716A (en) * 1992-08-06 1994-03-04 Okuma Mach Works Ltd Composite numerical controller
JPH06110526A (en) * 1992-09-30 1994-04-22 Toshiba Mach Co Ltd Nc device with function key
JP2002132312A (en) * 2000-10-24 2002-05-10 Hitachi Seiki Co Ltd Numerical controller capable of display data setting

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018147237A (en) * 2017-03-06 2018-09-20 京セラ株式会社 Electronic apparatus, control method, and control program

Also Published As

Publication number Publication date
JP5161057B2 (en) 2013-03-13

Similar Documents

Publication Publication Date Title
JP6144582B2 (en) NC machine tool operation device
JP4836911B2 (en) Numerical control device that enables operation according to the level of the operator
TWI465868B (en) Sequence program design support device
CN106919144B (en) Has the numerical control device for confirming the unit of program execution state
JP6923499B2 (en) Information processing device
JP2006297671A (en) Screen display control device of injection molding machine
JP5426727B2 (en) Numerical control device for displaying virtual operation panel
JP2013257782A (en) Numerical control device for machine tool with operation support control section
CN111610754A (en) Picture creation device and picture creation system
JP5161057B2 (en) Numerical control device having a plurality of function keys
JP5113931B1 (en) Numerical control device with changeable user interface
JP6878367B2 (en) Numerical control device
JP6356722B2 (en) A numerical controller that improves production processes.
JP6557295B2 (en) Parameter setting support device
CN117501239A (en) Picture generation device, picture generation system, and computer-readable storage medium
JP6257849B2 (en) Numerical control device and display control method
JP2020170266A (en) Ladder display device
JP5581514B2 (en) Drawing device and drawing program
WO2022269816A9 (en) Numerical control device, screen creation system, and storage medium for storing instruction readable by numerical control device
WO2021200653A1 (en) Control device
WO2021241436A1 (en) Control device and control method
WO2024042633A1 (en) Machining program editing device and machining program editing method
EP0519077A1 (en) Conversational type numerical control device
JP7376754B1 (en) Screen creation support device, screen operation support device, and computer-readable storage medium
JP2008191802A (en) Nc program editing device, nc program edit control program, and recording medium for nc program edit control

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110804

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121120

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121213

R150 Certificate of patent or registration of utility model

Ref document number: 5161057

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151221

Year of fee payment: 3