[go: up one dir, main page]

JPH11202915A - Controller for automatic machine - Google Patents

Controller for automatic machine

Info

Publication number
JPH11202915A
JPH11202915A JP1834398A JP1834398A JPH11202915A JP H11202915 A JPH11202915 A JP H11202915A JP 1834398 A JP1834398 A JP 1834398A JP 1834398 A JP1834398 A JP 1834398A JP H11202915 A JPH11202915 A JP H11202915A
Authority
JP
Japan
Prior art keywords
acceleration
deceleration
override
pmc
control device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1834398A
Other languages
Japanese (ja)
Inventor
Mitsuo Kinoshita
三男 木下
Keiichiro Miyajima
敬一郎 宮嶋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fanuc Corp
Original Assignee
Fanuc Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fanuc Corp filed Critical Fanuc Corp
Priority to JP1834398A priority Critical patent/JPH11202915A/en
Publication of JPH11202915A publication Critical patent/JPH11202915A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To adjust the extent of acceleration and deceleration with an external signal. SOLUTION: When an acceleration/deceleration override value β(%) is specified with an external signal from a console panel or other external devices, the acceleration/deceleration override signal value that a PMC(programmable machine controller) has is updated. The controller performs a filtering process (acceleration/deceleration control) corresponding to the acceleration/deceleration override signal value that the PMC has. In an acceleration/deceleration override OFF state (or β=100), acceleration/deceleration control is performed with a time constant τ matching basic operation conditions and the speed outputted to a servo changes in the order of (a), (c), (e), and (g). When the external signal is inputted with β=β1(<100), a process is performed with an acceleration/ deceleration time constant τ1(>τ0) and the speed outputted to the serve changes in the order of (a), (d), (e), and (h). When the external signal is inputted with β=β2>100), the process is performed with an acceleration/deceleration time constant τ2(<τ0) and the speed outputted to the servo changes in the order of (a), (b), (e), and (f).

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は各種工作機械、加工
機等の自動機械を制御するための制御装置に関し、更に
詳しく言えば、それら自動機械の加減速動作の緩急を調
整する手段を設けた制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device for controlling automatic machines such as various machine tools and processing machines. More specifically, the present invention is provided with means for adjusting the acceleration / deceleration of the automatic machines. It relates to a control device.

【0002】[0002]

【従来の技術】各種工作機械、加工機等の自動機械を加
工経路等を定めた動作プログラムに従って動作させる際
には、図1に示したようなブロック構成を持つCNCソ
フトウェアに基づく処理が制御装置内部で実行される。
同図に示したように、CNCソフトウェアの枠組み全体
は、動作計画部と、各軸補間処理部と、各軸フィルタ処
理部に大別される。
2. Description of the Related Art When an automatic machine such as a machine tool or a processing machine is operated in accordance with an operation program that defines a machining path and the like, processing based on CNC software having a block configuration as shown in FIG. Performed internally.
As shown in the figure, the entire framework of the CNC software is roughly divided into an operation planning unit, each axis interpolation processing unit, and each axis filter processing unit.

【0003】動作計画部は、動作プログラムの指定内容
(移動目標位置、運動形式、プログラム速度など)に従
って自動機械の動作計画を作成する部分で、動作プログ
ラムで指定された運動形式の種類(直線動作、円弧動
作、スプライン動作等)やプログラム速度Vprに応じて
各駆動軸に関する動作計画が作成され、各軸補間処理部
に出力される。例えば工作機械のXYZテーブルを+X
方向にプログラム速度Vprで距離Dだけ直線移動させて
位置決めする場合であれば、X軸についてグラフIに併
記したような動作計画が作成される。グラフIの横軸は
時間、縦軸は速度を表わしており、移動距離Dは斜線で
示した面積に等しい。
[0003] The operation planning section is a section for creating an operation plan for an automatic machine in accordance with the contents specified by the operation program (moving target position, motion type, program speed, etc.). , An arc operation, a spline operation, etc.) and a program speed Vpr, an operation plan for each drive axis is created and output to each axis interpolation processing unit. For example, the XYZ table of the machine tool is + X
In the case where positioning is performed by moving linearly by the distance D in the direction at the program speed Vpr in the direction, an operation plan as shown in the graph I is created for the X axis. The horizontal axis of the graph I represents time, the vertical axis represents speed, and the moving distance D is equal to the area indicated by oblique lines.

【0004】なお、移動速度に関してオーバライドが指
定されている場合には、通常、この作計画部でオーバラ
イドが考慮され、プログラム速度Vprにオーバライド
(百分率)を乗じたものが、補間処理部に対する指令遠
度出力となる。
When an override is specified for the moving speed, usually, the override is considered in the operation planning unit, and the product of the program speed Vpr and the override (percentage) is the command distance to the interpolation processing unit. Output.

【0005】動作計画部と各軸補間処理部の間には、動
作計画部からの出力の補間処理部への送り込みを制御す
る動作シャッタとして機能するブロックが設けられてい
る。動作シャッタは、動作計画部で各軸の速度を表わす
出力が生成される毎に開放され、各軸の指令速度を表わ
す出力が補間処理部に渡される。
[0005] Between the motion planning section and each axis interpolation processing section, there is provided a block functioning as an operation shutter for controlling the sending of the output from the motion planning section to the interpolation processing section. The operation shutter is opened each time an output indicating the speed of each axis is generated by the operation planning unit, and an output indicating the command speed of each axis is passed to the interpolation processing unit.

【0006】各軸の補間処理部はこの出力を受けて計算
処理周期(ITP)毎に補間処理を行ない、ITP毎の
移動量を計算しフィルタ処理部へ出力する。補間処理部
に対する入力がグラフIで表わされる場合、補間処理の
出力はグラフIIのようになる。グラフIと同様に、横
軸は時間、縦軸は速度を表わしている。グラフIIで
は、移動距離Dに等しい面積が、ITP毎の生成される
多数のセグメントに分割されている。セグメント一つ一
つの面積は1ITP毎の移動量を表わしている。
[0006] Upon receiving this output, the interpolation processing unit of each axis performs an interpolation process for each calculation processing cycle (ITP), calculates the amount of movement for each ITP, and outputs it to the filter processing unit. When the input to the interpolation processing unit is represented by graph I, the output of the interpolation processing is as shown in graph II. Similar to the graph I, the horizontal axis represents time, and the vertical axis represents speed. In graph II, an area equal to the travel distance D is divided into a number of segments generated for each ITP. The area of each segment represents the amount of movement for each ITP.

【0007】各軸のフィルタ処理部は補間処理部の出力
に対して予め定められたの時定数τでフィルタリングの
処理を行なう。この処理は自動機械の加減速を制御して
加速/減速の動作を滑らかにするために行なわれる。即
ち、各軸のフィルタ処理部からは時定数τの間に加速及
び減速を完了させるような速度推移を表わす移動指令が
ITP毎に作成され、各軸サーボへ出力される。各軸サ
ーボは、この移動指令とフィードバック信号に基づい
て、図示しない各軸のサーボモータの駆動電流を制御す
る。
The filter processing unit of each axis performs a filtering process on the output of the interpolation processing unit with a predetermined time constant τ. This process is performed to control the acceleration / deceleration of the automatic machine to smooth the acceleration / deceleration operation. That is, from the filter processing unit of each axis, a movement command indicating a speed transition that completes acceleration and deceleration during the time constant τ is created for each ITP, and is output to each axis servo. Each axis servo controls a drive current of a servo motor of each axis (not shown) based on the movement command and the feedback signal.

【0008】フィルタ処理部に対する入力がグラフII
で表わされる場合、フィルタ処理部の出力はグラフII
Iのようになる。グラフI、IIと同様に、横軸は時
間、縦軸は速度を表わしている。グラフIIIでは、各
軸の補間処理部から入力された等高セグメント群が一部
等高でないセグメント群に変換されている。時間τをか
けて0からVpr(指令速度)まで徐々にセグメント高が
増大する部分は加速動作を表わし、時間τをかけてVpr
(指令速度)から0(位置決め)まで徐々にセグメント
高が低減する部分は減速動作を表わしている。これら加
減速動作中のセグメント群の包絡線の傾きαは、加減速
の加速度を表わしている。
[0008] The input to the filter processing unit is graph II
, The output of the filtering unit is the graph II
It looks like I. As in the graphs I and II, the horizontal axis represents time, and the vertical axis represents speed. In the graph III, the equal-height segment group input from the interpolation processing unit of each axis is partially converted into a non-height-segment group. The portion where the segment height gradually increases from 0 to Vpr (command speed) over time τ represents an acceleration operation, and Vpr
The portion where the segment height gradually decreases from (command speed) to 0 (positioning) represents a deceleration operation. The slope α of the envelope of the segment group during the acceleration / deceleration operation represents the acceleration of acceleration / deceleration.

【0009】[0009]

【発明が解決しようとする課題】従来の制御装置におい
ては、上記加減速の時定数τの値は最も基本的と考えら
れる条件(工作機械、加工機であれば加工条件)を想定
し、その条件の下で各軸のサーボモータの能力(最大ト
ルク等)が最大限に引き出されるように配慮して定めた
基準値が設定されていた。この基準値は上記した処理の
ためのCNCソフトウェアの一部として加工開始(加工
プログラム再生開始)に先だって初期設定され、加工開
始(加工プログラム再生開始)後は、一旦加工を中断し
なければ、加減速の緩急を変更することが出来なかっ
た。
In the conventional control device, the value of the acceleration / deceleration time constant τ is assumed to be the most basic condition (the processing condition for a machine tool or a processing machine). A reference value has been set in consideration of maximizing the performance (maximum torque and the like) of the servomotor of each axis under the conditions. This reference value is initially set as a part of the CNC software for the above-described processing prior to the start of processing (start of reproduction of the processing program). The speed of deceleration could not be changed.

【0010】しかし、実際に自動機械を動作させる最適
条件は固定的ではなく、加工条件等に応じて様々に変化
するために不都合が生じていた。例えば、パンチプレス
機のようにワークをワークホルダにはさんだ状態でパン
チ位置まで移動させる軸を駆動するような自動機械にお
いては、ワーク重量に応じて負荷も変動する。
[0010] However, the optimum conditions for actually operating the automatic machine are not fixed, and various changes are made in accordance with the processing conditions and the like, causing inconvenience. For example, in an automatic machine such as a punch press machine that drives a shaft that moves a work to a punch position while sandwiching the work between work holders, the load varies according to the weight of the work.

【0011】そのため、初期設定された加減速定数の下
で機械を動作させた場合、ワークがその初期設定値が想
定している重量よりも軽い場合にはサーボモータの性能
が十分に発揮されないことになる。逆に、ワーク重量が
初期設定値が想定している重量を上回る場合には、サー
ボモータの性能が不足して加工精度に影響が出るなどの
事態が生じ得る。このような事態を避けるには、ワーク
重量が変化する毎に加工を中断して加減速定数の設定を
やり直すなどの措置が必要となり、非常に不便であっ
た。
Therefore, when the machine is operated under the initially set acceleration / deceleration constant, if the work is lighter than the assumed weight, the servomotor performance is not sufficiently exhibited. become. Conversely, if the work weight exceeds the weight assumed by the initial set value, the performance of the servomotor may be insufficient and the machining accuracy may be affected. In order to avoid such a situation, it is necessary to take measures such as interrupting the processing and resetting the acceleration / deceleration constant each time the weight of the workpiece changes, which is very inconvenient.

【0012】そこで、本発明の目的は従来技術における
上記問題点を解決することにある。即ち、本発明の目的
は、負荷の大小に応じて加減速動作の緩急を外部信号で
容易に変更出来る自動機械の制御装置を提供することに
ある。そして、本発明はそのことを通して、サーボモー
タの性能が十分に発揮されないために生じる不効率や、
逆に性能に見合わないような条件で加減速動作がなされ
るために生じる加工精度の低下などの影響を回避しよう
とするものである。
Accordingly, an object of the present invention is to solve the above-mentioned problems in the prior art. That is, an object of the present invention is to provide a control device for an automatic machine capable of easily changing the acceleration / deceleration operation according to the magnitude of a load by an external signal. And, through this, the present invention provides inefficiencies caused by insufficient performance of the servo motor,
Conversely, an attempt is made to avoid the influence of a reduction in machining accuracy caused by the acceleration / deceleration operation being performed under conditions that do not match the performance.

【0013】[0013]

【課題を解決するための手段】本発明は、駆動軸に関す
る移動指令を、ソフトウェア処理に基づいてサーボ系に
出力する自動機械の制御装置において、ソフトウェア処
理に含まれる加減速制御のための処理について、時定数
をパラメータとして予め設定可能とした上で、更に、外
部信号の入力により、その設定されたパラメータを調整
して時定数を決定出来るようにしたものである。
SUMMARY OF THE INVENTION The present invention relates to a process for acceleration / deceleration control included in software processing in an automatic machine control device for outputting a movement command relating to a drive shaft to a servo system based on software processing. The time constant can be set in advance as a parameter, and the set parameter can be adjusted by inputting an external signal to determine the time constant.

【0014】加減速時定数を定めるパラメータの調整
は、パラメータを大きくする方向、及び小さくする方向
になし得ることが好ましい。また、同パラメータの調整
は、調整比率を外部信号で指定するによって行なわれ得
ることが好ましい。外部信号は、例えば制御装置に接続
された操作盤から行なうことが出来る。
It is preferable that the adjustment of the parameter for determining the acceleration / deceleration time constant can be performed in the direction of increasing the parameter and in the direction of decreasing the parameter. It is preferable that the adjustment of the parameter can be performed by designating the adjustment ratio by an external signal. The external signal can be sent from, for example, an operation panel connected to the control device.

【0015】[0015]

【発明の実施の形態】図2は本発明が適用される自動機
械制御装置の概要を説明するブロック図である。制御装
置本体部10のメインCPU11には、ディジタルサー
ボ制御ブロック13との間に設けられる共有RAM1
2、PMC(プログラマブルマシンコントローラ)2
0、CNCソフトウェアによる制御ブロック50(以
下、「CNCソフトウェア50」と略称)がバス結合さ
れる。
FIG. 2 is a block diagram for explaining an outline of an automatic machine control device to which the present invention is applied. The main CPU 11 of the control device body 10 has a shared RAM 1 provided between the main CPU 11 and the digital servo control block 13.
2. PMC (Programmable Machine Controller) 2
0, a control block 50 by the CNC software (hereinafter abbreviated as “CNC software 50”) is bus-connected.

【0016】CNCソフトウェア50は、加工プログラ
ムで指定された動作経路、動作条件等に基づいて所定周
期で各軸の移動指令を作成し、共有RAM12を介して
ディジタルサーボ制御ブロック13へ渡す。この間の処
理の概要は図1を参照して前述した通りである。但し後
述するように、本実施形態では本発明の特徴を反映し
て、フィルタリング処理における加減速時定数τがオペ
レータあるいは外部信号によって指定されるオーバーラ
イド値に応じて可変設定可能となっている。
The CNC software 50 creates a movement command for each axis at a predetermined cycle based on the operation path, operation conditions, and the like specified by the machining program, and passes the movement command to the digital servo control block 13 via the shared RAM 12. The outline of the processing during this time is as described above with reference to FIG. However, as will be described later, in this embodiment, the acceleration / deceleration time constant τ in the filtering process can be variably set according to an override value specified by an operator or an external signal, reflecting the features of the present invention.

【0017】ディジタルサーボ制御ブロック13は、指
定された加減速オーバーライド値の下で作成された移動
指令とパルスコーダ(図示せず)から得られるフィード
バック信号に基づいてサーボアンプ14を制御し、サー
ボアンプ14から各軸のモータに駆動電流を供給する。
The digital servo control block 13 controls the servo amplifier 14 based on a movement command created under a designated acceleration / deceleration override value and a feedback signal obtained from a pulse coder (not shown). Supplies a drive current to the motor of each axis.

【0018】PMC20にはI/Oユニット30が接続
され、I/Oユニット30に操作盤ユニット40が接続
されている。操作盤ユニット40は標準装備に対応する
もので、それ以外の外部装置60、例えばユーザ自作の
操作盤ユニット、加工機本体部に設置されたブレーキ機
構、各種センサなどを接続することも出来る(※印参
照)。破線で囲まれた部分100は、加減速オーバーラ
イド値のデータのCNCソフトウェア50への引渡しに
主として関与する部分を表わしており、図3にやや詳し
いブロック構成を示した。
An I / O unit 30 is connected to the PMC 20, and an operation panel unit 40 is connected to the I / O unit 30. The operation panel unit 40 corresponds to the standard equipment, and other external devices 60 such as a user-created operation panel unit, a brake mechanism installed in a processing machine main body, various sensors, and the like can be connected (*). Mark). A portion 100 surrounded by a broken line represents a portion mainly involved in the transfer of the acceleration / deceleration override value data to the CNC software 50, and FIG. 3 shows a somewhat detailed block configuration.

【0019】図3を参照すると、PMC20はPMC管
理ソフトウェアのブロック21(以下、「PMC管理ソ
フト21」と略称)とPMCラダープログラムのブロッ
ク22(以下、「PMCラダープログラム22」と略
称)を有する。また、両者間のデータ授受のために、P
MC管理ソフト21から見て出力側、入力側に各々ビッ
トイメージのブロック23、24が設けられている。
Referring to FIG. 3, the PMC 20 has a block 21 of PMC management software (hereinafter abbreviated as “PMC management software 21”) and a block 22 of a PMC ladder program (hereinafter abbreviated as “PMC ladder program 22”). . In order to exchange data between the two, P
Blocks 23 and 24 of bit images are respectively provided on the output side and the input side when viewed from the MC management software 21.

【0020】更に、PMCラダープログラム22とCN
Cソフトウェア50とのデータ授受を仲介するためのブ
ロックとして対CNC出力部25及び対CNC入力部2
6が設けられている。PMCラダープログラム22は、
例えばユーザが作成した加工プログラム(ラダー形式で
記載されている)を含んでおり、加工プログラム再生時
には、CNCソフトウェア50に対して、前述した移動
指令作成のための処理(動作計画〜フィルタリング処
理)に必要なデータが引き渡される。
Further, PMC ladder program 22 and CN
A block for mediating data exchange with the C software 50 as a block to the CNC output unit 25 and the CNC input unit 2
6 are provided. PMC ladder program 22
For example, it includes a machining program (described in a ladder format) created by a user. When the machining program is reproduced, the CNC software 50 is used to execute the above-described process for creating a movement command (operation plan to filtering process). The required data is passed.

【0021】PMC20に接続されるI/Oユニット3
0は例えばI/Oカードとして用意され、所要数の入力
部31、33、34出力部32、35を備えている。こ
れら入出力部は各々PMC管理ソフト21と操作盤ユニ
ット40の諸要素を仲介するもので、操作盤ユニット4
0に装備される要素としては、キーボード41、LED
42の他、諸操作キー、スイッチ類43などがある。
I / O unit 3 connected to PMC 20
0 is prepared as, for example, an I / O card, and has a required number of input units 31, 33, 34 and output units 32, 35. These input / output units mediate various elements of the PMC management software 21 and the operation panel unit 40, respectively.
The elements that are equipped with 0 are keyboard 41, LED
42, various operation keys, switches 43 and the like.

【0022】諸操作キー、スイッチ類43には、従来通
り、非常停止スイッチ、速度オーバーライド値指定キー
が含まれていて良いが、本実施形態では従来は装備され
ていなかった加減速オーバーライド値設定キーが含まれ
ている。
The operation keys and switches 43 may include an emergency stop switch and a speed override value designating key as in the past, but in the present embodiment, an acceleration / deceleration override value setting key which was not conventionally provided is provided. It is included.

【0023】キーボード41及びLED42に関して
は、入出力の信号がコード化されており、各々入力部3
1、出力部32を介してPMC管理ソフト21との間で
授受される。キーボード41からの信号は、PMC管理
ソフト21でビットイメージ化され、ブロック23を介
してPMCラダープログラム22へ渡される。また、P
MCラダープログラム22から出力されるLED関連信
号(例:点灯LED素子の指定)はビットイメージとし
てブロック24を介してPMC管理ソフト23へ渡され
る。PMC管理ソフト23は、これをLED42を制御
出来る信号にコード化し、出力部32を介してLED4
2に渡す。
The input and output signals of the keyboard 41 and the LED 42 are coded, and
1. It is exchanged with the PMC management software 21 via the output unit 32. A signal from the keyboard 41 is converted into a bit image by the PMC management software 21 and passed to the PMC ladder program 22 via the block 23. Also, P
An LED-related signal (eg, designation of a lighting LED element) output from the MC ladder program 22 is passed to the PMC management software 23 via the block 24 as a bit image. The PMC management software 23 encodes this into a signal that can control the LED 42, and outputs the signal to the LED 4 via the output unit 32.
Hand over to 2.

【0024】これに対して、操作盤40は入力部33に
接点機構を介して接続されており、入力部33はPMC
管理ソフト23を介さずにPMCラダープログラム22
に接続されている。更に、入力部34、出力部35は、
PMCラダープログラム22と外部装置60を仲介する
ブロックで、それらとの信号授受もPMC管理ソフト2
3を介さずに行なわれる。
On the other hand, the operation panel 40 is connected to the input unit 33 via a contact mechanism, and the input unit 33 is connected to the PMC.
PMC ladder program 22 without management software 23
It is connected to the. Further, the input unit 34 and the output unit 35
A block that mediates between the PMC ladder program 22 and the external device 60, and exchanges signals with them.
3 without any intervention.

【0025】今、諸操作キー、スイッチ類43の中の加
減速オーバーライド値β%(100%以外)を指定する
キー操作を行なうと、それが入力部33を介してPMC
ラダープログラム22へ伝えられ、PMCラダープログ
ラム22が持っている加減速オーバーライド信号が変更
される。具体的には、加減速オーバーライドのオン/オ
フ状態とオン時のオーバーライド値を表わすレジスタ領
域をPMCラダープログラム22のブロックに属するメ
モリ内に設定しておく。初期設定値β0 はβ0=100
(%)としておく。
When a key operation for designating an acceleration / deceleration override value β% (other than 100%) in the various operation keys and switches 43 is performed, the key operation is performed via the input unit 33 through the PMC.
The acceleration / deceleration override signal transmitted to the ladder program 22 is changed. Specifically, a register area indicating the ON / OFF state of the acceleration / deceleration override and the override value at the time of ON is set in the memory belonging to the block of the PMC ladder program 22. Initial setting value β0 is β0 = 100
(%).

【0026】操作盤40から入力する加減速オーバーラ
イド値βの適正値は、個々のケースに応じて決定され
る。例えば、想定される複数種の加工条件(例;ワーク
重量種別)とに対して予め適正な加減速オーバーライド
値βを求めておき、実際の加工時に反映させることが出
来る。
The appropriate value of the acceleration / deceleration override value β input from the operation panel 40 is determined according to each case. For example, an appropriate acceleration / deceleration override value β can be obtained in advance with respect to a plurality of assumed processing conditions (eg, work weight type), and reflected in actual processing.

【0027】加減速オーバーライド値βの変更は、他の
外部装置60から制御装置10に入力される外部信号に
よって行なうことも出来る。即ち、外部装置60から加
減速オーバーライド値を指定する外部信号が入力部34
を介してPMCラダープログラム22へ伝えられると、
PMCラダープログラム22が持っている加減速オーバ
ーライド信号が変更され、オーバーライド信号(β値)
が更新される。外部装置60から送られて来る外部信号
は、例えばワークの重量を反映したワーク種別信号であ
って良い。
The acceleration / deceleration override value β can be changed by an external signal input to the control device 10 from another external device 60. That is, an external signal designating an acceleration / deceleration override value is input from the external device 60 to the input unit 34.
Is transmitted to the PMC ladder program 22 via
The acceleration / deceleration override signal of the PMC ladder program 22 is changed, and the override signal (β value)
Is updated. The external signal sent from the external device 60 may be, for example, a work type signal reflecting the weight of the work.

【0028】なお、CNCソフトウェア60に予め設定
される加減速時定数の基準値τ0 は、従来と同様に基本
加工条件に最適と考えられる値を定めることが出来る。
また、オーバーライド値は、加減速時定数τの延長、短
縮いずれの方向への変更も可能とする。但し、適当な上
限値が設けることも出来る。例えば、パンチプレス機の
ワーク移動軸であれば、「標準的な重量のワーク」を想
定した値をτ0 として初期設定すれば良い。
The reference value τ0 of the acceleration / deceleration time constant set in advance in the CNC software 60 can be set to a value which is considered to be optimal for the basic machining conditions as in the prior art.
Further, the override value can be changed in either the extension or the reduction of the acceleration / deceleration time constant τ. However, an appropriate upper limit may be provided. For example, in the case of a work moving axis of a punch press machine, a value assuming "a work having a standard weight" may be initially set as τ0.

【0029】図4は、加減速オーバーライドの指定対象
とされている軸(例えば、パンチプレス機のワーク移動
軸)の動作命令に対応する移動指令作成指令をPMCラ
ダープログラムから受けた際に、CNCソフトウェア5
0がフィルタリング処理開始に先だって行なう処理の概
略を記したものである。
FIG. 4 is a diagram showing a case where a CNC command is received from a PMC ladder program when a movement command creation command corresponding to an operation command of an axis (for example, a workpiece movement axis of a punch press) which is a target of acceleration / deceleration override is received. Software 5
0 is an outline of the processing performed prior to the start of the filtering processing.

【0030】先ず、対CNC入力部26を介してPMC
ラダープログラム22に、加減速オーバーライド関連パ
ラメータの出力を要求する(ステップS1)。加減速オ
ーバーライド関連パラメータは、ここでは加減速オーバ
ーライド信号のオン/オフを識別するフラグF(ON;
F=1/OFF;F=0)と、加減速オーバーライド値
βを含む。続いて、PMCラダープログラム22から対
CNC出力部25を介して加減速オーバーライド関連パ
ラメータを受け取る(ステップS2)。
First, the PMC is input via the CNC input unit 26.
The ladder program 22 is requested to output parameters related to acceleration / deceleration override (step S1). The acceleration / deceleration override-related parameter is a flag F (ON;
F = 1 / OFF; F = 0) and an acceleration / deceleration override value β. Subsequently, acceleration / deceleration override-related parameters are received from the PMC ladder program 22 via the CNC output unit 25 (step S2).

【0031】次いで、ステップS3でフラグF値を判別
し、F=0であればフィルタリング処理時の加減速時定
数は初期設定値τ0 を採用する(ステップS4)。これ
に対してF=1であれば、フィルタリング処理時の加減
速時定数として、初期設定値τ0 に100/βを乗じた
値を採用する(ステップS5)。フィルタリング処理自
体は、従来と同様である。
Next, in step S3, the value of the flag F is determined. If F = 0, the acceleration / deceleration time constant at the time of the filtering process uses the initial set value τ0 (step S4). On the other hand, if F = 1, a value obtained by multiplying the initial setting value τ0 by 100 / β is adopted as the acceleration / deceleration time constant during the filtering process (step S5). The filtering process itself is the same as the conventional one.

【0032】図5は、β=β1 (β1 <100)、オー
バーライドオフ(β=100でも同じ)、β=β2 (β
2 >100)の各ケースについて、フィルタリング処理
の出力が表わす速度の推移例を示したグラフである。グ
ラフは3つの台形を示しており、各々図1におけるグラ
フIIIにおけるセグメント群に対する包絡線に対応し
ている。各ケースと台形状の速度推移との対応関係は次
のようになる。なお、各台形abef、aceg、ad
ehの面積は相互に等しく、本図に示された動作につい
ての全移動量を表わしている。
FIG. 5 shows that β = β1 (β1 <100), override off (same for β = 100), β = β2 (β
2 is a graph showing an example of transition of the speed represented by the output of the filtering process for each case of (2> 100). The graph shows three trapezoids, each corresponding to the envelope for the segments in graph III in FIG. The correspondence between each case and the transition of the trapezoidal speed is as follows. In addition, each trapezoid abef, aceg, ad
The areas of eh are equal to each other, and represent the total movement amount for the operation shown in FIG.

【0033】 [β=β1 (<100)のケース] ・速度推移;a→d→e→h ・加減速時定数;τ=τ1 (>τ0 ) [加減速オーバーライドオフあるいはβ=100のケー
ス] ・速度推移;a→c→e→g ・加減速時定数;τ=τ0 [β=β2 (>100)のケース] ・速度推移;a→b→e→f ・加減速時定数;τ=τ2 (<τ0 )
[Case of β = β1 (<100)] Speed change; a → d → e → h Acceleration / deceleration time constant; τ = τ1 (> τ0) [Acceleration / deceleration override off or case of β = 100]・ Speed transition; a → c → e → g ・ Acceleration / deceleration time constant; τ = τ0 [case of β = β2 (> 100)] ・ Speed transition; a → b → e → f ・ Acceleration / deceleration time constant; τ = τ2 (<τ0)

【0034】[0034]

【発明の効果】以上説明したように、本発明によれば、
加減速動作の緩急を外部信号で容易に変更出来る自動機
械の制御装置が提供される。そして、本発明に係る制御
装置においては、従来装置と異なり、加工開始後であっ
ても駆動軸にかかる負荷の大小等を考慮して、随時加減
速の緩急を調整出来る。従って、加工精度等に悪影響を
及ぼすことなくサーボモータの能力を十分に発揮させる
ことが容易となる。
As described above, according to the present invention,
A control device for an automatic machine capable of easily changing the acceleration / deceleration speed by an external signal is provided. Further, in the control device according to the present invention, unlike the conventional device, the acceleration / deceleration can be adjusted at any time even after the start of machining, in consideration of the magnitude of the load applied to the drive shaft. Therefore, it is easy to sufficiently exert the capability of the servomotor without adversely affecting the processing accuracy and the like.

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

【図1】自動機械におけるCNCソフトウェアの一般的
なブロック構成の概要を説明する図である。
FIG. 1 is a diagram illustrating an outline of a general block configuration of CNC software in an automatic machine.

【図2】本発明が適用される自動機械制御装置の概要を
説明するブロック図である。
FIG. 2 is a block diagram illustrating an outline of an automatic machine control device to which the present invention is applied.

【図3】図2中に破線で囲まれた部分100について、
やや詳しいブロック構成を示した図である。
FIG. 3 shows a portion 100 surrounded by a broken line in FIG.
It is the figure which showed the somewhat detailed block configuration.

【図4】加減速オーバーライドの指定対象とされている
軸の動作命令に対応する移動指令作成指令をPMCラダ
ープログラムから受けた際に、CNCソフトウェア50
がフィルタリング処理開始に先だって行なう処理の概要
を説明するフローチャートである。
FIG. 4 is a diagram showing a CNC software 50 when a movement command creation command corresponding to an operation command of an axis designated as an acceleration / deceleration override is received from a PMC ladder program.
Is a flowchart illustrating an outline of a process performed prior to the start of a filtering process.

【図5】β=β1 (β1 <100)、オーバーライドオ
フ(β=100でも同じ)、β=β2 (β2 >100)
の各ケースについて、フィルタリング処理の出力が表わ
す速度の推移例を示したグラフである。
FIG. 5: β = β1 (β1 <100), override off (same for β = 100), β = β2 (β2> 100)
7 is a graph showing an example of transition of the speed represented by the output of the filtering process for each case of FIG.

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

10 制御装置本体部 11 メインCPU 12 共有RAM 20 PMC 21 PMC管理ソフトウェア 22 PMCラダープログラム 23 ビットイメージ(出力側) 24 ビットイメージ(入力側) 25 対CNC出力部 26 対CNC入力部 30 I/Oユニット 31、33、34 入力部 32、35 出力部 40 操作盤ユニット 41 キーボード 42 LED 43 諸操作キー、スイッチ類 50 CNCソフトウェア 60 外部装置 Reference Signs List 10 control device main unit 11 main CPU 12 shared RAM 20 PMC 21 PMC management software 22 PMC ladder program 23 bit image (output side) 24 bit image (input side) 25 to CNC output unit 26 to CNC input unit 30 I / O unit 31, 33, 34 Input unit 32, 35 Output unit 40 Operation panel unit 41 Keyboard 42 LED 43 Various operation keys and switches 50 CNC software 60 External device

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 駆動軸に関する移動指令を、ソフトウェ
ア処理に基づいて前記駆動軸を制御するサーボ系に出力
する自動機械の制御装置において、 前記ソフトウェア処理は加減速制御のための処理を含
み、 前記加減速制御における時定数が、前記ソフトウェア処
理に関連するパラメータとして予め設定可能であり、 且つ、外部信号の入力により、前記予め設定されたパラ
メータを調整して前記加減速制御における時定数を決定
する加減速緩急調整手段を有する、前記制御装置。
1. A control device for an automatic machine that outputs a movement command relating to a drive axis to a servo system that controls the drive axis based on software processing, wherein the software processing includes processing for acceleration / deceleration control. A time constant in the acceleration / deceleration control can be set in advance as a parameter related to the software processing, and the time constant in the acceleration / deceleration control is determined by adjusting the preset parameter by inputting an external signal. The control device, comprising acceleration / deceleration slow / fast adjustment means.
【請求項2】 前記パラメータの調整は、パラメータを
大きくする方向、及び小さくする方向になし得る、請求
項1に記載された自動機械の制御装置。
2. The control device for an automatic machine according to claim 1, wherein the adjustment of the parameter can be performed in a direction in which the parameter is increased or in a direction in which the parameter is decreased.
【請求項3】 前記予め設定されたパラメータの調整
が、前記予め設定されたパラメータに対する比率を前記
外部信号で指定するによって行なわれ得る、請求項1ま
たは請求項2にに記載された自動機械の制御装置。
3. The automatic machine according to claim 1, wherein the adjustment of the preset parameter can be performed by designating a ratio to the preset parameter by the external signal. Control device.
【請求項4】 前記外部信号が、前記制御装置に接続さ
れた操作盤から行なわれ得る、請求項1、請求項2また
は請求項3に記載された自動機械の制御装置。
4. The control device for an automatic machine according to claim 1, wherein the external signal can be issued from a control panel connected to the control device.
JP1834398A 1998-01-16 1998-01-16 Controller for automatic machine Pending JPH11202915A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1834398A JPH11202915A (en) 1998-01-16 1998-01-16 Controller for automatic machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1834398A JPH11202915A (en) 1998-01-16 1998-01-16 Controller for automatic machine

Publications (1)

Publication Number Publication Date
JPH11202915A true JPH11202915A (en) 1999-07-30

Family

ID=11969020

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1834398A Pending JPH11202915A (en) 1998-01-16 1998-01-16 Controller for automatic machine

Country Status (1)

Country Link
JP (1) JPH11202915A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012014479A1 (en) * 2010-07-29 2012-02-02 新日本工機株式会社 Numerical control apparatus
JP2014241074A (en) * 2013-06-12 2014-12-25 ファナック株式会社 Numerical value control device having function for smoothly changing feeding speed when overriding changes
JP5669986B1 (en) * 2013-12-13 2015-02-18 三菱電機株式会社 Numerical control apparatus and numerical control method
US9678500B2 (en) 2011-09-15 2017-06-13 Mitsubishi Electric Corporation Machining program creating device numerical control device, machining system, machining program creating method, numerical control method, and machining program
CN110703696A (en) * 2019-10-14 2020-01-17 杭州电子科技大学 High-speed feeding acceleration and deceleration method of seven-segment jump linear continuous numerical control device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012014479A1 (en) * 2010-07-29 2012-02-02 新日本工機株式会社 Numerical control apparatus
CN103140817A (en) * 2010-07-29 2013-06-05 新日本工机株式会社 Numerical control apparatus
US9678500B2 (en) 2011-09-15 2017-06-13 Mitsubishi Electric Corporation Machining program creating device numerical control device, machining system, machining program creating method, numerical control method, and machining program
JP2014241074A (en) * 2013-06-12 2014-12-25 ファナック株式会社 Numerical value control device having function for smoothly changing feeding speed when overriding changes
US9256213B2 (en) 2013-06-12 2016-02-09 Fanuc Corporation Numerical control unit having function to smoothly change feed speed when override is changed
JP5669986B1 (en) * 2013-12-13 2015-02-18 三菱電機株式会社 Numerical control apparatus and numerical control method
WO2015087455A1 (en) * 2013-12-13 2015-06-18 三菱電機株式会社 Numerical control device and numerical control method
CN105814503A (en) * 2013-12-13 2016-07-27 三菱电机株式会社 Numerical control device and numerical control method
US9939804B2 (en) 2013-12-13 2018-04-10 Mitsubishi Electric Corporation Numerical control device and numerical control method
CN105814503B (en) * 2013-12-13 2018-11-13 三菱电机株式会社 Numerical control device and numerical control method
CN110703696A (en) * 2019-10-14 2020-01-17 杭州电子科技大学 High-speed feeding acceleration and deceleration method of seven-segment jump linear continuous numerical control device

Similar Documents

Publication Publication Date Title
US6401006B1 (en) Machine controller with primary and secondary interpolation
US6205372B1 (en) System for adapting an automatic screw machine control achieve computer numeric control
JPH0910858A (en) System of punch press machine and control method thereof
JP3527022B2 (en) Numerical control unit
WO1989006066A1 (en) Method of speed control for servomotor
JPH11202915A (en) Controller for automatic machine
JPWO2002027417A1 (en) Numerical control method and device
JPS6249503A (en) Numerical controller
JP2005071086A (en) Motion control system
JP2000163114A (en) Intra-interpolation curve acceleration and deceleration processing method
JPH10301614A (en) Numeric controller
US20090094396A1 (en) Module for reproducing a transmitter signal
JP2872610B2 (en) Bending direction recognition processing device in sheet material plastic working
JPH1190758A (en) Control method for feed screw mechanism
JPH1133825A (en) Machine tool with tapping machining function
JP2003022106A (en) Machine tool and its numerical controller
JPH06301423A (en) Control system for multiple axes
JP3376938B2 (en) Drive system
JP2577460Y2 (en) Control device for manual operation of bending device
JP2838428B2 (en) Robot control method
JPH0553631A (en) Robot controller
JP2630132B2 (en) Robot control device
JPH10333732A (en) Method for controlling feed speed of numerical controller
JP2603167B2 (en) Picture cam converter
JPS63104110A (en) Machining system

Legal Events

Date Code Title Description
A02 Decision of refusal

Effective date: 20040127

Free format text: JAPANESE INTERMEDIATE CODE: A02