JPH11143514A - Numerical controller capable of executing working error check - Google Patents

Numerical controller capable of executing working error check

Info

Publication number
JPH11143514A
JPH11143514A JP9321976A JP32197697A JPH11143514A JP H11143514 A JPH11143514 A JP H11143514A JP 9321976 A JP9321976 A JP 9321976A JP 32197697 A JP32197697 A JP 32197697A JP H11143514 A JPH11143514 A JP H11143514A
Authority
JP
Japan
Prior art keywords
machining
program
processing
position deviation
error
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
JP9321976A
Other languages
Japanese (ja)
Inventor
Hideshi Kochiya
秀史 古知屋
Akihiko Koike
昭彦 小池
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 JP9321976A priority Critical patent/JPH11143514A/en
Publication of JPH11143514A publication Critical patent/JPH11143514A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a numerical controller which preliminarily verifies a work error without working a work. SOLUTION: A program is executed by idling (S1 and S2) without working a work after plotting a program path. Synthetic position deviation E is calculated from each axial position deviation (S3). An actual tool route is obtained by changing the kinds of lines between when the deviation E exceeds set limitation value E0 and when it does not and plotting a detected tool current position. It is possible to know that a working error is large because a plotting line kind is different when the deviation E exceeds the value E0 in an actual tool route. A different line kind is not plotted by supervising the plotting image and adjusting a working condition, that is, it is possible to adjust a working condition that becomes the deviation E in the value E0 by supervising the plotting image.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、数値制御装置によ
って制御される工作機械による加工において、加工誤差
を予め検証できるようにした数値制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical controller capable of verifying in advance a machining error in machining by a machine tool controlled by the numerical controller.

【0002】[0002]

【従来の技術】従来のコンピュータ内蔵数値制御装置
(以下CNCという)は、プログラムされた工具経路を
グラフィックで表示する機能を有しているが、実際の工
具経路が、このプログラムされた経路のとおりになるか
を検証する手段は備えていない。
2. Description of the Related Art A conventional numerical controller with a built-in computer (hereinafter referred to as CNC) has a function of displaying a programmed tool path graphically. There is no means to verify that

【0003】[0003]

【発明が解決しようとする課題】CNCを利用した工作
機械による機械加工においては、ワークに対して工具を
相対的に移動させる駆動源としてサーボモータを用いて
いる。このサーボモータを駆動制御するサーボ系には遅
れがあり、この遅れを原因とする位置偏差と、加減速に
よる加工誤差が生じる。これらの位置偏差を小さくし、
かつ加工誤差を小さくするための方法、手段はいろいろ
開発されているが、最終的に加工プログラムを実行した
結果、加工されたワークに対してどの部位で加工精度が
でていないかを検証するには、実際に加工されたワーク
の形状を測定するしか方法がなかった。そのため、目標
とする加工精度を得るには、加工条件(特に加工速度)
を変更しながら多くの加工を行い、目標とする加工精度
が得られるまで、加工と形状測定を繰り返し行うしか方
法がなく、数多くのワークを無駄にすると共に、時間と
労働を無駄に消費するという問題があった。
In machining with a machine tool utilizing CNC, a servomotor is used as a drive source for moving a tool relative to a work. There is a delay in a servo system that drives and controls this servomotor, and a position error due to the delay and a processing error due to acceleration / deceleration occur. By reducing these positional deviations,
Various methods and means have been developed to reduce machining errors.However, as a result of executing a machining program in the end, it is necessary to verify which part of the machined workpiece is not machining accurate. There is no other method than to measure the shape of the actually processed work. Therefore, in order to obtain the target processing accuracy, the processing conditions (particularly the processing speed)
There is no other way but to repeat machining and shape measurement until the target machining accuracy is obtained while changing a lot of work, wasting a lot of work and wasting time and labor. There was a problem.

【0004】そこで、本発明の目的は、上記従来技術の
欠点を改善し、予め加工誤差を検証できるCNCを提供
することにある。
An object of the present invention is to provide a CNC which can solve the above-mentioned drawbacks of the prior art and can verify a processing error in advance.

【0005】[0005]

【課題を解決するための手段】本発明は、ワークを加工
しない空運転で加工プログラムを実行し、そのとき得ら
れる実際の工具経路を表示装置に描画するか、そのとき
得られる位置偏差を表示装置に描画することによって加
工誤差をチェックできるようにした。また、位置偏差が
設定限界値を越える区間に対してのみ線種を変えて実際
の工具経路を描画することにより加工誤差をチェックで
きるようにした。これらの描画の際に、加工プログラム
のプログラム経路を同一画面に描画することによってチ
ェックを容易にした。
According to the present invention, a machining program is executed in idle operation without machining a workpiece, and an actual tool path obtained at that time is drawn on a display device, or a position deviation obtained at that time is displayed. Processing errors can be checked by drawing on the device. In addition, the processing error can be checked by drawing the actual tool path by changing the line type only in the section where the position deviation exceeds the set limit value. At the time of drawing, the check is facilitated by drawing the program path of the machining program on the same screen.

【0006】また、位置偏差を監視して該位置偏差が設
定限界値を越える指令がある加工プログラムのブロック
のみ描画線種を変えて加工プログラム経路を表示装置に
描画し、加工誤差が大きいことをチェックできるように
した。
In addition, the position deviation is monitored, and only the blocks of the processing program having a command in which the position deviation exceeds the set limit value are used to change the drawing line type to draw the processing program path on the display device. Check it.

【0007】[0007]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態を説明する。図1は本発明を適用した一実施形態
のCNC10と該CNC10によって駆動制御される工
作機械、例えば、フライス盤等の要部を示すブロック図
である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a main part of a CNC 10 according to an embodiment to which the present invention is applied and a machine tool driven and controlled by the CNC 10, for example, a milling machine or the like.

【0008】プロセッサ11はCNC10を全体的に制
御するプロセッサであり、バス21を介してROM12
に格納されたシステムプログラムを読み出し、このシス
テムプログラムに従って、CNC10を全体的に制御す
る。RAM13には一時的な計算データ、表示データ等
が格納される。CMOSメモリ14は図示しないバッテ
リでバックアップされ、CNC10の電源がオフにされ
ても記憶状態が保持される不揮発性メモリとして構成さ
れ、加工プログラムを記憶する。
The processor 11 is a processor that controls the CNC 10 as a whole.
Is read, and the CNC 10 is entirely controlled in accordance with the system program. The RAM 13 stores temporary calculation data, display data, and the like. The CMOS memory 14 is backed up by a battery (not shown), is configured as a nonvolatile memory that retains a storage state even when the power of the CNC 10 is turned off, and stores a machining program.

【0009】インターフェイス15は外部機器用のイン
ターフェイスであり、紙テープリーダ、紙テープパンチ
ャー、フロッピーディスクドライバー等の外部機器72
が接続される。紙テープリーダ、またはフロッピーディ
スクからは加工プログラムが読み込まれCMOSメモリ
14に記憶される。また、CNC10内で編集されCM
OSメモリ14に記憶された加工プログラムを紙テープ
パンチャーまたはフロッピーディスクドライバーに出力
することもできる。
An interface 15 is an interface for an external device, and includes an external device 72 such as a paper tape reader, a paper tape puncher, or a floppy disk driver.
Is connected. A processing program is read from a paper tape reader or a floppy disk and stored in the CMOS memory 14. In addition, the CM is edited in CNC10
The processing program stored in the OS memory 14 can be output to a paper tape puncher or a floppy disk driver.

【0010】PMC(プログラマブル・マシン・コント
ローラ)16はCNC10に内蔵されたシーケンスプロ
グラムで工作機械を制御する。即ち、加工プログラムで
指令された機能に従って、これらシーケンスプログラム
で工作機械側で必要な信号に変換し、I/Oユニット1
7から工作機械側に出力する。この出力信号により工作
機械側の各種アクチュエータが作動する。また、工作機
械側のリミットスイッチおよび表示器/MDI70と共
に設けられた機械操作盤(図示せず)の各種スイッチ等
の信号を受けて、必要な処理をして、プロセッサ11に
渡す。
A PMC (programmable machine controller) 16 controls a machine tool by a sequence program built in the CNC 10. That is, according to the functions specified by the machining program, these sequence programs convert the signals into necessary signals on the machine tool side.
7 to the machine tool. Various actuators on the machine tool are operated by this output signal. Further, it receives signals from various switches and the like of a machine operation panel (not shown) provided with the limit switch on the machine tool side and the display / MDI 70, performs necessary processing, and passes the signals to the processor 11.

【0011】各軸の現在位置、アラーム、パラメータ、
画像データ等の画像信号はCRTや液晶等で構成された
表示器/MDIユニット70の表示装置に送られ、表示
装置に表示される。インターフェイス18は表示器/M
DIユニット70内のキーボードからのデータを受けて
プロセッサ11に渡す。インターフェイス19は手動パ
ルス発生器71に接続され、手動パルス発生器71から
のパルスを受ける。手動パルス発生器71は工作機械側
の機械操作盤に実装され、手動で機械可動部を精密に位
置決めするために使用される。
The present position of each axis, alarm, parameter,
An image signal such as image data is sent to the display device of the display / MDI unit 70 composed of a CRT, a liquid crystal or the like, and displayed on the display device. Interface 18 is display / M
The data from the keyboard in the DI unit 70 is received and passed to the processor 11. The interface 19 is connected to the manual pulse generator 71 and receives a pulse from the manual pulse generator 71. The manual pulse generator 71 is mounted on the machine operation panel on the machine tool side, and is used for manually positioning the movable part of the machine precisely.

【0012】軸制御回路30〜32はプロセッサ11か
らの各軸の移動指令を受けて、各軸の指令をサーボアン
プ40〜42に出力する。サーボアンプ40〜42はこ
の指令を受けて各軸のサーボモータ50〜52を駆動す
る。X,Y,Z軸のサーボモータ50〜52には位置速
度検出用のパルスコーダが内蔵されており、このパルス
コーダからの位置、速度のフィードバック信号が軸制御
回路30〜32にフィードバックされる。軸制御回路3
0〜32に内蔵されたサーボ制御CPUの各々はこれら
のフィードバック信号と前述の移動指令とに基いて位置
ループ、速度ループ、電流ループの各処理を行い、最終
的な駆動制御のためのトルク指令を各軸毎に求めて各軸
のサーボモータ50〜52の位置、速度を制御する。
The axis control circuits 30 to 32 receive the movement commands of the respective axes from the processor 11 and output the commands of the respective axes to the servo amplifiers 40 to 42. The servo amplifiers 40 to 42 receive the command and drive the servo motors 50 to 52 of each axis. The X, Y, and Z axis servomotors 50 to 52 have pulse coders for detecting position and speed, and the position and speed feedback signals from the pulse coder are fed back to the axis control circuits 30 to 32. Axis control circuit 3
Each of the servo control CPUs 0 to 32 performs each processing of a position loop, a speed loop, and a current loop based on these feedback signals and the above-described movement command, and executes a torque command for final drive control. Is obtained for each axis, and the positions and speeds of the servo motors 50 to 52 of each axis are controlled.

【0013】スピンドル制御回路60はスピンドル回転
指令およびスピンドルのオリエンテーション等の指令を
受けて、スピンドルアンプ61にスピンドル速度信号を
出力する。スピンドルアンプ61はこのスピンドル速度
信号を受けて、スピンドルモータ62を指令された回転
速度で回転させる。また、オリエンテーション指令によ
って、主軸位置を検出するポジションコーダ(図示せ
ず)からのフィードバック信号に基づいて所定の位置に
スピンドルモータ62の回転位置を位置決めする。
The spindle control circuit 60 outputs a spindle speed signal to the spindle amplifier 61 in response to a spindle rotation command and a command such as spindle orientation. Upon receiving the spindle speed signal, the spindle amplifier 61 rotates the spindle motor 62 at the commanded rotation speed. In addition, in accordance with an orientation command, the rotational position of the spindle motor 62 is positioned at a predetermined position based on a feedback signal from a position coder (not shown) for detecting a spindle position.

【0014】図2は本発明の加工誤差チェックの一実施
形態におけるCNC10のプロセッサ11が実行する処
理フローチャートである。加工誤差チェックモードにし
て加工プログラム実行指令が入力されると、プロセッサ
11は、CMOS14に格納された加工プログラムを読
みだし、該加工プログラムで指令された工具経路を表示
器/MDI70の表示装置の画面に表示する(ステップ
S1)。この工具経路が例えば図3に符号Pで示す経路
であったとする。次に、プロセッサ11は、該加工プロ
グラムの先頭からプログラムを読みだし、ワークを加工
しない状態の空運転で加工プログラムを実行開始する
(ステップS2)。
FIG. 2 is a processing flowchart executed by the processor 11 of the CNC 10 in one embodiment of the processing error check of the present invention. When a machining program execution command is input in the machining error check mode, the processor 11 reads the machining program stored in the CMOS 14 and displays the tool path designated by the machining program on the screen of the display device of the display / MDI 70. (Step S1). It is assumed that this tool path is, for example, a path indicated by a symbol P in FIG. Next, the processor 11 reads the program from the beginning of the machining program, and starts executing the machining program in idle operation without machining the workpiece (step S2).

【0015】プロセッサ11は、移動指令の分配周期毎
に、プログラムで指令された移動指令に基づき各軸の軸
制御回路30〜32に分配移動指令(パルス)を出力
し、各軸の軸制御回路30〜32は、分配移動指令とパ
ルスコーダからフィードバックされる位置、速度のフィ
ードバック信号に基づいて位置、速度ループ処理を行
い、さらには電流ループ処理を行ってサーボアンプを介
して各軸のサーボモータ50〜52を駆動し、工具をワ
ークが取り付けられるテーブルに対して相対的に移動さ
せる(なお、ワークがテーブルに取り付けられていない
ため加工は行われず空運転となる)。そして、プロセッ
サ11は位置のフィードバック信号を軸制御回路30〜
32を介して受取り、各軸毎の現在位置を求め、各軸毎
指令された位置から検出した現在位置を減じて位置偏差
を求める。さらに、各軸の位置偏差を合成して合成位置
偏差を求める。例えば、一般的に3次元加工の指令を想
定し、X,Y,Z軸のそれぞれの位置偏差がex,e
y,ezであるとすると、合成位置偏差E=(ex2
ey2 +ez2 1/2 となる(ステップS3)。次にこ
の合成された位置偏差が設定限界値E0 を越えたか判断
する(ステップS4)。すなわち、「E>E0 」か否か
を判断する。
The processor 11 outputs a distribution movement command (pulse) to the axis control circuits 30 to 32 of each axis based on the movement command specified by the program for each distribution cycle of the movement command, and outputs the axis control circuit of each axis. Numerals 30 to 32 perform position and speed loop processing based on a distribution movement command and a position and speed feedback signal fed back from a pulse coder, and further perform current loop processing to perform servomotor 50 of each axis via a servo amplifier. To 52 are moved to move the tool relatively to the table on which the work is mounted (note that the work is not mounted on the table so that the processing is not performed and the tool is idle). Then, the processor 11 sends the position feedback signal to the axis control circuit 30 to
32, the current position of each axis is obtained, and the detected current position is subtracted from the commanded position of each axis to obtain a position deviation. Further, the position deviation of each axis is combined to obtain a combined position deviation. For example, generally, a command for three-dimensional machining is assumed, and the positional deviation of each of the X, Y, and Z axes is ex, e.
y, ez, the combined position deviation E = (ex 2 +
ey 2 + ez 2 ) 1/2 (step S3). Next, it is determined whether or not the combined position deviation exceeds the set limit value E0 (step S4). That is, it is determined whether "E>E0".

【0016】この合成位置偏差Eが設定限界値E0 を越
えていない場合には、実際の工具経路を描画する標準の
線種(ステップS1で描画したプログラム経路とは異な
る線種、例えば、表示色、実線、破線等の線種を変え
る)を選択し(ステップS5)、ステップS3で検出さ
れた位置まで描画する(ステップS6)。図3では、プ
ログラム経路Pの線幅よりも小さい幅の細線でこの実際
の経路Qを描画している。また、合成位置偏差Eが設定
限界値E0 を越えている場合には、誤差大として設定さ
れている線種を選択し(ステップS8)、ステップS3
で検出された位置まで描画する(ステップS6)。図3
では、合成位置偏差Eが設定限界値E0 を越えている
時、破線で描画した例を示している。
If the combined position deviation E does not exceed the set limit value E0, a standard line type for drawing the actual tool path (a line type different from the program path drawn in step S1, for example, display color) , Change the line type such as a solid line or a broken line) (step S5), and draw up to the position detected in step S3 (step S6). In FIG. 3, the actual path Q is drawn by a thin line having a width smaller than the line width of the program path P. If the combined position deviation E exceeds the set limit value E0, a line type set as large error is selected (step S8), and step S3 is performed.
Is drawn up to the position detected in step (step S6). FIG.
In the figure, an example is shown in which the broken line is drawn when the combined position deviation E exceeds the set limit value E0.

【0017】次にプログラム終了か判断し(ステップS
7)、終了していなければ、順次ステップS3〜S7、
及びステップS8の処理を繰り返し実行し、プログラム
終了まで空運転の実行が終了した段階では、図3に示す
ように、プログラム経路Pと実際の工具経路Qが線種を
変えて描画され、かつ、合成位置偏差Eが設定限界値E
0 を越えている区間は、さらに別の線種(図3では破
線)で実際の工具経路が描画されることになる。
Next, it is determined whether or not the program ends (step S).
7) If not completed, steps S3 to S7 are sequentially performed.
And the process of step S8 is repeatedly executed, and at the stage where the execution of the idling operation is completed until the end of the program, as shown in FIG. 3, the program path P and the actual tool path Q are drawn with different line types, and The composite position deviation E is equal to the set limit value E.
In the section exceeding 0, the actual tool path is drawn by another line type (broken line in FIG. 3).

【0018】この描画されたプログラム経路P及び実際
の工具経路Qを観察し、必要によっては、描画画像を一
部拡大して描画させ、合成位置偏差Eが設定限界値E0
を越えている区間があるような場合や、満足いく実際の
工具経路Qが得られない場合には、加工条件、例えば、
加工速度、加工速度の加減速時定数等を変えて、再度空
運転の加工誤差チェックモードによる加工プログラムの
実行を行い、合成位置偏差Eが設定限界値E0 を越えな
いような加工条件を求める。これによって、ワークを実
際に加工することなく、加工誤差の少ない加工条件を得
ることができる。
By observing the drawn program path P and the actual tool path Q, if necessary, the drawn image is partially enlarged and drawn, and the combined position deviation E is set to the set limit value E0.
In some cases, such as when there is a section exceeding the limit, or when a satisfactory actual tool path Q cannot be obtained,
By changing the machining speed, the acceleration / deceleration time constant of the machining speed, and the like, the machining program is again executed in the idle running machining error check mode, and machining conditions are determined so that the combined position deviation E does not exceed the set limit value E0. Thus, it is possible to obtain processing conditions with a small processing error without actually processing the work.

【0019】図4は、本発明の第2実施形態の加工誤差
チェック処理のフローチャートである。この第2の実施
形態では、実際の工具経路を描画するのではなく、合成
位置偏差Eが設定限界値E0 を越える区間があるブロッ
クの移動指令の描画を他の移動指令の描画の線種と異な
る線種で描画するようにしたものである。
FIG. 4 is a flowchart of a processing error check process according to the second embodiment of the present invention. In the second embodiment, instead of drawing the actual tool path, the drawing of the movement command of a block having a section where the combined position deviation E exceeds the set limit value E0 is performed with the line type of the drawing of another movement command. It is designed to draw with different line types.

【0020】加工誤差チェックモードにして加工プログ
ラム実行指令が入力されると、プロセッサ11は、CM
OS14に格納された加工プログラムを先頭からプログ
ラムを読みだし、ワークを加工しない状態の空運転で加
工プログラムの実行を開始する(ステップT1)。1ブ
ロックを読み(ステップT2)、プログラムエンドか判
断し(ステップT3)、プログラムエンドでなければ、
前述したステップS3と同様の移動指令の分配周期毎に
合成位置偏差Eを求める(ステップT4)。そして、こ
の合成位置偏差Eが設定限界値E0 を越えているか否か
判断し(ステップT5)、越えていなければステップT
7に進み、越えていれば、フラグFを「1」にセットし
て(ステップT6)、ステップT7に進む。なお、フラ
グFは初期設定で「0」にセットされている。ステップ
T7では、当該ブロックの移動指令の分配が終了してい
るか判断し、終了していなければ、ステップT4に戻
り、分配周期毎に上述した合成位置偏差Eを求め、設定
限界値E0 を越えていないか判断し、越えているときの
みフラグFを「1」にセットするステップT4〜T7の
処理を繰り返し実行する。
When a machining program execution command is input in the machining error check mode, the processor 11
The machining program stored in the OS 14 is read from the beginning, and the execution of the machining program is started in idle operation without machining the work (step T1). One block is read (step T2), and it is determined whether it is a program end (step T3).
A combined position deviation E is obtained for each movement command distribution cycle similar to that in step S3 described above (step T4). Then, it is determined whether or not the combined position deviation E exceeds the set limit value E0 (step T5).
Then, if it exceeds, the flag F is set to "1" (step T6), and the process proceeds to step T7. Note that the flag F is set to “0” by default. In step T7, it is determined whether or not the distribution of the movement command for the block has been completed. If not, the process returns to step T4, where the above-described combined position deviation E is obtained for each distribution cycle, and the value exceeds the set limit E0. It is determined whether or not the flag F is set to "1" only when it exceeds the threshold value, and the processing of steps T4 to T7 is repeatedly executed.

【0021】そして、当該ブロックの移動指令の分配が
終了すると、フラグFが「1」にセットされているか否
か判断し(ステップT8)、フラグFが「0」で当該ブ
ロックにおいて、1度も合成位置偏差Eが設定限界値E
0 を越えていなければ、標準の線種を選択し(ステップ
T9)、その選択線種で当該ブロックの移動指令のプロ
グラム経路Pを描画する(ステップT11)。図5は、
この実施形態での描画例であり。標準の線種は実線で表
している。また、1度でも合成位置偏差Eが設定限界値
E0 を越え、フラグFが「1」であると、誤差大の線種
を選択し(ステップT13)、その選択線種で当該ブロ
ックの移動指令のプログラム経路P´を描画する(ステ
ップT11)。図5では誤差大の線種を破線で表して
る。
When the distribution of the movement command of the block is completed, it is determined whether or not the flag F is set to "1" (step T8). The composite position deviation E is equal to the set limit value E.
If it does not exceed 0, a standard line type is selected (step T9), and a program path P for a movement command of the block is drawn with the selected line type (step T11). FIG.
It is a drawing example in this embodiment. Standard line types are represented by solid lines. If the combined position deviation E exceeds the set limit value E0 at least once and the flag F is "1", a line type having a large error is selected (step T13), and the movement command of the block is selected by the selected line type. Is drawn (step T11). In FIG. 5, a line type having a large error is indicated by a broken line.

【0022】そして、フラグFを「0」にセットし、ス
テップT2に戻り次のブロックの処理を開始する。以下
ステップT2〜T12、及びT13の処理を各ブロック
毎実行し、図5に示すようなプログラム経路を描画し、
プログラムエンドが読まれると、この加工誤差チェック
処理を終了する。
Then, the flag F is set to "0", and the process returns to step T2 to start the processing of the next block. Hereinafter, the processing of steps T2 to T12 and T13 is executed for each block, and a program path as shown in FIG. 5 is drawn.
When the program end is read, the processing error check processing ends.

【0023】こうして得られた、プログラム経路の描画
を観察し、誤差大の線種(破線)で描画されたブロック
の経路があれば、そのブロックの送り速度等の加工条件
を調整し、誤差大の線種の描画がなくなるまで加工誤差
チェックの空運転によるプログラム実行を行い、最適な
加工条件を見つけだす。
By observing the drawing of the program path obtained in this way, if there is a path of a block drawn with a line type (broken line) having a large error, processing conditions such as the feed speed of the block are adjusted, and a large error is generated. Until the drawing of the line type disappears, the program is executed by the idle operation of the machining error check to find out the optimal machining conditions.

【0024】図6は、第3の実施形態による描画状態を
表した図である。図6中左側はプログラム経路Pを描画
したもので、図6の右側は実際の工具経路Qを描画した
ものである。この実施形態の場合には、第1の実施形態
における処理と異なる点は、図2におけるステップS3
〜S5、及びS8の処理が異なるもので、単に、実際の
工具経路を描画するだけである。すなわち、ステップS
1でプログラ経路Pを図6のように描画し、その後、プ
ログラムを空運転で実行を開始し(ステップS2)、ス
テップS3の処理では位置偏差を求めることなく、フィ
ードバックされてくる現在位置のみを求め、ステップS
6に移行して、この求めた現在位置を表示装置の表示画
面にプロットし線で結び、この処理をプログラム終了ま
で実行し、図6の実際の工具経路Qとして描画するもの
である。
FIG. 6 is a diagram showing a drawing state according to the third embodiment. The left side in FIG. 6 illustrates the program path P, and the right side in FIG. 6 illustrates the actual tool path Q. In the case of this embodiment, the difference from the processing of the first embodiment is that step S3 in FIG.
S5 and S8 are different, and only the actual tool path is drawn. That is, step S
At 1, the program path P is drawn as shown in FIG. 6, and then the program is started in idle operation (step S 2). At step S 3, only the current position that is fed back is obtained without calculating the position deviation. Find, step S
6, the obtained current position is plotted on the display screen of the display device and connected by a line. This processing is executed until the end of the program, and is drawn as the actual tool path Q in FIG.

【0025】この描画されたプログラム経路Pと実際の
工具経路Qを比較対照しながら観察し、実際の工具経路
Qがプログラム経路Pより大きくずれ、望ましい加工形
状が得られないような場合には、加工速度、加減速時定
数等の加工条件を調整し、再度加工誤差チェックの空運
転を実行して同様な実際の工具経路Qを得て、満足のい
ける実際の工具経路Qが得られるまで加工条件を調整す
る。
The drawn program path P and the actual tool path Q are observed while being compared with each other, and if the actual tool path Q is greatly deviated from the program path P and a desired machining shape cannot be obtained, Adjust the processing conditions such as the processing speed and acceleration / deceleration time constant, execute the idle operation of the processing error check again to obtain the same actual tool path Q, and perform processing until a satisfactory actual tool path Q is obtained. Adjust the conditions.

【0026】なお、図2に示す処理を実行し、現在位置
の描画位置を図3に示すようにプログラム経路と重なり
合わせずに、図6のように並列に描画しても良く、この
場合には、合成位置偏差Eが設定限界値E0 を越えた箇
所には、図3に示すように異なった線種ので実際の工具
経路Qが描画されることになる。また、図6のように、
プログラム経路Pと実際の工具経路Qを並列に描画する
のではなく、重ねて描画してもよい。この場合にはプロ
グラム経路Pと実際の工具経路Qの線種(特に色)を変
えて描画すれば、形状誤差の検出も容易となる。
Note that the processing shown in FIG. 2 may be executed, and the drawing position at the current position may be drawn in parallel as shown in FIG. 6 without overlapping with the program path as shown in FIG. In the case where the combined position deviation E exceeds the set limit value E0, the actual tool path Q is drawn with different line types as shown in FIG. Also, as shown in FIG.
Instead of drawing the program path P and the actual tool path Q in parallel, they may be drawn in an overlapping manner. In this case, if the drawing is performed by changing the line type (especially, color) of the program path P and the actual tool path Q, the shape error can be easily detected.

【0027】図7は、第4の実施形態による描画状態を
表した図である。図7中左側はプログラム経路Pを描画
したもので、図7の右側は合成された位置偏差Eを時間
の関数として描画したものである。この第4の実施形態
での処理は、図2の処理フローチャートにおいて、ステ
ップS3で合成位置偏差Eを求めるまでは同一であり、
その後ステップS4,S5,S6,S8の処理を行わず
に、分配周期毎求めた合成位置偏差Eを時間の関数とし
て図7の位置偏差グラフのようにプロットして線で結ぶ
処理を行い、ステップS7に移行してプログラムが終了
するまでこの処理を繰り返し実行するものである。そし
て、図7のような描画を得る。なお、この位置偏差グラ
フに位置偏差限界値として±E0 の線を描画しておけ
ば、限界値E0 を越えたか否かが直ちに判明できる。
FIG. 7 is a diagram showing a drawing state according to the fourth embodiment. The left side of FIG. 7 illustrates the program path P, and the right side of FIG. 7 illustrates the combined position deviation E as a function of time. The processing in the fourth embodiment is the same as the processing flowchart in FIG. 2 until the combined position deviation E is obtained in step S3,
Thereafter, without performing the processing of steps S4, S5, S6, and S8, a process of plotting the combined position deviation E obtained for each distribution cycle as a function of time as shown in the position deviation graph of FIG. The process shifts to S7 to repeatedly execute this processing until the program ends. Then, a drawing as shown in FIG. 7 is obtained. If a line of ± E0 is drawn on the position deviation graph as the position deviation limit value, it can be immediately determined whether or not the position exceeds the limit value E0.

【0028】この位置偏差グラフを監視し、位置偏差E
が大きい箇所があれば、全体的に、もしくはその対応す
る部分に対して加工速度や加減速時定数等の加工条件を
変えて再度加工誤差チェックの空運転を実行して、位置
偏差グラフを得て、満足できる位置偏差グラフが得られ
るまでこの加工条件の調整を行えばよい。
This position deviation graph is monitored, and the position deviation E
If there is a part where is large, change the processing conditions such as the processing speed and acceleration / deceleration time constant for the whole or the corresponding part, and execute the idle operation of the processing error check again to obtain the position deviation graph. The processing conditions may be adjusted until a satisfactory position deviation graph is obtained.

【0029】なお、上記各実施形態では、プロセッサ1
1が各軸軸制御回路30〜31を介して、各軸現在位置
を示す位置のフィードバック信号を受信し、指令位置か
らこの現在位置を減じて各軸の位置偏差を求めている
が、位置偏差は、各軸軸制御回路30〜31の位置ルー
プ制御によって求められているから(位置偏差を求める
レジスタ等によって求められている)、この各軸位置偏
差をプロセッサ11が読み出すようにしてもよい。
In each of the above embodiments, the processor 1
1 receives the feedback signal of the position indicating the current position of each axis via each of the axis control circuits 30 to 31 and subtracts the current position from the command position to obtain the position deviation of each axis. Is determined by the position loop control of each axis control circuit 30 to 31 (determined by a register or the like for determining a position deviation), the processor 11 may read out each axis position deviation.

【0030】[0030]

【発明の効果】本発明では、実際に加工を行わずに、サ
ーボ系の遅れや加減速に伴う位置偏差の状態を監視でき
るから、位置偏差によって生じる加工誤差を容易に監視
できる。しかも、位置偏差による加工誤差が描画される
から、加工誤差を測定するという作業を行う必要がな
く、加工条件の調整が容易で、短時間で最適な加工条件
を求めることができる。さらに、実際に加工を行わない
から、ワークを無駄にすることもない。
According to the present invention, it is possible to monitor the state of the position deviation due to the delay or acceleration / deceleration of the servo system without actually performing the processing, so that the processing error caused by the position deviation can be easily monitored. In addition, since the processing error due to the position deviation is drawn, it is not necessary to perform the operation of measuring the processing error, the processing conditions can be easily adjusted, and the optimum processing conditions can be obtained in a short time. Further, since the working is not actually performed, the work is not wasted.

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

【図1】本発明を実施する実施形態のCNCの要部ブロ
ック図である。
FIG. 1 is a main block diagram of a CNC according to an embodiment of the present invention.

【図2】本発明の第1の実施形態の加工誤差チェック処
理のフローチャートである。
FIG. 2 is a flowchart of a processing error check process according to the first embodiment of the present invention.

【図3】同第1の実施形態における描画画面の説明図で
ある。
FIG. 3 is an explanatory diagram of a drawing screen according to the first embodiment.

【図4】本発明の第2の実施形態の加工誤差チェック処
理のフローチャートである。
FIG. 4 is a flowchart of a processing error check process according to a second embodiment of the present invention.

【図5】同第2の実施形態における描画画面の説明図で
ある。
FIG. 5 is an explanatory diagram of a drawing screen according to the second embodiment.

【図6】本発明の第3の実施形態における描画画面の説
明図である。
FIG. 6 is an explanatory diagram of a drawing screen according to a third embodiment of the present invention.

【図7】本発明の第4の実施形態における描画画面の説
明図である。
FIG. 7 is an explanatory diagram of a drawing screen according to a fourth embodiment of the present invention.

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

10 数値制御装置(CNC) 50,51,52 サーボモータ 62 スピンドルモータ 70 表示器/MDI P プログラム経路 Q 実際の工具経路 10 Numerical control unit (CNC) 50, 51, 52 Servo motor 62 Spindle motor 70 Display / MDI P Program path Q Actual tool path

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 ワークを加工しない空運転で加工プログ
ラムを実行し、そのとき得られる実際の工具経路を表示
装置に描画し、加工誤差をチェックできるようにした加
工誤差チェックができる数値制御装置。
1. A numerical control device capable of executing a machining program in idle operation without machining a workpiece, drawing an actual tool path obtained at that time on a display device, and performing a machining error check capable of checking a machining error.
【請求項2】 ワークを加工しない空運転で加工プログ
ラムを実行し、そのとき得られる位置偏差を表示装置に
描画し、加工誤差をチェックできるようにした加工誤差
チェックができる数値制御装置。
2. A numerical control device capable of executing a machining program in idle operation without machining a workpiece, drawing a positional deviation obtained at that time on a display device, and performing a machining error check capable of checking a machining error.
【請求項3】 ワークを加工しない空運転で加工プログ
ラムを実行し、そのとき得られる実際の工具経路を表示
装置に描画し、位置偏差が設定限界値を越える区間は線
種を変えて上記実際の工具経路を描画する加工誤差をチ
ェックできるようにした加工誤差チェックができる数値
制御装置。
3. A machining program is executed in idle operation without machining a workpiece, and an actual tool path obtained at that time is drawn on a display device. Numerical control device capable of checking a machining error that enables the checking of a machining error for drawing a tool path.
【請求項4】 加工プログラムのプログラム経路をも同
一画面に描画する請求項1,請求項2または請求項3記
載の加工誤差チェックができる数値制御装置。
4. The numerical controller according to claim 1, wherein the program path of the machining program is drawn on the same screen.
【請求項5】 ワークを加工しない空運転で加工プログ
ラムを実行し、位置偏差を監視して該位置偏差が設定限
界値を越える指令がある加工プログラムのブロックは描
画線種を変えて加工プログラム経路を表示装置に描画
し、加工誤差をチェックできるようにした加工誤差チェ
ックができる数値制御装置。
5. A machining program which executes a machining program in idle operation without machining a workpiece, monitors a position deviation, and receives a command in which the position deviation exceeds a set limit value. Is a numerical control device capable of performing a processing error check by drawing a character on a display device so that the processing error can be checked.
JP9321976A 1997-11-10 1997-11-10 Numerical controller capable of executing working error check Pending JPH11143514A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9321976A JPH11143514A (en) 1997-11-10 1997-11-10 Numerical controller capable of executing working error check

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9321976A JPH11143514A (en) 1997-11-10 1997-11-10 Numerical controller capable of executing working error check

Publications (1)

Publication Number Publication Date
JPH11143514A true JPH11143514A (en) 1999-05-28

Family

ID=18138537

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9321976A Pending JPH11143514A (en) 1997-11-10 1997-11-10 Numerical controller capable of executing working error check

Country Status (1)

Country Link
JP (1) JPH11143514A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002120128A (en) * 2000-10-17 2002-04-23 Fanuc Ltd Numerical control device to control servo motor and spindle motor
WO2004008262A1 (en) * 2002-07-16 2004-01-22 Howa Machinery, Ltd. device and method for generating Piston outline machining data and computer-readable recoding medium ON WHICH machining data generation program IS RECORDED
JP2005001033A (en) * 2003-06-10 2005-01-06 Fanuc Ltd Machining monitor
EP1688808A2 (en) 2005-02-02 2006-08-09 Fanuc Ltd Numerical controller
DE102010044534A1 (en) 2009-09-10 2011-03-24 FANUC LTD, Oshino-mura 3D motion path imaging device for a machine tool
JP2011165066A (en) * 2010-02-12 2011-08-25 Jtekt Corp Error display device of machine tool
WO2011114776A1 (en) * 2010-03-15 2011-09-22 オムロン株式会社 Display device, display control method, program, and computer-readable recording medium
CN102490083A (en) * 2011-11-15 2012-06-13 上海三一精机有限公司 Real-time display method for space profile track errors of numerical control device
JP2013250636A (en) * 2012-05-30 2013-12-12 Fanuc Ltd Numerical control device having display part for displaying information for evaluating processing
JP2017072880A (en) * 2015-10-05 2017-04-13 アイコクアルファ株式会社 Cutting load prediction method, cutting load prediction system, cutting load prediction program, and storage medium
JP2019181635A (en) * 2018-04-12 2019-10-24 ファナック株式会社 Information processor and information processing method
JP2020071734A (en) * 2018-10-31 2020-05-07 ファナック株式会社 Numerical control device
JP2021071951A (en) * 2019-10-31 2021-05-06 ファナック株式会社 Simulator, numerical controller, and method of simulation
DE112021004226T5 (en) 2020-09-07 2023-06-15 Fanuc Corporation display device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04177408A (en) * 1990-11-08 1992-06-24 Fanuc Ltd Precision evaluating method for numerical controller
JPH0772916A (en) * 1993-09-06 1995-03-17 Toyoda Mach Works Ltd Nc data generating method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04177408A (en) * 1990-11-08 1992-06-24 Fanuc Ltd Precision evaluating method for numerical controller
JPH0772916A (en) * 1993-09-06 1995-03-17 Toyoda Mach Works Ltd Nc data generating method

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6566836B2 (en) 2000-10-17 2003-05-20 Fanuc Ltd. Controller for controlling servo motor and spindle motor
JP2002120128A (en) * 2000-10-17 2002-04-23 Fanuc Ltd Numerical control device to control servo motor and spindle motor
CN100383690C (en) * 2002-07-16 2008-04-23 丰和工业株式会社 Device for generating piston outline machining data
WO2004008262A1 (en) * 2002-07-16 2004-01-22 Howa Machinery, Ltd. device and method for generating Piston outline machining data and computer-readable recoding medium ON WHICH machining data generation program IS RECORDED
JP2004046748A (en) * 2002-07-16 2004-02-12 Howa Mach Ltd Device for generating working data of piston outline
US7184854B2 (en) 2002-07-16 2007-02-27 Howa Machinery, Ltd. Device and method for generating piston outline machining data and computer-readable recording medium on which machining data generation program is recorded
JP2005001033A (en) * 2003-06-10 2005-01-06 Fanuc Ltd Machining monitor
EP1688808A3 (en) * 2005-02-02 2009-10-21 Fanuc Ltd Numerical controller
EP1688808A2 (en) 2005-02-02 2006-08-09 Fanuc Ltd Numerical controller
DE102010044534A1 (en) 2009-09-10 2011-03-24 FANUC LTD, Oshino-mura 3D motion path imaging device for a machine tool
US8018192B2 (en) 2009-09-10 2011-09-13 Fanuc Ltd 3D-trajectory display device for machine tool
JP2011165066A (en) * 2010-02-12 2011-08-25 Jtekt Corp Error display device of machine tool
US9563195B2 (en) 2010-03-15 2017-02-07 Omron Corporation Device and method for displaying a change in the position of an object
WO2011114776A1 (en) * 2010-03-15 2011-09-22 オムロン株式会社 Display device, display control method, program, and computer-readable recording medium
JP2011192017A (en) * 2010-03-15 2011-09-29 Omron Corp Display device, display control method, program and computer-readable recording medium
CN102812407A (en) * 2010-03-15 2012-12-05 欧姆龙株式会社 Display device, display control method, program, and computer-readable recording medium
CN102490083A (en) * 2011-11-15 2012-06-13 上海三一精机有限公司 Real-time display method for space profile track errors of numerical control device
US9477216B2 (en) 2012-05-30 2016-10-25 Fanuc Corporation Numerical control device including display part for displaying information for evaluation of machining process
JP2013250636A (en) * 2012-05-30 2013-12-12 Fanuc Ltd Numerical control device having display part for displaying information for evaluating processing
JP2017072880A (en) * 2015-10-05 2017-04-13 アイコクアルファ株式会社 Cutting load prediction method, cutting load prediction system, cutting load prediction program, and storage medium
JP2019181635A (en) * 2018-04-12 2019-10-24 ファナック株式会社 Information processor and information processing method
CN110390402A (en) * 2018-04-12 2019-10-29 发那科株式会社 Information processing unit and information processing method
US11022951B2 (en) 2018-04-12 2021-06-01 Fanuc Corporation Information processing device and information processing method
JP2020071734A (en) * 2018-10-31 2020-05-07 ファナック株式会社 Numerical control device
CN111123842A (en) * 2018-10-31 2020-05-08 发那科株式会社 Numerical controller
US11460824B2 (en) 2018-10-31 2022-10-04 Fanuc Corporation Numerical controller
CN111123842B (en) * 2018-10-31 2024-03-15 发那科株式会社 Numerical controller
JP2021071951A (en) * 2019-10-31 2021-05-06 ファナック株式会社 Simulator, numerical controller, and method of simulation
DE112021004226T5 (en) 2020-09-07 2023-06-15 Fanuc Corporation display device

Similar Documents

Publication Publication Date Title
US6885909B2 (en) Numerical controller
JP4920785B2 (en) Numerical control method and apparatus
US7039493B2 (en) Numerical control apparatus
EP0513369B1 (en) Numerically controlled device with working simulation function
JPH11143514A (en) Numerical controller capable of executing working error check
US5400260A (en) Method of creating machining conditions for NC machine tools
EP0397887B1 (en) Method of correcting machining program
US5337249A (en) Numerical control machining animation with workpiece and tool movement
JP2006004275A (en) Numerical control device
JPH0695725A (en) Animation drawing system for nc working program
JPH06114679A (en) Processing program checking method of numerical control device
JPH03217907A (en) Numerical control method having circular arc interpolation locus display function and its device
US7095203B2 (en) Numerical controller
JP2009223354A (en) Numerical control device having function for displaying alarm information
WO1992009018A1 (en) Method for executing auxiliary function in numerical control equipment
JP2005316747A (en) Synchronization controller
JPH0863216A (en) Machining time measuring system
JP2628914B2 (en) Processing simulation method
JPH0751997A (en) Machining load monitoring method
JP4087374B2 (en) Numerical controller with load torque monitoring function
JP3460781B2 (en) Numerical control unit
KR940010397B1 (en) Reloading method of pitch error correction data
WO2023228356A1 (en) Numerical control device and computer-readable storage medium
JPH0885044A (en) Working load monitoring system
WO2022244070A1 (en) Operation status display device and computer-readable storage medium

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040806

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040817

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041014

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041116