JPH07129215A - Stored stroke limit stopping method for numerical controller - Google Patents
Stored stroke limit stopping method for numerical controllerInfo
- Publication number
- JPH07129215A JPH07129215A JP30332593A JP30332593A JPH07129215A JP H07129215 A JPH07129215 A JP H07129215A JP 30332593 A JP30332593 A JP 30332593A JP 30332593 A JP30332593 A JP 30332593A JP H07129215 A JPH07129215 A JP H07129215A
- Authority
- JP
- Japan
- Prior art keywords
- stroke limit
- target position
- limit position
- speed command
- target
- 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
Links
Landscapes
- Numerical Control (AREA)
- Control Of Position Or Direction (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、数値制御装置のメモリ
内にあらかじめ設定されたストロークリミット位置にも
とづいて、移動体の位置決めのオーバーラン量を制限す
るストアドストロークリミット停止方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a stored stroke limit stop method for limiting the amount of overrun in positioning a moving body based on a stroke limit position preset in a memory of a numerical controller.
【0002】[0002]
【従来の技術】従来は、数値制御装置(以下NCと略
す)において、ある一定周期で移動体の現在位置とスト
ロークリミット位置を比較して、現在位置がストローク
リミット位置(以下リミット位置と略)を越えたことを
検出したとき、モータに減速停止指令を与えてモータを
停止させていた。図5、図6、図7、図8は従来技術を
説明するための図である。図5は、従来のリミット位置
監視手段による停止方法を適用したテーブル送り用サー
ボモータの実施例である。2は位置決め速度指令作成手
段、3は速度指令積分器、4はゲイン調整回路、5はア
ンプ回路、6は送り軸用サーボモータ、7は工作機械の
ボールネジ、8は工作機械の移動テーブル、9はリミッ
ト位置監視手段である。位置決め制御を行う場合の入力
データは目標位置データ、速度指定データ、リミット位
置データである。図5において、位置決め速度指令作成
手段2から出力される速度指令をリミット位置監視手段
9により積算し、その積算値(すなわち移動量)とリミ
ット位置データをNCのクロック周期T(ms)毎に比
較し、リミット位置データを超えたことを検出した場
合、次回からの速度指令を「0」とする処理を実行す
る。図6に位置決め速度指令作成手段とリミット位置監
視手段の機能をフローチャートで示す。ここで、速度指
令積算値は、速度指令の方向がプラス方向のときは、プ
ラス側リミット位置データと比較され、速度指令がマイ
ナス方向のときは、マイナス側リミット位置データと比
較される。2. Description of the Related Art Conventionally, in a numerical control device (hereinafter abbreviated as NC), a current position of a moving body and a stroke limit position are compared with each other at a constant cycle, and the current position is a stroke limit position (hereinafter abbreviated as a limit position). When it was detected that the motor had exceeded the limit, the motor was stopped by giving a deceleration stop command to the motor. 5, 6, 7, and 8 are views for explaining the conventional technique. FIG. 5 shows an embodiment of a table feed servomotor to which a conventional stopping method by limit position monitoring means is applied. 2 is a positioning speed command creating means, 3 is a speed command integrator, 4 is a gain adjusting circuit, 5 is an amplifier circuit, 6 is a servomotor for a feed axis, 7 is a ball screw of a machine tool, 8 is a moving table of the machine tool, 9 Is a limit position monitoring means. Input data for positioning control is target position data, speed designation data, and limit position data. In FIG. 5, the speed command output from the positioning speed command creating means 2 is integrated by the limit position monitoring means 9, and the integrated value (that is, the movement amount) and the limit position data are compared every NC clock cycle T (ms). Then, when it is detected that the limit position data is exceeded, the process for setting the speed command from the next time to "0" is executed. FIG. 6 is a flowchart showing the functions of the positioning speed command creating means and the limit position monitoring means. Here, the speed command integrated value is compared with the plus side limit position data when the speed command direction is the plus direction, and is compared with the minus side limit position data when the speed command is the minus direction.
【0003】[0003]
【発明が解決しようとする課題】ところが、従来技術に
おいては、図7に示すように、T(ms)の周期で監視
した場合、速度指令積算値がある周期でリミット位置を
越えても、その周期の速度指令は出力されるため行き過
ぎ量が発生する。この結果、図8に示すようにテーブル
8はリミット位置を越えて停止する。本発明はこの行き
過ぎ量をゼロにすることを目的とする。However, in the prior art, as shown in FIG. 7, when monitoring at a cycle of T (ms), even if the speed command integrated value exceeds the limit position at a certain cycle, Since the speed command for the cycle is output, an overshoot occurs. As a result, the table 8 stops beyond the limit position as shown in FIG. The present invention aims to reduce this overshoot amount to zero.
【0004】[0004]
【課題を解決するための手段】上記課題を解決するた
め、本発明は、サーボモータで駆動される移動体の位置
決めを行う数値制御装置において、前記数値制御装置の
メモリ内にあらかじめ設定されたストロークリミット位
置にもとづいて前記移動体を所定のオーバラン量以内で
停止させるようにしたストアドストロークリミット停止
方法において、前記目標位置と前記ストロークリミット
位置を比較して、前記目標位置が前記ストロークリミッ
ト位置を超過しない場合は、前記目標位置をそのまま位
置指令として位置決め速度指令作成手段に入力し、前記
目標位が前記ストロークリミット位置を超過するとき
は、前記目標位置をストロークリミット位置に修正し、
前記修正された目標位置を新しい位置指令として前記位
置決め速度指令作成手段に入力する。In order to solve the above problems, the present invention relates to a numerical control device for positioning a moving body driven by a servo motor, and a stroke preset in a memory of the numerical control device. In a stored stroke limit stop method in which the moving body is stopped within a predetermined overrun amount based on a limit position, the target position and the stroke limit position are compared, and the target position exceeds the stroke limit position. If not, the target position is input as it is to the positioning speed command creating means as a position command, and when the target position exceeds the stroke limit position, the target position is corrected to the stroke limit position,
The corrected target position is input to the positioning speed command creating means as a new position command.
【0005】[0005]
【作用】上記手段により、あらかじめ指令されている目
標位置がリミット位置を越えるような場合でも、指令さ
れる目標位置がリミット位置に修正されるので、テーブ
ルはリミット位置上に行き過ぎ量ゼロで正確に位置決め
することができる。By the above means, even if the target position commanded in advance exceeds the limit position, the commanded target position is corrected to the limit position. Can be positioned.
【0006】[0006]
【実施例】以下、本発明の実施例を図に基づいて説明す
る。図1は、本発明の実施例のブロック図である。図に
おいて、1は目標位置修正手段、2は位置決め速度指令
作成手段、3は速度指令積分器、4はゲイン調整回路、
5はアンプ回路、6は送り軸サーボモータ、7はボール
ネジ、8は工作機械の移動テーブルである。次に本実施
例の動作について説明する。位置決め指令の場合は、入
力データとして目標位置データ、リミット位置データ、
速度指定データがある。1の目標位置修正手段では、目
標位置データとリミット位置データを比較して、目標位
置がリミット位置を超過していない場合は、目標位置デ
ータをそのまま位置指令として位置決め速度指令作成手
段2に入力する。目標位置より手前にリミット位置が指
定されている場合は、目標位置データをリミット位置と
同一データに修正し、その修正された目標位置データを
位置指令として2の位置決め速度指令作成手段に入力す
る。図2は、目標位置修正手段と位置決め速度指令作成
手段の機能をフローチャートで示したものである。図に
おいて、T(ms)周期の位置決め指令修正動作1回目
で目標位置データとリミット位置データを比較して、目
標位置データがリミット位置データを越える場合のみ、
目標位置データをリミット位置データの値に修正する。
このときリミット位置データは目標位置がプラスのとき
は、プラス側リミット位置データと比較し、目標位置が
マイナスのときは、マイナス側リミット位置データと比
較する。このように、目標位置がリミット位置を越える
場合のみ目標位置をリミット位置と同一にするので、移
動体のテーブルはリミット位置で停止する。本発明で
は、図1に示すように速度指令を出力する前に目標位置
修正手段により、目標位置=リミット位置」とすること
により、図3に示すようにリミット位置までの速度指令
で停止して、結果として図4に示すように行き過ぎ量ゼ
ロでリミット位置に位置決めされる。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention. In the figure, 1 is a target position correction means, 2 is a positioning speed command creating means, 3 is a speed command integrator, 4 is a gain adjusting circuit,
Reference numeral 5 is an amplifier circuit, 6 is a feed axis servomotor, 7 is a ball screw, and 8 is a moving table of a machine tool. Next, the operation of this embodiment will be described. In case of positioning command, target data, limit position data,
There is speed specification data. In the target position correction means No. 1, the target position data and the limit position data are compared, and if the target position does not exceed the limit position, the target position data is directly input to the positioning speed command creating means 2 as a position command. . When the limit position is specified in front of the target position, the target position data is corrected to the same data as the limit position, and the corrected target position data is input as a position command to the positioning speed command creating means. FIG. 2 is a flow chart showing the functions of the target position correcting means and the positioning speed command creating means. In the figure, the target position data and limit position data are compared in the first positioning command correction operation of the T (ms) cycle, and only when the target position data exceeds the limit position data,
Correct the target position data to the limit position data value.
At this time, the limit position data is compared with the plus side limit position data when the target position is plus, and is compared with the minus side limit position data when the target position is minus. In this way, the target position is made the same as the limit position only when the target position exceeds the limit position, so that the table of the moving body stops at the limit position. In the present invention, the target position is corrected by the target position correcting means before the speed command is output as shown in FIG. 1, so that the speed command up to the limit position is reached as shown in FIG. As a result, the vehicle is positioned at the limit position when the overshoot amount is zero as shown in FIG.
【0007】[0007]
【発明の効果】以上述べたように、本発明によれば、あ
らかじめ指令されている目標位置がリミット位置を越え
るような場合でも、目標位置がリミット位置に修正され
るので、リミット位置上に行き過ぎ量’ゼロ’で正確に
位置決めすることができる。As described above, according to the present invention, the target position is corrected to the limit position even when the commanded target position exceeds the limit position. Can be accurately positioned with the quantity'zero '.
【図1】本発明の実施例のブロック図FIG. 1 is a block diagram of an embodiment of the present invention.
【図2】本発明による目標位置修正手段と位置決め速度
指令作成手段の機能を示すフローチャートFIG. 2 is a flow chart showing the functions of a target position correcting means and a positioning speed command creating means according to the present invention.
【図3】本発明の効果を説明する図FIG. 3 is a diagram for explaining the effect of the present invention.
【図4】本発明の効果を説明する図FIG. 4 is a diagram for explaining the effect of the present invention.
【図5】従来技術のストロークリミット位置監視手段に
よる停止方法を適用したブロック図FIG. 5 is a block diagram to which a stopping method by a stroke limit position monitoring means of a conventional technology is applied.
【図6】従来技術における位置決め速度指令作成手段と
ストロークリミット位置監視手段の機能を示すフローチ
ャートFIG. 6 is a flowchart showing the functions of a positioning speed command creating means and a stroke limit position monitoring means in the prior art.
【図7】従来技術によるスキャンサイクルで生じる行き
過ぎ量を説明する図FIG. 7 is a diagram illustrating an overshoot amount that occurs in a scan cycle according to the related art.
【図8】従来技術による目標停止位置監視手段による行
き過ぎ量を説明する図FIG. 8 is a diagram for explaining an overshoot amount by a target stop position monitoring unit according to a conventional technique.
1 目標位置修正手段 2 位置決め速度指令作成手段 3 速度指令積分器 4 ゲイン調整回路 5 アンプ回路 6 送り軸用サーボモータ 7 ボールネジ 8 テーブル 9 リミット位置監視手段 1 Target Position Correcting Means 2 Positioning Speed Command Creating Means 3 Speed Command Integrator 4 Gain Adjusting Circuit 5 Amplifier Circuit 6 Feed Axis Servo Motor 7 Ball Screw 8 Table 9 Limit Position Monitoring Means
Claims (1)
決めを行う数値制御装置において、前記数値制御装置の
メモリ内にあらかじめ設定されたストロークリミット位
置にもとづいて前記移動体を所定のオーバラン量以内で
停止させるようにしたストアドストロークリミット停止
方法において、前記目標位置と前記ストロークリミット
位置を比較して、前記目標位置が前記ストロークリミッ
ト位置を超過しない場合は、前記目標位置をそのまま位
置指令として位置決め速度指令作成手段に入力し、前記
目標位が前記ストロークリミット位置を超過するとき
は、前記目標位置をストロークリミット位置に修正し、
前記修正された目標位置を新しい位置指令として前記位
置決め速度指令作成手段に入力することを特徴とする数
値制御装置のストアドストロークリミット停止方法。1. A numerical control device for positioning a moving body driven by a servomotor, wherein the moving body is moved within a predetermined overrun amount based on a stroke limit position preset in a memory of the numerical control device. In the stored stroke limit stop method for stopping, the target position and the stroke limit position are compared, and when the target position does not exceed the stroke limit position, the target position is used as it is as a position command for a positioning speed command. Input to the creating means, when the target position exceeds the stroke limit position, the target position is corrected to the stroke limit position,
A method for stopping a stored stroke limit of a numerical control device, characterized in that the corrected target position is inputted as a new position command to the positioning speed command creating means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP30332593A JPH07129215A (en) | 1993-11-08 | 1993-11-08 | Stored stroke limit stopping method for numerical controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP30332593A JPH07129215A (en) | 1993-11-08 | 1993-11-08 | Stored stroke limit stopping method for numerical controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH07129215A true JPH07129215A (en) | 1995-05-19 |
Family
ID=17919618
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP30332593A Pending JPH07129215A (en) | 1993-11-08 | 1993-11-08 | Stored stroke limit stopping method for numerical controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH07129215A (en) |
-
1993
- 1993-11-08 JP JP30332593A patent/JPH07129215A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4728872A (en) | Robot path error correction system | |
JP2709969B2 (en) | Servo motor control method | |
US5477117A (en) | Motion controller and synchronous control process therefor | |
US4707780A (en) | Method and apparatus for reducing track errors in computer controlled machine tools or industrial robots | |
EP0089156B1 (en) | Method and apparatus for controlling acceleration and/or deceleration | |
JPH03201106A (en) | Backlash correction system for numerical controller | |
EP0790543B1 (en) | Method for switching a control mode of a servo control system | |
JPH05118302A (en) | Controller for servomotor | |
JP3527022B2 (en) | Numerical control unit | |
WO1990011166A1 (en) | Manual intervention method for industrial robot | |
JP3285681B2 (en) | Servo motor control method | |
US6909938B2 (en) | Method of and apparatus for synchronous control | |
JP3413954B2 (en) | Motion controller | |
JP3749222B2 (en) | Numerical controller | |
JP3556779B2 (en) | Servo motor overshoot prevention method | |
JPH07129215A (en) | Stored stroke limit stopping method for numerical controller | |
US10569358B2 (en) | Laser processing system capable of adjusting timing to switch output command | |
JP2826391B2 (en) | Backlash acceleration control method | |
JP3242190B2 (en) | Numerical control unit | |
JPS6130355A (en) | Adjustment controller in machine tool | |
JPH07266190A (en) | Numerical control system | |
JPS57127206A (en) | System for correcting positioning error in numerical controlling device | |
EP0219551B1 (en) | Numerical controller having overtravel checking function | |
JPS63157206A (en) | Numerical controller | |
JPH04362702A (en) | Velocity control system in repetitive control |