JPH0689109A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPH0689109A
JPH0689109A JP14730192A JP14730192A JPH0689109A JP H0689109 A JPH0689109 A JP H0689109A JP 14730192 A JP14730192 A JP 14730192A JP 14730192 A JP14730192 A JP 14730192A JP H0689109 A JPH0689109 A JP H0689109A
Authority
JP
Japan
Prior art keywords
position value
value
block
program
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP14730192A
Other languages
Japanese (ja)
Other versions
JP3045603B2 (en
Inventor
Yasuhiro Okada
康廣 岡田
Shinji Nakano
伸二 中野
Akihiro Takeuchi
彰浩 竹内
Takeo Kondo
猛男 近藤
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.)
Toyota Motor Corp
Toyoda Koki KK
Original Assignee
Toyota Motor Corp
Toyoda Koki KK
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 Toyota Motor Corp, Toyoda Koki KK filed Critical Toyota Motor Corp
Priority to JP4147301A priority Critical patent/JP3045603B2/en
Publication of JPH0689109A publication Critical patent/JPH0689109A/en
Application granted granted Critical
Publication of JP3045603B2 publication Critical patent/JP3045603B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To improve working precision by operating a working according the positioning of a block, judging whether or not the block reaches the block designated position according to the presence or absence of it within an imposition value, designating the different imposition value when it is inadequate and controlling the working. CONSTITUTION:An NC program is stored in a nonvolatile memory 13, and the imposition value for the positioning is inputted by a data input device 14 and stored. The imposition value is set to be a large numeric value which is suited between a fast forwarding and the fast forwarding, fast forwarding and a cutting feeding, and cutting feeding and the fast forwarding for which the high positioning precision is not necessary. Afterwards, an NC device 1 is driven, and a machine is driven. Then, several processings are operated in parallel in the NC device 1, and a CPU 10 time-divides a constant cycle, and processes in parallel the pre-processing of reading one block from the NC program, and preparing an execution form data, execution processing of operating a pulse distribution to each axis by the execution form data, and the other processing.

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 for controlling a machine tool or the like.

【0002】[0002]

【従来の技術】工作機械等を制御する数値制御装置で
は、ワークに対し工具が進む経路がNCプログラムによ
って記憶されていて、このNCプログラムに従って工作
機械等を制御して加工を行う。その際、数値制御装置
は、NCプログラムの1ブロックを読みとり、このブロ
ックの指令が位置決めや切削等の移動指令であると、こ
の指令に従って各軸のサーボモータを駆動し、位置決め
あるいは切削等の加工を行なわせる。そして、前記ブロ
ックで指定された位置に達したか否かを、各軸のサーボ
モータを駆動するサーボ回路内のエラーレジスタの値が
所定値幅内にあるか否か、すなわちインポジション値内
にあるか否かで判断して、インポジション値内である
と、次のブロックの処理を開始する。以上のような手順
で、NCプログラムで指定したとおりの形状に加工を行
っている。
2. Description of the Related Art In a numerical control device for controlling a machine tool or the like, an NC program stores a path along which a tool travels with respect to a work, and the machine tool or the like is controlled in accordance with the NC program to perform machining. At that time, the numerical controller reads one block of the NC program, and if the command of this block is a movement command for positioning, cutting, etc., it drives the servomotor of each axis according to this command to perform machining such as positioning or cutting. To perform. Then, it is determined whether or not the position designated by the block is reached, whether or not the value of the error register in the servo circuit for driving the servo motor of each axis is within a predetermined value range, that is, the in-position value. If it is within the in-position value, the processing of the next block is started. With the above procedure, the shape is machined into the shape specified by the NC program.

【0003】そのとき、インポジション値を小さくする
ほど指定位置へ正確に位置されることを意味するので、
精度がよい加工ができるが、位置決めに時間を有するの
で加工時間が長くなる欠点がある。また、インポジショ
ン値を大きくすると、加工時間は短くなるが、位置決め
の精度が粗くなり加工精度が低くなってしまう。そのた
め、インポジション値を変更する制御として、特開昭6
3−206804号公報に示されるように、インポジシ
ョン値を現在処理中の移動指令の種類と次のブロックの
移動指令の種類に応じて2つのパラメータを選択するよ
うにした方法が知られている。この方法は、位置決め精
度が高いことが必要な、例えば切削送りから切削送りへ
のブロック間のときは、小さなインポジション値とし、
格別高い位置決め精度を必要としない、例えば早送りか
ら早送りへのブロック間のときは、大きなインポジショ
ン値とすることにより、必要な位置決め精度を確保しつ
つ加工時間を短縮することを目的とするものである。
At this time, the smaller the in-position value, the more accurately it is positioned at the designated position.
Although accurate machining can be performed, there is a drawback that the machining time becomes long because it takes time for positioning. Further, if the in-position value is increased, the processing time becomes shorter, but the positioning accuracy becomes rough and the processing accuracy becomes low. Therefore, as a control for changing the in-position value, Japanese Patent Laid-Open No.
As disclosed in Japanese Patent Laid-Open No. 3-206804, a method is known in which two parameters are selected according to the type of movement command currently being processed and the type of movement command of the next block. . This method requires a high positioning accuracy, for example, when a block from cutting feed to cutting feed is between blocks, a small in-position value,
When the block does not require exceptionally high positioning accuracy, for example, between blocks from fast-forward to fast-forward, a large in-position value is used to ensure the required positioning accuracy and shorten the machining time. is there.

【0004】[0004]

【発明が解決しようとする課題】上記の数値制御方法で
は、現在処理中の移動指令の種類と次のブロックの移動
指令の種類が同じでも位置決め精度が必要な時と必要な
い時がある場合に、対応ができないという問題がある。
すなわち、例えば早送りから早送りへのブロック間のと
きは、必ず大きなインポジション値になるように指示さ
れるため、例えば裏座ぐりバイトを加工する貫通穴の裏
側まで早送りで送った後に貫通穴裏面を早送りで座ぐり
加工する裏座ぐり加工を行う場合のように、早送りから
早送りへの間でも位置決め精度を必要とする個所でも、
大きなインポジション値が選択されてしまい、工具がワ
ークに干渉したり必要な加工精度を得られないことがあ
る。
In the above numerical control method, even when the type of the movement command currently being processed and the type of the movement command of the next block are the same, positioning accuracy may or may not be required. , There is a problem that we can not respond.
That is, for example, during a block from fast-forward to fast-forward, it is instructed to always have a large in-position value. Counterbore machining with rapid traverse As with the case of performing counterbore machining, even between fast traverses and locations requiring positioning accuracy,
If a large in-position value is selected, the tool may interfere with the work and the required machining accuracy may not be obtained.

【0005】[0005]

【課題を解決するための手段】本発明は、上述した問題
を解決するためになされたもので、NCプログラムの1
ブロックによって指令された移動指令位置に達したこと
を、サーボ回路内のエラーレジスタの値がインポジショ
ン値内になることにより判断して次のブロックへ進む数
値制御装置において、前記インポジション値を設定する
設定手段と、この設定手段で設定されたインポジション
値と異なるインポジション値を移動指令とともにプログ
ラム上に指定する指定手段と、この指定手段で指定した
インポジション値の有無を判定する判定手段と、この判
定手段によってインポジション値が指定されていると判
定された場合にはこの指定したインポジション値を有効
にし、インポジション値が指定されていないと判定され
た場合には前記設定手段で設定したインポジション値を
有効にする置換手段とによって構成したことを特徴とす
るものである。
The present invention has been made in order to solve the above-mentioned problems, and it is one of NC programs.
Set the in-position value in the numerical controller that judges that the movement command position commanded by the block has been reached by the value of the error register in the servo circuit being within the in-position value. Setting means, specifying means for specifying an in-position value different from the in-position value set by the setting means on the program together with the movement command, and determining means for judging the presence or absence of the in-position value specified by the specifying means. If the in-position value is determined by the determination means, the specified in-position value is validated, and if the in-position value is determined not to be set by the setting means It is characterized in that it is configured by a replacement means for validating the in-position value.

【0006】[0006]

【作用】数値制御装置で読み取ったブロックの位置決め
あるいは切削等の移動指令に従い各軸のサーボモータを
駆動して、位置決めや切削等の加工を行う。このブロッ
クで指定された位置に達したか否かはインポジション値
内にあるか否かで判断する。通常は前もって設定手段で
設定されたインポジション値に基づいて判断される。こ
の前もって設定されたインポジション値では不適当な場
合は、異なるインポジション値をプログラム上に新たに
指定し、インポジション値が新たに指定された場合だけ
新たに指定したインポジション値に基づいて位置決めや
切削等の加工が制御される。
According to the movement command for positioning or cutting the block read by the numerical controller, the servomotors for the respective axes are driven to perform positioning, cutting and other machining. Whether or not the position specified in this block is reached is determined by whether or not it is within the in-position value. Normally, the judgment is made based on the in-position value set by the setting means in advance. If the preset in-position value is unsuitable, a different in-position value is newly specified in the program, and positioning is performed based on the newly-specified in-position value only when the in-position value is newly specified. Processing such as cutting and cutting is controlled.

【0007】[0007]

【実施例】以下に本発明の実施例を図面に基づいて説明
する。図1は、本発明の数値制御方法を実行するシステ
ムの要部ブロック図で、数値制御装置(以下NC装置と
いう)1は、中央処理装置(以下CPUという)10、
NC装置1の全体の管理プログラム等を記憶したROM
11、データの一時記憶等のために利用されるRAM1
2、加工を行うためのNCプログラムや後述するインポ
ジション値等の設定するNCプログラムを記憶する不揮
発性メモリ13、データを入力するためのCRT表示装
置付きデータ入力装置14、工作機械等の機械の各軸の
サーボモータMX,MY,MZを駆動するサーボ回路1
7X,17Y,17Zを接続するサーボインターフェイ
ス15を有し、これらがパス16で接続されている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a main part of a system for executing the numerical control method of the present invention. A numerical control device (hereinafter referred to as NC device) 1 is a central processing unit (hereinafter referred to as CPU) 10,
ROM storing the overall management program of the NC device 1
11. RAM1 used for temporary storage of data
2. A non-volatile memory 13 for storing an NC program for machining and an NC program for setting an in-position value described later, a data input device 14 with a CRT display device for inputting data, Servo circuit 1 for driving servo motors MX, MY, MZ of each axis
It has a servo interface 15 for connecting 7X, 17Y, 17Z, and these are connected by a path 16.

【0008】そして、各軸のサーボ回路17X,17
Y,17Z内のエラーレジスタ18X,18Y,18Z
には、サーボインターフェイス15を介して、各軸に分
配されたパルスが入力される。また各軸のサーボモータ
MX,MY,MZに設けられた位置検出器PX,PY,
PZからのフィードバックパルスがエラーレジスタ18
X,18Y,18Zにそれぞれ入力され、このエラーレ
ジスタ18X,18Y,18Zの値が「0」となるよう
に制御され、位置決めされるようになっている。また各
エラーレジスタ18X,18Y,18Zの値、すなわち
エラー量εx,εy,εzはサーボインターフェイス1
5に入力され、エラー量を検出できるようになってい
る。
The servo circuits 17X, 17 for each axis
Error registers 18X, 18Y, 18Z in Y, 17Z
A pulse distributed to each axis is input to the axis via the servo interface 15. Further, the position detectors PX, PY provided on the servo motors MX, MY, MZ of the respective axes,
Feedback pulse from PZ is error register 18
The error registers 18X, 18Y, and 18Z are respectively input to X, 18Y, and 18Z, and are controlled and positioned so that the values of the error registers 18X, 18Y, and 18Z become "0". The values of the error registers 18X, 18Y, 18Z, that is, the error amounts εx, εy, εz are the servo interface 1
The error amount is input to 5, and the error amount can be detected.

【0009】次に、本実施例の動作処理について説明す
る。まず、不揮発性メモリ13にNCプログラムを記憶
させ、さらに位置決めのためのインポジション値を、デ
ータ入力装置14により入力して記憶させる。このイン
ポジション値は、例えば格別高い位置決め精度を必要と
しない早送りから早送り、早送りから切削送り、切削送
りから早送りの間に適合するような大きな数値を設定す
る。
Next, the operation processing of this embodiment will be described. First, the NC program is stored in the non-volatile memory 13, and the in-position value for positioning is input and stored by the data input device 14. For this in-position value, for example, a large numerical value is set so as to be suitable for fast feed to fast feed, fast feed to cutting feed, and cutting feed to fast feed that do not require exceptionally high positioning accuracy.

【0010】その後、NC装置1を駆動して機械を駆動
させる。NC装置1ではいくつかの処理を平行に行い、
CPU10は一定サイクルを時分割して、NCプログラ
ムより1ブロックを読み取り、実行形式データを作る前
処理、および実行形式データによって各軸へのパルス分
配を行う実行処理や他の処理等を平行処理する。以下
に、前処理と実行処理の一例を示す。前処理において
は、図2に示すように、NCプログラムより1ブロック
を読み取り(ステップS1)、実行形式データに変換処
理して(ステップS2)、準備レジスタR1にこの変換
された実行形式データを格納する(ステップS3)。そ
の後、実行レジスタR2が実行のために読み取られて空
になっているか否か判断し(ステップS4)、空になっ
ていると準備レジスタR1の実行形式データを実行レジ
スタR2に格納する(ステップS5)。このように、実
行レジスタR2には、実行するブロックの実行形式デー
タが格納され、準備レジスタR1には、次のブロックの
実行形式データが格納されることとなる。この処理を、
一定サイクルの割当てられた時間毎に行う。
After that, the NC device 1 is driven to drive the machine. The NC device 1 performs some processing in parallel,
The CPU 10 time-divisions a certain cycle, reads one block from the NC program, and performs preprocessing for creating execution format data, and execution processing for performing pulse distribution to each axis by the execution format data and other processing in parallel. . Below, an example of pre-processing and execution processing is shown. In the preprocessing, as shown in FIG. 2, one block is read from the NC program (step S1), converted into execution format data (step S2), and the converted execution format data is stored in the preparation register R1. Yes (step S3). Thereafter, it is determined whether the execution register R2 is read for execution and is empty (step S4), and if it is empty, the execution format data of the preparation register R1 is stored in the execution register R2 (step S5). ). In this way, the execution register R2 stores the execution format data of the block to be executed, and the preparation register R1 stores the execution format data of the next block. This process
It is performed every fixed time of a fixed cycle.

【0011】また、実行処理においては、図3に示すよ
うに、前処理で実行レジスタR2に格納された1ブロッ
クの実行形式データを読み取り(ステップS10)、各
軸に対してパルス分配処理を開始して(ステップS1
1)、サーボインターフェイス15を介して各軸のサー
ボ回路17X,17Y,17Z内のエラーレジスタ18
X,18Y,18Zにパルスを分配する。これにより各
軸のサーボモータMX,MY,MZが駆動され、それに
伴い位置検出器PX,PY,PZから発生するフィード
バックパルスによりエラーレジスタ18X,18Y,1
8Zが減算され、エラーレジスタ18X,18Y,18
Zに溜まるエラー量εX,εY,εZが「0」となるよ
うに各軸のサーボモータMX,MY,MZが駆動され
る。
In the execution processing, as shown in FIG. 3, one block of execution format data stored in the execution register R2 in the preprocessing is read (step S10), and pulse distribution processing is started for each axis. Then (step S1
1), the error register 18 in the servo circuits 17X, 17Y, 17Z for each axis via the servo interface 15
Distribute pulses to X, 18Y, 18Z. As a result, the servomotors MX, MY, MZ of the respective axes are driven, and the feedback pulses generated from the position detectors PX, PY, PZ accordingly cause error registers 18X, 18Y, 1 to be generated.
8Z is subtracted, and error registers 18X, 18Y, 18
The servo motors MX, MY, MZ of the respective axes are driven so that the error amounts εX, εY, εZ accumulated in Z become “0”.

【0012】一方、CPU10では、メモリ13にあら
かじめ記憶されていたパラメータAを呼びだして、レジ
スタCに格納する(ステップS12)。前に述べたよう
にこのパラメータAは大きな値からなり、現在のブロッ
クと次のブロックの関係が格別高い位置決め精度を必要
としない場合の数値である。その後、パラメータAのイ
ンポジション値を小さい値に変更する必要がある場合の
ため作業者がプログラム上に指定した設定値Bがあるか
どうかを判定する(ステップS13)。この設定値Bは
パラメータAより小さな値で、現在のブロックと次のブ
ロックの関係が切削送りから切削送りのような高い位置
決め精度を必要とする場合の数値である。ステップS1
3で設定値Bがあると判定された場合は、レジスタCに
パラメータAに換えて設定値Bを格納する(ステップS
14)。設定値Bがないと判定された場合は、レジスタ
CにはパラメータAがそのまま格納される。
On the other hand, the CPU 10 recalls the parameter A previously stored in the memory 13 and stores it in the register C (step S12). As described above, this parameter A has a large value and is a numerical value when the relationship between the current block and the next block does not require exceptionally high positioning accuracy. Then, it is necessary to change the in-position value of the parameter A to a small value, and it is determined whether or not there is the set value B designated by the operator on the program (step S13). The set value B is smaller than the parameter A, and is a numerical value when the relationship between the current block and the next block requires high positioning accuracy such as cutting feed to cutting feed. Step S1
If it is determined in step 3 that there is the setting value B, the setting value B is stored in the register C in place of the parameter A (step S
14). If it is determined that the set value B does not exist, the parameter A is stored in the register C as it is.

【0013】その後、各エラーレジスタ18X,18
Y,18Zよりエラー量εx,εy,εzを読み取り、
各エラー量εx,εy,εzの絶対値がレジスタCに格
納されたインポジション値より小さいが否か判断する
(ステップS15,ステップS17,ステップS1
9)。インポジション値より小さい場合は、それぞれフ
ラグFX,FY,FZを「1」にし(ステップS16,
ステップS18,ステップS20)、すべてのフラグF
X,FY,FZが「1」であるかどうか判断する(ステ
ップS21)。すべてのフラグFX,FY,FZが
「1」でないときは、すべてのエラー量εx,εy,ε
zがインポジション値より小さくなるまで各サーボモー
タMX,MY,MZが駆動される。ステップS21です
べてのフラグFX,FY,FZが「1」である場合は、
現在実行中のブロックの終点に達したと判断して、フラ
グFX,FY,FZをすべて「0」にし(ステップS2
2)、ふたたびステップS10に戻って、実行レジスタ
R2に格納されている次のブロックの処理を開始する。
After that, each error register 18X, 18
Read the error amounts εx, εy, εz from Y, 18Z,
It is determined whether or not the absolute values of the respective error amounts εx, εy, εz are smaller than the in-position value stored in the register C (step S15, step S17, step S1).
9). If it is smaller than the in-position value, the flags FX, FY, and FZ are set to "1" (step S16,
Step S18, Step S20), all flags F
It is determined whether X, FY, FZ are "1" (step S21). When all flags FX, FY, FZ are not "1", all error amounts εx, εy, ε
The servo motors MX, MY, MZ are driven until z becomes smaller than the in-position value. If all the flags FX, FY, FZ are "1" in step S21,
When it is determined that the end point of the block currently being executed has been reached, the flags FX, FY, and FZ are all set to "0" (step S2
2) Then, the process returns to step S10 again to start the processing of the next block stored in the execution register R2.

【0014】以上のように、インポジション値を前もっ
て設定されたインポジション値であるパラメータAと異
なる値にする場合に、プログラム上に異なるインポジシ
ョン値Bを新たに指定して、この新たに指定されたイン
ポジション値Bがある場合にはこのインポジション値B
に換え、インポジション値Bがない場合にはそのままパ
ラメータAとするようにしたことにより、例えば高い位
置決め精度を必要とする場合は、現在のブロックと次の
ブロックの関係がどのような場合でも、確実にインポジ
ション値を小さくすることができ、高い位置決め精度で
加工することができる。そのため、インポジション値を
現在処理中の移動指令の種類と次のブロックの移動指令
の種類で一義的に決めるようにした従来の方法では対応
できなかった現在処理中の移動指令の種類と次のブロッ
クの移動指令の種類が同じで位置決め精度を必要な個所
と必要としない個所がある場合に対応することができ、
位置決め精度を必要な場合はインポジション値を小さ
く、位置決め精度を必要としない場合はインポジション
値を大きくことができる。さらに、新たに指定するイン
ポジション値は必要とする位置決め精度になるような最
適値を選ぶことができるので、必要な位置決め精度を正
確に得ることができる。
As described above, when the in-position value is set to a value different from the parameter A which is the in-position value set in advance, a different in-position value B is newly specified on the program, and this new specification is made. If there is an in-position value B that has been set, this in-position value B
Alternatively, when there is no in-position value B, the parameter A is used as it is, so that, for example, when high positioning accuracy is required, no matter what the relationship between the current block and the next block, The in-position value can be reliably reduced, and machining can be performed with high positioning accuracy. Therefore, the in-position value is determined by the type of movement command currently being processed and the type of movement command of the next block, which cannot be handled by the conventional method. It can handle cases where the block movement commands are the same and there are locations that require positioning accuracy and locations that do not.
The in-position value can be decreased when the positioning accuracy is required, and can be increased when the positioning accuracy is not required. Further, since the newly designated in-position value can be selected as an optimum value that achieves the required positioning accuracy, the required positioning accuracy can be obtained accurately.

【0015】なお、上記実施例は、前もって記憶された
パラメータの値を、現在のブロックと次のブロックの関
係が格別高い位置決め精度を必要としない場合に適合す
る大きな値としているが、これに限定されるものではな
く、この値を、パラメータD、およびパラメータDより
小さい値のパラメータEの2つの数値から選択し、その
選択を現在実行中のブロックと次のブロックの移動指令
の種類に応じて行うようにして、位置決めを正確に行う
ことが必要な切削送りから切削送りの間は小さい値のパ
ラメータEが選択され、格別高い位置決め精度を必要と
しない、早送りから早送り、早送りから切削送り、切削
送りから早送りの間は、大きい値のパラメータDが選択
されるようにしてもよい。
In the above embodiment, the value of the parameter stored in advance is set to a large value suitable for the case where the relationship between the current block and the next block does not require exceptionally high positioning accuracy, but is limited to this. However, this value is selected from the two numerical values of the parameter D and the parameter E having a value smaller than the parameter D, and the selection is made according to the type of the movement command of the currently executing block and the next block. By doing so, a small value of the parameter E is selected between the cutting feed and the cutting feed, which require accurate positioning, and does not require exceptionally high positioning accuracy. Fast feed to fast feed, fast feed to cutting feed, cutting The parameter D having a large value may be selected during the period from the feed to the fast forward.

【0016】[0016]

【発明の効果】以上述べたように、本発明は、NCプロ
グラムの1ブロックによって指令された移動指令位置に
達したことを、サーボ回路内のエラーレジスタの値がイ
ンポジション値内になることにより判断して次のブロッ
クへ進む数値制御装置において、前記インポジション値
を設定する設定手段と、この設定手段で設定されたイン
ポジション値と異なるインポジション値を移動指令とと
もにプログラム上に指定する指定手段と、この指定手段
で指定したインポジション値の有無を判定する判定手段
と、この判定手段によってインポジション値が指定され
ていると判定された場合にはこの指定したインポジショ
ン値を有効にし、インポジション値が指定されていない
と判定された場合には前記設定手段で設定したインポジ
ション値を有効にする置換手段とによって構成したこと
を特徴として、この構成により従来のインポジション値
を現在処理中の移動指令と次のブロックの移動指令で一
義的に決める方法で生じる問題を解消して、必要とする
位置決め精度に応じたインポジション値を最適に指定す
ることができ、最適な加工精度を得ることができる。
As described above, according to the present invention, when the movement command position instructed by one block of the NC program is reached, the value of the error register in the servo circuit falls within the in-position value. In a numerical control device that judges and proceeds to the next block, setting means for setting the in-position value and designating means for designating an in-position value different from the in-position value set by the setting means on a program together with a movement command. And a judging means for judging whether or not there is an in-position value specified by the specifying means, and when the judging means judges that the in-position value is specified, the specified in-position value is validated, If it is determined that the position value is not specified, the in-position value set by the setting means will be valid. By this configuration, the problem that arises in the conventional method of uniquely determining the in-position value by the movement command currently being processed and the movement command of the next block is solved, and it is necessary. It is possible to optimally specify the in-position value according to the positioning accuracy to be performed, and it is possible to obtain the optimum processing accuracy.

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

【図1】本発明の実施例を示す数値制御装置のシステム
の要部ブロック図である。
FIG. 1 is a block diagram of a main part of a system of a numerical controller according to an embodiment of the present invention.

【図2】本発明の実施例における動作処理の前処理のフ
ローチャートである。
FIG. 2 is a flowchart of preprocessing of operation processing according to the embodiment of the present invention.

【図3】本発明の実施例における動作処理の実行処理の
フローチャートである。
FIG. 3 is a flowchart of execution processing of operation processing in the embodiment of the present invention.

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

1 数値制御装置(NC装置) 17X,17Y,17Z サーボ回路 18X,18Y,18Z エラーレジスタ 1 Numerical control device (NC device) 17X, 17Y, 17Z Servo circuit 18X, 18Y, 18Z Error register

───────────────────────────────────────────────────── フロントページの続き (72)発明者 竹内 彰浩 愛知県豊田市トヨタ町1番地 トヨタ自動 車株式会社内 (72)発明者 近藤 猛男 愛知県豊田市トヨタ町1番地 トヨタ自動 車株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Akihiro Takeuchi 1 Toyota Town, Toyota City, Aichi Prefecture, Toyota Motor Co., Ltd. (72) Inventor Takeo Kondo 1 Toyota Town, Toyota City, Aichi Prefecture, Toyota Motor Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 NCプログラムの1ブロックによって指
令された移動指令位置に達したことを、サーボ回路内の
エラーレジスタの値がインポジション値内になることに
より判断して次のブロックへ進む数値制御装置におい
て、前記インポジション値を設定する設定手段と、この
設定手段で設定されたインポジション値と異なるインポ
ジション値を移動指令とともにプログラム上に指定する
指定手段と、この指定手段で指定したインポジション値
の有無を判定する判定手段と、この判定手段によってイ
ンポジション値が指定されていると判定された場合には
この指定したインポジション値を有効にし、インポジシ
ョン値が指定されていないと判定された場合には前記設
定手段で設定したインポジション値を有効にする置換手
段とによって構成したことを特徴とする数値制御装置。
1. A numerical control which judges that the movement command position commanded by one block of the NC program is reached by the value of the error register in the servo circuit being within the in-position value, and proceeds to the next block. In the apparatus, setting means for setting the in-position value, designating means for designating an in-position value different from the in-position value set by the setting means on a program together with a movement command, and the in-position designated by the designating means The determining means for determining the presence or absence of a value, and when the determining means determines that the in-position value is designated, the designated in-position value is validated, and it is determined that the in-position value is not designated. In this case, the in-position value set by the setting means is made effective by the replacement means. Numerical control device characterized in that.
JP4147301A 1992-06-08 1992-06-08 Numerical control unit Expired - Fee Related JP3045603B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4147301A JP3045603B2 (en) 1992-06-08 1992-06-08 Numerical control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4147301A JP3045603B2 (en) 1992-06-08 1992-06-08 Numerical control unit

Publications (2)

Publication Number Publication Date
JPH0689109A true JPH0689109A (en) 1994-03-29
JP3045603B2 JP3045603B2 (en) 2000-05-29

Family

ID=15427111

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4147301A Expired - Fee Related JP3045603B2 (en) 1992-06-08 1992-06-08 Numerical control unit

Country Status (1)

Country Link
JP (1) JP3045603B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629119A (en) * 2011-02-08 2012-08-08 发那科株式会社 Numerical controller for making positioning completion check
WO2024079786A1 (en) * 2022-10-11 2024-04-18 ファナック株式会社 Motor control device and motor control method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629119A (en) * 2011-02-08 2012-08-08 发那科株式会社 Numerical controller for making positioning completion check
DE102012001840A1 (en) 2011-02-08 2012-08-23 Fanuc Corp. Numerical control for performing a positioning completion check
US8924004B2 (en) 2011-02-08 2014-12-30 Fanuc Corporation Numerical controller for making positioning completion check
DE102012001840B4 (en) 2011-02-08 2022-09-01 Fanuc Corp. Numerical control to run a final positioning test
WO2024079786A1 (en) * 2022-10-11 2024-04-18 ファナック株式会社 Motor control device and motor control method

Also Published As

Publication number Publication date
JP3045603B2 (en) 2000-05-29

Similar Documents

Publication Publication Date Title
US4713747A (en) Numerically controlled machining method using primary and compensating cutters
US5578913A (en) NC device controlling machining processes with pre- and post-execution in-position values
EP0310671B1 (en) Numerical control method capable of variably setting positioning precision
JPH0689109A (en) Numerical controller
US7136718B2 (en) Numerical control apparatus
JPS61173842A (en) Numerical control device
JP2880170B2 (en) Block overlap method
JPS6267607A (en) Automatic programming device
JPH06119031A (en) Nc data generating method for working of cut remaining part
JPH0679580A (en) Numerical controller
KR0155745B1 (en) Automatic establishment method of 2 axis origin off set
EP0394454A1 (en) Surface notching
JP2926524B2 (en) Numerical controller with trial cutting function
JPS62130412A (en) Numerical control method
KR0176539B1 (en) Cutting control method of numerical control device and device
JPH04135140A (en) Automatic decision device for work condition
JPH0160375B2 (en)
KR100440153B1 (en) Method of generating a roughing work program for computer numerical control
JPH07185997A (en) Machining tool control device and preparing method of control data for this machining tool
JPH05204421A (en) Method for processing nc program
JPH06270037A (en) Numerical control device
JPS62208860A (en) Work coordinate system setter for machine tool
JPH0792693B2 (en) Tool position correction method in numerical control device
JPH06179150A (en) Nc data perparation for corner part
JPS63271505A (en) Position interpolating method for numerical controller

Legal Events

Date Code Title Description
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090317

Year of fee payment: 9

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

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20090317

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

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20100317

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

Free format text: PAYMENT UNTIL: 20110317

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees