JP2695537B2 - Running material cutting method in numerical controller - Google Patents

Running material cutting method in numerical controller

Info

Publication number
JP2695537B2
JP2695537B2 JP13983891A JP13983891A JP2695537B2 JP 2695537 B2 JP2695537 B2 JP 2695537B2 JP 13983891 A JP13983891 A JP 13983891A JP 13983891 A JP13983891 A JP 13983891A JP 2695537 B2 JP2695537 B2 JP 2695537B2
Authority
JP
Japan
Prior art keywords
count value
pulse
cutting
counter
cycle
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.)
Expired - Fee Related
Application number
JP13983891A
Other languages
Japanese (ja)
Other versions
JPH04343611A (en
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.)
Okuma Corp
Original Assignee
Okuma 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 Okuma Corp filed Critical Okuma Corp
Priority to JP13983891A priority Critical patent/JP2695537B2/en
Publication of JPH04343611A publication Critical patent/JPH04343611A/en
Application granted granted Critical
Publication of JP2695537B2 publication Critical patent/JP2695537B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、材料供給装置から一定
速度で送出される連続した材料を停止させることなく材
料の走行方向に往復動作する切断手段により自動的に所
定の長さに切断する数値制御装置における走行材料切断
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention automatically cuts a continuous material fed from a material feeder to a predetermined length by a cutting means which reciprocates in a running direction of the material without stopping. The present invention relates to a running material cutting method in a numerical controller.

【0002】[0002]

【従来の技術】従来、所定のラインに沿って一定速度で
走行する連続的な材料を停止させずに所定の長さに切断
する場合、材料の走行方向に往復動作するカッター本体
を備え、カッター本体に取付けられたカッターの位置を
所定の長さとなる位置に合わせると共に速度を材料の速
度に合わせてカッターによって材料切断を行なう走行材
料切断方法が一般的に用いられている。図5は従来の走
行材料切断方法を実現する数値制御装置の一例を示すブ
ロック図であり、パートプログラム解析部21はパート
プログラム記憶部16に予め記憶されている次に示すよ
うなパートプログラムPPを読込んで解析する。 N001GOOX 走行切断固定サイクルスタート
位置への位置決め N002G79XLcQc 走行切断固定サイクル なお、Xは目標値、Lcは切断長、Qcは繰返し回数
の指令である。
2. Description of the Related Art Conventionally, when a continuous material traveling at a constant speed along a predetermined line is cut to a predetermined length without stopping, a cutter body which reciprocates in a traveling direction of the material is provided. A traveling material cutting method is generally used in which the position of a cutter attached to a main body is adjusted to a position having a predetermined length and the speed is adjusted to the speed of the material to cut the material by the cutter. FIG. 5 is a block diagram showing an example of a numerical controller for realizing a conventional running material cutting method. The part program analysis unit 21 stores a part program PP as shown below which is stored in advance in the part program storage unit 16. Read and analyze. N001GOOX 0 running cut positioning N002G79X 1 LcQc running cut fixed cycle to a fixed cycle start position Incidentally, X 1 is the target value, Lc is the cut length, Qc is the command of the number of repetitions.

【0003】パートプログラム解析部21は切断長の指
令Lcを切断長記憶部22に設定し、繰返し回数の指令
Qcを繰返し回数指定記憶部23に設定する。切断長記
憶部22は設定された切断長Lcをパルス数Lpに換算
する。ゲートG2は繰返しカウンタ制御部19からのカ
ウント値SCが0、即ち第1回目の切断サイクルである
と、パートプログラム解析部21からの切断動作開始指
令SCMをゲートG4を介して切断開始カウンタ記憶部
17に送出する。パルスカウンタ12は材料2の走行移
動により動作するパルス発生器PGのパルスPSを読込
んでFpとしてセットして切断開始カウンタ記憶部17
に送出する。切断開始カウンタ記憶部17はゲートG4
から切断動作開始指令SCMを受けると、パルスカウン
タ12から送出されてきたFpをPCOUNTにセット
し、関数発生部18で切断サイクルを動作させる。関数
発生部18は目標値Xに対してパルス発生器PGのパ
ルスPSに基づきカッター本体4を駆動モータ駆動部1
1、駆動モータ10及びカッター本体送り駆動機構9に
よって駆動する。
The part program analysis unit 21 sets a cutting length command Lc in the cutting length storage unit 22, and sets a repeat count command Qc in the repeat count designating storage unit 23. The cutting length storage unit 22 converts the set cutting length Lc into the number of pulses Lp. In the gate G2, when the count value SC from the repeat counter control unit 19 is 0, that is, in the first cutting cycle, the cutting operation start command SCM from the part program analysis unit 21 is sent via the gate G4 to the cutting start counter storage unit. Send to 17. The pulse counter 12 reads the pulse PS of the pulse generator PG operated by the traveling movement of the material 2 and sets it as Fp to set the cutting start counter storage unit 17
To send to. The disconnection start counter storage unit 17 has a gate G4.
When the cutting operation start command SCM is received from, Fp sent from the pulse counter 12 is set in PCOUNT, and the function generator 18 operates the cutting cycle. The function generator 18 drives the cutter body 4 based on the pulse PS of the pulse generator PG with respect to the target value X 1 and the motor driver 1
1, driven by the drive motor 10 and the cutter body feed drive mechanism 9.

【0004】さらに、駆動モータ10に取付けられた位
置検出器7によって得られるカッター本体4の速度と、
パルス発生器PGのパルスPSによって得られる材料2
の速度を速度比較器15で比較し、両速度が一致したら
切断指令SSCを切断制御部8に送出し、カッター本体
4内のカッターにて材料2を切断させる。関数発生部1
8は切断制御部8から切断完了信号SCEDを入力した
か否か確認し、切断完了信号SCEDを入力したら駆動
モータ駆動部11、駆動モータ10及びカッター本体送
り駆動機構9によってカッター本体4を所定の位置に復
帰させると共に、関数発生終了信号SFEを繰返しカウ
ンタ制御部19へ送出してカウント値SCをカウントア
ップさせる。繰返し回数比較部20は繰返しカウンタ制
御部19のカウント値SCと繰返し回数指定記憶部23
に記憶されている繰返し回数の指令Rcとを比較し、カ
ウント値SCが繰返し回数の指令Rcと等しいときは全
ての処理を終了する。
Further, the speed of the cutter body 4 obtained by the position detector 7 attached to the drive motor 10;
Material 2 obtained by pulse PS of pulse generator PG
The speeds are compared by the speed comparator 15, and if the two speeds match, the cutting command SSC is sent to the cutting control unit 8 and the material 2 is cut by the cutter in the cutter body 4. Function generator 1
8 confirms whether or not the cutting completion signal SCED is inputted from the cutting control unit 8, and when the cutting completion signal SCED is inputted, the cutter body 4 is moved to a predetermined position by the drive motor drive unit 11, the drive motor 10 and the cutter body feed drive mechanism 9. At the same time as returning to the position, the function generation end signal SFE is repeatedly sent to the counter control section 19 to increment the count value SC. The number-of-repetitions comparison unit 20 stores the count value SC of the repetition counter control unit 19 and the number-of-repetitions designation storage unit 23
When the count value SC is equal to the command Rc of the number of repetitions, all the processing is ended.

【0005】一方、カウント値SCが繰返し回数の指令
Rc未満のときは第1回目の切断サイクルではないの
で、加算器13は切断長記憶部22に記憶されている切
断長Lpと切断開始カウンタ記憶部17に記憶されてい
る前回の切断サイクルで記憶されたパルスカウンタ12
の値PCOUNTとを加算する。パルスカウンタ12は
パルス発生器PGのパルスPSを読込んでFpとしてセ
ットして比較器14に送出する。比較器14は加算器1
3からの加算値とパルスカウンタ12の値Fpとを比較
し、Fp≧PCOUNT+Lpとなった時にゲートG3
を開いてゲートG4を介して切断開始カウンタ記憶部1
7に送出する。そして、以降ゲートG3で切断サイクル
の開始が制御されると前述と同様の切断サイクルが続け
られ、切断サイクルが指定回数以上となった時に切断サ
イクルを終了させる。
On the other hand, when the count value SC is less than the command Rc of the number of repetitions, it is not the first cutting cycle, so the adder 13 stores the cutting length Lp and the cutting start counter stored in the cutting length storage unit 22. The pulse counter 12 stored in the section 17 and stored in the previous cutting cycle
Value of PCOUNT is added. The pulse counter 12 reads the pulse PS of the pulse generator PG, sets it as Fp, and sends it to the comparator 14. Comparator 14 is adder 1
The added value from 3 is compared with the value Fp of the pulse counter 12, and when Fp ≧ PCOUNT + Lp, the gate G3
To open the cutting start counter storage unit 1 via the gate G4.
7 Then, after that, when the start of the cutting cycle is controlled by the gate G3, the same cutting cycle as described above is continued, and the cutting cycle is ended when the cutting cycle reaches the specified number of times or more.

【0006】ここで、従来方法を実現する数値制御装置
における関数発生部18の目標値Xに対してパルス発
生器5のパルスに基づきカッター本体4を制御する処理
を図6を用いて補足説明する。図6はパルス発生器5の
パルスのカウント値をサンプリングするサンプリング制
御周期SPnによってカッター本体4を制御する演算単
位量を示している。材料2の走行移動により動作するパ
ルス発生器5のパルスが切断長Lpに達する点はP1で
あるが、サンプリング制御周期SP1で認識されること
になるので、材料2は既に点P2の位置に進んでいるこ
とになる。従って、走行長ΔP1をカッター本体4の移
動量として演算動作を開始させるようにし、その後のサ
ンプリング制御周期ではサンプリング制御周期間でカウ
ントされるパルス発生器5のパルスによって得られる材
料2の走行長ΔP2、ΔP3、…、ΔPnをカッター本
体4の移動量として演算動作を行なわせるようにしてい
る。
Here, a supplementary explanation of the process of controlling the cutter body 4 based on the pulse of the pulse generator 5 with respect to the target value X 1 of the function generator 18 in the numerical controller for realizing the conventional method will be given with reference to FIG. To do. FIG. 6 shows the calculation unit amount for controlling the cutter body 4 by the sampling control cycle SPn for sampling the count value of the pulse of the pulse generator 5. The point at which the pulse of the pulse generator 5 operating by the traveling movement of the material 2 reaches the cutting length Lp is P1, but since it is recognized in the sampling control cycle SP1, the material 2 has already advanced to the position of the point P2. Will be out. Therefore, the calculation operation is started by using the travel length ΔP1 as the movement amount of the cutter body 4, and the travel length ΔP2 of the material 2 obtained by the pulse of the pulse generator 5 counted between the sampling control cycles in the subsequent sampling control cycle. , ΔP3, ..., ΔPn are used as the movement amount of the cutter body 4 to perform the calculation operation.

【0007】[0007]

【発明が解決しようとする課題】上述した従来の数値制
御装置における走行材料切断方法によれば、切断サイク
ルの開始動作及び切断サイクルにおけるカッター本体の
演算動作は、材料の走行移動により動作するパルス発生
器のパルスのカウント値に基づいて制御されている。従
って、材料の走行移動が切断長Lpに達したと判定する
のはパルスカウント値に基づくので、切断サイクルの開
始位置はパルスカウント値の1パルス分の誤差を発生し
うる。例えば図7に示すパルス発生器の出力パルスをサ
ンプリング制御周期にて読込み演算動作する場合、パル
スカウント値がFpを超えるパルスであって材料の走
行移動が切断長Lpに達した後発生するパルス、即ちサ
ンプリング制御周期SP1ではFpn+1以後のパルス
によって行なわれることになり、その移動量はΔP1を
示すことになる。しかし実際に材料の走行移動が切断長
Lpに達するのは点P1′であるから切断サイクルを開
始させる位置がΔΔP1の誤差を持って開始することに
なり、この誤差は材料の切断長の誤差となってしまう。
According to the traveling material cutting method in the above-described conventional numerical control device, the start operation of the cutting cycle and the arithmetic operation of the cutter body in the cutting cycle generate the pulse generated by the traveling movement of the material. It is controlled based on the pulse count value of the vessel. Therefore, it is based on the pulse count value that it is determined that the traveling movement of the material has reached the cutting length Lp, so that the start position of the cutting cycle may generate an error of one pulse of the pulse count value. When operating read operation for example, the output pulse of the pulse generator shown in FIG. 7 at the sampling control cycle, pulse pulse count value is generated after the traveling movement of the material has reached the cutting length Lp a pulse exceeding Fp n That is, in the sampling control cycle SP1, it is performed by the pulse after Fp n + 1 , and the moving amount thereof indicates ΔP1. However, since the traveling movement of the material actually reaches the cutting length Lp at the point P1 ′, the position where the cutting cycle is started starts with an error of ΔΔP1, and this error is equal to the error of the cutting length of the material. turn into.

【0008】同図(a)は従来方法におけるカッター本
体の演算移動量を示し、同図(b)は理想的なカッター
本体の演算移動量を示している。例えばパルス発生器1
回転で1024パルス、材料の走行移動量40πmmで
パルス発生器1回転、材料の走行速度12m/min、
サンプリング制御周期5msとすると、パルス発生器1
パルス分の材料移動量は約0.123mm、サンプリン
グ制御周期間の発生パルス数は約8.15パルスとな
り、誤差は最大1パルス分であるから0.123mmと
なる。また、1サンプリング制御周期での発生パルスは
8.15パルスであるから、パルス発生器のパルスのカ
ウント値は8ないし9パルスを示し、カッター本体の演
算移動量は0.984mm(8パルス分)から1.10
7mm(9パルス分)となって演算速度が一定しないと
いう欠点があった。
The figure (a) shows the calculated movement amount of the cutter body in the conventional method, and the figure (b) shows the ideal calculated movement amount of the cutter body. For example, pulse generator 1
1024 pulses per revolution, one revolution of the pulse generator with the traveling amount of material 40πmm, traveling speed of material 12 m / min,
If the sampling control period is 5 ms, the pulse generator 1
The amount of material movement for the pulse is about 0.123 mm, the number of pulses generated during the sampling control period is about 8.15, and the error is 0.123 mm because the error is one pulse at maximum. Further, since the number of pulses generated in one sampling control cycle is 8.15, the count value of the pulse of the pulse generator shows 8 to 9 pulses, and the calculated movement amount of the cutter body is 0.984 mm (for 8 pulses). From 1.10
There was a drawback that the calculation speed was 7 mm (for 9 pulses) and the calculation speed was not constant.

【0009】この問題を解消する方法として、パルス発
生器の一回転当りのパルス数を増加させることにより誤
差を減少させることができるが、パルス数を増加させた
パルス発生器は高価であるという欠点があった。また、
他の方法としてパルス発生器の1回転当たりの材料の走
行移動量を小さくすることにより誤差を減少させること
ができるが、一般的に材料に非すべり接触させてパルス
発生器を回転させるため、1回転当たりの移動量を小さ
くするには限界があるという問題があった。本発明は上
述した事情から成されたものであり、本発明の目的は、
切断サイクル開始位置の判定誤差を減少させて安定した
材料の切断長を得ることができる数値制御装置における
走行材料切断方法を提供することにある。
As a method of solving this problem, the error can be reduced by increasing the number of pulses per one rotation of the pulse generator, but the pulse generator having the increased number of pulses is expensive. was there. Also,
As another method, the error can be reduced by reducing the traveling movement amount of the material per one rotation of the pulse generator, but since the pulse generator is generally rotated in non-slip contact with the material, There is a problem that there is a limit to reducing the movement amount per rotation. The present invention has been made under the circumstances described above, and the object of the present invention is to
It is an object of the present invention to provide a running material cutting method in a numerical control device capable of reducing a judgment error of a cutting cycle start position and obtaining a stable material cutting length.

【0010】[0010]

【課題を解決するための手段】本発明は、一定速度で送
出される連続した材料の走行移動により発生するパルス
のカウント値を読込んで前記材料の走行方向に往復動作
する切断手段を備え、前記切断手段の速度を制御すると
共に前記切断手段と材料との相対位置を制御し、前記材
料を停止させることなく自動的に所定の長さに切断する
数値制御装置における走行材料切断方法に関するもので
あり、本発明の上記目的は、前記所定の長さを前記材料
の走行移動量として前記パルスのカウント値に換算する
際に小数点以下まで算出すると共に、一定の周期を持っ
たサンプリング制御によって読込んだ所定の周期でカウ
ントアップするフリーランニングカウンタのカウント値
及び前記パルスが入力されたときに前記フリーランニン
グカウンタのカウント値を記憶する補間基準カウンタの
カウント値に基づいて前記サンプリング制御によって読
込む前記パルスのカウント値を補正し、この補正したパ
ルスのカウント値と前記所定の長さをパルスカウント値
に換算した値に基づいて切断サイクル開始位置を判定す
ると共に、前記補正したパルスのカウント値に基づいて
サンプリング制御周期毎の前記切断手段の送り単位量を
算出することによって達成される。
According to the present invention, there is provided cutting means for reciprocating in the traveling direction of the material by reading the count value of the pulse generated by the continuous traveling movement of the material delivered at a constant speed. The present invention relates to a traveling material cutting method in a numerical control device that controls the relative speed between the cutting means and the material while controlling the speed of the cutting means and automatically cuts the material into a predetermined length without stopping the material. The object of the present invention is to calculate the number of decimals when converting the predetermined length into the count value of the pulse as the traveling amount of the material, and read it by sampling control having a constant period. The count value of the free running counter that counts up in a predetermined cycle and the count of the free running counter when the pulse is input. A value obtained by correcting the count value of the pulse read by the sampling control based on the count value of the interpolation reference counter that stores the count value and converting the corrected pulse count value and the predetermined length into a pulse count value. The cutting cycle start position is determined based on the above, and the feed unit amount of the cutting means for each sampling control cycle is calculated based on the corrected pulse count value.

【0011】[0011]

【作用】本発明にあっては、材料の走行長を示すフィー
ドパルスカウンタのカウント値を小数点以下まで処理し
てカッター本体の送り単位量を算出するようにしたの
で、切断長の誤差が1パルス分よりも小さくなって安定
した切断を行なうことができる。
According to the present invention, the feed unit amount of the cutter body is calculated by processing the count value of the feed pulse counter indicating the running length of the material to the right of the decimal point. It is smaller than the minute and stable cutting can be performed.

【0012】[0012]

【実施例】図1は本発明の走行材料切断方法を実現する
数値制御装置の一例を図5に対応させて示すブロック図
であり、同一構成箇所は同符号を付して説明を省略す
る。また、図2はその主要部の動作例を説明するフロー
チャートである。補間基準カウンタ32はパルス発生器
5のパルスPsの入力によってフリーランニングカウン
タ31のカウントFRpを記憶し、この記憶が完了する
とフリーランニングカウンタ31のカウント値FRpを
クリアする。演算器33はサンプリング制御周期毎にパ
ルスカウンタ12のパルスFpを読込み(ステップS
1)、さらにフリーランニングカウンタ31のカウント
値FRp及び補間基準カウンタ32のカウント値FMp
を読込み(ステップS2、S3)、演算処理{Fp+
(FRp/FMp)}を行ない(ステップS4)、その
結果得られる補正処理のカウント値Fp′を出力する。
このカウント値Fp′は切断サイクルの開始時を特定す
る切断開始カウンタ記憶部17あるいは切断サイクルを
動作させる関数発生部18へ送出され、以下従来と同様
の切断サイクル制御が行なわれる。
FIG. 1 is a block diagram showing an example of a numerical controller for realizing the running material cutting method of the present invention, corresponding to FIG. 5, and the same components are designated by the same reference numerals and the description thereof will be omitted. Further, FIG. 2 is a flowchart for explaining an operation example of its main part. The interpolation reference counter 32 stores the count FRp of the free running counter 31 by the input of the pulse Ps of the pulse generator 5, and when the storage is completed, the count value FRp of the free running counter 31 is cleared. The calculator 33 reads the pulse Fp of the pulse counter 12 for each sampling control cycle (step S
1), the count value FRp of the free running counter 31 and the count value FMp of the interpolation reference counter 32
Is read (steps S2 and S3), and the calculation process {Fp +
(FRp / FMp)} is performed (step S4), and the count value Fp 'of the correction process obtained as a result is output.
This count value Fp 'is sent to the cutting start counter storage unit 17 that specifies the start time of the cutting cycle or the function generating unit 18 that operates the cutting cycle, and thereafter the same cutting cycle control as in the conventional case is performed.

【0013】ここで図3を用いてフリーランニングカウ
ンタ31と補間基準カウンタ32の動作の説明を補足す
る。フリーランニングカウンタ31は内部のクロックに
よってカウント値FRpを一定の速度でカウントアップ
し、補間基準カウンタ32がフリーランニングカウンタ
31のカウント値FRpを記憶する都度クリアされるカ
ウンタであり、その速度はパルスカウンタ12のカウン
ト速度に比して高速である。補間基準カウンタ32はフ
リーランニングカウンタ31のカウント値FRpをパル
ス発生器5より入力されるパルスPsによってカウント
値FMpとして記憶するカウンタである。サンプリン
グ制御周期SPnでサンプリング制御されるとパルスカ
ウンタ12のカウント値Fp、補間基準カウンタ32
のカウント値FMp、フリーランニングカウンタ31
のカウント値FRpが読込まれることを示している。
従って、補間基準カウンタ32のカウント値はパルス発
生器5のパルス間隔の時間を示し、フリーランニングカ
ウンタ31のカウント値はサンプリング制御が開始され
る直前のパルス発生器5のパルスの発生からサンプリン
グ制御の開始迄の時間を示し、パルスカウンタ12のパ
ルス数に換算するとFRp/FMpパルスとなる。よっ
て、サンプリング制御時のパルスカウンタ12のカウン
ト値はFp+(FRp/FMp)となる。従って、サン
プリング制御時に使用するパルスカウンタ12のカウン
ト値をFp+(FRp/FMp)とすることにより小数
点以下の値迄求めた正確なカウント値を使用することに
なるので、切断サイクルを開始する際の位置を正確に制
御できる。
The operation of the free running counter 31 and the interpolation reference counter 32 will be supplemented with reference to FIG. The free-running counter 31 is a counter that counts up the count value FRp at a constant speed by an internal clock and is cleared each time the interpolation reference counter 32 stores the count value FRp of the free-running counter 31, and the speed is a pulse counter. It is faster than the count speed of 12. Interpolation reference counter 32 is a counter for storing a count value FMp n by pulse Ps input from the pulse generator 5 a count value FRp of the free running counter 31. Count value Fp n of the pulse counter 12 when the sampling control with a sampling control period SPn, interpolation reference counter 32
Of the count value FMp n, free-running counter 31
Count FRp n of which indicates that is read.
Therefore, the count value of the interpolation reference counter 32 indicates the time of the pulse interval of the pulse generator 5, and the count value of the free running counter 31 changes from the generation of the pulse of the pulse generator 5 immediately before the sampling control is started to the sampling control. The time until the start is shown, and when converted into the pulse number of the pulse counter 12, it becomes FRp / FMp pulse. Therefore, the count value of the pulse counter 12 during sampling control is Fp + (FRp / FMp). Therefore, by setting the count value of the pulse counter 12 used at the time of sampling control to Fp + (FRp / FMp), an accurate count value obtained up to the value below the decimal point is used, and therefore, when starting the cutting cycle. The position can be controlled accurately.

【0014】例えば従来技術と同様にパルス発生器1回
転で1024パルス、材料の走行移動量40πmmでパ
ルス発生器1回転、材料の走行速度12m/min)サ
ンプリング制御周期5msとして、さらに補間パルスの
周期を10πsとすれば補間基準カウンタのカウント値
FMpは約61パルスとなり、小数点以下1バイト分の
処理をすれば良い。従ってフリーランニングカウンタ1
パルス分の誤差は約0.002mmとなる。このように
パルスカウンタ12のカウント値を小数点以下のカウン
ト値として処理し、切断長設定手段によって設定された
切断長をパルスカウンタ12のカウント値に換算を小数
点以下まで行った値と前記少数点以下のカウント値と比
較判定すれば、切断サイクルを開始する際の位置の誤差
を著しく減少させることができるとともにサンプリング
制御周期毎のカッター本体4の送り単位量の算出のバラ
ツキも減少させることができる。従来のサンプリング制
御によるカッター体4の演算では図4の点線で示すよう
に読込みパルスがサンプリング制御毎に1パルスのバラ
ツキを発生させるのでカッター本体4の移動速度が安定
しないが、本発明ではサンプリング制御によってカウン
ト値を読込む際に小数点以下の値をとるようにしたの
で、同図の実線で示すようにサンプリング制御毎の読込
みカウント値の誤差を減少させ、カッター本体4を安定
した演算速度で制御することができる。
For example, as in the prior art, the pulse generator 1 rotation makes 1024 pulses, the material traveling amount 40 pi mm makes one pulse generator rotation, the material traveling speed 12 m / min) Sampling control period 5 ms, and the interpolation pulse period Is 10πs, the count value FMp of the interpolation reference counter is about 61 pulses, and it is sufficient to process one byte below the decimal point. Therefore, free running counter 1
The error for the pulse is about 0.002 mm. In this way, the count value of the pulse counter 12 is processed as a count value below the decimal point, and the cutting length set by the cutting length setting means is converted to the count value of the pulse counter 12 up to the decimal point and below the decimal point. If determination count value of the comparison, the variation of the calculation of the feed unit of the cutter body 4 significantly that when the can Ru reduce both sampling control every cycle error in the position at the start of cutting cycle be reduced it can. In the calculation of the cutter body 4 by the conventional sampling control, the reading pulse causes a variation of one pulse for each sampling control as shown by the dotted line in FIG. 4, so that the moving speed of the cutter body 4 is not stable, but the sampling control is performed in the present invention. Since the value below the decimal point is taken when reading the count value by, the error of the read count value for each sampling control is reduced as shown by the solid line in the figure, and the cutter body 4 is controlled at a stable calculation speed. can do.

【0015】[0015]

【発明の効果】以上のように本発明の数値制御装置にお
ける走行材料切断方法によれば、切断長の精度の高い材
料を常に安定して得ることができるので、以後の加工処
理の工数を減少させることができ、加工コストの低減を
図ることができる。
As described above, according to the running material cutting method in the numerical controller of the present invention, a material having a high cutting length can always be stably obtained, so that the number of processing steps thereafter can be reduced. Therefore, the processing cost can be reduced.

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

【図1】本発明の走行材料切断方法を実現する数値制御
装置の一例を示すブロック図である。
FIG. 1 is a block diagram showing an example of a numerical control device for realizing a running material cutting method according to the present invention.

【図2】本発明方法を説明するためのフローチャートで
ある。
FIG. 2 is a flowchart for explaining the method of the present invention.

【図3】本発明方法を説明するためのタイムチャートで
ある。
FIG. 3 is a time chart for explaining the method of the present invention.

【図4】本発明方法と従来方法とを比較するためのタイ
ムチャートである。
FIG. 4 is a time chart for comparing the method of the present invention with a conventional method.

【図5】従来の走行材料切断方法を実現する数値制御装
置の一例を示すブロック図である。
FIG. 5 is a block diagram showing an example of a numerical control device that realizes a conventional running material cutting method.

【図6】従来方法を説明するためのタイムチャートであ
る。
FIG. 6 is a time chart for explaining a conventional method.

【図7】従来方法における問題点を説明するためのタイ
ムチャートである。
FIG. 7 is a time chart for explaining problems in the conventional method.

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

31 フリーランニングカウンタ 32 補間基準カウンタ 33 演算器 31 Free-Running Counter 32 Interpolation Reference Counter 33 Computing Unit

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 一定速度で送出される連続した材料の走
行移動により発生するパルスのカウント値を読込んで前
記材料の走行方向に往復動作する切断手段を備え、前記
切断手段の速度を制御すると共に前記切断手段と材料と
の相対位置を制御し、前記材料を停止させることなく自
動的に所定の長さに切断する場合、前記所定の長さを前
記材料の走行移動量として前記パルスのカウント値に換
算する際に小数点以下まで算出すると共に、一定の周期
を持ったサンプリング制御によって読込んだ所定の周期
でカウントアップするフリーランニングカウンタのカウ
ント値及び前記パルスが入力されたときに前記フリーラ
ンニングカウンタのカウント値を記憶する補間基準カウ
ンタのカウント値に基づいて前記サンプリング制御によ
って読込む前記パルスのカウント値を補正し、この補正
したパルスのカウント値と前記所定の長さをパルスカウ
ント値に換算した値に基づいて切断サイクル開始位置を
判定すると共に、前記補正したパルスのカウント値に基
づいてサンプリング制御周期毎の前記切断手段の送り単
位量を算出するようにしたことを特徴とする数値制御装
置における走行材料切断方法。
1. A cutting means for reciprocally moving in the traveling direction of the material by reading the count value of pulses generated by the traveling movement of the continuous material sent at a constant speed, and controlling the speed of the cutting means. When the relative position between the cutting means and the material is controlled and the material is automatically cut into a predetermined length without being stopped, the pulse length is the count value of the pulse with the predetermined length as the travel distance of the material. The free running counter is counted when the pulse is input and the count value of the free running counter that counts up at a predetermined cycle read by sampling control with a constant cycle when calculating Based on the count value of the interpolation reference counter that stores the count value of The cutting cycle start position based on the corrected pulse count value and a value obtained by converting the corrected pulse count value into the pulse count value, and based on the corrected pulse count value. A method of cutting a traveling material in a numerical control device, characterized in that a feed unit amount of the cutting means is calculated for each sampling control cycle.
JP13983891A 1991-05-15 1991-05-15 Running material cutting method in numerical controller Expired - Fee Related JP2695537B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13983891A JP2695537B2 (en) 1991-05-15 1991-05-15 Running material cutting method in numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13983891A JP2695537B2 (en) 1991-05-15 1991-05-15 Running material cutting method in numerical controller

Publications (2)

Publication Number Publication Date
JPH04343611A JPH04343611A (en) 1992-11-30
JP2695537B2 true JP2695537B2 (en) 1997-12-24

Family

ID=15254686

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13983891A Expired - Fee Related JP2695537B2 (en) 1991-05-15 1991-05-15 Running material cutting method in numerical controller

Country Status (1)

Country Link
JP (1) JP2695537B2 (en)

Also Published As

Publication number Publication date
JPH04343611A (en) 1992-11-30

Similar Documents

Publication Publication Date Title
US7167772B2 (en) Machining time calculating apparatus
JP2661422B2 (en) Processing device and processing method
US4656405A (en) Tapping machining method
KR0139526B1 (en) Numerical Control Unit for Grinding Machine
US4789943A (en) Thread cutting control method
JPH0777691B2 (en) Numerical control method and apparatus thereof
JP2695537B2 (en) Running material cutting method in numerical controller
JPH07302103A (en) Motion controller
EP0385347A2 (en) Synchronous control system and method therefor
US5231340A (en) Servomotor control method
JP2695544B2 (en) Running material cutting method in numerical controller
JP2695538B2 (en) Running material cutting method in numerical controller
CN111103844A (en) Program correcting device
EP0431183A1 (en) Absolute positioning method
JP2664294B2 (en) Running material cutting method in numerical controller
JP2524715B2 (en) Numerical control device positioning method
CN110170883B (en) Tapping control device
JPS60112106A (en) Drive control method of moving mechanism
JPH05318227A (en) Nc thread cutting device
JP2866489B2 (en) Running material cutting method in numerical controller
JPH0752210A (en) Injection control device of injection molding machine
JP3120597B2 (en) Numerical controller for machining non-round workpieces
JPH08276354A (en) Cam grinding device
CN112146603A (en) Method and device for determining running position of electric transmission mechanism and electronic equipment
JP2611123B2 (en) Numerical control cam grinder

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees