JPWO2018051435A1 - Numerical controller - Google Patents

Numerical controller Download PDF

Info

Publication number
JPWO2018051435A1
JPWO2018051435A1 JP2017515989A JP2017515989A JPWO2018051435A1 JP WO2018051435 A1 JPWO2018051435 A1 JP WO2018051435A1 JP 2017515989 A JP2017515989 A JP 2017515989A JP 2017515989 A JP2017515989 A JP 2017515989A JP WO2018051435 A1 JPWO2018051435 A1 JP WO2018051435A1
Authority
JP
Japan
Prior art keywords
command
unit
plane
machine tool
movement amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2017515989A
Other languages
Japanese (ja)
Inventor
幸弘 井内
幸弘 井内
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of JPWO2018051435A1 publication Critical patent/JPWO2018051435A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/409Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by using manual data input [MDI] or by using control panel, e.g. controlling functions with the panel; characterised by control panel details or by setting parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • User Interface Of Digital Computer (AREA)
  • Numerical Control (AREA)

Abstract

ジェスチャ操作による入力を受け付ける操作エリアを有し、操作エリアに工作機械及び工作機械の加工対象物であるワークを特定の方向から見た場合の指令平面を表示するタッチパネルと、ピンチ操作の相対的な操作量に応じた拡縮率を算出する拡縮率算出部と、拡縮率に基づいて操作エリアに入力されたドラッグ操作の操作量を工作機械の駆動部の動作量に変換するための指令単位を算出する指令単位決定部と、ドラッグ操作の操作量及び指令単位を用いて駆動部の移動量を算出して工作機械に出力する移動量生成部と、を備えることを特徴とする。  It has an operation area that accepts input by gesture operation, and the operation area displays the command plane when the machine tool and the workpiece that is the workpiece of the machine tool are viewed from a specific direction, and the relative pinch operation An enlargement / reduction ratio calculation unit that calculates the enlargement / reduction ratio according to the operation amount, and a command unit for converting the operation amount of the drag operation input to the operation area based on the enlargement / reduction ratio into the operation amount of the drive unit of the machine tool And a movement amount generation unit that calculates a movement amount of the drive unit using the operation amount and command unit of the drag operation and outputs the movement amount to the machine tool.

Description

本発明は、工作機械を制御する数値制御装置に関する。   The present invention relates to a numerical controller for controlling a machine tool.

従来、数値制御装置(以下、適宜NC(Numerical Control)装置と称する)は、加工プログラムに記載された加工位置及び加工速度の命令を示す加工指令に対して補正処理を行い、駆動指令を生成して工作機械を制御することで、高速かつ高精度な加工を実現している。NC装置は、タッチパネルを搭載し、ジェスチャ操作によって工作機械を制御するものが知られている。   Conventionally, a numerical control device (hereinafter referred to as NC (Numerical Control) device as appropriate) performs a correction process on a machining command indicating a machining position and a machining speed described in a machining program, and generates a drive command. By controlling the machine tool, high-speed and high-precision machining is realized. An NC device that is equipped with a touch panel and controls a machine tool by a gesture operation is known.

NC装置が搭載された工作機械は、手動操作により機械を操作させる場合、ハンドルを使用して操作することが多い。しかし、ハンドルによる操作では、1軸毎に操作する必要があり、操作性が悪いという問題があった。   A machine tool equipped with an NC device is often operated using a handle when the machine is operated manually. However, there is a problem in that the operation by the handle requires the operation for each axis and the operability is poor.

近年、タッチパネルによるインターフェースが普及し、ジェスチャ操作を利用して対象物を操作させることが可能になった。ジェスチャ操作は、例えば、タッチパネルに表示された対象物に対してドラッグ操作を入力することで、対象物を操作することができる。ジェスチャ操作は、ハンドルによる操作と比較して、直感的で簡単に操作をすることができる。特許文献1には、ジェスチャ操作によって、ロボットを制御するロボット操作装置が記載されている。特許文献1に記載の発明は、ドラッグ操作によりロボットの動作を制御することで、操作性を向上させ、操作に要する時間を短縮することができる。   In recent years, interfaces using touch panels have become widespread, and it has become possible to operate objects using gesture operations. The gesture operation can be operated by inputting a drag operation on the object displayed on the touch panel, for example. The gesture operation can be performed intuitively and easily compared with the operation using the handle. Patent Document 1 describes a robot operation device that controls a robot by a gesture operation. The invention described in Patent Document 1 can improve the operability and reduce the time required for the operation by controlling the operation of the robot by a drag operation.

特開2015−83331号公報Japanese Patent Laying-Open No. 2015-83331

ここで、NC装置は、より簡単なジェスチャ操作で工作機械に所望の動作を行わせることで操作性が向上する。NC装置は、関連性の高いジェスチャ操作を工作機械の動作に割り当てることで、操作性を向上させているが、さらなる操作性の向上が望まれている。   Here, the operability of the NC device is improved by causing the machine tool to perform a desired operation with a simpler gesture operation. The NC device improves the operability by assigning highly relevant gesture operations to the operation of the machine tool, but further improvement in operability is desired.

本発明は、上記に鑑みてなされたものであって、工作機械を直感的に操作することができ、工作機械の操作性を向上させることができる数値制御装置を提供することを目的とする。   The present invention has been made in view of the above, and an object of the present invention is to provide a numerical control device that can intuitively operate a machine tool and improve the operability of the machine tool.

上述した課題を解決し、目的を達成するために、本発明に係る数値制御装置は、ジェスチャ操作による入力を受け付ける操作エリアを有し、前記操作エリアに工作機械及び前記工作機械の加工対象物であるワークを特定の方向から見た場合の指令平面を表示するタッチパネルと、ピンチ操作の相対的な操作量に応じた拡縮率を算出する拡縮率算出部と、前記拡縮率に基づいて前記操作エリアに入力されたドラッグ操作の操作量を前記工作機械の駆動部の動作量に変換するための指令単位を算出する指令単位決定部と、前記ドラッグ操作の前記操作量及び前記指令単位を用いて前記駆動部の移動量を算出して前記工作機械に出力する移動量生成部と、を備える。   In order to solve the above-described problems and achieve the object, a numerical control device according to the present invention has an operation area for receiving an input by a gesture operation, and the operation area includes a machine tool and a processing object of the machine tool. A touch panel that displays a command plane when a work is viewed from a specific direction, an enlargement / reduction ratio calculation unit that calculates an enlargement / reduction ratio according to the relative operation amount of the pinch operation, and the operation area based on the enlargement / reduction ratio A command unit determining unit that calculates a command unit for converting the operation amount of the drag operation input to the operation amount of the drive unit of the machine tool, and using the operation amount and the command unit of the drag operation. A movement amount generation unit that calculates a movement amount of the drive unit and outputs the movement amount to the machine tool.

本発明によれば、工作機械を直感的に操作することができ、工作機械の操作性を向上させることができる数値制御装置を提供できるという効果を奏する。   According to the present invention, it is possible to provide a numerical control device that can intuitively operate a machine tool and can improve the operability of the machine tool.

実施の形態1に係る数値制御装置の構成を示すブロック図1 is a block diagram showing a configuration of a numerical control device according to a first embodiment. 実施の形態1に係る数値制御装置のタッチパネル付表示器の表示例を示した説明図Explanatory drawing which showed the example of a display of the display with a touch panel of the numerical control apparatus which concerns on Embodiment 1. FIG. 実施の形態1に係る数値制御装置の指令平面の一例を示した説明図Explanatory drawing which showed an example of the command plane of the numerical control apparatus which concerns on Embodiment 1. 実施の形態1に係る数値制御装置の指令平面の他の例を示した説明図Explanatory drawing which showed the other example of the command plane of the numerical control apparatus which concerns on Embodiment 1. FIG. 実施の形態1に係る数値制御装置にピンチ操作を入力した場合の動作例を示す説明図Explanatory drawing which shows the operation example at the time of inputting pinch operation into the numerical control apparatus which concerns on Embodiment 1. FIG. 実施の形態1に係る数値制御装置にドラッグ操作を入力した場合の動作例を示す説明図Explanatory drawing which shows the operation example at the time of inputting drag operation into the numerical control apparatus which concerns on Embodiment 1. FIG. 実施の形態1に係る数値制御装置による数値制御の一例を示すフローチャートThe flowchart which shows an example of the numerical control by the numerical control apparatus which concerns on Embodiment 1. 実施の形態1に係る数値制御装置のハードウェア構成を示す概略構成図Schematic configuration diagram showing a hardware configuration of the numerical control device according to the first embodiment 実施の形態2に係る数値制御装置の構成を示すブロック図A block diagram showing a configuration of a numerical control device according to a second embodiment. 実施の形態2に係る数値制御装置による数値制御の一例を示すフローチャートThe flowchart which shows an example of the numerical control by the numerical control apparatus which concerns on Embodiment 2. 実施の形態3に係る数値制御装置の構成を示すブロック図A block diagram showing a configuration of a numerical control device according to a third embodiment. 実施の形態3に係る数値制御装置に2本指ドラッグ操作を入力した場合の動作例を示す説明図Explanatory drawing which shows the operation example at the time of inputting two-finger drag operation to the numerical control apparatus which concerns on Embodiment 3. FIG. 実施の形態3に係る数値制御装置による数値制御の一例を示すフローチャートThe flowchart which shows an example of the numerical control by the numerical control apparatus which concerns on Embodiment 3.

以下に、本発明の実施の形態に係る数値制御装置を図面に基づいて詳細に説明する。なお、この実施の形態により本発明が限定されるものではない。   Hereinafter, a numerical controller according to an embodiment of the present invention will be described in detail with reference to the drawings. In addition, this invention is not limited by this embodiment.

実施の形態1.
図1は、実施の形態1に係る数値制御装置1の構成を示すブロック図である。図2は、実施の形態1に係る数値制御装置1のタッチパネル付表示器2の表示例を示した説明図である。図3は、実施の形態1に係る数値制御装置1の指令平面の一例を示した説明図である。図4は、実施の形態1に係る数値制御装置1の指令平面の他の例を示した説明図である。図5は、実施の形態1に係る数値制御装置1にピンチ操作を入力した場合の動作例を示す説明図である。図6は、実施の形態1に係る数値制御装置1にドラッグ操作を入力した場合の動作例を示す説明図である。図7は、実施の形態1に係る数値制御装置1による数値制御の一例を示すフローチャートである。図8は、実施の形態1に係る数値制御装置1のハードウェア構成を示す概略構成図である。数値制御装置1は、図1に示すように、タッチパネル付表示器2と、ジェスチャ操作判定部3と、拡縮率算出部4と、指令単位決定部5と、移動量生成部6と、を備える。数値制御装置1は、入力されたジェスチャ操作に応じて工作機械100に移動指令値である移動量を出力するNC装置である。移動量とは、後述する工作機械100の駆動部8が単位周期の間に動作する動作量を表した指令値である。単位周期は、数値制御装置1の制御周期が例示されるが、これに限定されない。ジェスチャ操作とは、例えば、ピンチ操作、ドラッグ操作及び2本指ドラッグ操作である。ピンチ操作とは、2本の指を画面上に載せ、2本の指の間隔を狭める操作(以下、ピンチインと称する)及び2本の指の間隔を広げる操作(以下、ピンチアウトと称する)である。ドラッグ操作とは、1本の指を画面上に載せた状態でスライドさせ、任意の位置で画面から指を離す操作である。2本指ドラッグ操作とは、2本の指を画面上に載せた状態でスライドさせ、任意の位置で画面から2本の指を離す操作である。本実施の形態における工作機械100は、制御部7と、駆動部8と、工具22とを備える。制御部7は、移動量に応じて駆動部8の動作を制御する制御部である。制御部7は、例えば、サーボアンプである。駆動部8は、例えば、工具22をX軸、Y軸及びZ軸方向に駆動させるモータである。工具22は、図1及び図2に示すように、ワーク23の加工を行う工作機械100の加工部である。工具22は、例えば、ドリル、フライス及びバイトである。ワーク23は、工作機械100によって加工される加工対象物である。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing the configuration of the numerical control apparatus 1 according to the first embodiment. FIG. 2 is an explanatory diagram illustrating a display example of the touch panel-equipped display 2 of the numerical control device 1 according to the first embodiment. FIG. 3 is an explanatory diagram showing an example of a command plane of the numerical control device 1 according to the first embodiment. FIG. 4 is an explanatory diagram showing another example of the command plane of the numerical control device 1 according to the first embodiment. FIG. 5 is an explanatory diagram illustrating an operation example when a pinch operation is input to the numerical control device 1 according to the first embodiment. FIG. 6 is an explanatory diagram illustrating an operation example when a drag operation is input to the numerical control device 1 according to the first embodiment. FIG. 7 is a flowchart illustrating an example of numerical control by the numerical control apparatus 1 according to the first embodiment. FIG. 8 is a schematic configuration diagram illustrating a hardware configuration of the numerical control device 1 according to the first embodiment. As illustrated in FIG. 1, the numerical control device 1 includes a touch panel display 2, a gesture operation determination unit 3, an enlargement / reduction rate calculation unit 4, a command unit determination unit 5, and a movement amount generation unit 6. . The numerical control device 1 is an NC device that outputs a movement amount that is a movement command value to the machine tool 100 in accordance with an input gesture operation. The movement amount is a command value that represents an operation amount that the drive unit 8 of the machine tool 100 described later operates during a unit cycle. The unit period is exemplified by the control period of the numerical control apparatus 1, but is not limited thereto. The gesture operation is, for example, a pinch operation, a drag operation, and a two-finger drag operation. The pinch operation is an operation of placing two fingers on the screen to narrow the interval between the two fingers (hereinafter referred to as pinch-in) and an operation of increasing the interval between the two fingers (hereinafter referred to as pinch-out). is there. The drag operation is an operation of sliding with one finger placed on the screen and releasing the finger from the screen at an arbitrary position. The two-finger drag operation is an operation of sliding with two fingers placed on the screen and releasing the two fingers from the screen at an arbitrary position. Machine tool 100 in the present embodiment includes control unit 7, drive unit 8, and tool 22. The control unit 7 is a control unit that controls the operation of the drive unit 8 according to the amount of movement. The control unit 7 is, for example, a servo amplifier. The drive unit 8 is a motor that drives the tool 22 in the X-axis, Y-axis, and Z-axis directions, for example. As shown in FIGS. 1 and 2, the tool 22 is a processing part of the machine tool 100 that processes the workpiece 23. The tool 22 is, for example, a drill, a milling cutter, or a cutting tool. The workpiece 23 is a processing object to be processed by the machine tool 100.

タッチパネル付表示器2は、図2に示すように、タッチパネルである。タッチパネルとは、位置入力機能を備えるディスプレイである。タッチパネル付表示器2は、作業者がジェスチャ操作を入力した場合に、ジェスチャ操作に応じた信号をジェスチャ操作判定部3へ出力する。タッチパネル付表示器2は、図2から図4に示すように、操作エリア21を備える。操作エリア21は、ジェスチャ操作を受け付ける入力部である。操作エリア21は、図2、図3、及び図4に示すように、指令平面24ZX,24XY,24YZが表示される領域である。指令平面24ZX,24XY,24YZは、工具22及びワーク23を特定の方向から見た平面図である。指令平面24ZXは、図2に示すように、工具22及びワーク23をY軸方向から見た平面図である。指令平面24XYは、図3に示すように、工具22及びワーク23をZ軸方向から見た平面図である。指令平面24YZは、図4に示すように、工具22及びワーク23をX軸方向から見た平面図である。指令平面24ZX,24XY,24YZは、例えば、タッチパネル付表示器2が備えるスイッチ(不図示)を押すことで切り替えて表示される。指令平面24ZX,24XY,24YZに表示される工具22及びワーク23の形状情報及び位置情報は、作業者によって予め設定される。形状情報とは、例えば、工具22及びワーク23のCADデータである。位置情報とは、例えば、指令平面24ZX,24XY,24YZにおける工具22及びワーク23のX軸、Y軸、及びZ軸方向の座標情報である。   The display device 2 with a touch panel is a touch panel as shown in FIG. A touch panel is a display provided with a position input function. The display 2 with a touch panel outputs a signal corresponding to the gesture operation to the gesture operation determination unit 3 when the operator inputs the gesture operation. The display device 2 with a touch panel includes an operation area 21 as shown in FIGS. The operation area 21 is an input unit that receives a gesture operation. The operation area 21 is an area where command planes 24ZX, 24XY, and 24YZ are displayed, as shown in FIGS. The command planes 24ZX, 24XY, and 24YZ are plan views of the tool 22 and the work 23 viewed from a specific direction. The command plane 24ZX is a plan view of the tool 22 and the work 23 as seen from the Y-axis direction, as shown in FIG. The command plane 24XY is a plan view of the tool 22 and the work 23 as viewed from the Z-axis direction, as shown in FIG. The command plane 24YZ is a plan view of the tool 22 and the work 23 as seen from the X-axis direction, as shown in FIG. The command planes 24ZX, 24XY, and 24YZ are switched and displayed by, for example, pressing a switch (not shown) included in the display 2 with a touch panel. The shape information and position information of the tool 22 and the work 23 displayed on the command planes 24ZX, 24XY, and 24YZ are preset by the operator. The shape information is, for example, CAD data of the tool 22 and the workpiece 23. The position information is, for example, coordinate information in the X-axis, Y-axis, and Z-axis directions of the tool 22 and the work 23 on the command planes 24ZX, 24XY, and 24YZ.

なお、工具22及びワーク23の形状情報及び位置情報は、作業者によって予め設定されるとしたが、これに限定されない。工具22及びワーク23の形状情報及び位置情報は、例えば、数値制御装置1が工具22及びワーク23を撮影する光学機器と、光学機器が撮影した映像を解析する画像処理部と、を備え、画像処理部が光学機器の映像を解析することで、工具22及びワーク23の形状情報及び位置情報を取得し、設定する構成としてもよい。   Note that the shape information and position information of the tool 22 and the workpiece 23 are set in advance by the operator, but the present invention is not limited to this. The shape information and position information of the tool 22 and the workpiece 23 include, for example, an optical device that the numerical control device 1 photographs the tool 22 and the workpiece 23, and an image processing unit that analyzes an image captured by the optical device. The processing unit may be configured to acquire and set the shape information and position information of the tool 22 and the workpiece 23 by analyzing the image of the optical device.

タッチパネル付表示器2は、拡縮率算出部4から拡縮率の情報が入力された場合に、指令平面24ZX,24XY,24YZを拡縮率に応じた大きさで表示する。ここで、拡縮率とは、指令平面24ZX,24XY,24YZの基準となる表示サイズに対する大きさの比である。タッチパネル付表示器2は、例えば、拡縮率算出部4から入力される拡縮率が2であった場合に、基準となる表示サイズの2倍に拡大した大きさで指令平面24ZX,24XY,24YZを操作エリア21に表示する。   The display 2 with a touch panel displays the command planes 24ZX, 24XY, and 24YZ in a size corresponding to the enlargement / reduction ratio when the enlargement / reduction ratio information is input from the enlargement / reduction ratio calculation unit 4. Here, the enlargement / reduction ratio is a ratio of the size to the reference display size of the command planes 24ZX, 24XY, 24YZ. For example, when the enlargement / reduction ratio input from the enlargement / reduction ratio calculation unit 4 is 2, the display device with a touch panel 2 displays the command planes 24ZX, 24XY, and 24YZ in a size that is twice the reference display size. It is displayed in the operation area 21.

ジェスチャ操作判定部3は、図1に示すように、タッチパネル付表示器2から入力された信号を解析し、タッチパネル付表示器2に入力されたジェスチャ操作の種類を判定する。ジェスチャ操作判定部3は、ジェスチャ操作がピンチ操作であると判定した場合に、ピンチ操作の相対的操作量を拡縮率算出部4に出力する。ジェスチャ操作判定部3は、ジェスチャ操作がドラッグ操作であると判定した場合に、移動量生成部6にドラッグ操作の操作量を制御周期毎に出力する。ドラッグ操作の操作量とは、例えば、図6に示すように、操作エリア21に指令平面24ZXを表示する場合には、指を画面上に載せた位置P1を基準として画面から指を離した位置P2までZ軸方向及びX軸方向にそれぞれスライドした距離である。操作エリア21に指令平面24XYを表示する場合、ドラッグ操作の操作量は、指を画面上に載せた位置を基準として画面から指を離した位置までX軸方向及びY軸方向にそれぞれスライドした距離である。操作エリア21に指令平面24YZを表示する場合、ドラッグ操作の操作量は、指を画面上に載せた位置を基準として画面から指を離した位置までY軸方向及びZ軸方向にそれぞれスライドした距離である。   As shown in FIG. 1, the gesture operation determination unit 3 analyzes a signal input from the display 2 with a touch panel and determines the type of gesture operation input to the display 2 with a touch panel. When it is determined that the gesture operation is a pinch operation, the gesture operation determination unit 3 outputs the relative operation amount of the pinch operation to the enlargement / reduction ratio calculation unit 4. When it is determined that the gesture operation is a drag operation, the gesture operation determination unit 3 outputs the operation amount of the drag operation to the movement amount generation unit 6 for each control cycle. For example, when the command plane 24ZX is displayed in the operation area 21, as shown in FIG. 6, the operation amount of the drag operation is a position where the finger is released from the screen on the basis of the position P1 where the finger is placed on the screen. This is the distance of sliding in the Z-axis direction and the X-axis direction up to P2. When the command plane 24XY is displayed in the operation area 21, the operation amount of the drag operation is the distance of sliding in the X-axis direction and the Y-axis direction to the position where the finger is released from the screen on the basis of the position where the finger is placed on the screen. It is. When the command plane 24YZ is displayed in the operation area 21, the operation amount of the drag operation is the distance of sliding in the Y-axis direction and the Z-axis direction to the position where the finger is released from the screen based on the position where the finger is placed on the screen. It is.

拡縮率算出部4は、図5に示すように、ジェスチャ操作判定部3から入力されるピンチ操作の相対的操作量に基づいて拡縮率を算出する。拡縮率算出部4は、図1に示すように、タッチパネル付表示器2及び指令単位決定部5に拡縮率を出力する。   As shown in FIG. 5, the enlargement / reduction ratio calculation unit 4 calculates the enlargement / reduction ratio based on the relative operation amount of the pinch operation input from the gesture operation determination unit 3. As shown in FIG. 1, the enlargement / reduction ratio calculation unit 4 outputs the enlargement / reduction ratio to the display 2 with a touch panel and the command unit determination unit 5.

指令単位決定部5は、図1に示すように、拡縮率算出部4から入力される拡縮率に応じて指令単位を算出する。ここで、指令単位とは、ドラッグ操作の操作量を工作機械100の制御部7に出力する移動量に変換する変換係数である。指令単位は、例えば、拡縮率が1の場合に、10である。つまり、指令単位は、例えば、拡縮率が1であり、かつドラッグ操作の操作量が10cmであった場合に、ドラッグ操作の操作量を100cmの移動量に変換する変換係数である。指令単位決定部5は、例えば、拡縮率が1から0.5に変化した場合に、指令単位を2倍にする。具体的には、指令単位決定部5は、ピンチイン操作によって指令平面24ZX,24XY,24YZの大きさが1/2に縮小した場合に、指令単位を2倍に変換する。指令単位決定部5は、例えば、拡縮率が1から2に変化した場合に、指令単位を1/2倍にする。具体的には、指令単位決定部5は、ピンチアウト操作によって指令平面24ZX,24XY,24YZの大きさが2倍に拡大した場合に、指令単位を1/2倍に変換する。指令単位決定部5は、指令単位を移動量生成部6に出力する。   As shown in FIG. 1, the command unit determination unit 5 calculates a command unit according to the expansion / contraction rate input from the expansion / contraction rate calculation unit 4. Here, the command unit is a conversion coefficient for converting the operation amount of the drag operation into the movement amount output to the control unit 7 of the machine tool 100. For example, when the scaling ratio is 1, the command unit is 10. That is, the command unit is, for example, a conversion coefficient for converting the operation amount of the drag operation into a movement amount of 100 cm when the enlargement / reduction ratio is 1 and the operation amount of the drag operation is 10 cm. For example, the command unit determination unit 5 doubles the command unit when the scaling ratio changes from 1 to 0.5. Specifically, the command unit determination unit 5 converts the command unit to double when the size of the command planes 24ZX, 24XY, and 24YZ is reduced to ½ by a pinch-in operation. For example, when the scaling ratio changes from 1 to 2, the command unit determining unit 5 halves the command unit. Specifically, the command unit determination unit 5 converts the command unit to ½ when the size of the command planes 24ZX, 24XY, and 24YZ is doubled by a pinch-out operation. The command unit determination unit 5 outputs the command unit to the movement amount generation unit 6.

移動量生成部6は、図1に示すように、ジェスチャ操作判定部3から入力されるドラッグ操作の操作量と指令単位決定部5から入力される指令単位との積から移動量を制御周期毎に算出する。移動量生成部6は、算出した移動量を制御部7に出力する。制御部7は、例えば、移動量生成部6から入力される移動量に基づいて、工具22をX軸、Y軸及びZ軸方向に駆動させる。   As shown in FIG. 1, the movement amount generation unit 6 calculates the movement amount for each control period from the product of the operation amount of the drag operation input from the gesture operation determination unit 3 and the command unit input from the command unit determination unit 5. To calculate. The movement amount generation unit 6 outputs the calculated movement amount to the control unit 7. For example, the control unit 7 drives the tool 22 in the X-axis, Y-axis, and Z-axis directions based on the movement amount input from the movement amount generation unit 6.

数値制御装置1の機能がソフトウェアで実現される場合、数値制御装置1は、プロセッサ及びメモリを含む。数値制御装置1が有するジェスチャ操作判定部3、拡縮率算出部4、指令単位決定部5及び移動量生成部6の機能は、プロセッサによって実現される。プロセッサは、CPU(Central Processing Unit:中央処理装置)、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、又はDSP(Digital Signal Processor)ともいう。   When the function of the numerical control device 1 is realized by software, the numerical control device 1 includes a processor and a memory. The functions of the gesture operation determination unit 3, the enlargement / reduction ratio calculation unit 4, the command unit determination unit 5, and the movement amount generation unit 6 included in the numerical control device 1 are realized by a processor. The processor is also referred to as a CPU (Central Processing Unit), a processing device, an arithmetic device, a microprocessor, a microcomputer, or a DSP (Digital Signal Processor).

この場合、ジェスチャ操作判定部3、拡縮率算出部4、指令単位決定部5及び移動量生成部6の機能は、ソフトウェア、ファームウェア、又はソフトウェアとファームウェアとの組合せにより実現される。ソフトウェア及びファームウェアはプログラムとして記述され、メモリに記憶される。プロセッサは、メモリに記憶されたプログラムを読み出して実行することにより、ジェスチャ操作判定部3、拡縮率算出部4、指令単位決定部5及び移動量生成部6の機能を実現する。これらのプログラムは、ジェスチャ操作判定部3、拡縮率算出部4、指令単位決定部5及び移動量生成部6が実行する手順をコンピュータに実行させるものであるともいえる。   In this case, the functions of the gesture operation determination unit 3, the enlargement / reduction ratio calculation unit 4, the command unit determination unit 5, and the movement amount generation unit 6 are realized by software, firmware, or a combination of software and firmware. Software and firmware are described as programs and stored in a memory. The processor implements the functions of the gesture operation determination unit 3, the enlargement / reduction ratio calculation unit 4, the command unit determination unit 5, and the movement amount generation unit 6 by reading and executing a program stored in the memory. These programs can be said to cause the computer to execute the procedures executed by the gesture operation determination unit 3, the expansion / contraction rate calculation unit 4, the command unit determination unit 5, and the movement amount generation unit 6.

メモリは、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリー、EPROM(Erasable Programmable Read Only Memory)、及びEEPROM(Electrically Erasable Programmable Read Only Memory)といった揮発性又は不揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、及びDVD(Digital Versatile Disc)が該当する。   Memory is volatile or non-volatile semiconductor memory such as RAM (Random Access Memory), ROM (Read Only Memory), flash memory, EPROM (Erasable Programmable Read Only Memory), and EEPROM (Electrically Erasable Programmable Read Only Memory), magnetic Discs, flexible discs, optical discs, compact discs, mini discs, and DVDs (Digital Versatile Discs) are applicable.

数値制御装置1が有するジェスチャ操作判定部3、拡縮率算出部4、指令単位決定部5及び移動量生成部6の機能は、処理回路によって実現されてもよい。処理回路は、ジェスチャ操作判定部3、拡縮率算出部4、指令単位決定部5及び移動量生成部6の機能を実現するための専用のハードウェアである。処理回路は、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ASIC(Application Specific Integrated Circuit)、FPGA(Field Programmable Gate Array)、又はこれらを組み合わせたものが該当する。ジェスチャ操作判定部3、拡縮率算出部4、指令単位決定部5及び移動量生成部6のそれぞれの機能を異なる処理回路が実現してもよいし、それぞれの機能をまとめて1つの処理回路が実現してもよい。   The functions of the gesture operation determination unit 3, the enlargement / reduction ratio calculation unit 4, the command unit determination unit 5, and the movement amount generation unit 6 included in the numerical control device 1 may be realized by a processing circuit. The processing circuit is dedicated hardware for realizing the functions of the gesture operation determination unit 3, the enlargement / reduction ratio calculation unit 4, the command unit determination unit 5, and the movement amount generation unit 6. The processing circuit corresponds to a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or a combination thereof. Different functions may be realized for the respective functions of the gesture operation determination unit 3, the enlargement / reduction ratio calculation unit 4, the command unit determination unit 5, and the movement amount generation unit 6. It may be realized.

ジェスチャ操作判定部3、拡縮率算出部4、指令単位決定部5及び移動量生成部6の各機能は、一部が専用のハードウェアで実現され、一部がソフトウェア又はファームウェアで実現されてもよい。このように、数値制御装置1は、ハードウェア、ソフトウェア、ファームウェア又はこれらの組合せによって、ジェスチャ操作判定部3、拡縮率算出部4、指令単位決定部5及び移動量生成部6の各機能を実現することができる。   Each of the functions of the gesture operation determination unit 3, the enlargement / reduction ratio calculation unit 4, the command unit determination unit 5, and the movement amount generation unit 6 is partially realized by dedicated hardware and partially realized by software or firmware. Good. As described above, the numerical control device 1 realizes the functions of the gesture operation determination unit 3, the enlargement / reduction rate calculation unit 4, the command unit determination unit 5, and the movement amount generation unit 6 by hardware, software, firmware, or a combination thereof. can do.

次に、図5及び図6を参照して、実施の形態1に係る数値制御装置1を用いて工作機械100を操作する方法の一例を説明する。以下の説明においては、操作エリア21に指令平面24ZXが表示されている場合の操作方法について説明する。なお、操作エリア21に指令平面24XY、又は指令平面24YZが表示されている場合の操作方法は、操作エリア21に指令平面24ZXが表示されている場合と同様であるため、説明を省略する。   Next, an example of a method for operating the machine tool 100 using the numerical control device 1 according to the first embodiment will be described with reference to FIGS. 5 and 6. In the following description, an operation method when the command plane 24ZX is displayed in the operation area 21 will be described. The operation method when the command plane 24XY or the command plane 24YZ is displayed in the operation area 21 is the same as that when the command plane 24ZX is displayed in the operation area 21, and thus the description thereof is omitted.

作業者は、図5に示すように、指令平面24ZXを縮小させる場合、ピンチイン操作を行う。数値制御装置1は、ピンチイン操作の相対的操作量に基づいて、指令平面24ZXを縮小して表示する。数値制御装置1は、ピンチイン操作の相対的操作量に基づいて、拡縮率を算出する。このような操作方法により、2本の指の間隔を狭めることで、指令平面24ZXを縮小することができる。その結果、直感的な操作で、指令平面24ZXを縮小して表示することができる。   As shown in FIG. 5, the operator performs a pinch-in operation when reducing the command plane 24ZX. The numerical controller 1 reduces and displays the command plane 24ZX based on the relative operation amount of the pinch-in operation. The numerical controller 1 calculates the enlargement / reduction ratio based on the relative operation amount of the pinch-in operation. By such an operation method, the command plane 24ZX can be reduced by narrowing the interval between two fingers. As a result, the command plane 24ZX can be reduced and displayed by an intuitive operation.

作業者は、指令平面24ZXを拡大させる場合、ピンチアウト操作を行う。数値制御装置1は、ピンチアウト操作の相対的操作量に基づいて、指令平面24ZXを拡大して表示する。数値制御装置1は、ピンチアウト操作の相対的操作量に基づいて、拡縮率を算出する。このような操作方法により、2本の指の間隔を広げることで、指令平面24ZXを拡大することができる。その結果、直感的な操作で、指令平面24ZXを拡大して表示することができる。   The operator performs a pinch-out operation when enlarging the command plane 24ZX. The numerical controller 1 enlarges and displays the command plane 24ZX based on the relative operation amount of the pinch-out operation. The numerical controller 1 calculates the enlargement / reduction ratio based on the relative operation amount of the pinch-out operation. By such an operation method, the command plane 24ZX can be enlarged by widening the interval between two fingers. As a result, the command plane 24ZX can be enlarged and displayed by an intuitive operation.

作業者は、図6に示すように、工作機械100の工具22を移動させる場合、ドラッグ操作を行う。より詳細には、まず、作業者は、操作エリア21に表示された工具22の位置P1を1本指でタッチする。これにより、作業者は、操作対象物が工具22であることを指定する。次に、作業者は、1本指が操作エリア21に触れた状態で、位置P1から位置P2まで1本指を移動する。位置P2は、工具22の移動先の位置である。図6に示す矢印26は、1本指が操作エリア21上を位置P1から位置P2まで移動した軌跡を示す。次に、作業者は、位置P2から1本指を離す。数値制御装置1は、ドラッグ操作の操作量と指令単位との積から制御周期毎の移動量を算出する。数値制御装置1は、移動量を工作機械100に出力する。工作機械100は、移動量に基づいた速度で工具22を位置P1から位置P2まで移動させる。このような操作方法により、1回の操作で工具22をZ軸方向及びX軸方向に移動させることができる。その結果、1軸ごとに工具22を操作して移動させる場合と比較して、直感的かつ簡単に工具22を操作することができる。   As shown in FIG. 6, the worker performs a drag operation when moving the tool 22 of the machine tool 100. More specifically, first, the operator touches the position P1 of the tool 22 displayed in the operation area 21 with one finger. Thereby, the worker specifies that the operation target is the tool 22. Next, the operator moves the one finger from the position P1 to the position P2 with one finger touching the operation area 21. The position P2 is a position to which the tool 22 is moved. An arrow 26 shown in FIG. 6 indicates a trajectory in which one finger moves on the operation area 21 from the position P1 to the position P2. Next, the worker releases one finger from the position P2. The numerical control device 1 calculates the movement amount for each control cycle from the product of the operation amount of the drag operation and the command unit. The numerical controller 1 outputs the movement amount to the machine tool 100. Machine tool 100 moves tool 22 from position P1 to position P2 at a speed based on the amount of movement. With such an operation method, the tool 22 can be moved in the Z-axis direction and the X-axis direction by a single operation. As a result, it is possible to operate the tool 22 intuitively and easily compared to the case where the tool 22 is operated and moved for each axis.

なお、操作対象物は、作業者が1本指でタッチすることで指定するとしたがこれに限定されない。操作対象物の指定方法は、例えば、作業者が操作対象物をシングルタップすることで指定する構成としてもよい。ここで、シングルタップとは、1本の指を画面上に載せて離す操作である。   Note that the operation target is specified by the operator touching with one finger, but is not limited thereto. For example, the operator may specify the operation target by single-tapping the operation target. Here, the single tap is an operation of placing one finger on the screen and releasing it.

図7は、実施の形態1に係る数値制御装置1による数値制御の一例を示すフローチャートである。次に、図1及び図7を参照して、実施の形態1に係る数値制御装置1の処理について説明する。   FIG. 7 is a flowchart illustrating an example of numerical control by the numerical control apparatus 1 according to the first embodiment. Next, processing of the numerical controller 1 according to the first embodiment will be described with reference to FIGS. 1 and 7.

ジェスチャ操作判定部3は、図1及び図7に示すように、タッチパネル付表示器2にジェスチャ操作が入力された場合に、ジェスチャ操作の種類を判定する(ステップS11)。   As shown in FIGS. 1 and 7, the gesture operation determination unit 3 determines the type of gesture operation when the gesture operation is input to the display 2 with a touch panel (step S11).

ジェスチャ操作判定部3は、ジェスチャ操作の種類がピンチ操作であった場合に、ピンチ操作の相対的操作量を拡縮率算出部4に出力する。拡縮率算出部4は、ピンチ操作の相対的操作量に応じて拡縮率を算出する(ステップS12)。   The gesture operation determination unit 3 outputs the relative operation amount of the pinch operation to the enlargement / reduction ratio calculation unit 4 when the type of the gesture operation is a pinch operation. The enlargement / reduction ratio calculation unit 4 calculates the enlargement / reduction ratio according to the relative operation amount of the pinch operation (step S12).

拡縮率算出部4は、拡縮率をタッチパネル付表示器2に出力する。タッチパネル付表示器2は、拡縮率に基づいて画面の表示を拡縮させる(ステップS13)。   The enlargement / reduction ratio calculation unit 4 outputs the enlargement / reduction ratio to the display 2 with a touch panel. The display device with a touch panel 2 enlarges / reduces the screen display based on the enlargement / reduction ratio (step S13).

拡縮率算出部4は、拡縮率を指令単位決定部5に出力する。指令単位決定部5は、拡縮率に応じて指令単位を算出する。指令単位決定部5は、算出した指令単位を移動量生成部6に出力する(ステップS14)。   The enlargement / reduction ratio calculation unit 4 outputs the enlargement / reduction ratio to the command unit determination unit 5. The command unit determination unit 5 calculates a command unit according to the enlargement / reduction ratio. The command unit determination unit 5 outputs the calculated command unit to the movement amount generation unit 6 (step S14).

ジェスチャ操作判定部3は、ジェスチャ操作の種類がドラッグ操作であった場合に、ドラッグ操作の操作量を移動量生成部6に出力する。移動量生成部6は、ドラッグ操作の操作量及び指令単位に基づいて移動量を算出する(ステップS15)。   The gesture operation determination unit 3 outputs the operation amount of the drag operation to the movement amount generation unit 6 when the type of the gesture operation is a drag operation. The movement amount generator 6 calculates the movement amount based on the operation amount of the drag operation and the command unit (step S15).

移動量生成部6は、算出した移動量を工作機械100の制御部7に出力する(ステップS16)。   The movement amount generation unit 6 outputs the calculated movement amount to the control unit 7 of the machine tool 100 (step S16).

数値制御装置1は、タッチパネル付表示器2がジェスチャ操作に応じた信号をジェスチャ操作判定部3へ出力し、ジェスチャ操作がドラッグ操作である場合にジェスチャ操作判定部3がドラッグ操作の操作量を移動量生成部6に出力する。数値制御装置1は、ジェスチャ操作がピンチ操作である場合にジェスチャ操作判定部3がピンチ操作の相対的操作量を拡縮率算出部4に出力し、拡縮率算出部4がピンチ操作の相対的操作量に応じた拡縮率を算出する。数値制御装置1は、指令単位決定部5が拡縮率に基づいて指令単位を調整し、移動量生成部6がドラッグ操作の操作量と指令単位との積から求めた移動量を工作機械100に出力する。このような処理により、工具22とワーク23との距離が離れている場合には、ピンチイン操作を行うことで操作エリア21に表示される指令平面24ZX,24XY,24YZの縮小と指令単位の増加とを同時に行うことができる。また、工具22とワーク23との距離が近い場合に、ピンチアウト操作を行うことで操作エリア21に表示される指令平面24ZX,24XY,24YZの拡大と指令単位の減少とを同時に行うことができる。これにより、1回のピンチ操作で操作エリア21の拡縮と操作エリア21の拡縮率に適した指令単位の設定とを行うことができるので、工作機械100を指令平面24ZX,24XY,24YZの拡縮率に適した移動速度で操作することができる。その結果、簡単かつ直感的な操作で工作機械100を操作することができ、工作機械100の操作性を向上させることができる。   In the numerical control device 1, the display 2 with a touch panel outputs a signal corresponding to the gesture operation to the gesture operation determination unit 3. When the gesture operation is a drag operation, the gesture operation determination unit 3 moves the operation amount of the drag operation. Output to the quantity generator 6. In the numerical control device 1, when the gesture operation is a pinch operation, the gesture operation determination unit 3 outputs the relative operation amount of the pinch operation to the enlargement / reduction rate calculation unit 4, and the enlargement / reduction rate calculation unit 4 performs the relative operation of the pinch operation. The expansion / contraction rate corresponding to the amount is calculated. In the numerical control apparatus 1, the command unit determination unit 5 adjusts the command unit based on the enlargement / reduction ratio, and the movement amount generation unit 6 gives the movement amount obtained from the product of the drag operation amount and the command unit to the machine tool 100. Output. As a result of such processing, when the distance between the tool 22 and the work 23 is long, the command planes 24ZX, 24XY, and 24YZ displayed in the operation area 21 are reduced and the command unit is increased by performing a pinch-in operation. Can be performed simultaneously. Further, when the distance between the tool 22 and the work 23 is short, the command planes 24ZX, 24XY, and 24YZ displayed in the operation area 21 can be enlarged and the command unit can be reduced simultaneously by performing a pinch-out operation. . As a result, the operation area 21 can be enlarged / reduced and a command unit suitable for the enlargement / reduction ratio of the operation area 21 can be set by a single pinch operation. It can be operated at a moving speed suitable for. As a result, the machine tool 100 can be operated with a simple and intuitive operation, and the operability of the machine tool 100 can be improved.

また、数値制御装置1は、ピンチ操作による拡縮率に基づいて指令単位を変更することができるため、工具22とワーク23が離れている場合には操作エリア21を縮小し速い速度で移動させることができる。また、数値制御装置1は、工具22とワーク23が近い場合には操作エリア21を拡大し遅い速度で移動させることができる。このように、数値制御装置1は、状況に応じて簡単かつ直感的な操作でドラッグ操作の操作量に対する工具22の移動速度を変更することが可能となる。   Further, since the numerical control device 1 can change the command unit based on the enlargement / reduction ratio by the pinch operation, when the tool 22 and the work 23 are separated, the operation area 21 is reduced and moved at a high speed. Can do. Further, the numerical control device 1 can enlarge the operation area 21 and move it at a slow speed when the tool 22 and the work 23 are close to each other. Thus, the numerical control device 1 can change the moving speed of the tool 22 with respect to the operation amount of the drag operation by a simple and intuitive operation according to the situation.

実施の形態2.
図9は、実施の形態2に係る数値制御装置1aの構成を示すブロック図である。図10は、実施の形態2に係る数値制御装置1aによる数値制御の一例を示すフローチャートである。数値制御装置1aの説明において、数値制御装置1と同様の構成には数値制御装置1と同一の符号群を用い、その詳細な説明を省略する。数値制御装置1aは、位置更新部41a及び速度制限判定部42aを備えていること、並びにタッチパネル付表示器2に代えてタッチパネル付表示器2aを備えていること及び移動量生成部6に代えて移動量生成部6aを備えていること以外は、実施の形態1に係る数値制御装置1と同じである。
Embodiment 2. FIG.
FIG. 9 is a block diagram illustrating a configuration of the numerical control device 1a according to the second embodiment. FIG. 10 is a flowchart illustrating an example of numerical control by the numerical control device 1a according to the second embodiment. In the description of the numerical control device 1a, the same reference numerals as those of the numerical control device 1 are used for the same configuration as the numerical control device 1, and detailed description thereof is omitted. The numerical controller 1 a includes a position update unit 41 a and a speed limit determination unit 42 a, and includes a touch panel-equipped display 2 a instead of the touch panel-equipped display 2 and replaces the movement amount generation unit 6. The numerical control device 1 is the same as the numerical control device 1 according to the first embodiment except that the movement amount generation unit 6a is provided.

数値制御装置1aは、図9に示すように、タッチパネル付表示器2aと、ジェスチャ操作判定部3と、拡縮率算出部4と、指令単位決定部5と、位置更新部41aと、速度制限判定部42aと、移動量生成部6aとを備える。   As shown in FIG. 9, the numerical controller 1a includes a touch panel display 2a, a gesture operation determination unit 3, an enlargement / reduction ratio calculation unit 4, a command unit determination unit 5, a position update unit 41a, and a speed limit determination. Unit 42a and a movement amount generation unit 6a.

タッチパネル付表示器2aは、速度制限区域を速度制限判定部42aに出力すること及び制限速度を移動量生成部6aに出力すること以外は、タッチパネル付表示器2と同じである。ここで、速度制限区域とは、例えば、工作機械内外の物体と工具22とが干渉する可能性がある領域、工具22のストロークリミットの近傍及びワーク23の近傍を示す位置情報である。ここで、制限速度は、工具22が速度制限区域に位置する場合の工具22の速度の制限値である。速度制限区域及び制限速度は、作業者によって予め設定される。タッチパネル付表示器2aは、速度制限区域を速度制限判定部42aに出力する。タッチパネル付表示器2aは、制限速度を移動量生成部6aに出力する。   The touch panel display 2a is the same as the touch panel display 2 except that the speed limit area is output to the speed limit determination unit 42a and the speed limit is output to the movement amount generation unit 6a. Here, the speed limit area is position information indicating, for example, a region where an object inside or outside the machine tool may interfere with the tool 22, the vicinity of the stroke limit of the tool 22, and the vicinity of the workpiece 23. Here, the speed limit is a speed limit value of the tool 22 when the tool 22 is located in the speed limit area. The speed limit area and the speed limit are preset by the operator. The touch panel-equipped display 2a outputs the speed limit area to the speed limit determination unit 42a. The touch panel display 2a outputs the speed limit to the movement amount generation unit 6a.

位置更新部41aは、移動量生成部6aが算出した制御周期毎の移動量が入力される。位置更新部41aは、移動量生成部6aから入力される移動量を積算する。位置更新部41aは、移動量の積算値から工具22の現在の位置情報を算出する。以下において、工具22の現在の位置情報を適宜、現在位置と称する。位置更新部41aは、速度制限判定部42aに現在位置を出力する。   The position update unit 41a receives the movement amount for each control cycle calculated by the movement amount generation unit 6a. The position update unit 41a integrates the movement amount input from the movement amount generation unit 6a. The position update unit 41a calculates the current position information of the tool 22 from the integrated value of the movement amount. Hereinafter, the current position information of the tool 22 is appropriately referred to as a current position. The position update unit 41a outputs the current position to the speed limit determination unit 42a.

速度制限判定部42aは、位置更新部41aから入力された現在位置と、タッチパネル付表示器2aから入力された速度制限区域とを比較し、工具22が速度制限区域に位置しているか否かを判定する。速度制限判定部42aは、工具22が速度制限区域に位置していると判定した場合に、移動量生成部6aに速度制限判定信号を出力する。   The speed limit determination unit 42a compares the current position input from the position update unit 41a with the speed limit area input from the touch panel-equipped display 2a, and determines whether the tool 22 is located in the speed limit area. judge. When it is determined that the tool 22 is located in the speed limit area, the speed limit determination unit 42a outputs a speed limit determination signal to the movement amount generation unit 6a.

移動量生成部6aは、速度制限判定信号が入力された場合に制御周期毎の移動量を調整すること以外は移動量生成部6と同じである。移動量生成部6aは、速度制限判定部42aから速度制限判定信号が入力された場合に、工具22の現在の移動速度が制限速度を超えているか否かを判定する。具体的には、移動量生成部6aは、制御周期毎に算出する移動量から工具22の現在の移動速度を算出する。移動量生成部6aは、工具22の現在の移動速度とタッチパネル付表示器2aから入力される制限速度とを比較し、工具22の現在の移動速度が制限速度を超過しているか否かを判定する。移動量生成部6aは、工具22の現在の移動速度が制限速度を超過していると判定した場合に、工具22の移動速度が制限速度になるように移動量を補正する。つまり、制限速度と制御周期との積から制御周期毎の移動量の上限値を算出し、現在の移動量が制御周期毎の移動量の上限値以下となるように調整する。   The movement amount generation unit 6a is the same as the movement amount generation unit 6 except that the movement amount generation unit 6a adjusts the movement amount for each control period when a speed limit determination signal is input. The movement amount generation unit 6a determines whether or not the current movement speed of the tool 22 exceeds the limit speed when a speed limit determination signal is input from the speed limit determination unit 42a. Specifically, the movement amount generation unit 6a calculates the current movement speed of the tool 22 from the movement amount calculated for each control cycle. The movement amount generation unit 6a compares the current movement speed of the tool 22 with the speed limit input from the display 2a with a touch panel, and determines whether or not the current movement speed of the tool 22 exceeds the speed limit. To do. When it is determined that the current movement speed of the tool 22 exceeds the limit speed, the movement amount generation unit 6a corrects the movement amount so that the movement speed of the tool 22 becomes the limit speed. That is, the upper limit value of the movement amount for each control cycle is calculated from the product of the speed limit and the control cycle, and the current movement amount is adjusted to be equal to or less than the upper limit value of the movement amount for each control cycle.

次に、実施の形態2に係る数値制御装置1aの処理について説明する。図10は、実施の形態2に係る数値制御装置1aによる数値制御の一例を示すフローチャートである。なお、実施の形態2に係る数値制御装置1aは、ステップS11、ステップS12、ステップS13、及びステップS14については、実施の形態1に係る数値制御装置1と同じである。よって、実施の形態1と同様のステップについては、同様の符号を付して、説明を省略する。   Next, processing of the numerical control device 1a according to the second embodiment will be described. FIG. 10 is a flowchart illustrating an example of numerical control by the numerical control device 1a according to the second embodiment. The numerical control device 1a according to the second embodiment is the same as the numerical control device 1 according to the first embodiment with respect to step S11, step S12, step S13, and step S14. Therefore, the same steps as those in the first embodiment are denoted by the same reference numerals, and description thereof is omitted.

ジェスチャ操作判定部3は、図9及び図10に示すように、ジェスチャ操作の種類がドラッグ操作であった場合に、ドラッグ操作の操作量を移動量生成部6aに出力する。移動量生成部6aは、ドラッグ操作の操作量及び指令単位に基づいて移動量を算出する(ステップS21)。   As shown in FIGS. 9 and 10, the gesture operation determination unit 3 outputs the operation amount of the drag operation to the movement amount generation unit 6a when the type of the gesture operation is a drag operation. The movement amount generation unit 6a calculates the movement amount based on the operation amount of the drag operation and the command unit (step S21).

移動量生成部6aは、算出した移動量を工作機械100の制御部7に出力する(ステップS22)。   The movement amount generation unit 6a outputs the calculated movement amount to the control unit 7 of the machine tool 100 (step S22).

位置更新部41aは、移動量生成部6aから入力される移動量を積算する。位置更新部41aは、移動量の積算値から工具22の現在の位置情報を算出する(ステップS23)。   The position update unit 41a integrates the movement amount input from the movement amount generation unit 6a. The position update unit 41a calculates the current position information of the tool 22 from the integrated value of the movement amount (step S23).

速度制限判定部42aは、工具22の現在位置と速度制限区域とを比較し、工具22が速度制限区域に位置しているか否かを判定する。速度制限判定部42aは、工具22が速度制限区域に位置していると判定した場合に、移動量生成部6aに速度制限判定信号を出力する。移動量生成部6aは、速度制限判定部42aから速度制限判定信号が入力された場合に、工具22の現在の移動速度が制限速度を超えているか否かを判定する(ステップS24)。   The speed limit determination unit 42a compares the current position of the tool 22 with the speed limit area, and determines whether or not the tool 22 is located in the speed limit area. When it is determined that the tool 22 is located in the speed limit area, the speed limit determination unit 42a outputs a speed limit determination signal to the movement amount generation unit 6a. The movement amount generation unit 6a determines whether or not the current movement speed of the tool 22 exceeds the limit speed when the speed limit determination signal is input from the speed limit determination unit 42a (step S24).

移動量生成部6aは、工具22が制限速度区域内に位置し、かつ、工具22の移動速度が制限速度を超過していると判定した場合に、工具22の移動速度が制限速度になるように移動量を補正する(ステップS25)。   When the movement amount generation unit 6a determines that the tool 22 is located in the speed limit area and the movement speed of the tool 22 exceeds the speed limit, the movement speed of the tool 22 becomes the speed limit. The movement amount is corrected to (step S25).

数値制御装置1aは、位置更新部41aが制御周期毎の移動量を積算して現在位置を算出し、速度制限判定部42aが現在位置と速度制限区域とを比較し、現在位置が速度制限区域内に位置していると判定した場合に、移動量生成部6aに速度制限判定の信号を出力し、移動量生成部6aが工具22の移動速度を制限速度以下になるように移動量を補正する。このような処理により、工具22が工作機械内外の物体と干渉する可能性がある領域に位置することを自動で検出して工具22の移動速度を制限速度以下に自動で減速することができ、工具22と工作機械内外の物体との接触が発生することを抑制できる。また、工具22がワーク23の近傍に位置することを自動で検出して工具22の移動速度を制限速度以下に自動で減速することができる。その結果、作業者が間違った操作を数値制御装置1aに入力した場合でもワーク23が損傷することを抑制することができる。   In the numerical controller 1a, the position update unit 41a calculates the current position by integrating the movement amount for each control cycle, the speed limit determination unit 42a compares the current position with the speed limit area, and the current position is the speed limit area. If it is determined that the position is within, a speed limit determination signal is output to the movement amount generation unit 6a, and the movement amount generation unit 6a corrects the movement amount so that the movement speed of the tool 22 is less than or equal to the limit speed. To do. By such processing, it is possible to automatically detect that the tool 22 is located in an area where there is a possibility of interference with an object inside or outside the machine tool, and to automatically decelerate the moving speed of the tool 22 below the limit speed, The occurrence of contact between the tool 22 and an object inside or outside the machine tool can be suppressed. Further, it is possible to automatically detect that the tool 22 is positioned in the vicinity of the work 23 and to automatically decelerate the moving speed of the tool 22 to a speed limit or less. As a result, it is possible to prevent the work 23 from being damaged even when the operator inputs an incorrect operation to the numerical control device 1a.

実施の形態3.
図11は、実施の形態3に係る数値制御装置1bの構成を示すブロック図である。図12は、実施の形態3に係る数値制御装置1bに2本指ドラッグ操作を入力した場合の動作例を示す説明図である。図13は、実施の形態3に係る数値制御装置による数値制御の一例を示すフローチャートである。数値制御装置1bの説明において、数値制御装置1と同様の構成には数値制御装置1と同一の符号群を用い、その詳細な説明を省略する。数値制御装置1bは、移動平面決定部51bを備えていること及びジェスチャ操作判定部3に代えてジェスチャ操作判定部3bを備えていること以外は、実施の形態1に係る数値制御装置1と同じである。
Embodiment 3 FIG.
FIG. 11 is a block diagram illustrating a configuration of the numerical control device 1b according to the third embodiment. FIG. 12 is an explanatory diagram illustrating an operation example when a two-finger drag operation is input to the numerical control device 1b according to the third embodiment. FIG. 13 is a flowchart illustrating an example of numerical control by the numerical control device according to the third embodiment. In the description of the numerical control device 1b, the same reference numerals as those of the numerical control device 1 are used for the same configuration as the numerical control device 1, and the detailed description thereof is omitted. The numerical control device 1b is the same as the numerical control device 1 according to the first embodiment except that the numerical control device 1b includes a movement plane determination unit 51b and a gesture operation determination unit 3b instead of the gesture operation determination unit 3. It is.

数値制御装置1bは、図11に示すように、タッチパネル付表示器2と、ジェスチャ操作判定部3bと、拡縮率算出部4と、指令単位決定部5と、移動量生成部6と、移動平面決定部51bとを備える。   As illustrated in FIG. 11, the numerical control device 1 b includes a touch panel display 2, a gesture operation determination unit 3 b, an enlargement / reduction ratio calculation unit 4, a command unit determination unit 5, a movement amount generation unit 6, and a movement plane. And a determination unit 51b.

ジェスチャ操作判定部3bは、ジェスチャ操作が2本指ドラッグ操作であると判定した場合に、2本指ドラッグ操作の方向の情報を移動平面決定部51bに出力すること以外はジェスチャ操作判定部3と同じである。ここで、2本指ドラッグ操作の方向とは、2本指ドラッグ操作において2本の指を画面上に載せた位置から2本の指を離した位置へ向かう方向である。ジェスチャ操作判定部3bは、2本指ドラッグ操作の方向が、縦方向及び横方向の内どちらであるかを判定し、移動平面決定部51bに出力する。縦方向とは、図12に示すように、タッチパネル付表示器2の上下方向である。横方向とは、図12に示すように、タッチパネル付表示器2の左右方向である。   When the gesture operation determination unit 3b determines that the gesture operation is a two-finger drag operation, the gesture operation determination unit 3b and the gesture operation determination unit 3 except that information on the direction of the two-finger drag operation is output to the movement plane determination unit 51b. The same. Here, the direction of the two-finger drag operation is a direction from the position where the two fingers are placed on the screen to the position where the two fingers are released in the two-finger drag operation. The gesture operation determination unit 3b determines whether the direction of the two-finger drag operation is the vertical direction or the horizontal direction, and outputs the determination result to the movement plane determination unit 51b. The vertical direction is the vertical direction of the display 2 with a touch panel as shown in FIG. A horizontal direction is the left-right direction of the display 2 with a touch panel, as shown in FIG.

移動平面決定部51bは、図12に示すように、ジェスチャ操作判定部3bから入力された2本指ドラッグ操作の方向の情報に応じて指令平面24ZXと、指令平面24XYと、指令平面24YZとを切り替える。詳細には、移動平面決定部51bは、操作エリア21に指令平面24ZXが表示されかつジェスチャ操作判定部3bから縦方向の信号が入力された場合に、指令平面24ZXを指令平面24XYへ切り替える。移動平面決定部51bは、操作エリア21に指令平面24ZXが表示されかつジェスチャ操作判定部3bから横方向の信号が入力された場合に、指令平面24ZXを指令平面24YZへ切り替える。移動平面決定部51bは、操作エリア21に指令平面24XYが表示されかつジェスチャ操作判定部3bから縦方向の信号が入力された場合に、指令平面24XYを指令平面24ZXへ切り替える。移動平面決定部51bは、操作エリア21に指令平面24XYが表示されかつジェスチャ操作判定部3bから横方向の信号が入力された場合に、指令平面24XYを指令平面24YZへ切り替える。移動平面決定部51bは、操作エリア21に指令平面24YZが表示されかつジェスチャ操作判定部3bから縦方向の信号が入力された場合に、指令平面24YZを指令平面24XYへ切り替える。移動平面決定部51bは、操作エリア21に指令平面24YZが表示されかつジェスチャ操作判定部3bから横方向の信号が入力された場合に、指令平面24YZを指令平面24ZXへ切り替える。   As shown in FIG. 12, the movement plane determination unit 51b displays the command plane 24ZX, the command plane 24XY, and the command plane 24YZ according to the information on the direction of the two-finger drag operation input from the gesture operation determination unit 3b. Switch. Specifically, the movement plane determination unit 51b switches the command plane 24ZX to the command plane 24XY when the command plane 24ZX is displayed in the operation area 21 and a vertical signal is input from the gesture operation determination unit 3b. When the command plane 24ZX is displayed in the operation area 21 and a lateral signal is input from the gesture operation determination unit 3b, the movement plane determination unit 51b switches the command plane 24ZX to the command plane 24YZ. The movement plane determination unit 51b switches the command plane 24XY to the command plane 24ZX when the command plane 24XY is displayed in the operation area 21 and a vertical signal is input from the gesture operation determination unit 3b. The movement plane determination unit 51b switches the command plane 24XY to the command plane 24YZ when the command plane 24XY is displayed in the operation area 21 and a lateral signal is input from the gesture operation determination unit 3b. The movement plane determination unit 51b switches the command plane 24YZ to the command plane 24XY when the command plane 24YZ is displayed in the operation area 21 and a vertical signal is input from the gesture operation determination unit 3b. The movement plane determination unit 51b switches the command plane 24YZ to the command plane 24ZX when the command plane 24YZ is displayed in the operation area 21 and a lateral signal is input from the gesture operation determination unit 3b.

次に、実施の形態3に係る数値制御装置1bの処理について説明する。図13は、実施の形態3に係る数値制御装置1bによる数値制御の一例を示すフローチャートである。なお、実施の形態3に係る数値制御装置1bの処理は、ステップS11、ステップS12、ステップS13、ステップS14、ステップS15、及びステップS16については、実施の形態1に係る数値制御装置1と同じである。よって、実施の形態1と同様のステップについては、説明を省略する。ここで、図13に示したフローチャートは、タッチパネル付表示器2に2本指ドラッグ操作が入力され、ジェスチャ操作判定部3bが2本指ドラッグ操作の方向の情報を移動平面決定部51bに出力した後の処理を示す。   Next, processing of the numerical controller 1b according to Embodiment 3 will be described. FIG. 13 is a flowchart illustrating an example of numerical control by the numerical control device 1b according to the third embodiment. The processing of the numerical control device 1b according to the third embodiment is the same as the numerical control device 1 according to the first embodiment with respect to step S11, step S12, step S13, step S14, step S15, and step S16. is there. Therefore, description of the same steps as those in Embodiment 1 is omitted. Here, in the flowchart shown in FIG. 13, a two-finger drag operation is input to the display 2 with a touch panel, and the gesture operation determination unit 3b outputs information on the direction of the two-finger drag operation to the movement plane determination unit 51b. The subsequent processing is shown.

移動平面決定部51bは、図13に示すように、2本指ドラッグ操作の方向が、横方向であるか否かを判定する(ステップS31)。移動平面決定部51bは、2本指ドラッグ操作の方向が横方向である場合に、現在表示されている指令平面が指令平面24XYであるか否かを判定する(ステップS32)。移動平面決定部51bは、2本指ドラッグ操作の方向が横方向であり、かつ、現在表示されている指令平面が指令平面24XYであると判定した場合に、指令平面24XYを指令平面24YZに切り替える(ステップS33)。   As illustrated in FIG. 13, the movement plane determination unit 51b determines whether or not the direction of the two-finger drag operation is the horizontal direction (step S31). When the direction of the two-finger drag operation is the horizontal direction, the movement plane determination unit 51b determines whether or not the currently displayed command plane is the command plane 24XY (step S32). The movement plane determination unit 51b switches the command plane 24XY to the command plane 24YZ when it is determined that the direction of the two-finger drag operation is the horizontal direction and the currently displayed command plane is the command plane 24XY. (Step S33).

移動平面決定部51bは、2本指ドラッグ操作の方向が横方向であり、かつ、現在表示されている指令平面が指令平面24XYではないと判定した場合に、現在表示されている指令平面が指令平面24YZであるか否かを判定する(ステップS34)。移動平面決定部51bは、2本指ドラッグが横方向であり、かつ、現在表示されている指令平面が指令平面24YZであると判定した場合、指令平面を指令平面24YZから指令平面24ZXに切り替える(ステップS35)。移動平面決定部51bは、2本指ドラッグ操作の方向が横方向であり、現在表示されている指令平面が指令平面24XY及び指令平面24YZではないと判定した場合、指令平面を指令平面24ZXから指令平面24YZに切り替える(ステップS36)。   When the movement plane determination unit 51b determines that the direction of the two-finger drag operation is the horizontal direction and the currently displayed command plane is not the command plane 24XY, the currently displayed command plane is the command It is determined whether or not the plane is 24YZ (step S34). When it is determined that the two-finger drag is in the horizontal direction and the currently displayed command plane is the command plane 24YZ, the movement plane determination unit 51b switches the command plane from the command plane 24YZ to the command plane 24ZX ( Step S35). When the movement plane determination unit 51b determines that the direction of the two-finger drag operation is the horizontal direction and the currently displayed command plane is not the command plane 24XY or the command plane 24YZ, the command plane is commanded from the command plane 24ZX. The plane is switched to the plane 24YZ (step S36).

移動平面決定部51bは、2本指ドラッグ操作の方向が横方向ではないと判定した場合に、現在表示されている指令平面が24XYであるか否かを判定する(ステップS37)。移動平面決定部51bは、2本指ドラッグ操作の方向が横方向ではないと判定し、現在表示されている指令平面が指令平面24XYであると判定した場合に、指令平面24XYを指令平面24ZXに切り替える(ステップS38)。   When it is determined that the direction of the two-finger drag operation is not the horizontal direction, the movement plane determination unit 51b determines whether or not the currently displayed command plane is 24XY (step S37). When the movement plane determination unit 51b determines that the direction of the two-finger drag operation is not the horizontal direction and determines that the currently displayed command plane is the command plane 24XY, the command plane 24XY is changed to the command plane 24ZX. Switching (step S38).

移動平面決定部51bは、2本指ドラッグ操作の方向が横方向ではないと判定し、かつ、現在表示されている指令平面が指令平面24XYではないと判定した場合、現在表示されている指令平面が指令平面24YZであるか否かを判定する(ステップS39)。移動平面決定部51bは、2本指ドラッグ操作の方向が横方向ではないと判定し、かつ、現在表示されている指令平面が指令平面24YZであると判定した場合、指令平面を指令平面24YZから指令平面24XYに切り替える(ステップS40)。移動平面決定部51bは、2本指ドラッグ操作の走行が横方向ではないと判定し、かつ、現在表示されている指令平面が指令平面24XY及び指令平面24YZではないと判定した場合、指令平面を指令平面24ZXから指令平面24XYに切り替える(ステップS41)。   When the movement plane determination unit 51b determines that the direction of the two-finger drag operation is not the horizontal direction and determines that the currently displayed command plane is not the command plane 24XY, the currently displayed command plane Is determined to be the command plane 24YZ (step S39). When the moving plane determination unit 51b determines that the direction of the two-finger drag operation is not the horizontal direction and determines that the currently displayed command plane is the command plane 24YZ, the command plane is determined from the command plane 24YZ. Switch to the command plane 24XY (step S40). If the movement plane determination unit 51b determines that the travel of the two-finger drag operation is not in the horizontal direction and determines that the currently displayed command plane is not the command plane 24XY or the command plane 24YZ, the movement plane determination unit 51b The command plane 24ZX is switched to the command plane 24XY (step S41).

数値制御装置1bは、タッチパネル付表示器2に2本指ドラッグ操作が入力された場合に、ジェスチャ操作判定部3bが移動平面決定部51bに2本指ドラッグ操作の方向の情報を出力し、移動平面決定部51bがジェスチャ操作判定部3bから入力されたドラッグ方向の情報に応じて指令平面24ZXと、指令平面24XYと、指令平面24YZとを切り替える。このような処理により、1回のジェスチャ操作で所望の指令平面24ZX,24XY,24YZに切り替えることができる。その結果、簡単かつ直感的な操作で所望の指令平面24ZX,24XY,24YZに切り替えることができる。   In the numerical control device 1b, when a two-finger drag operation is input to the touch panel display 2, the gesture operation determination unit 3b outputs information on the direction of the two-finger drag operation to the movement plane determination unit 51b and moves The plane determining unit 51b switches between the command plane 24ZX, the command plane 24XY, and the command plane 24YZ according to the drag direction information input from the gesture operation determination unit 3b. By such processing, it is possible to switch to the desired command planes 24ZX, 24XY, 24YZ with a single gesture operation. As a result, it is possible to switch to the desired command planes 24ZX, 24XY, 24YZ with a simple and intuitive operation.

数値制御装置1bは、タッチパネル付表示器2に2本指ドラッグ操作が入力された場合に、ジェスチャ操作判定部3bが移動平面決定部51bにドラッグ操作の方向の情報を出力する。数値制御装置1bは、操作エリア21に指令平面24ZXが表示されかつジェスチャ操作判定部3bから移動平面決定部51bに縦方向の信号が入力された場合に、指令平面24ZXを指令平面24XYへ切り替える。数値制御装置1bは、操作エリア21に指令平面24YZが表示されかつジェスチャ操作判定部3bから移動平面決定部51bに縦方向の信号が入力された場合に、指令平面24YZを指令平面24XYへ切り替える。数値制御装置1bは、操作エリア21に指令平面24ZXが表示されかつジェスチャ操作判定部3bから移動平面決定部51bに横方向の信号が入力された場合に、指令平面24ZXを指令平面24YZへ切り替える。数値制御装置1bは、操作エリア21に指令平面24YZが表示されかつジェスチャ操作判定部3bから移動平面決定部51bに横方向の信号が入力された場合に、指令平面24YZを指令平面24ZXへ切り替える。このような処理により、横方向の2本指ドラッグ操作によって指令平面24ZXと指令平面24YZとを切り替えることができる。これにより、横方向の視点変化である指令平面24ZXと指令平面24YZとの切替を横方向の2本指ドラッグ操作によって行うことができる。その結果、簡単かつ直感的な操作で指令平面24ZXと指令平面24YZとを切り替えることができる。また、縦方向の2本指ドラッグ操作によって指令平面24ZXと指令平面24XYとを切り替えることができる。これにより、縦方向の視点変化である指令平面24ZXと指令平面24XYとの切替を縦方向の2本指ドラッグ操作によって行うことができる。その結果、簡単かつ直感的な操作で指令平面24ZXと指令平面24XYとを切り替えることができる。以上より、数値制御装置1bは、簡単かつ直感的な操作で指令平面24ZX、24YZ、24XYの切り替えを行うことができる。   In the numerical control device 1b, when a two-finger drag operation is input to the touch panel-equipped display 2, the gesture operation determination unit 3b outputs information on the direction of the drag operation to the movement plane determination unit 51b. The numerical control device 1b switches the command plane 24ZX to the command plane 24XY when the command plane 24ZX is displayed in the operation area 21 and a vertical signal is input from the gesture operation determination unit 3b to the movement plane determination unit 51b. The numerical control device 1b switches the command plane 24YZ to the command plane 24XY when the command plane 24YZ is displayed in the operation area 21 and a vertical signal is input from the gesture operation determination unit 3b to the movement plane determination unit 51b. The numerical controller 1b switches the command plane 24ZX to the command plane 24YZ when the command plane 24ZX is displayed in the operation area 21 and a lateral signal is input from the gesture operation determination unit 3b to the movement plane determination unit 51b. The numerical control device 1b switches the command plane 24YZ to the command plane 24ZX when the command plane 24YZ is displayed in the operation area 21 and a lateral signal is input from the gesture operation determination unit 3b to the movement plane determination unit 51b. By such processing, the command plane 24ZX and the command plane 24YZ can be switched by a two-finger drag operation in the horizontal direction. Thereby, switching between the command plane 24ZX and the command plane 24YZ, which is a viewpoint change in the horizontal direction, can be performed by a two-finger drag operation in the horizontal direction. As a result, the command plane 24ZX and the command plane 24YZ can be switched by a simple and intuitive operation. Further, the command plane 24ZX and the command plane 24XY can be switched by a two-finger drag operation in the vertical direction. Thereby, switching between the command plane 24ZX and the command plane 24XY, which is a viewpoint change in the vertical direction, can be performed by a two-finger drag operation in the vertical direction. As a result, the command plane 24ZX and the command plane 24XY can be switched by a simple and intuitive operation. As described above, the numerical controller 1b can switch the command planes 24ZX, 24YZ, and 24XY with a simple and intuitive operation.

以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、置換及び変更することも可能である。   The configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit, replace, and change the part.

1,1a,1b 数値制御装置、2,2a タッチパネル付表示器、3,3b ジェスチャ操作判定部、4 拡縮率算出部、5 指令単位決定部、6,6a 移動量生成部、7 制御部、8 駆動部、21 操作エリア、22 工具、23 ワーク、24ZX,24XY,24YZ 指令平面、41a 位置更新部、42a 速度制限判定部、51b 移動平面決定部、100 工作機械。   1, 1a, 1b Numerical control device, 2, 2a Display with touch panel, 3, 3b Gesture operation determination unit, 4 Scaling rate calculation unit, 5 Command unit determination unit, 6, 6a Movement amount generation unit, 7 Control unit, 8 Drive unit, 21 operation area, 22 tool, 23 workpiece, 24ZX, 24XY, 24YZ command plane, 41a position update unit, 42a speed limit determination unit, 51b moving plane determination unit, 100 machine tool.

上述した課題を解決し、目的を達成するために、本発明に係る数値制御装置は、ジェスチャ操作による入力を受け付ける操作エリアを有し、前記操作エリアに工作機械及び前記工作機械の加工対象物であるワークを特定の方向から見た場合の指令平面を表示するタッチパネルと、ピンチ操作の相対的な操作量に応じた拡縮率を算出する拡縮率算出部と、前記拡縮率に基づいて前記操作エリアに入力されたドラッグ操作の操作量を前記工作機械の駆動部の動作量に変換するための指令単位を算出する指令単位決定部と、前記ドラッグ操作の前記操作量及び前記指令単位を用いて前記駆動部の移動量を算出して前記工作機械に出力する移動量生成部と、操作エリアに2本指ドラッグ操作が入力された場合に、2本指ドラッグ操作の方向の情報に応じて操作エリアに表示された指令平面をワーク及び工作機械を異なる方向から見た平面に切り替える移動平面決定部と、を備える。 In order to solve the above-described problems and achieve the object, a numerical control device according to the present invention has an operation area for receiving an input by a gesture operation, and the operation area includes a machine tool and a processing object of the machine tool. A touch panel that displays a command plane when a work is viewed from a specific direction, an enlargement / reduction ratio calculation unit that calculates an enlargement / reduction ratio according to the relative operation amount of the pinch operation, and the operation area based on the enlargement / reduction ratio A command unit determining unit that calculates a command unit for converting the operation amount of the drag operation input to the operation amount of the drive unit of the machine tool, and using the operation amount and the command unit of the drag operation. a movement amount generating portion which calculates the amount of movement of the driving unit outputs to said machine tool, when the two fingers drag operation in the operation area has been input, respond to two fingers dragged direction information , A movement plane determining unit for switching the plane viewed workpiece and machine tool from different directions the displayed command plane operating area Te comprises a.

Claims (4)

ジェスチャ操作による入力を受け付ける操作エリアを有し、前記操作エリアに工作機械及び前記工作機械の加工対象物であるワークを特定の方向から見た場合の指令平面を表示するタッチパネルと、
ピンチ操作の相対的な操作量に応じた拡縮率を算出する拡縮率算出部と、
前記拡縮率に基づいて前記操作エリアに入力されたドラッグ操作の操作量を前記工作機械の駆動部の動作量に変換するための指令単位を算出する指令単位決定部と、
前記ドラッグ操作の前記操作量及び前記指令単位を用いて前記駆動部の移動量を算出して前記工作機械に出力する移動量生成部と、を備えることを特徴とする数値制御装置。
A touch panel that has an operation area for receiving an input by a gesture operation, and displays a command plane when the machine tool and a workpiece that is a workpiece of the machine tool are viewed from a specific direction in the operation area;
An enlargement / reduction ratio calculation unit for calculating an enlargement / reduction ratio according to the relative operation amount of the pinch operation;
A command unit determining unit that calculates a command unit for converting an operation amount of the drag operation input to the operation area based on the scaling ratio into an operation amount of the drive unit of the machine tool;
A numerical value control apparatus comprising: a movement amount generation unit that calculates a movement amount of the drive unit using the operation amount of the drag operation and the command unit and outputs the movement amount to the machine tool.
前記移動量生成部が算出する前記移動量を積算し、前記工作機械の現在位置を算出する位置更新部と、
前記現在位置が予め設定された速度制限区域の中に位置するか否かを判定し、前記現在位置が前記速度制限区域の中に位置する場合に前記移動量生成部に速度制限判定の信号を出力する速度制限判定部と、を備え、
前記移動量生成部は、前記速度制限判定が入力された場合に前記工作機械の移動速度が予め定められた制限速度以下になるように前記移動量を調整することを特徴とする請求項1に記載の数値制御装置。
A position update unit that integrates the movement amount calculated by the movement amount generation unit and calculates a current position of the machine tool;
It is determined whether or not the current position is within a preset speed limit area, and when the current position is within the speed limit area, a signal for speed limit determination is sent to the movement amount generation unit. An output speed limit determination unit,
The movement amount generation unit adjusts the movement amount so that a movement speed of the machine tool is equal to or lower than a predetermined speed limit when the speed restriction determination is input. The numerical controller described.
前記操作エリアに2本指ドラッグ操作が入力された場合に、前記操作エリアに表示された前記指令平面を前記ワーク及び前記工作機械を異なる方向から見た平面に切り替える移動平面決定部を備えることを特徴とする請求項1または請求項2に記載の数値制御装置。   A moving plane determining unit that switches the command plane displayed in the operation area to a plane when the workpiece and the machine tool are viewed from different directions when a two-finger drag operation is input to the operation area; The numerical control apparatus according to claim 1, wherein the numerical control apparatus is characterized. ジェスチャ操作による入力を受け付ける操作エリアと前記操作エリアに工作機械及び前記工作機械の加工対象物であるワークを特定の方向から見た場合の指令平面を表示するタッチパネルとを備え、前記操作エリアにドラッグ操作が入力された場合に前記ドラッグ操作の操作量に応じた動作量で前記工作機械の駆動部を駆動させる数値制御装置であって、
前記数値制御装置は、前記操作エリアにピンチイン操作が入力された場合に、前記指令平面を縮小させ、かつ、前記ドラッグ操作の前記操作量に応じた前記動作量を増加させ、前記操作エリアにピンチアウト操作が入力された場合に、前記指令平面を拡大させ、かつ、前記ドラッグ操作の前記操作量に応じた前記動作量を減少させることを特徴とする数値制御装置。
An operation area that accepts input by gesture operation and a touch panel that displays a command plane when a machine tool and a workpiece that is a workpiece of the machine tool are viewed from a specific direction are dragged to the operation area. A numerical control device that drives the drive unit of the machine tool with an operation amount corresponding to the operation amount of the drag operation when an operation is input,
When a pinch-in operation is input to the operation area, the numerical control device reduces the command plane and increases the operation amount according to the operation amount of the drag operation to pinch the operation area. A numerical control device characterized in that when an out operation is input, the command plane is enlarged and the operation amount corresponding to the operation amount of the drag operation is decreased.
JP2017515989A 2016-09-14 2016-09-14 Numerical controller Pending JPWO2018051435A1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/077138 WO2018051435A1 (en) 2016-09-14 2016-09-14 Numerical control apparatus

Publications (1)

Publication Number Publication Date
JPWO2018051435A1 true JPWO2018051435A1 (en) 2018-09-13

Family

ID=61620083

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017515989A Pending JPWO2018051435A1 (en) 2016-09-14 2016-09-14 Numerical controller

Country Status (2)

Country Link
JP (1) JPWO2018051435A1 (en)
WO (1) WO2018051435A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6860529B2 (en) * 2018-07-20 2021-04-14 ファナック株式会社 Numerical control device and data editing method
CN112703093A (en) * 2018-09-28 2021-04-23 日本电产株式会社 Control device
EP4036673A1 (en) * 2021-01-27 2022-08-03 FRONIUS INTERNATIONAL GmbH Method and device for automatically determining machining parameters for a machining process

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09103978A (en) * 1995-10-04 1997-04-22 Yaskawa Electric Corp Robot control device
WO1998003314A1 (en) * 1996-07-24 1998-01-29 Fanuc Ltd Jog feeding method for robots
WO2004009303A1 (en) * 2002-07-18 2004-01-29 Kabushiki Kaisha Yaskawa Denki Robot controller and robot system
JP2014184494A (en) * 2013-03-21 2014-10-02 Tsubakimoto Chain Co Manipulator device
JP2015083331A (en) * 2013-09-20 2015-04-30 株式会社デンソーウェーブ Robot operation device, robot system, and robot operation program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11262883A (en) * 1998-03-19 1999-09-28 Denso Corp Manual operation device for robot
JP5526881B2 (en) * 2010-03-12 2014-06-18 株式会社デンソーウェーブ Robot system
JP5649851B2 (en) * 2010-05-18 2015-01-07 オリンパス株式会社 Microscope system having a microscope controller

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09103978A (en) * 1995-10-04 1997-04-22 Yaskawa Electric Corp Robot control device
WO1998003314A1 (en) * 1996-07-24 1998-01-29 Fanuc Ltd Jog feeding method for robots
WO2004009303A1 (en) * 2002-07-18 2004-01-29 Kabushiki Kaisha Yaskawa Denki Robot controller and robot system
JP2014184494A (en) * 2013-03-21 2014-10-02 Tsubakimoto Chain Co Manipulator device
JP2015083331A (en) * 2013-09-20 2015-04-30 株式会社デンソーウェーブ Robot operation device, robot system, and robot operation program

Also Published As

Publication number Publication date
WO2018051435A1 (en) 2018-03-22

Similar Documents

Publication Publication Date Title
US9919421B2 (en) Method and apparatus for robot path teaching
CN105988710B (en) Method, apparatus and device for assisting user input with touch display
CN106462141B (en) Control device for machine tool
KR100952306B1 (en) Method and Apparatus Processing Image Based on the First Inputted Command
WO2018051435A1 (en) Numerical control apparatus
US11009852B2 (en) Numerical controller and data editing method
US20160364367A1 (en) Information processing device for editing electronic data by touch operations
JP2007087324A (en) Touch panel device
TWI570530B (en) Numerical control system and numerical control data generation method
JP2011150648A (en) Machine tool control device
US20150205285A1 (en) Robot, Robot Control Method and Robot Control Program
US10303155B2 (en) Numerical controller having manual handle feed function
JP5601949B2 (en) Robot control system
JP6002420B2 (en) Processing machine and bending operation input setting method in processing machine
JP2011067895A (en) Fine adjustment method of robot tool position, and robot control system
JP5382419B2 (en) Origin search support device and program
US10838395B2 (en) Information processing device
US10921978B2 (en) Shaft feeder
JP6573750B1 (en) Control data creation device, control data creation method, and control data creation program
JP5721167B2 (en) Robot controller
JP5912054B2 (en) Robot controller
CN109991928B (en) Method for realizing segmented variable slope machining
JP6998775B2 (en) Image measuring machine and program
JP2019519380A (en) Method of using a touch sensitive display for driving and controlling a machine tool and a machine part of the machine tool
KR20150094295A (en) In computer numarical control machine and method using thereof

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20170829