JPH0812563B2 - Numerical control unit - Google Patents
Numerical control unitInfo
- Publication number
- JPH0812563B2 JPH0812563B2 JP22102888A JP22102888A JPH0812563B2 JP H0812563 B2 JPH0812563 B2 JP H0812563B2 JP 22102888 A JP22102888 A JP 22102888A JP 22102888 A JP22102888 A JP 22102888A JP H0812563 B2 JPH0812563 B2 JP H0812563B2
- Authority
- JP
- Japan
- Prior art keywords
- pulse distribution
- distribution
- deceleration
- pulse
- distribution amount
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 238000010586 diagram Methods 0.000 description 6
- 238000000034 method Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
Landscapes
- Numerical Control (AREA)
Description
【発明の詳細な説明】 産業上の利用分野 本発明は、モータの回転位置をパルス分配で制御する
数値制御装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical control device that controls the rotational position of a motor by pulse distribution.
従来の技術 従来、この種の数値制御装置は、ストロークリミット
チェック機能として、パルス分配処理後、パルス分配に
より更新された指令値座標データと、設定された最終停
止位置データであるストロークリミットデータとの比較
を行い、ストロークリミットデータにより設定された禁
止領域に入る場合は単にパルス分配発生器を停止させる
だけの処理を行っている。2. Description of the Related Art Conventionally, as a stroke limit check function, this type of numerical control device conventionally has a function of converting command value coordinate data updated by pulse distribution after stroke distribution processing and stroke limit data that is set final stop position data. If the comparison is made and the prohibition area set by the stroke limit data is entered, the pulse distribution generator is simply stopped.
発明が解決しようとする課題 しかし、上記従来のストロークリミットチェック機能
では、禁止領域の認識を行った時点ですでにパルス分配
処理を行ってしまっており、パルス分配発生器を停止さ
せても禁止領域に入り込んでしまうという問題があっ
た。また、通常の移動動作時には、第4図のようにパル
ス分配発生器により制御対象である機械に適した加減速
動作を行っているにもかかわらず、第5図(a)のよう
に禁止領域の認識により無条件にパルス分配発生器を停
止させると減速分配動作が削除されるため、第6図
(a)のようにモータにて駆動される機械は急激な減速
を強いられることにより機械の振動の発生、しいては機
械の破壊につながってしまうという問題があった。However, in the above-mentioned conventional stroke limit check function, the pulse distribution processing has already been performed at the time when the prohibited area is recognized, and the prohibited area is stopped even if the pulse distribution generator is stopped. There was a problem of getting in. Further, during the normal movement operation, as shown in FIG. 4, although the pulse distribution generator performs the acceleration / deceleration operation suitable for the machine to be controlled, the prohibited area is generated as shown in FIG. 5 (a). If the pulse distribution generator is stopped unconditionally by recognizing the above, the deceleration distribution operation is deleted, so that the machine driven by the motor is forced to perform a rapid deceleration as shown in FIG. There was a problem that vibration was generated and eventually the machine was destroyed.
本発明は、従来の数値制御装置の上記問題を解決する
ものであり、ストロークリミットデータによって設定さ
れた禁止領域に入り込むことなく、しかも設定有効移動
範囲を最大限に移動可能とするストロークリミット座標
位置に機械に適した減速動作で停止できるストロークチ
ェック機能を有する数値制御装置を提供することを目的
とするものである。The present invention solves the above-mentioned problems of the conventional numerical control device, and does not enter the prohibited area set by the stroke limit data, and the stroke limit coordinate position that enables maximum movement within the set effective movement range. Another object of the present invention is to provide a numerical control device having a stroke check function capable of stopping with a deceleration operation suitable for a machine.
課題を解決するための手段 上記問題を解決するため本発明は、移動距離指令か
ら、ある周期を持って逐次のパルス分配量を算出するパ
ルス分配発生器と、前記パルス分配発生器より算出され
たパルス分配量をもとに分配位置を管理する指令値座標
管理部と、前記パルス分配発生器より算出されたパルス
分配量と実際の移動量との誤差を管理して実際にパルス
分配を行うエラーレジスタとを備えた数値制御装置であ
って、前記パルス分配発生器より算出されたパルス分配
量を仮想的に分配して減速分配動作に移行した場合の減
速総パルス分配量を計算する減速総パルス分配量計算部
と、前記パルス分配発生器より算出されたパルス分配量
を分配する前に、分配後で減速分配動作に移行した場合
に前記減速総パルス分配量計算部より入力した減速総パ
ルス分配量および前記指令値座標管理部より入力した現
時点の指令値座標をもとに予想される停止時の指令値座
標データと最終停止時の座標データであるストロークリ
ミットデータとを比較し、ストロークリミットデータに
より設定される禁止領域に入る場合はパルス分配発生器
を減速分配動作に移行させるとともに、前回のパルス分
配時に予想された停止時の指令値座標データとストロー
クリミットデータとの差をもとに不足分配量を算出し、
減速分配動作の最適分配時点に前記不足分配量をパルス
分配量として前記エラーレジスタに追加分配するストロ
ークリミットチェック部とを設けたものである。Means for Solving the Problems In order to solve the above problems, the present invention provides a pulse distribution generator that calculates a sequential pulse distribution amount with a certain period from a movement distance command, and a pulse distribution generator that calculates the pulse distribution amount. A command value coordinate management unit that manages the distribution position based on the pulse distribution amount, and an error that actually performs pulse distribution by managing the error between the pulse distribution amount calculated by the pulse distribution generator and the actual movement amount. A numerical controller having a register, wherein the deceleration total pulse for calculating the deceleration total pulse distribution amount when the pulse distribution amount calculated by the pulse distribution generator is virtually distributed to shift to the deceleration distribution operation. Before the distribution amount calculation unit and the pulse distribution amount calculated by the pulse distribution generator are distributed, the deceleration input when the deceleration total pulse distribution amount calculation unit is entered when the deceleration distribution operation is performed after the distribution. Comparing the command value coordinate data at the time of stop and the stroke limit data which is the coordinate data at the time of the final stop, which is expected based on the total pulse distribution amount and the command value coordinate at the current time input from the command value coordinate management unit, If it enters the prohibited area set by the stroke limit data, the pulse distribution generator shifts to the deceleration distribution operation, and the difference between the command value coordinate data at the time of stop and the stroke limit data expected at the time of the previous pulse distribution is also detected. And calculate the shortfall distribution amount,
A stroke limit check unit for additionally distributing the insufficient distribution amount as a pulse distribution amount to the error register at the time of optimum distribution of the deceleration distribution operation is provided.
作用 上記構成による作用を、ストロークリミットチェック
部が禁止領域を認識する作用と、禁止領域に入ることを
認識したときの作用とについて、第3図を用いてパルス
分配量とストローク位置との関係で説明する。Action With respect to the action of the above configuration, the action of the stroke limit check unit recognizing the prohibited area and the action when recognizing that it enters the prohibited area will be described with reference to FIG. 3 in relation to the pulse distribution amount and the stroke position. explain.
第3図においてP0は、ストロークリミット位置、P
1は、ストロークリミットチェック部で禁止領域に入る
ことを認識し、パルス分配発生器より算出されたパルス
分配量を分配せずに、パルス分配発生器が減速分配動作
に移行して算出されたパルス分配量により減速停止した
時の停止位置、P2は、ストロークリミットチェック部で
禁止領域に入ることを認識してパルス分配発生器より算
出されたパルス分配量を分配後に減速分配動作に移行し
て減速停止した時の停止位置を示す。またs1は、禁止領
域に入ることを認識したときの減速総パルス分配量計算
部において算出した分配後の減速総パルス分配量、s2
は、ストロークリミットチェック部で禁止領域に入るこ
とを認識してパルス分配発生器より算出されたパルス分
配量を分配せずに単に減速分配動作に移行して減速停止
した時の前記停止位置P1から禁止領域までの不足分配量
を示す。さらにΔX1は、ストロークリミットチェック部
で禁止領域に入ることを認識してパルス分配発生器より
算出されたパルス分配量を分配せずに単に減速分配動作
に移行して減速停止した時の前記停止位置P1と禁止領域
のストロークリミット位置P0との距離(P0−P1)、ΔX2
は、ストロークリミットチェック部で禁止領域に入るこ
とを認識してパルス分配発生器1より算出されたパルス
分配量を分配後に減速分配動作に移行して減速停止した
時の前記停止位置P2と禁止領域のストロークリミット位
置P0との距離(P2−P0)を示す。In Fig. 3, P 0 is the stroke limit position, P 0
1 is the pulse calculated when the pulse distribution generator shifts to the deceleration distribution operation without distributing the pulse distribution amount calculated by the pulse distribution generator after recognizing that the stroke limit check unit enters the prohibited area. stop position when the deceleration stop by the distribution amount, P 2, the process proceeds to the deceleration dispensing operation the pulse distribution amount calculated from the pulse distribution generator recognizes that entering the prohibited area by the stroke limit check unit after dispensing Indicates the stop position when decelerating and stopping. Also, s1 is the deceleration total pulse distribution amount after distribution calculated by the deceleration total pulse distribution amount calculation unit when recognizing that it enters the prohibited area, s2
Is the stop position P 1 when the stroke limit check unit recognizes that it enters the prohibited area and does not distribute the pulse distribution amount calculated by the pulse distribution generator but simply shifts to the deceleration distribution operation to decelerate and stop. Indicates the amount of insufficient distribution from to the prohibited area. Furthermore, ΔX 1 is the stop when decelerating and stopping by simply moving to the deceleration distribution operation without recognizing that the stroke limit check unit enters the prohibited area and distributing the pulse distribution amount calculated by the pulse distribution generator. Distance between position P 1 and stroke limit position P 0 in the prohibited area (P 0 −P 1 ), ΔX 2
Recognizes that the stroke limit check section enters the prohibited area and shifts to the deceleration distribution operation after distributing the pulse distribution amount calculated by the pulse distribution generator 1 and prohibits the stop position P 2 when decelerating and stopping. It indicates the distance between the stroke limit position P 0 of the region (P 2 -P 0).
ストロークリミットチェック部は、減速総パルス分配
量計算部において算出された減速総パルス分配量s1を、
パルス分配を行う前の指令値座標P3にシミュレーション
的に加算を行う。その指令値座標データである位置デー
タ(P2=P3+s1)とストロークリミットデータP0とを比
較し、禁止領域にはいるか、すなわちΔX2の正負をチェ
ックする。The stroke limit check unit calculates the deceleration total pulse distribution amount s1 calculated by the deceleration total pulse distribution amount calculation unit,
Simulation-wise addition is made to the command value coordinate P 3 before pulse distribution. The position data (P 2 = P 3 + s1) which is the command value coordinate data is compared with the stroke limit data P 0, and it is checked whether or not it is in the prohibited area, that is, whether ΔX 2 is positive or negative.
禁止領域にはいらない場合(ΔX2が負あるいは零の場
合)は、パルス分配発生器より算出されたパルス分配量
の現時点のパルス分配量としてエラーレジスタへ出力す
る。When it is not in the prohibited area (when ΔX 2 is negative or zero), it is output to the error register as the current pulse distribution amount of the pulse distribution amount calculated by the pulse distribution generator.
禁止領域にはいると認識した場合(ΔX2が正の場合)
は、パルス分配発生器を減速分配動作に移行させて減速
分配動作により算出されたパルス分配量をパルス分配量
として出力するとともに、ストロークリミットデータ位
置P0と1回前の減速総パルス分配量計算部2において算
出した減速総パルス分配量による停止位置、すなわち停
止位置P1との位置の差分ΔX1に相当するパルス分配量を
算出し、不足分配量s2とする。そしてパルス分配発生器
の減速分配動作による分配過程において、分配量の比較
を行い不足分配量を最適分配時点に挿入してエラーレジ
スタへ出力する。If you recognize that you are in the prohibited area (when ΔX 2 is positive)
Shifts the pulse distribution generator to the deceleration distribution operation, outputs the pulse distribution amount calculated by the deceleration distribution operation as the pulse distribution amount, and calculates the stroke limit data position P 0 and the previous deceleration total pulse distribution amount. The pulse distribution amount corresponding to the stop position based on the deceleration total pulse distribution amount calculated in the unit 2, that is, the position difference ΔX 1 from the stop position P 1 is calculated and set as the insufficient distribution amount s2. Then, in the distribution process by the deceleration distribution operation of the pulse distribution generator, the distribution amounts are compared and the insufficient distribution amount is inserted at the optimum distribution time point and output to the error register.
このようなストロークリミットチェック部の動きによ
り、第5図(b)、第6図(b)のような減速動作を行
なって、ストロークリミット位置P0上に停止させること
が可能となる。By such movement of the stroke limit check unit, it is possible to perform the deceleration operation as shown in FIGS. 5 (b) and 6 (b) and stop at the stroke limit position P 0 .
実施例 以下、本発明の一実施例を図面に基づいて説明する。Embodiment An embodiment of the present invention will be described below with reference to the drawings.
第1図は本発明の一実施例を示す数値制御装置のブロ
ック図である。FIG. 1 is a block diagram of a numerical controller according to an embodiment of the present invention.
第1図において、1はパルス分配発生器であり、移動
距離指令からある周期を持って逐次のパルス分配量を算
出する。それと同時に減速総パルス分配量計算部2にお
いて、算出されたパルス分配量を仮想的に分配して減速
分配動作に移行した場合の減速総パルス分配量が計算さ
れる。3はストロークリミットチェック部であり、この
ストロークリミットチェック部3は、前記パルス分配発
生器1より算出されたパルス分配量を分配する前に、減
速総パルス分配量計算部2において算出した減速総パル
ス分配量と、指令値座標管理部4においてストロークリ
ミットチェック部3よりエラーレジスタ5に分配された
パルス分配量により管理されている現時点の指令値座標
とをもとに、分配後減速分配動作に移行した場合に予想
される停止時の指令値座標データを求める。さらに、こ
の停止時の指令値座標データと最終停止時の座標データ
であるストロークリミットデータとを比較し、禁止領域
に入る場合はパルス分配発生器1を減速分配動作に移行
させて減速分配動作により算出されたパルス分配量をパ
ルス分配量としてエラーレジスタ5へ出力するととも
に、前回のパルス分配時に予想された停止時の指令値座
標データとストロークリミットデータとの差をもとに不
足分配量を算出する。そして減速分配動作の最適分配時
点にパルス分配量として不足分配量をエラーレジスタ5
へ分配する。エラーレジスタ5は、ストロークリミット
チェック部3より分配されたパルス分配量と実際に駆動
するモータ6の位置検出器7より出力されるパルス信号
による実際の移動量の誤差を管理し、速度指令信号をモ
ータ6を制御する速度制御装置8へ出力して実際にパル
ス分配を行う。また、9は実際に移動した位置を管理す
る機械座標管理部である。In FIG. 1, reference numeral 1 denotes a pulse distribution generator, which calculates successive pulse distribution amounts with a certain period from a movement distance command. At the same time, the deceleration total pulse distribution amount calculation unit 2 calculates the deceleration total pulse distribution amount when the calculated pulse distribution amount is virtually distributed and the deceleration distribution operation is started. Reference numeral 3 denotes a stroke limit check unit. This stroke limit check unit 3 calculates the deceleration total pulse calculated by the deceleration total pulse distribution amount calculation unit 2 before distributing the pulse distribution amount calculated by the pulse distribution generator 1. Based on the distribution amount and the current command value coordinate managed by the pulse distribution amount distributed from the stroke limit check unit 3 to the error register 5 in the command value coordinate management unit 4, shift to the deceleration distribution operation after distribution. In this case, the command value coordinate data at the time of stop expected is obtained. Furthermore, the command value coordinate data at the time of this stop is compared with the stroke limit data which is the coordinate data at the time of the final stop, and if it enters the prohibited area, the pulse distribution generator 1 is shifted to the deceleration distribution operation and the deceleration distribution operation is performed. The calculated pulse distribution amount is output to the error register 5 as the pulse distribution amount, and the shortage distribution amount is calculated based on the difference between the command value coordinate data at the time of stop and the stroke limit data expected at the time of the previous pulse distribution. To do. Then, at the time of the optimum distribution of the deceleration distribution operation, the insufficient distribution amount as the pulse distribution amount is registered in the error register 5
Distribute to. The error register 5 manages an error between the pulse distribution amount distributed by the stroke limit check unit 3 and the actual movement amount due to the pulse signal output from the position detector 7 of the motor 6 that is actually driven, and outputs the speed command signal. The pulse is actually distributed by outputting to the speed control device 8 which controls the motor 6. Reference numeral 9 is a machine coordinate management unit that manages the actual moved position.
ストロークリミットチェック部3の動作を具体的に第
2図のストロークリミットチェック部3のブロック図に
基づいて説明する。The operation of the stroke limit check unit 3 will be specifically described based on the block diagram of the stroke limit check unit 3 in FIG.
第2図において、ストロークリミット座標用格納部13
には、あらかじめ設定されたストロークリミットデータ
が格納されており、指令値座標管理部4には、パルス分
配を行う前の指令値座標データが格納されているものと
する。In FIG. 2, the storage unit 13 for stroke limit coordinates is shown.
Is stored with preset stroke limit data, and the command value coordinate management unit 4 is stored with command value coordinate data before pulse distribution.
まず、前段のパルス分配発生器1においてパルス分配
量を算出する。それと同時に減速総パルス分配量計算部
2において、算出されたパルス分配量を仮想的に分配し
て分配後減速分配動作に移行した場合の減速総パルス分
配量、すなわち、第3図におけるs1を計算する。First, the pulse distribution amount is calculated in the pulse distribution generator 1 in the preceding stage. At the same time, the deceleration total pulse distribution amount calculation unit 2 calculates the deceleration total pulse distribution amount when the calculated pulse distribution amount is virtually distributed and the deceleration distribution operation is performed after distribution, that is, s1 in FIG. To do.
ストロークリミットチェック部3においては、第1に
第1次パルス分配量格納部14に格納されている前回のパ
ルス分配量を第2次パルス分配量格納部17に退避する。
また、第1次パルス分配量時減速停止座標格納部12に格
納されている前回のパルス分配量時減速停止座標値、す
なわち、第3図における停止位置P1を第2次パルス分配
量時減速停止座標格納部15に退避する。In the stroke limit check unit 3, first, the previous pulse distribution amount stored in the primary pulse distribution amount storage unit 14 is saved in the secondary pulse distribution amount storage unit 17.
Further, the previous pulse distribution amount deceleration stop coordinate value stored in the primary pulse distribution amount deceleration stop coordinate storage unit 12, that is, the stop position P 1 in FIG. It is saved in the stop coordinate storage unit 15.
第2に前段のパルス分配発生器1より算出されたパル
ス分配量をパルス分配量切換部10を通して第1次パルス
分配量格納部14に格納する。そして前段の減速総パルス
分配量計算部2より算出されたパルス分配量を仮想的に
分配して分配後減速分配動作に移行した場合の減速総パ
ルス分配量を減速総パルス分配量格納部11に格納する。Secondly, the pulse distribution amount calculated by the pulse distribution generator 1 at the previous stage is stored in the primary pulse distribution amount storage unit 14 through the pulse distribution amount switching unit 10. Then, the deceleration total pulse distribution amount when the pulse distribution amount calculated by the deceleration total pulse distribution amount calculation unit 2 in the previous stage is virtually distributed and the deceleration distribution operation after the distribution is performed is stored in the deceleration total pulse distribution amount storage unit 11. Store.
第3に指令値座標管理部4に格納されている現時点の
指令値座標データと減速総パルス分配量格納部11に格納
されている減速総パルス分配量とを加算して、すなわ
ち、第3図の停止位置P2を演算して第1次パルス分配量
時減速停止座標格納部12に格納する。Thirdly, the current command value coordinate data stored in the command value coordinate management unit 4 and the deceleration total pulse distribution amount stored in the deceleration total pulse distribution amount storage unit 11 are added, that is, FIG. The stop position P 2 is calculated and stored in the deceleration stop coordinate storage unit 12 for the primary pulse distribution amount.
第4に第1次パルス分配量時減速停止座標格納部12に
格納されている第1次パルス分配量を分配した時の減速
停止座標データ、すなわち停止位置P2とストロークリミ
ット座標格納部13のストロークリミット座標データ、す
なわち、第3図のストロークリミット位置P0とを比較器
16で比較する。Fourth, the deceleration stop coordinate data when the primary pulse distribution amount stored in the primary pulse distribution amount deceleration stop coordinate storage unit 12, that is, the stop position P 2 and the stroke limit coordinate storage unit 13 are stored. Comparing the stroke limit coordinate data, that is, the stroke limit position P 0 in FIG.
Compare with 16.
比較器16が禁止領域にはいらないと認識した場合、す
なわち第3図のΔX2が負または零の場合は、第2次パル
ス分配量格納部17に格納されているパルス分配量を現時
点のパルス分配量としてパルス分配切換部21に指令し後
段のエラーレジスタ5にパルス分配する。When the comparator 16 recognizes that it does not enter the prohibited area, that is, when ΔX 2 in FIG. 3 is negative or zero, the pulse distribution amount stored in the secondary pulse distribution amount storage unit 17 is set to the current pulse. The pulse distribution switching unit 21 is instructed as a distribution amount, and pulses are distributed to the error register 5 at the subsequent stage.
比較器16が禁止領域にはいると認識した場合、すなわ
ち第3図のΔX2が正の場合は、前段のパルス分配発生器
1にパルス分配の減速動作への移行を指示するととも
に、ストロークリミットデータ、すなわちストロークリ
ミット位置P0と先に第2次パルス分配量時減速停止座標
格納部15に退避した前回のパルス分配量時減速停止座標
値、すなわち停止位置P1との位置の差分に相当するパル
ス分配量を不足分配量計算部19において計算し、すなわ
ち第3図のs2を計算し、不足分配量格納部20に格納す
る。そして第2次パルス分配量格納部17に格納されてい
るパルス分配量を現時点のパルス分配量としてパルス分
配切換部21に指令し後段のエラーレジスタ5にパルス分
配する。When the comparator 16 recognizes that it is in the prohibited area, that is, when ΔX 2 in FIG. 3 is positive, it instructs the pulse distribution generator 1 in the preceding stage to shift the pulse distribution to the deceleration operation and also stroke limit. Corresponds to the data, that is, the difference between the stroke limit position P 0 and the previous deceleration / stop coordinate value at the time of pulse distribution amount saved in the secondary pulse distribution amount deceleration / stop coordinate storage unit 15, that is, the position from the stop position P 1. The pulse distribution amount to be calculated is calculated in the insufficient distribution amount calculation unit 19, that is, s2 in FIG. 3 is calculated and stored in the insufficient distribution amount storage unit 20. Then, the pulse distribution amount stored in the secondary pulse distribution amount storage unit 17 is instructed to the pulse distribution switching unit 21 as the current pulse distribution amount and pulse distribution is performed to the error register 5 at the subsequent stage.
比較器16が禁止領域にはいると認識した以降のパルス
分配動作は、パルス分配発生器1により算出されたパル
ス分配量がパルス分配量切換器10で切換えられて比較器
18へ運ばれる。この比較器18では、このパルス分配量と
不足分配量格納部20の不足分配量データとの比較を行
い、不足分配量データがパルス分配量より大きくなった
とき一度だけパルス分配発生器1より発生されパルス分
配量切換部10、比較器18を介してパルス分配量切換器21
よりエラーレジスタ5へ出力される減速動作時のパルス
分配量の間に不足分配量を挿入して各時点のパルス分配
量としてパルス分配切換部21に指令し後段のエラーレジ
スタ5へパルス分配する。In the pulse distribution operation after the comparator 16 recognizes that it is in the prohibited area, the pulse distribution amount calculated by the pulse distribution generator 1 is switched by the pulse distribution amount switching unit 10 and the comparator is operated.
Taken to 18. The comparator 18 compares the pulse distribution amount with the shortage distribution amount data in the shortage distribution amount storage unit 20, and when the shortage distribution amount data becomes larger than the pulse distribution amount, is generated by the pulse distribution generator 1 only once. The pulse distribution amount switching unit 21 is connected via the pulse distribution amount switching unit 10 and the comparator 18.
Insufficient distribution amount is inserted between the pulse distribution amounts during deceleration operation output to the error register 5, and the pulse distribution switching unit 21 is instructed as the pulse distribution amount at each time point to perform pulse distribution to the error register 5 at the subsequent stage.
このように、ストロークリミットチェック部3によ
り、モータ6によって駆動される機械を減速動作でスト
ロークリミット位置P0上に停止させることができる。よ
って、機械に振動を与えることなく、設定有効移動範囲
を最大限に移動可能となり、従来より広い作業範囲を提
供できる。In this way, the stroke limit check unit 3 can stop the machine driven by the motor 6 on the stroke limit position P 0 by decelerating. Therefore, it is possible to move the set effective movement range to the maximum without giving vibration to the machine, and it is possible to provide a wider working range than before.
発明の効果 以上のように本発明によれば、機械をストロークリミ
ット位置で停止させることができるため、ストロークリ
ミットで設定された禁止領域に入ることなく、設定した
作業範囲内を最大限に移動させることが可能となり、し
かも機械に適した減速動作でストロークリミットで設定
された座標に停止するため、実際には機械に振動を与え
ることなく従来より広い作業範囲を提供できるようにな
り、機械制御上その効果は大なるものがある。EFFECTS OF THE INVENTION As described above, according to the present invention, the machine can be stopped at the stroke limit position, so that the machine is moved to the maximum within the set work range without entering the prohibited area set by the stroke limit. In addition, since the machine stops at the coordinates set by the stroke limit by deceleration operation suitable for the machine, it is possible to provide a wider working range than before without actually giving vibration to the machine, and in terms of machine control. The effect is great.
第1図は本発明の一実施例を示す数値制御装置のブロッ
ク図、第2図は同数値制御装置のストロークリミットチ
ェック部のブロック図、第3図は同数値制御装置のパル
ス分配量制御動作の説明図、第4図(a)および(b)
はそれぞれ数値制御装置の通常移動時のパルス分配量お
よび移動速度の特性図、第5図(a)および(b)はそ
れぞれ従来および本発明の数値制御装置の禁止領域認識
時のパルス分配量特性図、第6図(a)および(b)は
それぞれ従来および本発明の数値制御装置の禁止領域認
識時の移動速度特性図である。 1……パルス分配発生器、2……減速総パルス分配量計
算部、3……ストロークリミットチェック部、4……指
令値座標管理部、5……エラーレジスタ。FIG. 1 is a block diagram of a numerical control device showing an embodiment of the present invention, FIG. 2 is a block diagram of a stroke limit check unit of the numerical control device, and FIG. 3 is a pulse distribution amount control operation of the numerical control device. Explanatory drawing of FIG. 4, (a) and (b)
5A and 5B are characteristic diagrams of the pulse distribution amount and moving speed of the numerical control device during normal movement, and FIGS. 5A and 5B are pulse distribution amount characteristics of the conventional and inventive numerical control devices when the prohibited area is recognized. FIGS. 6 (a) and 6 (b) are moving speed characteristic diagrams when the prohibited areas are recognized by the conventional numerical control device and the numerical control device of the present invention, respectively. 1 ... Pulse distribution generator, 2 ... Deceleration total pulse distribution amount calculation unit, 3 ... Stroke limit check unit, 4 ... Command value coordinate management unit, 5 ... Error register.
Claims (1)
のパルス分配量を算出するパルス分配発生器と、前記パ
ルス分配発生器より算出されたパルス分配量をもとに分
配位置を管理する指令値座標管理部と、前記パルス分配
発生器より算出されたパルス分配量と実際の移動量との
誤差を管理して実際にパルス分配を行うエラーレジスタ
とを備えた数値制御装置であって、前記パルス分配発生
器より算出されたパルス分配量を仮想的に分配して減速
分配動作に移行した場合の減速総パルス分配量を計算す
る減速総パルス分配量計算部と、前記パルス分配発生器
より算出されたパルス分配量を分配する前に、分配後で
減速分配動作に移行した場合に前記減速総パルス分配量
計算部より入力した減速総パルス分配量および前記指令
値座標管理部より入力した現時点の指令値座標をもとに
予想される停止時の指令値座標データと最終停止時の座
標データであるストロークリミットデータとを比較し、
ストロークリミットデータにより設定される禁止領域に
入る場合はパルス分配発生器を減速分配動作に移行させ
るとともに、前回のパルス分配時に予想された停止時の
指令値座標データとストロークリミットデータとの差を
もとに不足分配量を算出し、減速分配動作の最適分配時
点に前記不足分配量をパルス分配量として、前記エラー
レジスタに追加分配するストロークリミットチェック部
とを設けた数値制御装置。1. A pulse distribution generator for calculating successive pulse distribution amounts with a certain period from a moving distance command, and managing distribution positions based on the pulse distribution amount calculated by the pulse distribution generator. A numerical control device comprising a command value coordinate management unit and an error register for actually performing pulse distribution by managing an error between the pulse distribution amount calculated by the pulse distribution generator and the actual movement amount, From the pulse distribution generator, a deceleration total pulse distribution amount calculation unit that calculates the deceleration total pulse distribution amount when the pulse distribution amount calculated by the pulse distribution generator is virtually distributed and the deceleration distribution operation is started. Before distributing the calculated pulse distribution amount, the deceleration total pulse distribution amount input from the deceleration total pulse distribution amount calculation unit and the command value coordinate management unit when the deceleration distribution operation is performed after the distribution. A command value coordinates at the present time that the force is compared with the stroke limit data is a coordinate data of the command value coordinate data and the final stop of the stop expected on the basis,
If it enters the prohibited area set by the stroke limit data, the pulse distribution generator shifts to the deceleration distribution operation, and the difference between the command value coordinate data at the time of stop and the stroke limit data expected at the time of the previous pulse distribution is also detected. And a stroke limit check unit for additionally distributing to the error register, by calculating the shortage distribution amount, and using the shortage distribution amount as a pulse distribution amount at the time of optimum distribution of the deceleration distribution operation.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22102888A JPH0812563B2 (en) | 1988-09-02 | 1988-09-02 | Numerical control unit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22102888A JPH0812563B2 (en) | 1988-09-02 | 1988-09-02 | Numerical control unit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0268605A JPH0268605A (en) | 1990-03-08 |
| JPH0812563B2 true JPH0812563B2 (en) | 1996-02-07 |
Family
ID=16760355
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP22102888A Expired - Lifetime JPH0812563B2 (en) | 1988-09-02 | 1988-09-02 | Numerical control unit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0812563B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| FR3082122A1 (en) | 2018-06-11 | 2019-12-13 | Basf Beauty Care Solutions France Sas | USE OF BIXA ORELLANA EXTRACT |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR0165426B1 (en) * | 1995-08-24 | 1999-02-01 | 김광호 | Work area control method of machine tool |
| JP5383281B2 (en) | 2009-03-30 | 2014-01-08 | 花王株式会社 | Agrochemical-containing composition |
-
1988
- 1988-09-02 JP JP22102888A patent/JPH0812563B2/en not_active Expired - Lifetime
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| FR3082122A1 (en) | 2018-06-11 | 2019-12-13 | Basf Beauty Care Solutions France Sas | USE OF BIXA ORELLANA EXTRACT |
| WO2019239035A1 (en) | 2018-06-11 | 2019-12-19 | Basf Beauty Care Solutions France Sas | Use of a bixa orellana extract |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0268605A (en) | 1990-03-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2862052B2 (en) | Position command method and device | |
| CN106168790A (en) | A kind of online change target velocity and the S-shaped Acceleration-deceleration Control Method of position | |
| CN114779761B (en) | Obstacle-stopping control method, device, equipment and storage medium for mobile robot | |
| CN115847371B (en) | A control method and device for a master-slave robot | |
| JPH0812563B2 (en) | Numerical control unit | |
| KR920004286B1 (en) | Control device of elevator | |
| EP1594220A1 (en) | Ac motor control method and control device | |
| JP4407083B2 (en) | Command value generation method and command value generation system | |
| KR0165426B1 (en) | Work area control method of machine tool | |
| JP2001216008A (en) | Robot control method | |
| JP3534254B2 (en) | Moving object speed control device and moving object speed control method | |
| US5034672A (en) | Reference-point return method | |
| CN115924747B (en) | Micro-motion control system and method for electric container handling equipment | |
| RU2808685C1 (en) | Anti-collision detection and control method and system, forklift system and forklift | |
| JPH0138646Y2 (en) | ||
| JP2852772B2 (en) | Robot acceleration / deceleration control method | |
| JP2635066B2 (en) | Automatic operation method of opposed deck crane | |
| JP2653130B2 (en) | Acceleration / deceleration control device | |
| JP2805899B2 (en) | Motor position control device | |
| JPS6235126B2 (en) | ||
| JPH05319779A (en) | Bracing positioning control device for crane | |
| JPS601932Y2 (en) | cutting device | |
| Lee | A path-planning strategy for overhead cranes with high hoisting speed | |
| JPH0430205A (en) | Robot controller | |
| JPH0236405A (en) | Numeric controller |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080207 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 13 Free format text: PAYMENT UNTIL: 20090207 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090207 Year of fee payment: 13 |