JPH08323824A - Controlling method for injection molder - Google Patents

Controlling method for injection molder

Info

Publication number
JPH08323824A
JPH08323824A JP15558295A JP15558295A JPH08323824A JP H08323824 A JPH08323824 A JP H08323824A JP 15558295 A JP15558295 A JP 15558295A JP 15558295 A JP15558295 A JP 15558295A JP H08323824 A JPH08323824 A JP H08323824A
Authority
JP
Japan
Prior art keywords
speed
moving
area
movement
moving member
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.)
Withdrawn
Application number
JP15558295A
Other languages
Japanese (ja)
Inventor
Masao Kamiguchi
賢男 上口
Koji Senda
浩司 千田
Minoru Kobayashi
稔 小林
Tetsuaki Neko
哲明 根子
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 JP15558295A priority Critical patent/JPH08323824A/en
Publication of JPH08323824A publication Critical patent/JPH08323824A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Moulds For Moulding Plastics Or The Like (AREA)
  • Injection Moulding Of Plastics Or The Like (AREA)

Abstract

PURPOSE: To realize the movement of a moving member after going beyond a speed changing-over position at the speed approximate to the set speed of movement near the speed changing-over position, especially at the position after the passing of moving member through the changing-over position without remarkably being restricted by the set moving speed at the region before the speed changing-over position. CONSTITUTION: If moving command Vi.τ in proportion to the set moving speed Vi of the region corresponding to the present position Pa under the condition that the present position Pa of a screw locates just before speed changing-over position Pi, the position Pa' after movement goes beyond the changing-over position Pi, the utter disregard of the set moving speed Vi+1 of the next region may sometimes occur. In order to cope with the above-mentioned disregard, the total sum of x', which is the amount of movement of the screw from its present position Pa to its speed changing-over position Pi, and y', which is the distance moved by the set moving speed Vi+1 of the next region during the time (y), which is the remainder of one predetermined period of time (τ) substracted by the time (x) required for moving the amount of movement x' by the speed Vi, is outputted as the moving command Lb.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、射出成形機の制御方法
の改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improved control method for an injection molding machine.

【0002】[0002]

【従来の技術】電動式射出成形機において、駆動しよう
とする移動部材(移動側金型、射出機構のスクリュ等)
の移動目標位置を設定すると共に該移動部材の移動区間
内における速度切換位置とその移動速度を設定し、移動
部材の位置によって移動速度を切換えて、移動部材の速
度制御を行うことが一般に行われている。
2. Description of the Related Art In an electric injection molding machine, a moving member to be driven (a moving side mold, a screw of an injection mechanism, etc.)
It is common practice to set the speed target position of the moving member, set the speed switching position and its moving speed within the moving section of the moving member, and switch the moving speed according to the position of the moving member to control the speed of the moving member. ing.

【0003】設定移動速度に応じた所定周期時間内の移
動量が所定周期毎が移動指令として出力され、この移動
指令に基づいて、速度のフィードバック制御、さらには
位置のフィードバック制御が行われる。
A movement amount within a predetermined cycle time corresponding to the set movement speed is output as a movement command for each predetermined cycle, and based on the movement command, speed feedback control and position feedback control are performed.

【0004】図2はこのような移動部材の速度制御を行
うサーボモータの駆動制御のブロック図である。移動部
材を駆動するサーボモータMに設けられた位置速度検出
器Pから帰還される位置フィードバック量を移動指令か
ら減じて位置偏差を求め、その値を速度指令として出力
し(位置ループ)、位置速度検出器Pから帰還される速
度フィードバック値を速度指令から減じて速度偏差を求
めてトルク指令を求め(速度ループ)、さらに、電流ル
ープ制御を行ってサーボモータMを駆動制御する。
FIG. 2 is a block diagram of drive control of a servo motor which controls the speed of such a moving member. A position deviation is obtained by subtracting a position feedback amount fed back from a position / speed detector P provided in a servo motor M for driving a moving member from a movement command, and the value is output as a speed command (position loop) to obtain a position speed. The speed feedback value fed back from the detector P is subtracted from the speed command to obtain the speed deviation to obtain the torque command (speed loop), and further, the current loop control is performed to drive-control the servo motor M.

【0005】この場合、移動指令は、所定周期毎、該所
定周期時間内に設定速度に応じた移動量が出力されエラ
レジスタに加算され、前記位置速度検出器Pで検出され
る所定周期時間内の移動量が減算されて位置偏差が求め
られ、該位置偏差に位置ループゲインが乗じられて速度
指令が求められ、さらに当該周期におけるサーボモータ
Mの速度、駆動電流が検出されて、上記速度ループ制
御、電流ループ制御が行われ、結局サーボモータMは設
定速度で駆動されることになる。
In this case, as for the movement command, the movement amount corresponding to the set speed is output every predetermined cycle within the predetermined cycle time, added to the error register, and within the predetermined cycle time detected by the position / speed detector P. Is subtracted to obtain a position deviation, the position deviation is multiplied by a position loop gain to obtain a speed command, and the speed and drive current of the servomotor M in the cycle are detected to detect the speed loop. Control and current loop control are performed, and the servomotor M is driven at a set speed after all.

【0006】従って、移動部材の移動速度を切換える場
合、設定移動速度を達成するための移動指令は前記所定
周期時間を単位として切り替える以外にないが、必ずし
も、設定された速度切替位置で移動部材の速度が切り替
えられるとは限らない。それは、移動指令を出力する前
記所定周期毎の位置が設定された速度の切替位置と一致
するという保証がないためである。つまり、1周期分の
移動指令が実行されている最中に移動部材の位置が設定
された速度の切替位置に到達してしまった場合では、当
該周期の残り時間において、依然として、移動部材が速
度の切替位置に到達する以前の移動指令に基いて位置,
速度,電流の各ループのフィードバック制御が行われる
ため、移動部材の位置が設定された速度の切替位置を越
えてからも、それ以前の設定速度に基いて移動部材が駆
動されるといった現象が生じるのである。図5および図
6にその一例を示す。
Therefore, when the moving speed of the moving member is switched, the moving command for achieving the set moving speed has to be changed in units of the predetermined cycle time. However, the moving command of the moving member is not necessarily set at the set speed switching position. The speed is not always switched. This is because there is no guarantee that the position at which the movement command is output in each of the predetermined cycles matches the switching position of the set speed. That is, in the case where the position of the moving member reaches the switching position of the set speed while the movement command for one cycle is being executed, the moving member is still moving during the remaining time of the cycle. Position based on the movement command before reaching the switching position of
Since the feedback control of each loop of speed and current is performed, even if the position of the moving member exceeds the set speed switching position, the moving member is driven based on the speed previously set. Of. 5 and 6 show an example thereof.

【0007】図6はスクリュー位置を基準として射出ス
クリューの移動速度を切り替えるようにした場合の一設
定例であり、スクリュー位置の区間をP0 〜P1 までの
領域,P1 〜P2 までの領域,P2 〜P3 までの領域に
分け、その各々に対応して射出速度V1 ,V2 ,V3 を
適用するようにしている。図5は図6の設定条件に基い
て周期τのパルス分配処理を行った時の実際の射出速度
の変化を示すグラフで、切替位置P2 近傍での変化のみ
を記載してある。いま、図5に示されるように切替位置
P2 の直前、つまり、時刻T2 の時点で設定移動速度V
2 に基く1周期分の移動指令量が出力されたものとす
る。この場合、時刻T2 の時点では射出スクリューの位
置が切替位置P2 に達していないので、射出成形機の制
御装置は、P1 〜P2 までの領域に対応する設定移動速
度V2 の条件に基いて次の移動指令量V2 ・τを算出
し、引き続き、該時刻T2 の時点から所定周期時間τの
間でこの移動指令V2 ・τが実行されることになる。従
って、図5に示される例のように、移動指令を算出した
時点T2 におけるスクリュー位置と次の速度切替位置P
2 との間の距離がその時点で算出された移動指令よりも
短い場合では、スクリュー位置が速度切替位置P2 に達
しても設定射出速度V3 への速度切替は行われず、時刻
T2 の時点から所定周期時間τが経過してT3 の時刻に
なるまでの間は、それ以前の設定射出速度V2 が継続し
て適用されてしまうことになる。つまり、図5に実線で
示されるような速度が設定されているにも関わらず、実
際には、図5に破線で示すような速度変化が生じ、速度
切替位置P2 における厳密な速度切替が不能となるので
ある。
FIG. 6 shows an example of setting when the moving speed of the injection screw is switched on the basis of the screw position. The screw position section is a region from P0 to P1, a region from P1 to P2, and a region from P2 to P2. The area is divided up to P3, and the injection velocities V1, V2 and V3 are applied to each of them. FIG. 5 is a graph showing the change in the actual injection speed when the pulse distribution processing of the period .tau. Is performed based on the setting conditions of FIG. 6, and only the change in the vicinity of the switching position P2 is shown. Now, as shown in FIG. 5, immediately before the switching position P2, that is, at the time T2, the set moving speed V is set.
It is assumed that the movement command amount for one cycle based on 2 is output. In this case, since the position of the injection screw has not reached the switching position P2 at the time T2, the control device of the injection molding machine determines the next movement speed V2 corresponding to the region from P1 to P2 based on the following conditions. The movement command amount V2.tau. Is calculated, and subsequently, the movement command V2.tau. Is executed within a predetermined cycle time .tau. From the time T2. Therefore, as in the example shown in FIG. 5, the screw position at the time T2 when the movement command is calculated and the next speed switching position P
2 is shorter than the movement command calculated at that time, the speed is not switched to the set injection speed V3 even when the screw position reaches the speed switching position P2, and a predetermined injection is started from the time T2. Until the time of T3 after the elapse of the cycle time τ, the set injection speed V2 before that is continuously applied. That is, although the speed shown by the solid line in FIG. 5 is set, the speed change actually occurs as shown by the broken line in FIG. 5, and the strict speed switching at the speed switching position P2 is impossible. It becomes.

【0008】[0008]

【発明が解決しようとする課題】本発明の目的は、前記
従来技術の欠点を改善し、設定された速度切替位置の近
傍においても設定速度に近似した移動速度を得ることが
できる射出成形機の制御方法を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to improve the drawbacks of the prior art and to provide an injection molding machine capable of obtaining a moving speed close to the set speed even in the vicinity of the set speed switching position. It is to provide a control method.

【0009】[0009]

【課題を解決するための手段】本発明は、移動区間を複
数の領域に分割して各領域毎に移動部材の移動速度を設
定し、移動部材が現在位置する領域の設定移動速度に応
じた所定周期時間内の移動量を所定周期毎に移動指令と
して出力して移動部材の速度を制御するようにした射出
成形機の制御方法において、前記所定周期毎に移動部材
の現在位置を検出し、該現在位置に前記移動量を加えた
位置が次の領域の速度切替位置よりも手前に位置すれ
ば、前記移動量を移動指令として出力する一方、前記現
在位置に前記移動量を加えた位置が次の領域の速度切替
位置に達していれば、各領域の速度に応じて前記所定周
期時間内における移動量を求め、該移動量を移動指令と
して出力することを特徴とした構成により前記目的を達
成した。
According to the present invention, a moving section is divided into a plurality of areas, a moving speed of a moving member is set for each area, and the moving speed is set according to a set moving speed of an area where the moving member is currently located. In the control method of the injection molding machine, which outputs the movement amount within a predetermined cycle time as a movement command for each predetermined cycle to control the speed of the moving member, detects the current position of the moving member in each of the predetermined cycles, If the position obtained by adding the movement amount to the current position is located before the speed switching position in the next area, the movement amount is output as a movement command, while the position obtained by adding the movement amount to the current position is If the speed switching position of the next area is reached, the movement amount in the predetermined cycle time is obtained according to the speed of each area, and the movement amount is output as a movement command to achieve the above object. Achieved

【0010】また、検出した現在位置に移動部材の現在
位置に対応する領域の設定移動速度に応じた所定周期時
間内の移動量を加えた位置が次の領域の速度切替位置よ
りも手前に位置すれば、前記移動量を移動指令として出
力する一方、前記現在位置に前記移動量を加えた位置が
次の領域の速度切替位置に達していれば、移動部材が前
記現在位置から次の領域の速度切替位置まで移動すると
きの所要時間と前記所定周期時間から前記所要時間を差
し引いた残り時間とを求め、移動部材が現在位置する領
域の設定移動速度に前記所要時間を乗じた移動量と次の
領域の設定移動速度に前記残り時間を乗じた移動量とを
加算して移動指令として出力することを特徴とした構成
により前記目的を達成した。
Further, the position obtained by adding the amount of movement within a predetermined cycle time corresponding to the set moving speed of the area corresponding to the current position of the moving member to the detected current position is positioned before the speed switching position of the next area. Then, while the movement amount is output as a movement command, if the position obtained by adding the movement amount to the current position reaches the speed switching position of the next region, the moving member moves from the current position to the next region. The required time for moving to the speed switching position and the remaining time obtained by subtracting the required time from the predetermined cycle time are obtained, and the moving amount obtained by multiplying the required time by the set moving speed of the area where the moving member is currently positioned is calculated as follows. The above-mentioned object is achieved by a configuration characterized in that the set moving speed in the area (1) is added to a moving amount obtained by multiplying the remaining time and the result is output as a moving command.

【0011】また、前記所定周期毎に移動部材の現在位
置を検出し、該現在位置に前記移動量を加えた位置が次
の領域の速度切替位置よりも手前に位置すれば、前記移
動量を移動指令として出力する一方、前記現在位置に前
記移動量を加えた位置が次の領域の速度切替位置に達し
ていれば、移動部材が前記現在位置から次の領域の速度
切替位置まで移動するときの所要時間を前記所定周期時
間から差し引いた残り時間を求め、該残り時間に次の領
域の設定移動速度を乗じて求めた移動量に次の領域の速
度切替位置と前記現在位置との差を加えて移動指令とし
て出力することによっても同様の目的を達成することが
できる。
Further, if the current position of the moving member is detected every predetermined period and the position obtained by adding the moving amount to the current position is located before the speed switching position in the next area, the moving amount is determined. While outputting as a movement command, when the position obtained by adding the movement amount to the current position has reached the speed switching position in the next area, the moving member moves from the current position to the speed switching position in the next area. Is calculated by subtracting the required time from the predetermined cycle time, and the difference between the speed switching position of the next area and the current position is calculated by multiplying the remaining time by the set moving speed of the next area. In addition, the same purpose can be achieved by outputting the movement command.

【0012】また、前記所定時間毎に移動部材の現在位
置を検出し、該現在位置に前記移動量を加えた位置が次
の領域の速度切替位置よりも手前に位置すれば、前記移
動量を移動指令として出力する一方、前記現在位置に前
記移動量を加えた位置が次の領域の速度切替位置に達し
ていれば、次の領域の速度切替位置をPi 、前記現在位
置をPa 、前記所定周期時間をτ、移動部材が現在位置
する領域の設定移動速度をVi 、次の領域の設定移動速
度をVi+1 として、 Pi −Pa +Vi+1 ・〔(Pa +Vi ・τ)−Pi 〕/
Vi の演算式で求めた値を移動指令として出力することによ
っても同じ結果を得ることができる。
Further, if the current position of the moving member is detected every predetermined time and the position obtained by adding the moving amount to the current position is located before the speed switching position in the next area, the moving amount is determined. While outputting as a movement command, if the position obtained by adding the movement amount to the current position reaches the speed switching position in the next area, the speed switching position in the next area is Pi, the current position is Pa, and the predetermined value is Pa. Assuming that the cycle time is τ, the set moving speed of the area where the moving member is currently located is Vi, and the set moving speed of the next area is Vi + 1, Pi-Pa + Vi + 1. [(Pa + Vi. [Tau])-Pi] /
The same result can be obtained by outputting the value obtained by the calculation formula of Vi as the movement command.

【0013】更に、前記現在位置に前記移動量を加えた
位置までの移動が複数の速度切替位置を越えて多数の領
域に跨がってしまうような場合には、速度切替位置まで
移動した後の残り時間を求め、該残り時間で切替後の速
度により移動した位置が次の領域の速度切替位置を越え
ているか否かを判断し、以下、残り時間での移動位置が
次の領域の速度切替位置を越えなくなるまで順次残り時
間を求め各領域の速度での移動量の合計を移動指令とし
て出力することにより、前記目的が達成され得る。
Further, in the case where the movement to the position obtained by adding the movement amount to the current position exceeds a plurality of speed switching positions and spans a large number of regions, after moving to the speed switching position. Of the remaining time, it is determined whether or not the position moved by the speed after switching in the remaining time exceeds the speed switching position of the next area. The above object can be achieved by sequentially obtaining the remaining time until the switching position is not exceeded and outputting the total movement amount at the speed of each region as a movement command.

【0014】[0014]

【作用】図4は、速度切替位置をPi ,速度切替位置P
i よりも手前の領域の設定移動速度をVi ,速度切替位
置Pi を越えた領域の設定移動速度をVi+1 として本発
明の作用原理を示す概念図であり、この例では、移動部
材が速度切替位置Pi に達する直前の位置Pa で設定移
動速度Vi に基く1所定周期時間τ分の移動指令が出力
された場合の移動速度の変化を示している。つまり、図
5における時刻T2 とT3 との間の1所定周期時間τの
区間における移動速度の変化を一般化して示す概念図で
あり、図4を図5に対応させるならば、Pi がP2 に、
Vi がV2に、また、Vi+1 がV3 に対応すると見るこ
とができる。
In FIG. 4, the speed switching position is Pi and the speed switching position P is
FIG. 3 is a conceptual diagram showing the principle of operation of the present invention, where Vi is the set moving speed in the area before i, and Vi + 1 is the set moving speed in the area beyond the speed switching position Pi. It shows a change in the moving speed when a moving command for one predetermined cycle time τ based on the set moving speed Vi is output at the position Pa immediately before reaching the switching position Pi. That is, it is a conceptual diagram showing a generalized change in the moving speed in the interval of one predetermined cycle time τ between the times T2 and T3 in FIG. 5, and if FIG. 4 is corresponded to FIG. 5, Pi becomes P2. ,
It can be seen that Vi corresponds to V2 and Vi + 1 corresponds to V3.

【0015】いま、図4に示されるように、速度切替位
置Pi の直前の位置Pa で設定移動速度Vi に基く1周
期分の移動量(移動指令)が出力されたものとする。こ
の場合、1周期分の移動量が出力された時点における現
在位置Pa では移動部材の位置が切替位置Pi に達して
いないので、射出成形機の制御装置は、Pi よりも手前
の領域に対応する設定移動速度Vi の条件に基いて次の
移動指令Vi ・τを算出することになる。従って、移動
部材の現在位置Pa と次の速度切替位置Pi との間の距
離x′がその時点で算出された移動指令Vi ・τよりも
短い場合では、この移動指令の実行中に移動部材の位置
が速度切替位置Pi に達しても設定移動速度Vi からV
i+1 への速度切替は行われず、そのまま設定移動速度V
i で移動部材が駆動されてしまうといった問題がある。
Now, as shown in FIG. 4, it is assumed that the movement amount (movement command) for one cycle based on the set movement speed Vi is output at the position Pa immediately before the speed switching position Pi. In this case, since the position of the moving member has not reached the switching position Pi at the current position Pa at the time when the movement amount for one cycle is output, the control device of the injection molding machine corresponds to the region before Pi. The next movement command Vi.multidot..tau. Will be calculated based on the condition of the set movement speed Vi. Therefore, when the distance x'between the current position Pa of the moving member and the next speed switching position Pi is shorter than the movement command Vi.tau. Even if the position reaches the speed switching position Pi, the set moving speed Vi to V
The speed is not switched to i + 1, and the set moving speed V
There is a problem that the moving member is driven by i.

【0016】そこで、まず、本発明においては、前記所
定周期τ毎に移動部材の現在位置Pa を検出し、該現在
位置Pa に設定移動速度Vi に対応する移動量Vi ・τ
を加えた位置Pa ′が次の領域の速度切替位置Pi より
も手前に位置するか否かを判定するようにする。この
際、Pa ′がPi よりも手前に位置すれば、移動指令V
i ・τによって移動部材の位置がPa ′に到達するまで
の間に移動速度の切替は必要ないので、移動量Vi ・τ
を移動指令としてそのまま出力してよい。
Therefore, first, in the present invention, the current position Pa of the moving member is detected every predetermined period τ, and the moving amount Vi · τ corresponding to the set moving speed Vi at the current position Pa is detected.
It is determined whether or not the position Pa 'to which is added is positioned before the speed switching position Pi in the next area. At this time, if Pa 'is positioned before Pi, the movement command V
It is not necessary to switch the moving speed until the position of the moving member reaches Pa 'due to i · τ, so the moving amount Vi · τ
May be output as it is as a movement command.

【0017】一方、位置Pa ′が次の領域の速度切替位
置Pi を越えている場合に移動量Vi ・τを移動指令と
してそのまま出力すれば、移動指令の実行中に移動部材
が速度切替位置Pi を越えても直前の領域の設定移動速
度Vi がそのまま適用されることになり不都合が生じ
る。
On the other hand, when the position Pa 'exceeds the speed switching position Pi in the next area, if the movement amount Vi.τ is output as it is as a movement command, the moving member will move the speed switching position Pi during execution of the movement command. Even if it exceeds, the set moving speed Vi of the immediately preceding region is applied as it is, which causes a problem.

【0018】本来なら、速度切替位置Pi 以前の領域で
は設定移動速度Vi を適用し、また、速度切替位置Pi
以降の領域では設定移動速度Vi+1 を適用すべきところ
であるが、そのためには1所定周期時間τの値を変更す
る必要が生じるので、実際には実現不可能である。つま
り、速度切替位置Pi で厳密に移動速度を変えるために
は、現在位置Pa と速度切替位置Pi との間の距離Pi
−Pa を設定移動速度Vi で除した時間を1所定周期時
間τ′とし、該τ′時間内にVi ・τ′の移動指令を実
行する必要があるが、実際には位置ループの処理周期が
制御装置によって一律に決まっているため、そのような
変則的な処理は不可能である。
Originally, the set moving speed Vi is applied in the area before the speed switching position Pi, and the speed switching position Pi is also applied.
In the subsequent areas, the set moving speed Vi + 1 should be applied, but in order to do so, it is necessary to change the value of the one predetermined cycle time τ, which is not practically feasible. That is, in order to strictly change the moving speed at the speed switching position Pi, the distance Pi between the current position Pa and the speed switching position Pi
The time obtained by dividing −Pa by the set movement speed Vi is defined as one predetermined cycle time τ ′, and the movement command of Vi · τ ′ needs to be executed within the time τ ′, but in reality, the processing cycle of the position loop is Such irregular processing is impossible because it is uniformly decided by the control device.

【0019】そこで、本発明においては、速度切替位置
Pi 以前の領域の設定移動速度Viと速度切替位置Pi
以降の領域の設定移動速度Vi+1 の双方を考慮して、速
度切替位置Pi を挟む1所定周期時間τ間の移動速度、
つまり、1所定周期時間τ間の移動量Lb (移動指令L
b )を決めるようにしている。
Therefore, in the present invention, the set moving speed Vi and the speed switching position Pi in the area before the speed switching position Pi.
In consideration of both the set moving speeds Vi + 1 of the following areas, the moving speed for one predetermined cycle time τ sandwiching the speed switching position Pi,
That is, the movement amount Lb (movement command L during one predetermined cycle time τ)
b) I try to decide.

【0020】この移動量Lb とは、要するに、移動部材
が現在位置Pa から速度切替位置Pi まで設定移動速度
Vi で移動するときの移動量x′と、前記移動量x′の
移動に要する所要時間xを1所定周期時間τから差し引
いた残り時間yの間に移動部材が設定移動速度Vi+1 で
移動する距離y′との総和である。つまり、求めるべき
移動量Lb は図4におけるx′+y′であり、図4に示
す一点鎖線の傾きからも明らかなように、この区間の移
動速度(x′+y′)/τは、速度切替位置Pi 以前の
領域の設定移動速度Vi と速度切替位置Pi 以降の領域
の設定移動速度Vi+1 との間の平均的な速度である。
The moving amount Lb is, in short, the moving amount x'when the moving member moves from the current position Pa to the speed switching position Pi at the set moving speed Vi, and the time required for moving the moving amount x '. It is the sum of the distance y ′ at which the moving member moves at the set moving speed Vi + 1 during the remaining time y obtained by subtracting x from one predetermined cycle time τ. That is, the amount of movement Lb to be obtained is x '+ y' in FIG. 4, and as is apparent from the slope of the chain line shown in FIG. 4, the moving speed (x '+ y') / τ in this section is the speed switching. It is an average speed between the set moving speed Vi in the area before the position Pi and the set moving speed Vi + 1 in the area after the speed switching position Pi.

【0021】つまり、移動部材の現在位置Pa に移動量
Vi ・τを加えた位置Pa ′が速度切替位置Pi を越え
て次の領域に達している場合には、移動部材が現在位置
Paから速度切替位置Pi まで移動するときの移動量
x′と、前記移動量x′の移動に要する所要時間xを1
所定周期時間τから差し引いた残り時間yの間に移動部
材が設定移動速度Vi+1 で移動する距離y′との和、つ
まり、Lb =x′+y′を移動指令として出力し、1所
定周期時間τの間にこの移動指令Lb を実行させればよ
いことになる。
That is, when the position Pa 'obtained by adding the moving amount Vi.τ to the current position Pa of the moving member reaches the next region beyond the speed switching position Pi, the moving member moves from the current position Pa to the speed. The moving amount x ′ when moving to the switching position Pi and the time x required for moving the moving amount x ′ are 1
The sum of the distance y'moved by the moving member at the set moving speed Vi + 1, that is, Lb = x '+ y', is output as a movement command during the remaining time y subtracted from the predetermined cycle time τ, and one predetermined cycle is output. This movement command Lb should be executed during the time τ.

【0022】ここで、Lb =x′+y′を求めるための
方法として概略において3つの方法がある。
Here, there are roughly three methods for obtaining Lb = x '+ y'.

【0023】まず、最初のものは、所要時間xと残り時
間yを先に求め、更に、xおよびyに対応する設定移動
速度Vi およびVi+1 によりx′およびy′を導いてL
b を算出するものである。所要時間xは図4における
(Pa ′−Pa)と(Pi −Pa )との関係からτを比
例分配して、 x=〔(Pi −Pa )/(Pa ′−Pa)〕・τ として求まる。従って、移動量x′はこれにVi を乗じ
て、 x′=〔(Pi −Pa )/(Pa ′−Pa)〕・τ・Vi ・・・(1) である。また、残り時間yは図4における(Pa ′−P
a)と(Pa ′−Pi )との関係からτを比例分配し
て、 y=〔(Pa ′−Pi )/(Pa ′−Pa)〕・τ として求まる。従って、移動量y′はこれにVi+1 を乗
じて、 y′=〔(Pa ′−Pi )/(Pa ′−Pa)〕・τ・Vi+1 ・・・(2) である。結果的に、移動指令Lb は、 Lb =〔(Pi −Pa )/(Pa ′−Pa)〕・τ・Vi + 〔(Pa ′−Pi )/(Pa ′−Pa)〕・τ・Vi+1 ・・・(3) となる。この(3)式が請求項2に記載した構成の要旨
である。
First, for the first one, the required time x and the remaining time y are first obtained, and then x'and y'are derived by the set moving speeds Vi and Vi + 1 corresponding to x and y, and L
It calculates b. The required time x can be obtained as x = [(Pi-Pa) / (Pa'-Pa)]. Τ by proportionally dividing τ from the relationship between (Pa'-Pa) and (Pi-Pa) in FIG. . Therefore, the amount of movement x'is multiplied by Vi to obtain x '= [(Pi-Pa) / (Pa'-Pa)]. Multidot..tau.Vi (1). The remaining time y is (Pa'-P in FIG.
From the relation between a) and (Pa'-Pi), .tau. is proportionally distributed to obtain y = [(Pa'-Pi) / (Pa'-Pa)]. multidot..tau. Therefore, the moving amount y'is multiplied by Vi + 1 to obtain y '= [(Pa'-Pi) / (Pa'-Pa)] .. tau..multidot.Vi + 1 ... (2). As a result, the movement command Lb is Lb = [(Pi-Pa) / (Pa'-Pa)]. Tau.Vi + [(Pa'-Pi) / (Pa'-Pa)]. Tau.Vi + 1 ... (3) This expression (3) is the gist of the configuration described in claim 2.

【0024】また、(1)式における(Pa ′−Pa)
は、図4から明らかなようにVi ・τに等しいので、必
ずしも(1)式の演算を行わなくても、移動量x′は、
速度切替位置Pi と現在位置Pa との差、 x′=Pi −Pa ・・・(4) として簡単に求めることができる。つまり、(3)式に
おける最初の項x′を求める際に(1)式に換えて
(4)式を用いるようにしたのがLb を求めるための第
2番目の方法、つまり、請求項3に記載した構成の要旨
である。
Further, (Pa'-Pa) in the equation (1)
4 is equal to Vi.multidot..tau. As is apparent from FIG. 4, the movement amount x'is not necessarily calculated by the equation (1).
The difference between the speed switching position Pi and the current position Pa, x '= Pi-Pa (4), can be easily obtained. That is, when the first term x ′ in the equation (3) is obtained, the equation (4) is used instead of the equation (1), which is the second method for obtaining Lb. This is a summary of the configuration described in.

【0025】更に、(3)式における第2項のy′にお
いて(Pa ′−Pa )をVi ・τに、(Pa ′−Pi )
を〔(Pa +Vi ・τ)−Pi 〕に置き換えれば、 Lb =Pi −Pa +τ・Vi+1 ・〔(Pa +Vi ・τ)−Pi 〕/(Vi ・τ) =Pi −Pa +Vi+1 ・〔(Pa +Vi ・τ)−Pi 〕/Vi ・・・(5) としてLb を求めることができる。この(5)式が請求
項4に記載した構成の要旨である。
Further, in y'of the second term in the equation (3), (Pa'-Pa) is Vi.multidot..tau. And (Pa'-Pi).
Is replaced by [(Pa + Vi .tau.)-Pi], Lb = Pi -Pa + .tau.Vi + 1. [(Pa + Vi .tau))-Pi] / (Vi .tau.) = Pi -Pa + Vi + 1 .tb Lb can be obtained as [(Pa + Vi..tau.)-Pi] / Vi (5). The expression (5) is the gist of the configuration described in claim 4.

【0026】いずれも、移動部材が現在位置Pa から速
度切替位置Pi まで移動するときの移動量x′と、前記
移動量x′の移動に要する所要時間xを1所定周期時間
τから差し引いた残り時間yの間に移動部材が設定移動
速度Vi+1 で移動する距離y′との総和を求めて移動指
令Lb として出力する点では同様であり、これが本発明
の基本的な技術思想である。
In each case, the moving amount x'when the moving member moves from the current position Pa to the speed switching position Pi and the time x required for moving the moving amount x'are subtracted from one predetermined cycle time τ. This is the same as the point that the sum of the moving member and the distance y'moved at the set moving speed Vi + 1 during the time y is obtained and output as the moving command Lb, which is the basic technical idea of the present invention.

【0027】しかし、速度切替位置の刻みが極めて接近
して設定されているような場合、または、分配周期が比
較的長いような場合、次の領域の移動に必要とされる時
間に比べて前述の残り時間の値yが相当に大きくなり、
現在位置Pa に前記移動量x′+y′を加えた移動先ま
での移動が複数の速度切替位置を越えて多数の領域に跨
がってしまう場合がある。このような場合、前述の移動
量x′+y′を移動指令として出力すると、速度切替位
置Pi+1 、つまり、現在位置Pa を基準に次の次(2つ
先)の領域以降の設定速度が無視されるといった問題が
生じる。図9にその一例を示す。
However, when the steps of the speed switching positions are set extremely close to each other, or when the distribution cycle is relatively long, the time required for moving to the next area is larger than that required for moving the next area. The value y of the remaining time of
In some cases, the movement to the movement destination obtained by adding the movement amount x ′ + y ′ to the current position Pa may exceed a plurality of speed switching positions and may span a large number of regions. In such a case, when the above-mentioned movement amount x '+ y' is output as a movement command, the speed switching position Pi + 1, that is, the set speed after the next (two ahead) area based on the current position Pa is set. There is a problem of being ignored. FIG. 9 shows an example thereof.

【0028】図9に示されるように、速度切替位置Pi
の直前の現在位置Pa でこの領域の設定移動速度Vi お
よび次の領域の設定移動速度Vi+1 に基き前述の処理操
作によって移動指令を出力するなら、移動指令Lb は、
移動部材の現在位置Pa に移動量Vi ・τを加えた位置
をP1 として、前記(3)式により、 Lb =〔(Pi −Pa )/(P1 −Pa )〕・τ・Vi
+〔(P1 −Pi )/(P1 −Pa )〕・τ・Vi+1 で示され、この移動指令(x′+y′の値)による移動
先が図9のP2 となる。しかし、速度切替位置Pi から
Pi+1 までの領域を設定速度Vi+1 で移動するに必要と
される移動時間x2 に比べ、前述の処理操作によって求
められた残り時間y、即ち、〔(P1 −Pi )/(P1
−Pa )〕・τが大きいため、移動部材が更に次の速度
切替位置Pi+1 を越えても、移動部材はVi+1 の速度で
そのまま駆動され、速度切替位置Pi+1 以降の領域に対
応する設定移動速度Vi+2 が全く反映されないといった
問題が生じるのである。
As shown in FIG. 9, the speed switching position Pi
If a movement command is output by the above-described processing operation based on the set movement speed Vi of this area and the set movement speed Vi + 1 of the next area at the current position Pa immediately before, the movement instruction Lb becomes
Assuming that P1 is the position obtained by adding the moving amount Vi. [Tau] to the current position Pa of the moving member, Lb = [(Pi-Pa) / (P1-Pa)]. [Tau] .Vi from the above equation (3).
+ [(P1 -Pi) / (P1 -Pa)]. Tau..multidot.Vi + 1, and the movement destination according to this movement command (value of x '+ y') is P2 in FIG. However, compared with the moving time x2 required to move the area from the speed switching position Pi to Pi + 1 at the set speed Vi + 1, the remaining time y obtained by the above-described processing operation, that is, [(P1 -Pi) / (P1
-Pa)] · τ is large, so that even if the moving member exceeds the next speed switching position Pi + 1, the moving member is driven at the speed of Vi + 1 as it is, and the area after the speed switching position Pi + 1 is reached. The problem arises that the corresponding set moving speed Vi + 2 is not reflected at all.

【0029】そこで、このように、前述の方法により求
められた移動先P2 が現在位置Paを基準に次の次(2
つ先)の速度切替位置Pi+1 を越えるような場合には、
残り時間での移動位置が或る領域の速度切替位置を越え
なくなるまで前記の方法による処理操作を繰り返し実行
して順次残り時間を求め、各領域の速度での移動量の合
計、つまり、図9におけるx1 ・Vi +x2 ・Vi+1 +
x3 ・Vi+2 +・・・を算出して移動指令として出力
し、所定周期時間τ経過後の時点における移動部材の位
置を設定移動速度による移動先位置(図9の例ではP3
)と一致させるようにする。これが請求項5に記載し
た構成の要旨である。
Therefore, in this way, the movement destination P2 obtained by the above-mentioned method is next (2) based on the current position Pa.
In the case of exceeding the speed switching position Pi + 1 of
Until the moving position in the remaining time does not exceed the speed switching position in a certain area, the processing operation by the above method is repeatedly executed to sequentially calculate the remaining time, and the total moving amount at the speed of each area, that is, FIG. X1 · Vi + x2 · Vi + 1 + at
x3.Vi + 2 + ... Is calculated and output as a movement command, and the position of the moving member at the time point after the elapse of the predetermined cycle time .tau. is set to the movement destination position (P3 in the example of FIG.
). This is the gist of the configuration described in claim 5.

【0030】移動量x1 ・Vi +x2 ・Vi+1 +x3 ・
Vi+2 +・・・を求めるための最も簡単な方法は、前記
(3)式を利用することにより実現され得る。
Moving amount x1.Vi + x2.Vi + 1 + x3.
The simplest method for obtaining Vi + 2 + ... Can be realized by using the equation (3).

【0031】つまり、所定周期時間τの範囲内において
速度切替位置によって分割される3以上の領域のうち最
後の2つの領域を仮にAf-1 〔最後の領域の1つ手前の
領域〕(図9の例ではx2 の区間に相当)およびAf
〔最後の領域〕(図9の例ではx3 の区間に相当)とす
れば、最後の2つの領域Af-1 およびAf に対応する移
動量は、前記(3)式において、所定周期時間τに代え
て〔τ−領域Af-1 の始点となる速度切替位置までの所
要時間〕(図9の例ではτ−x1 (或いはx2 +x3 )
に相当)を代入し、設定移動速度Vi およびVi+1 に代
えて〔領域Af-1 に対応する設定移動速度〕(図9の例
ではVi+1 に相当)および〔領域Af に対応する設定移
動速度〕(図9の例ではVi+2 に相当)を代入し、現在
位置Pa に代えて〔領域Af-1 の始点となる速度切替位
置〕(図9の例ではPi に相当)を代入し、従来通りの
分配処理による移動先Pa ′(図9の例ではP1 )に代
えて〔最初に(3)式の処理を実行したときに得られた
移動先Pa ′〕(図9の例ではP2 に相当)を代入し、
速度切替位置Pi に代えて〔領域Af の始点となる速度
切替位置〕(図9の例ではPi+1 に相当)を代入するこ
とで求めることができる。
That is, the last two areas among the three or more areas divided by the speed switching position within the range of the predetermined cycle time τ are assumed to be Af-1 [area immediately before the last area] (FIG. 9). In the example, corresponds to the interval of x2) and Af
[Last region] (corresponding to the section of x3 in the example of FIG. 9), the movement amount corresponding to the last two regions Af-1 and Af is equal to the predetermined cycle time τ in the equation (3). Instead, [[tau] -time required to start the speed switching position of the area Af-1] ([tau] -x1 (or x2 + x3) in the example of FIG. 9)
Corresponding to the area Af-1 in place of the set moving speeds Vi and Vi + 1 (corresponding to Vi + 1 in the example of FIG. 9) and the setting corresponding to the area Af. Moving speed] (corresponding to Vi + 2 in the example of FIG. 9) and substituting [speed switching position serving as the starting point of the area Af-1] (corresponding to Pi in the example of FIG. 9) instead of the current position Pa. However, instead of the destination Pa ′ (P1 in the example of FIG. 9) obtained by the conventional distribution processing, the destination Pa ′ obtained when the processing of the formula (3) is first executed (the example of FIG. 9). Substitute for P2),
It can be obtained by substituting the [speed switching position serving as the starting point of the area Af] (corresponding to Pi + 1 in the example of FIG. 9) instead of the speed switching position Pi.

【0032】但し、所定周期時間τの範囲内において速
度切替位置によって分割される領域が3を越える場合、
つまり、最初に(3)式の処理を実行したときに得られ
た残り時間が次の領域の移動に必要とされる移動時間に
比べて長い場合には、上述した数値代入の処理操作に従
って(3)式を繰り返し実行する必要があるので、厳密
にいえば、移動先Pa ′に代入すべき値は必ずしも最初
に(3)式の処理を実行したときに得られた移動先Pa
′ではなく、その直前に実施された(3)式の処理で
得られた移動先Pa ′である。
However, if the area divided by the speed switching position exceeds 3 within the range of the predetermined cycle time τ,
That is, when the remaining time obtained when the processing of the equation (3) is first executed is longer than the moving time required for moving the next area, according to the above-described numerical value substitution processing operation ( Strictly speaking, since the equation (3) needs to be repeatedly executed, the value to be substituted in the destination Pa 'is not necessarily the destination Pa obtained when the processing of the equation (3) is first executed.
′, Not the destination Pa ′ obtained by the processing of the equation (3) performed immediately before that.

【0033】このようにして最後の2つの領域Af-1 お
よびAf に対応する移動量を求めるためには予め〔領域
Af-1 の始点となる速度切替位置までの所要時間〕を求
めておく必要があるが、この値は、それまでの繰り返し
処理の各段階で(3)式により求められた所要時間xの
項(図9の例では所要時間xの項はx1 の1つのみ)を
積算することにより簡単に求められる。また、〔領域A
f-1 の始点までの移動量〕は、〔領域Af-1 の始点とな
る速度切替位置までの所要時間〕と同様、それまでの繰
り返し処理の各段階で(3)式により求められた移動量
x′の項(図9の例では移動量x′の項はx1 ・Vi の
1つのみ)を積算することにより簡単に求められるの
で、最終的に、領域Af-1 の始点までの移動量(図9の
例ではx1・Vi )と最後の2つの領域Af-1 およびAf
に対応する移動量(図9の例ではx2 ・Vi+1 +x3
・Vi+2 )とを加算して移動指令として出力すればよい
ことになる。
In this way, in order to obtain the movement amount corresponding to the last two areas Af-1 and Af, it is necessary to obtain in advance the time required to reach the speed switching position which is the starting point of the area Af-1. However, this value is calculated by multiplying the term of the required time x obtained by the equation (3) at each stage of the iterative processing up to that point (in the example of FIG. 9, the term of the required time x is only one of x1). You can easily obtain it. Also, [Area A
The amount of movement to the starting point of f-1] is the same as [the time required to reach the speed switching position that is the starting point of area Af-1], and is calculated by equation (3) at each stage of the iterative processing up to that point. Since the term of the quantity x '(in the example of FIG. 9, the term of the movement quantity x'is only one of x1 and Vi) is simply obtained, the movement to the start point of the area Af-1 is finally made. Amount (x1 · Vi in the example of FIG. 9) and the last two areas Af-1 and Af
Corresponding to the movement amount (x2.Vi + 1 + x3 in the example of FIG. 9)
・ Vi + 2) should be added and output as a movement command.

【0034】これが、前記(3)式を利用して移動量x
1 ・Vi +x2 ・Vi+1 +x3 ・Vi+2 +・・・・を求
めるときの処理操作の概要である。
This is the movement amount x using the equation (3).
It is an outline of the processing operation for obtaining 1 · Vi + x2 · Vi + 1 + x3 · Vi + 2 + ...

【0035】そこで、まず、図9の例に対して(3)式
を適用して最初の処理を行って移動量を求めてみると、 移動量=〔(Pi −Pa )/(P1 −Pa )〕・τ・Vi + 〔(P1 −Pi )/(P1 −Pa )〕・τ・Vi+1 ・・・(6) となり、この移動量による移動先は図9のP2 となる。
しかし、この位置P2 は現在位置Pa を基準として次の
次(2つ先)の速度切替位置Pi+1 を越えている(残り
時間が次の領域の移動に必要とされる移動時間に比べて
長い)ので不適であり、前述の作用原理に従って再び同
様の処理操作を繰り返すことになる。なお、この段階で
求められた所要時間〔(Pi −Pa )/(P1 −Pa
)〕・τが図示のx1 であり、所定周期時間τの範囲
内において速度切替位置によって分割される領域が3で
ある図9の例においては、〔領域Af-1 の始点となる速
度切替位置までの所要時間〕と同値である。また、移動
量〔(Pi −Pa )/(P1 −Pa )〕・τ・Vi が図
示のx′であって、この値はPi −Pa に等しく、所定
周期時間τの範囲内において速度切替位置によって分割
される領域が3である図9の例においては、〔領域Af-
1 の始点までの移動量〕と同値である。
Therefore, first, when the equation (3) is applied to the example of FIG. 9 to perform the first process to obtain the movement amount, the movement amount = [(Pi-Pa) / (P1-Pa) )]. Tau.Vi + [(P1-Pi) / (P1-Pa)]. Tau.Vi + 1 (6), and the destination of this movement is P2 in FIG.
However, this position P2 exceeds the next (two ahead) speed switching position Pi + 1 based on the current position Pa (the remaining time is longer than the moving time required for moving to the next region). Since it is long), it is unsuitable, and the same processing operation is repeated again according to the above-mentioned operation principle. The required time [(Pi-Pa) / (P1-Pa) obtained at this stage
) .. tau. Is x1 shown in the figure, and in the example of FIG. 9 in which the region divided by the speed switching position within the range of the predetermined cycle time .tau. Is 3, [the speed switching position serving as the starting point of the region Af-1] Time required until]. Further, the moving amount [(Pi-Pa) / (P1-Pa)]. Tau..multidot.Vi is x'in the figure, and this value is equal to Pi-Pa, and within the range of the predetermined cycle time .tau. In the example of FIG. 9 in which the area divided by 3 is 3, [area Af-
The amount of movement to the start point of 1]].

【0036】ここでもう1度同様の処理を実行して設定
移動速度Vi+1 の領域(Af-1 )および設定移動速度V
i+2 の領域(Af )に対応する移動量y″を求めると、 移動量=〔(Pi+1 −Pi )/(P2 −Pi )〕・(τ−x1 )・Vi+1 + 〔(P2 −Pi+1 )/(P2 −Pi )〕・(τ−x1 )・Vi+2 ・・・(7) となり、このときの移動先P3 は前述の現在位置Pa に
代わる速度切替位置Piを基準として次の次(2つ先)
の速度切替位置Pi+2 を越えておらず(求められた残り
時間が次の領域の移動に必要とされる移動時間に比べて
短いので)、適正である。つまり、出力すべき移動指令
の値は領域Af-1 の始点までの移動量x′と、最後の2
つの領域Af-1 およびAf に対応する移動量y″とを加
算した値である。
Here, the same processing is executed once again to set the area (Af-1) of the set moving speed Vi + 1 and the set moving speed V.
When the movement amount y ″ corresponding to the area (Af) of i + 2 is obtained, the movement amount = [(Pi + 1-Pi) / (P2-Pi)]. (. tau.-x1) .Vi + 1 + [( P2-Pi + 1) / (P2-Pi)]. (. Tau.-x1) .Vi + 2 (7), and the destination P3 at this time is the speed switching position Pi in place of the above-mentioned current position Pa. Next as standard (two ahead)
The speed switching position Pi + 2 is not exceeded (since the calculated remaining time is shorter than the moving time required for moving to the next area), it is appropriate. That is, the value of the movement command to be output is the movement amount x ′ to the start point of the area Af−1 and the last 2
This is a value obtained by adding the movement amount y ″ corresponding to the two areas Af−1 and Af.

【0037】ここで、(7)式における(τ−x1 )は
〔τ−領域Af-1 の始点となる速度切替位置までの所要
時間〕であって、x1 の値自体はその前の処理操作であ
る(6)式の〔(Pi −Pa )/(P1 −Pa )〕・τ
で既に求められており、x1に対応する移動量、つま
り、〔領域Af-1 の始点までの移動量〕x′も、その前
の処理操作における(6)式の〔(Pi −Pa )/(P
1 −Pa )〕・τ・Viで求められている。また、図9
にP2 で示す移動先もその前の処理操作により(6)式
で既に求められており、Pi+1 ,Pi ,τ,Vi+1 ,V
i+2 は全て設定値であるから、(7)式の処理は容易に
実施できる。
Here, (.tau.-x1) in the equation (7) is [.tau.-time required to the speed switching position which is the starting point of the area Af-1], and the value of x1 itself is the previous processing operation. [(Pi −Pa) / (P 1 −Pa)] · τ in the equation (6)
The moving amount corresponding to x1, that is, the [moving amount to the starting point of the area Af-1] x ', has already been obtained in step (6) in the previous processing operation [(Pi-Pa) / (P
1 −Pa)] · τ · Vi. In addition, FIG.
The destination indicated by P2 has already been obtained by the equation (6) by the previous processing operation, and Pi + 1, Pi, τ, Vi + 1, V
Since i + 2 are all set values, the processing of equation (7) can be easily implemented.

【0038】以上、所定周期時間τの範囲内において速
度切替位置によって分割される領域が3である場合の図
9の例を参照して説明したが、領域の数が4,5,・・
・と増加した場合であっても、処理の繰り返し回数が増
えるだけであって、基本的な作用原理に関しては図9の
例と全く同様であり、次の段階の処理操作に必要とされ
る各種データは、その直前に実行された処理の結果と各
種設定値によって全て網羅される。
The above description has been made with reference to the example of FIG. 9 in the case where the number of regions divided by the speed switching position is 3 within the range of the predetermined cycle time τ, but the number of regions is 4, 5, ...
Even if the number of times increases, the number of times the processing is repeated only increases, and the basic operation principle is exactly the same as in the example of FIG. 9, and various types of processing operations required in the next step are performed. The data is completely covered by the result of the processing executed immediately before that and various setting values.

【0039】また、所定周期時間τの範囲内において速
度切替位置によって分割される領域が2である場合、つ
まり、最初の処理で(6)式により求められた移動先P
2 の位置が速度切替位置Pi+1 を越えない場合において
は、(6)式で求められた移動量をそのまま移動指令と
して出力すればよい。この時の状況は図4に示す場合と
全く同様である。要するに、所定周期時間τの範囲内に
おいて速度切替位置によって分割される領域が2となる
のは、分割される領域が複数あるもののうち、最後の2
つの領域Af-1 およびAf のみが存在するもの、つま
り、現在位置Paから領域Af-1 の始点までの移動量お
よび所要時間が共に零となってPa がAf-1 の始点と一
致しているものについて示しているに過ぎず、(6)式
の処理を1回のみ実行することにより前述の作用原理を
一般化して適用することができるのである。
Further, when the area divided by the speed switching position within the range of the predetermined cycle time τ is 2, that is, the destination P obtained by the equation (6) in the first process.
When the position 2 does not exceed the speed switching position Pi + 1, the movement amount obtained by the equation (6) may be output as it is as a movement command. The situation at this time is exactly the same as that shown in FIG. In short, the area that is divided by the speed switching position is 2 within the range of the predetermined cycle time τ because the last 2 of the areas that are divided.
There are only two areas Af-1 and Af, that is, the amount of movement from the current position Pa to the starting point of the area Af-1 and the required time are both zero, and Pa coincides with the starting point of Af-1. However, the above-mentioned principle of operation can be generalized and applied by executing the processing of the equation (6) only once.

【0040】[0040]

【実施例】以下、図面を参照して本発明の実施例を説明
する。図1は本発明を適用した一実施例の射出成形機の
制御装置の要部を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a main part of a control device of an injection molding machine according to an embodiment of the present invention.

【0041】この制御装置は、数値制御用のマイクロプ
ロセッサであるCNC用CPU15、プログラマブルマ
シンコントローラ用のマイクロプロセッサであるPMC
用CPU8、サーボ制御用のマイクロプロセッサである
サーボCPU10、ならびに、A/D変換器6および射
出スクリュー基部等に設けられた図示しない圧力検出器
等を介して射出保圧圧力やスクリュー背圧のサンプリン
グ処理を行うための圧力モニタ用CPU7を有し、バス
12を介して相互の入出力を選択することにより各マイ
クロプロセッサ間での情報伝達が行えるようになってい
る。
This control device includes a CNC CPU 15 which is a numerical control microprocessor and a PMC which is a programmable machine controller microprocessor.
CPU 8, servo CPU 10 which is a microprocessor for servo control, and sampling of injection holding pressure and screw back pressure through an A / D converter 6 and a pressure detector (not shown) provided at the injection screw base and the like. It has a pressure monitoring CPU 7 for processing, and information can be transmitted between the microprocessors by selecting mutual input / output via the bus 12.

【0042】PMC用CPU8には射出成形機のシーケ
ンス動作を制御するシーケンスプログラム等を記憶した
ROM3および演算データの一時記憶等に用いられるR
AM4が接続され、CNC用CPU15には、射出成形
機を全体的に制御するプログラム等を記憶したROM1
7および演算データの一時記憶等に用いられるRAM1
8が接続されている。
The PMC CPU 8 has a ROM 3 storing a sequence program for controlling the sequence operation of the injection molding machine and an R used for temporary storage of operation data.
ROM 1 in which the AM 4 is connected and the CNC CPU 15 stores a program for controlling the injection molding machine as a whole.
7 and RAM1 used for temporary storage of operation data
8 are connected.

【0043】また、サーボCPU10および圧力モニタ
用CPU7の各々には、サーボ制御専用の制御プログラ
ムを格納したROM11やデータの一時記憶に用いられ
るRAM9、および、射出保圧圧力のサンプリング処理
等に関する制御プログラムを格納したROM1やデータ
の一時記憶に用いられるRAM2が接続されている。更
に、サーボCPU10には、該CPU10からの指令に
基いてエジェクタ用,型締め用,スクリュー回転用(以
上、図示せず)および射出用等の各軸のサーボモータを
駆動するサーボアンプ5が接続され、射出用サーボモー
タMに配備した位置速度検出器Pを始めとする各軸の位
置速度検出器からの出力の各々がサーボCPU10に帰
還され、位置速度検出器Pからのフィードバック信号に
基いてサーボCPU10により算出された射出スクリュ
ーの現在位置Pa やその移動速度、および、その他各軸
の現在位置や移動速度等が、RAM9の現在位置記憶レ
ジスタおよび現在速度記憶レジスタの各々に逐次更新記
憶されるようになっている。
Further, each of the servo CPU 10 and the pressure monitor CPU 7 has a ROM 11 storing a control program dedicated to servo control, a RAM 9 used for temporary storage of data, and a control program relating to injection holding pressure sampling processing and the like. Is connected to a ROM 1 that stores data and a RAM 2 that is used for temporary storage of data. Further, the servo CPU 10 is connected to a servo amplifier 5 for driving a servo motor for each axis for ejector, mold clamping, screw rotation (above, not shown), injection, etc. based on a command from the CPU 10. Then, each of the outputs from the position / speed detector of each axis including the position / speed detector P provided in the injection servomotor M is fed back to the servo CPU 10, and based on the feedback signal from the position / speed detector P. The current position Pa of the injection screw and its moving speed calculated by the servo CPU 10, and the current position and moving speed of each axis are sequentially updated and stored in the current position storage register and the current speed storage register of the RAM 9. It is like this.

【0044】インターフェイス13は射出成形機本体の
各部に配備したリミットスイッチや操作盤からの信号を
受信したり射出成形機の周辺機器等に各種の指令を伝達
したりするための入出力インターフェイスである。ディ
スプレイ付手動データ入力装置19はCRT表示回路1
6を介してバス12に接続され、データ設定画面やモニ
タ表示画面等を始めとする各種の表示画面の選択操作お
よび各種データの入力操作等が行えるようになってお
り、数値データ入力用のテンキーおよび各種のファンク
ションキーやカーソル移動キー等を備える。
The interface 13 is an input / output interface for receiving signals from limit switches and operation panels provided in each part of the main body of the injection molding machine and for transmitting various commands to peripheral equipment of the injection molding machine. . The manual data input device 19 with a display is a CRT display circuit 1
It is connected to the bus 12 via 6, and can select various display screens such as a data setting screen and a monitor display screen and input various data. And various function keys and cursor movement keys.

【0045】不揮発性メモリ14は射出成形作業に関連
する各種設定値,パラメータ,マクロ変数等を記憶する
成形条件保存用のメモリであり、このうち射出条件に関
しては、射出スクリューの移動速度を切り替えるための
射出速度切替位置、および、該切替位置で分割された各
領域毎のスクリュー移動速度等が、例えば、図6に示さ
れるようにして、多数段に亘って設定記憶されている。
The non-volatile memory 14 is a memory for storing molding conditions for storing various set values, parameters, macro variables and the like related to the injection molding work. Among these, the injection conditions are for switching the moving speed of the injection screw. The injection speed switching position and the screw moving speed for each region divided at the switching position are set and stored in multiple stages as shown in FIG. 6, for example.

【0046】以上の構成により、CNC用CPU15が
ROM17の制御プログラムや不揮発性メモリ14の成
形条件等に基いて射出用サーボモータMを始めとする各
軸のサーボモータに対して移動指令を出力し、サーボC
PU10は各軸に対する移動指令と位置速度検出器Pで
検出された位置のフィードバック信号および速度のフィ
ードバック信号に基いて位置ループ制御,速度ループ制
御さらには電流ループ制御等のサーボ制御を行い、いわ
ゆるディジタルサーボ処理を実行する。この点に関して
は図2に示した一般例と同様である。
With the above configuration, the CNC CPU 15 outputs a movement command to each axis servo motor including the injection servo motor M based on the control program of the ROM 17 and the molding conditions of the nonvolatile memory 14. , Servo C
The PU 10 performs servo control such as position loop control, speed loop control, and current loop control based on a movement command for each axis, a position feedback signal detected by the position / speed detector P, and a speed feedback signal. Execute servo processing. This point is the same as the general example shown in FIG.

【0047】以下、射出工程において所定周期τ毎に繰
り返し実施される射出スクリューの速度制御を例にと
り、本発明の一実施例を図3の移動指令出力処理を参照
しながら説明する。
Hereinafter, one example of the present invention will be described with reference to the movement command output processing of FIG. 3, taking as an example the speed control of the injection screw which is repeatedly executed in every predetermined cycle τ in the injection process.

【0048】射出スクリューの速度制御を開始したCN
C用CPU15は、まず、射出実行中を示すフラグFが
セットされているか否かを判別する(ステップS1)。
射出開始直後に実施される最初の処理周期においては、
フラグFがリセット状態にあるので、CNC用CPU1
5は、まず、領域検索指標iに1を初期設定し(ステッ
プS2)、射出スクリューの現在位置記憶レジスタから
スクリュー現在位置Pa を読み込んで、スクリュー現在
位置Pa が指標iによって示される速度切替位置Pi の
手前に位置するか否かを判別する(ステップS3)。最
初の処理周期の段階では射出スクリューが計量完了位置
まで後退しているので、必ずPa <Pi(但し、i=
1)となり、直ちにフラグFがセットされることになる
(ステップS5)。なお、通常射出スクリューの位置は
射出スクリューの再前進位置(加熱シリンダ内の最前進
位置)を原点0とする座標系が設定されるが、説明を簡
単にするために、射出スクリューが前進すると射出スク
リュー位置は増大するものとする。
CN starting speed control of injection screw
The C CPU 15 first determines whether or not the flag F indicating that the injection is being executed is set (step S1).
In the first processing cycle performed immediately after the start of injection,
Since the flag F is in the reset state, the CNC CPU 1
5, first, the area search index i is initially set to 1 (step S2), the screw current position Pa is read from the injection screw current position storage register, and the screw current position Pa is indicated by the index i. It is determined whether or not it is located in front of (step S3). At the stage of the first processing cycle, the injection screw is retracted to the measurement completion position, so Pa <Pi (where i =
1), and the flag F is set immediately (step S5). The position of the normal injection screw is set to a coordinate system whose origin is 0 at the re-advanced position of the injection screw (the most advanced position in the heating cylinder). The screw position shall be increased.

【0049】また、何度かのパルス分配処理が繰り返し
実行されて射出スクリューの現在位置Pa が既に相当前
進している場合では、現在位置Pa がその時点における
指標iの値で示される速度切替位置Pi を越えている場
合もあるが、その場合には、ステップS3の判別結果が
偽となって指標iの値がインクリメントされるので(ス
テップS4)、Pa <Pi となる指標iの値が必ず検出
される。
If the current position Pa of the injection screw has already advanced considerably after the pulse distribution process has been repeatedly executed, the current position Pa is the speed switching position indicated by the value of the index i at that time. Although it may exceed Pi, in that case, the determination result of step S3 becomes false and the value of the index i is incremented (step S4). To be detected.

【0050】要するに、ステップS3およびステップS
4の処理は、スクリュー現在位置Pa が位置する速度設
定領域を検出するための処理であり、ステップS3の判
別結果が真となることで、射出スクリューが現在位置す
る速度設定領域が自動的に求められることになる。いう
までもなく、その領域とは速度切替位置Pi-1 とPiと
で区切られる区間のことであり、この領域に対応する射
出スクリューの設定移動速度がVi である(図6参
照)。
In short, step S3 and step S
The process of 4 is a process for detecting the speed setting region in which the current screw position Pa is located, and the speed setting region in which the injection screw is currently positioned is automatically obtained by the determination result of step S3 being true. Will be done. Needless to say, the area is an area divided by the speed switching positions Pi-1 and Pi, and the set moving speed of the injection screw corresponding to this area is Vi (see FIG. 6).

【0051】次いで、CNC用CPU15は、スクリュ
ー現在位置Pa に対応する領域の設定移動速度Vi に分
配周期τを乗じて移動指令Vi ・τを求め、この値Vi
・τをスクリュー現在位置Pa に加算し、従来通りの移
動指令を出力した場合に次の所定周期τで射出スクリュ
ーが到達する移動先Pa ′を求め(ステップS6,図4
参照)、その位置Pa ′が次の速度切替位置Pi 、つま
り、設定移動速度Viを適用すべき領域を越えているか
否かを判別する(ステップS7)。
Next, the CNC CPU 15 multiplies the set moving speed Vi in the region corresponding to the current screw position Pa by the distribution period τ to obtain the moving command Vi · τ, and this value Vi
.Tau. Is added to the screw current position Pa, and when the conventional movement command is output, the destination Pa 'to which the injection screw reaches in the next predetermined cycle .tau. Is obtained (step S6, FIG.
Then, it is determined whether or not the position Pa 'exceeds the next speed switching position Pi, that is, the area where the set moving speed Vi should be applied (step S7).

【0052】そして、従来通りのパルス分配処理を行っ
た場合の移動先Pa ′が次の速度切替位置Pi を越えず
ステップS7の判別結果が偽となる場合は、CNC用C
PU15は移動指令Vi ・τをそのまま移動指令記憶レ
ジスタLc に格納し(ステップS10)、この値を移動
指令として位置ループに出力して(ステップS11)、
サーボCPU10により従来と同様の速度制御を行わせ
る。また、CNC用CPU15は、スクリューの現在位
置記憶レジスタPa に移動量Lc を加算して現在位置記
憶レジスタPa の値を射出スクリューの移動先に一致さ
せ(ステップS12)、この周期の処理を終了する。
When the destination Pa 'does not exceed the next speed switching position Pi when the conventional pulse distribution processing is performed and the determination result in step S7 is false, the C for CNC is used.
The PU 15 stores the movement command Vi · τ in the movement command storage register Lc as it is (step S10), and outputs this value as a movement command to the position loop (step S11).
The servo CPU 10 causes the same speed control as the conventional one. Further, the CNC CPU 15 adds the movement amount Lc to the screw current position storage register Pa to match the value of the current position storage register Pa with the destination of the injection screw (step S12), and ends the processing of this cycle. .

【0053】この場合、現時点で射出スクリューが位置
する領域に対して設定された設定移動速度Vi によって
従来と同様の速度制御が行われることになり、移動指令
の実行が完了した時点においても、その時のスクリュー
位置が速度切替位置Pi を越えることはない。
In this case, the speed control similar to the conventional one is performed by the set moving speed Vi set for the area where the injection screw is currently located, and even at the time when the execution of the movement command is completed, The screw position of does not exceed the speed switching position Pi.

【0054】一方、移動先Pa ′が次の速度切替位置P
i を越えてステップS7の判別結果が真となる場合に移
動指令Vi ・τをそのまま出力してしまうと、スクリュ
ー位置が次の速度切替位置Pi に到達してからもそれ以
前の速度設定領域の設定移動速度Vi がそのまま適用さ
れてしまうことになるので(図4に示す破線の状況)、
CNC用CPU15は、次の領域の設定移動速度Vi+1
を不揮発性メモリ14の射出条件から読み込み、作用の
項で説明した(3)式の演算処理 Lb =〔(Pi −Pa )/(Pa ′−Pa)〕・τ・V
i +〔(Pa ′−Pi )/(Pa ′−Pa)〕・τ・V
i+1 を実施して、次の速度切替位置Pi の近傍で射出スクリ
ューの移動速度がその直前および直後の領域の設定移動
速度Vi とVi+1 との中間的な値の移動指令Lbを新た
に算出して移動指令記憶レジスタLc に格納し(ステッ
プS8,ステップS9)、この値を移動指令として位置
ループに出力し(ステップS11)、サーボCPU10
により従来と同様の速度制御を行わせる。前記と同様、
CNC用CPU15は、現在位置記憶レジスタPa に移
動量Lc を加算して現在位置記憶レジスタPa の値を射
出スクリューの移動先に一致させ(ステップS12)、
この周期の処理を終了する。
On the other hand, the destination Pa 'is the next speed switching position P.
If the movement command Vi.tau. is output as it is when the judgment result of step S7 becomes true when i exceeds i, the speed setting area before the screw position reaches the next speed switching position Pi. Since the set moving speed Vi is applied as it is (the condition of the broken line shown in FIG. 4),
The CNC CPU 15 sets the set moving speed Vi + 1 for the next area.
Is read from the ejection condition of the non-volatile memory 14 and the arithmetic processing of the equation (3) described in the section of action Lb = [(Pi-Pa) / (Pa'-Pa)]. Tau.V
i + [(Pa'-Pi) / (Pa'-Pa)]. tau.V
i + 1 is executed, and a movement command Lb having an intermediate value between the set movement speeds Vi and Vi + 1 in the region immediately before and immediately after the movement speed of the injection screw in the vicinity of the next speed switching position Pi is newly added. Is calculated and stored in the movement command storage register Lc (steps S8 and S9), and this value is output to the position loop as a movement command (step S11).
Thus, the same speed control as the conventional one is performed. As above
The CPU 15 for CNC adds the movement amount Lc to the current position storage register Pa to match the value of the current position storage register Pa with the destination of the injection screw (step S12).
The processing of this cycle ends.

【0055】ステップS8の処理で求められた移動指令
Lb によって実現される射出スクリューの移動速度は図
4および図5に一点鎖線で示すようなものであり、この
一点鎖線の傾き、つまり、速度切替位置Pi の近傍にお
ける射出スクリューの移動速度は、常に、速度切替位置
Pi の手前の領域の設定移動速度Vi とその直後の領域
の設定移動速度Vi+1 との中間的な値となる。
The moving speed of the injection screw realized by the moving command Lb obtained in the process of step S8 is as shown by the one-dot chain line in FIGS. 4 and 5, and the inclination of the one-dot chain line, that is, speed switching. The moving speed of the injection screw in the vicinity of the position Pi is always an intermediate value between the set moving speed Vi in the area before the speed switching position Pi and the set moving speed Vi + 1 in the area immediately after the speed switching position Pi.

【0056】なお、ステップS8の処理で(3)式の演
算処理を適用しているのは、ステップS6の処理で既に
Pa ′の値が求められているために計算が単純化される
からであり、無論、既に説明した(5)式その他の演算
式を利用するようにしても構わない。また、(3)式に
おける〔(Pi −Pa )/(Pa ′−Pa)〕・τ・V
i に換えて(4)式のPi −Pa を用いるようにしても
よい。いずれにしても、射出スクリューが現在位置Pa
から速度切替位置Pi まで移動するときの移動量x′
と、前記移動量x′の移動に要する所要時間xを1所定
周期時間τから差し引いた残り時間yの間に射出スクリ
ューが設定移動速度Vi+1 で移動する距離y′との総和
を求めて移動指令Lb (Lc )として出力する限りにお
いて、結果は全て同一である。
The reason why the calculation processing of the equation (3) is applied in the processing of step S8 is that the calculation is simplified because the value of Pa 'is already obtained in the processing of step S6. Of course, the equation (5) already described and other arithmetic expressions may be used. In addition, [(Pi −Pa) / (Pa ′ −Pa)] · τ · V in the equation (3)
Instead of i, Pi-Pa in the equation (4) may be used. In any case, the injection screw is at the current position Pa.
Amount x'when moving from the position to the speed switching position Pi
And the distance y ′ at which the injection screw moves at the set moving speed Vi + 1 during the remaining time y obtained by subtracting the time x required for moving the moving amount x ′ from the one predetermined cycle time τ. As long as the movement command is output as Lb (Lc), the results are all the same.

【0057】CNC用CPU15は、射出スクリューが
射出完了の目標位置に到達するまでの間、パルス分配周
期毎、移動先Pa ′が次の速度切替位置Pi を越えてい
るか否かに応じ、前記と同様にしてステップS10もし
くはステップS8およびステップS9の処理のいずれか
一方を選択して移動指令Lc を求めて出力し、位置ルー
プ制御によって射出スクリューの移動速度を制御する。
そして、射出スクリューが射出完了の目標位置に到達す
るまでの移動指令の出力が完了し、射出、保圧工程が終
了すると、フラグFは自動的にリセットされる。
The CNC CPU 15 determines whether or not the destination Pa 'exceeds the next speed switching position Pi for each pulse distribution cycle until the injection screw reaches the target position for completion of injection. Similarly, either step S10 or step S8 or step S9 is selected to obtain and output the movement command Lc, and the movement speed of the injection screw is controlled by the position loop control.
Then, when the output of the movement command until the injection screw reaches the target position of the injection completion is completed and the injection and pressure-holding steps are completed, the flag F is automatically reset.

【0058】以上、一実施例として射出スクリューの速
度制御に対して本発明を適用した例について述べたが、
移動区間を複数の領域に分割して各領域毎に移動部材の
速度を設定して速度制御を行うようにした他の各軸、例
えば、エジェクタ軸,型締め軸等に対しても同様の構成
を適用することが可能である。
The example in which the present invention is applied to the speed control of the injection screw has been described above as an example.
The same configuration is applied to other axes such as the ejector axis, the mold clamping axis, etc. in which the moving section is divided into a plurality of areas and the speed of the moving member is set for each area to control the speed. Can be applied.

【0059】次に、図7および図8のフローチャートと
図9の作用原理図を参照して本発明のもう1つの実施例
について説明する。この実施例は、特に、所定周期時間
τの範囲内において速度切替位置によって分割される領
域が3以上となる場合に対して有効であるが、既に作用
の項でも述べた通り、分割される領域が2となる図4の
ような状況に対しても、前記実施例に代えて採用するこ
とができる。
Next, another embodiment of the present invention will be described with reference to the flow charts of FIGS. 7 and 8 and the principle of operation of FIG. This embodiment is particularly effective when the region divided by the speed switching position is three or more within the range of the predetermined cycle time τ, but as already described in the section of the action, the divided region is obtained. Even in the situation as shown in FIG.

【0060】ステップT1〜ステップT5の処理に関し
ては前記実施例におけるステップS1〜ステップS5の
処理と全く同様であるので説明を省略する。
Since the processes of steps T1 to T5 are exactly the same as the processes of steps S1 to S5 in the above-mentioned embodiment, the description thereof will be omitted.

【0061】次いで、CNC用CPU15は領域検索指
標iの値を変化させることなく該指標iの値を初期値と
して様々に変化させながら以降の処理に利用するため、
指標iの値を作業用レジスタjに格納し(ステップT
6)、所要時間積算レジスタTa および移動量積算レジ
スタLa を共に零に初期化する(ステップT7)。次い
で、CNC用CPU15は、スクリュー現在位置Pa に
対応する領域の設定移動速度Vi に分配周期τを乗じて
移動量Vi ・τを求め、この値Vi ・τをスクリュー現
在位置Pa に加算し、従来通りの移動指令を出力した場
合に次の所定周期τで射出スクリューが到達する移動先
を求めて移動先記憶レジスタPa ′に格納すると共に
(ステップT8)、移動量Vi ・τを移動指令記憶レジ
スタLb に格納し(ステップT9)、基準位置記憶レジ
スタPs にスクリュー現在位置Pa を格納する(ステッ
プT10)。
Next, the CPU 15 for CNC uses the value of the index i as the initial value variously without changing the value of the area search index i and uses it for the subsequent processing.
The value of the index i is stored in the work register j (step T
6) Initialize both the required time integration register Ta and the movement amount integration register La to zero (step T7). Next, the CNC CPU 15 multiplies the set moving speed Vi in the region corresponding to the screw current position Pa by the distribution period τ to obtain the moving amount Vi · τ, and adds this value Vi · τ to the screw current position Pa to obtain the conventional value. When the same movement command is output, the moving destination reached by the injection screw in the next predetermined period τ is obtained and stored in the moving destination storing register Pa ′ (step T8), and the moving amount Vi · τ is stored. It is stored in Lb (step T9), and the current screw position Pa is stored in the reference position storage register Ps (step T10).

【0062】なお、所要時間積算レジスタTa は作用の
項で述べた〔現在位置Pa から領域Af-1 の始点となる
速度切替位置までの所要時間〕、つまり、図9に示すよ
うなx1 +x2 +x3 +・・・・(但し、領域Af-1 お
よびAf に相当する部分は除く)を積算して記憶するた
めのレジスタであり、また、移動量積算レジスタLaは
作用の項で述べた〔現在位置Pa から領域Af-1 の始点
までの移動量〕、つまり、x1 ・Vi +x2 ・Vi+1 +
x3 ・Vi+2 +・・・・(但し、領域Af-1 およびAf
に相当する部分は除く)を積算して記憶するためのレジ
スタである。また、基準位置記憶レジスタPs は、その
時点において最後から2番目の領域Af-1 として仮に選
択されている領域の始点位置(従って、第1回目の処理
ではPs=Pa )を記憶するレジスタである。
The required time accumulation register Ta has been described in the section of the action [the required time from the current position Pa to the speed switching position which is the starting point of the area Af-1], that is, x1 + x2 + x3 as shown in FIG. + ... (However, the area corresponding to the areas Af-1 and Af is excluded) is a register for accumulating and storing, and the movement amount integrating register La is the one described in the section of the action [current position]. Amount of movement from Pa to the start point of the area Af-1], that is, x1.Vi + x2 .Vi + 1 +
x3 · Vi + 2 + ··· (However, in the areas Af-1 and Af
(Excluding the part corresponding to) is a register for accumulating and storing. Further, the reference position storage register Ps is a register for storing the starting point position of the area tentatively selected as the penultimate area Af-1 at that time (therefore, Ps = Pa in the first processing). .

【0063】次いで、CNC用CPU15は、従来通り
の移動指令を出力した場合の移動先の位置Pa ′が現在
位置Pa を基準とする次の速度切替位置Pj (この段階
ではj=i)を越えているか否かを判別するが(ステッ
プT11)、前記実施例と同様、Pa ′≦Pj であれ
ば、Lb =Vj ・τをそのまま移動指令として位置ルー
プに出力してよい(ステップT19)。従って、その場
合は現在位置記憶レジスタPa に移動量Lb を加算して
現在位置記憶レジスタPa の値を射出スクリューの移動
先に一致させ(ステップT20)、この周期の処理を終
了する。
Next, the CNC CPU 15 causes the movement destination position Pa 'when the conventional movement command is output to exceed the next speed switching position Pj (j = i at this stage) based on the current position Pa. It is determined whether or not (step T11), but if Pa'≤Pj, Lb = Vj.tau. May be output as it is to the position loop as a movement command (step T19), as in the above embodiment. Therefore, in that case, the movement amount Lb is added to the current position storage register Pa to match the value of the current position storage register Pa with the movement destination of the injection screw (step T20), and the process of this cycle is ended.

【0064】また、図9の例に示すように、Pa ′>P
j (この段階ではj=i)となるような場合には、移動
指令Vj ・τをそのまま出力してしまうとスクリュー位
置が次の速度切替位置Pj に到達してからもそれ以前の
速度設定領域の設定移動速度Vj がそのまま適用されて
しまうことになる(図9に示す破線aの状況)。そこ
で、CNC用CPU15は、まず、所要時間T1 ,残り
時間T2 を、 T1 =〔(Pj −Ps )/(Pa ′−Ps )〕・(τ−
Ta ) T2 =〔(Pa ′−Pj )/(Pa ′−Ps )〕・(τ
−Ta ) の式により求める(ステップT12)。この段階では、
j=i,Ps =Pa ,Pa ′=P1 (図9の例),Ta
=0であるから、T1 ,T2 の値は実質的に、 T1 =〔(Pi −Pa )/(Pa ′−Pa )〕・τ T2 =〔(Pa ′−Pi )/(Pa ′−Pa )〕・τ である。
Further, as shown in the example of FIG. 9, Pa '> P
In the case of j (j = i at this stage), if the movement command Vj.tau. is output as it is, the speed setting area before the screw position reaches the next speed switching position Pj The set moving speed Vj of is applied as it is (the situation of the broken line a shown in FIG. 9). Therefore, the CNC CPU 15 first sets the required time T1 and the remaining time T2 as follows: T1 = [(Pj-Ps) / (Pa'-Ps)]. (. Tau.-
Ta) T2 = [(Pa'-Pj) / (Pa'-Ps)]. (. Tau.
-Ta) is obtained (step T12). At this stage,
j = i, Ps = Pa, Pa '= P1 (example in FIG. 9), Ta
= 0, the values of T1 and T2 are substantially T1 = [(Pi-Pa) / (Pa'-Pa)]. Tau.T2 = [(Pa'-Pi) / (Pa'-Pa)). ] Τ.

【0065】ここで、CNC用CPU15は、所要時間
T1 ,残り時間T2 に基いて、 Lb =T1 ・Vj +T2 ・Vj+1 +La の式により移動指令となる移動量Lb を求める(ステッ
プT13)。この段階ではj=i,La =0であるか
ら、求められるLb の値は、結果的に、 Lb =〔(Pi −Pa )/(Pa ′−Pa )〕・τ・V
i +〔(Pa ′−Pi )/(Pa ′−Pa )〕・τ・V
i+1 であって、作用の項の(3),(6)式や前記実施例に
おけるステップS8の処理による演算結果と等しい。
Here, the CPU 15 for CNC obtains the movement amount Lb which is a movement command by the formula of Lb = T1.Vj + T2.Vj + 1 + La based on the required time T1 and the remaining time T2 (step T13). At this stage, j = i and La = 0, so the value of Lb obtained is, as a result, Lb = [(Pi-Pa) / (Pa'-Pa)] .. tau.V.
i + [(Pa'-Pi) / (Pa'-Pa)]. τ.V
i + 1, which is equal to the operation results (3) and (6) and the calculation result by the process of step S8 in the above embodiment.

【0066】しかし、所定周期時間τの範囲内において
速度切替位置によって分割される領域が3以上となる場
合(残り時間が次の領域の移動に必要とされる移動時間
よりも長い場合)、例えば、速度切替位置の刻みが相当
に接近して設定されているような場合や分配周期が比較
的長いような場合においては、このようにして求められ
た移動指令Lb を出力したとしても、その移動先が現在
位置Pa を基準に次の次(2つ先)の速度領域にまで突
入してしまう場合があり、2つ先の速度切替位置Pi+1
以降の設定移動速度Vi+2 が無視される危険がある(図
9に示す破線bの状況,移動指令Lb をそのまま出力し
た場合の移動先はP2 )。
However, when the area divided by the speed switching position is 3 or more within the range of the predetermined cycle time τ (when the remaining time is longer than the moving time required for moving the next area), for example, In the case where the steps of the speed switching positions are set to be considerably close to each other or the distribution cycle is relatively long, even if the movement command Lb thus obtained is output, There is a case where the destination enters the next next (two destinations) speed region based on the current position Pa, and the second speed switching position Pi + 1
There is a danger that the subsequent set moving speed Vi + 2 will be ignored (the situation of the broken line b shown in FIG. 9, the moving destination when the moving command Lb is output as it is is P2).

【0067】そこで、本実施例においては、作用の項の
(3),(6)式や前記実施例におけるステップS8の
処理を適用して得た移動指令Lb による移動先を一旦求
めた後、更に、その移動先が現在位置Pa (またはPa
に代わる速度切替位置Ps )を基準として次の次(2つ
先)の速度切替位置を越えているか否かを判別し、越え
ていなければ今回の処理で求めた移動指令Lb をそのま
ま出力する一方、越えていれば、所定周期時間τ経過後
においてスクリューがあるべき位置(設定移動速度によ
って決まる位置)にスクリューが移動するような移動指
令Lb の値を改めて求めるようにしている。
Therefore, in the present embodiment, once the movement destination is determined by the movement command Lb obtained by applying the equations (3) and (6) of the action and the processing of step S8 in the above-mentioned embodiment, Further, the destination is the current position Pa (or Pa
Based on the speed switching position Ps instead of the above, it is determined whether or not the next (two ahead) speed switching position is exceeded, and if not, the movement command Lb obtained in this processing is output as it is. If it exceeds, the value of the movement command Lb that causes the screw to move to the position where the screw should be (the position determined by the set moving speed) after the elapse of the predetermined cycle time τ is newly obtained.

【0068】そこで、CNC用CPU15は、まず、基
準位置記憶レジスタPs の値(この段階ではPs =Pa
)に移動量Lb を加算して移動先を求め、その値を移
動先記憶レジスタPa ′に更新して記憶すると共に(ス
テップT14)、移動量積算レジスタLa に、基準位置
Ps (この段階では現在位置Pa )から速度切替位置P
j (この段階ではPj =Pi )までの移動量(Pj −P
s )を加算して記憶する(ステップT15)。このステ
ップT15の積算処理が、作用の項で説明した〔領域A
f-1 の始点までの移動量〕を求めるための処理である。
Therefore, the CNC CPU 15 firstly sets the value of the reference position storage register Ps (Ps = Pa at this stage).
) Is added to the moving amount Lb to obtain the moving destination, the value is updated and stored in the moving destination storage register Pa '(step T14), and the moving position integrating register La stores the reference position Ps (currently at this stage). From position Pa) to speed switching position P
j (Pj = Pi at this stage) (Pj-P
s) is added and stored (step T15). The integration process of step T15 is described in the section of the action [area A
This is a process for obtaining the amount of movement to the start point of f-1].

【0069】更に、CNC用CPU15は、基準位置記
憶レジスタPs に現在位置Pa に代わる速度切替位置P
j を更新して記憶し(ステップT16)、所要時間積算
レジスタTa に、所要時間T1 (図9のx1 )を加算し
て記憶する(ステップT17)。このステップT17の
積算処理が、作用の項で説明した〔領域Af-1 の始点と
なる速度切替位置までの所要時間〕を求めるための処理
である。
Further, the CNC CPU 15 causes the reference position storage register Ps to store the speed switching position P in place of the current position Pa.
j is updated and stored (step T16), and the required time T1 (x1 in FIG. 9) is added to the required time accumulation register Ta and stored (step T17). The integrating process of step T17 is a process for obtaining the [required time to the speed switching position which is the starting point of the area Af-1] described in the section of the action.

【0070】次いで、CNC用CPU15は、作業用レ
ジスタjの値を1インクリメントし(ステップT1
8)、前述の移動先Pa ′(図9の例ではP2)が、ステ
ップT12の実行時における基準位置Ps(この段階では
Ps =Pa )を基準とする次の次(2つ先)の速度切替
位置Pj (この段階ではPj =Pi+1 )を越えているか
否かを判別する(ステップT11)。
Next, the CNC CPU 15 increments the value of the work register j by 1 (step T1).
8), the above-mentioned destination Pa '(P2 in the example of FIG. 9) is the next (two ahead) speed based on the reference position Ps (Ps = Pa at this stage) at the time of execution of step T12. It is determined whether or not the switching position Pj (Pj = Pi + 1 at this stage) is exceeded (step T11).

【0071】Pa ′≦Pj であればステップT13で求
めたLb をそのまま移動指令として位置ループに出力し
てよく(ステップT19)、この場合、CNC用CPU
15は、現在位置記憶レジスタPa に移動量Lb を加算
して現在位置記憶レジスタPa の値を射出スクリューの
移動先に一致させ(ステップT20)、当該周期の処理
を終了することになる。つまり、第2回目の判別処理で
ステップT11の判別結果が偽となった場合、作用の項
の(3),(6)式や前記実施例におけるステップS8
の処理による演算処理は1回だけ行えばよく、結果的
に、前記実施例との差は全くない。
If Pa'≤Pj, Lb obtained in step T13 may be directly output as a movement command to the position loop (step T19). In this case, the CPU for CNC is used.
15 adds the movement amount Lb to the current position storage register Pa to make the value of the current position storage register Pa coincide with the destination of the injection screw (step T20), and ends the processing of the cycle. That is, when the determination result of step T11 is false in the second determination process, the equations (3) and (6) of the action term and step S8 in the above embodiment are used.
The calculation process by the process of 1 need only be performed once, and as a result, there is no difference from the above-described embodiment.

【0072】しかし、図9の例に示すように移動先Pa
′(P2 )が基準位置Ps (Pa)を基準に次の次(2
つ先)の速度切替位置Pj (Pi+1 )の位置を越えてい
る場合には、前述のLb の値をそのまま移動指令として
位置ループに出力してしまうと速度切替位置Pj (Pi+
1 )以降の設定移動速度Vj+1 (Vi+2 )が無視される
ことになってしまう。そこで、CNC用CPU15は、
所定周期時間τ経過後のスクリュー位置が設定移動速度
で決まる位置と一致するような移動指令Lb の値を改め
て求めるため、再びステップT12およびステップT1
3の演算処理を行うことになる。
However, as shown in the example of FIG.
′ (P2) is based on the reference position Ps (Pa),
If the value of Lb is output as it is to the position loop as a movement command when it exceeds the position of the speed switching position Pj (Pi + 1) of (the tip), the speed switching position Pj (Pi +) is output.
The set moving speed Vj + 1 (Vi + 2) after 1) will be ignored. Therefore, the CNC CPU 15
In order to obtain again the value of the movement command Lb such that the screw position after the elapse of the predetermined cycle time τ coincides with the position determined by the set movement speed, steps T12 and T1 are performed again.
The calculation processing of 3 will be performed.

【0073】現段階においては、j=i+1,Ps =P
i ,Pa ′=P2 (図9の例),Ta =x1 (1周期前
のステップT12におけるT1 の演算結果)であるか
ら、 T1 =〔(Pj −Ps )/(Pa ′−Ps )〕・(τ−
Ta ) T2 =〔(Pa ′−Pj )/(Pa ′−Ps )〕・(τ
−Ta ) の式は、実質的に、 T1 =〔(Pi+1 −Pi )/(Pa ′−Pi )〕・(τ
−x1 ) T2 =〔(Pa ′−Pi+1 )/(Pa ′−Pi )〕・
(τ−x1 ) となる(以上、ステップT12)。
At the present stage, j = i + 1, Ps = P
Since i and Pa '= P2 (example of FIG. 9) and Ta = x1 (calculation result of T1 in step T12 one cycle before), T1 = [(Pj-Ps) / (Pa'-Ps)]. (Τ−
Ta) T2 = [(Pa'-Pj) / (Pa'-Ps)]. (. Tau.
The expression for -Ta) is substantially: T1 = [(Pi + 1-Pi) / (Pa'-Pi)]. (. Tau.
-X1) T2 = [(Pa'-Pi + 1) / (Pa'-Pi)].
(.Tau.-x1) (above, step T12).

【0074】また、この段階においては、 Lb =T1 ・Vj +T2 ・Vj+1 +La の式は、実質的に、 Lb =〔(Pi+1 −Pi )/(Pa ′−Pi )〕・(τ
−x1 )・Vi+1 +〔(Pa ′−Pi+1 )/(Pa ′−
Pi )〕・(τ−x1 )・Vi+2 +La であって、Pa ′=P2 (図9の例)であるから、要す
るにLb の値は、作用の項の(7)式による演算結果
〔(Pi+1 −Pi )/(P2 −Pi )〕・(τ−x1 )
・Vi+1 +〔(P2 −Pi+1 )/(P2 −Pi )〕・
(τ−x1 )・Vi+2に、現在位置Pa からVj (Vi+1
)の領域の始点までの移動量La =Pj −Ps =Pi
−Pa (1周期前のステップT15における処理結果)
を加えた値に等しい(以上、ステップT13)。つま
り、この値Lb が図9におけるx′+y″の値である。
At this stage, the equation of Lb = T1.Vj + T2.Vj + 1 + La is substantially Lb = [(Pi + 1-Pi) / (Pa'-Pi)]. (. Tau.
-X1) .Vi + 1 + [(Pa'-Pi + 1) / (Pa'-
Pi)]. (. Tau.-x1) .Vi + 2 + La and Pa '= P2 (example in FIG. 9). In short, the value of Lb is the calculation result by the equation (7) of the action term. (Pi + 1-Pi) / (P2-Pi)]. (. Tau.-x1)
-Vi + 1 + [(P2-Pi + 1) / (P2-Pi)]-
(Τ-x1) · Vi + 2, from the current position Pa to Vj (Vi + 1
) The amount of movement to the start point of the area La = Pj -Ps = Pi
-Pa (processing result in step T15 one cycle before)
Is equal to the value obtained by adding (above, step T13). That is, this value Lb is the value of x '+ y "in FIG.

【0075】そして、Vj (Vi+1 )の領域とVj+1
(Vi+2 )の領域とが実際に領域Af-1 (最後から2つ
目の領域)とAf (最後の領域)に対応する領域である
限りにおいては、ステップT13によって得られる移動
量Lb が、領域Af-1 およびAf に相当する部分を除く
移動量x1 ・Vi +x2 ・Vi+1 +x3 ・Vi+2 +・・
・に最後の2つの領域Af-1 とAf に対応する(7)式
の移動量を加えた値であって、まさしく、出力すべき移
動指令の値である。
The area of Vj (Vi + 1) and Vj + 1
As long as the area of (Vi + 2) is the area corresponding to the areas Af-1 (the second area from the last) and Af (the last area), the movement amount Lb obtained in step T13 is , The movement amount excluding the portions corresponding to the areas Af-1 and Af x1.Vi + x2.Vi + 1 + x3.Vi + 2 + ...
Is a value obtained by adding the movement amount of the equation (7) corresponding to the last two areas Af-1 and Af, and is exactly the value of the movement command to be output.

【0076】しかし、この時点ではVj の領域とVj+1
の領域が必ずしも領域Af-1 およびAf に相当する部分
であるといった保証はない。従って、CNC用CPU1
5は、Vj の領域とVj+1 の領域が実際に領域Af-1 お
よびAf に一致する部分であるか否かを判定する必要が
あり、また、一致していないと判定された場合に備え、
予め、次の繰り返し処理に必要とされるデータを作成し
ておく必要がある。
However, at this point, the area of Vj and Vj + 1
There is no guarantee that the area of is not necessarily the area corresponding to the areas Af-1 and Af. Therefore, CNC CPU1
In the case of 5, it is necessary to determine whether or not the area of Vj and the area of Vj + 1 actually match the areas Af-1 and Af, and in case it is determined that they do not match. ,
It is necessary to create in advance the data required for the next iterative process.

【0077】そこで、CNC用CPU15は、まず、基
準位置記憶レジスタPs の値(この段階ではPs =Pi
)に移動量Lb を加算して移動先を求め、その値を移
動先記憶レジスタPa ′に更新して記憶すると共に(ス
テップT14,移動先はP3 )、移動量積算レジスタL
a に、基準位置Ps (この段階では切替位置Pi )から
速度切替位置Pj (この段階ではPj =Pi+1 )までの
移動量(Pj −Ps =Pi+1 −Pi )を積算して記憶す
る(ステップT15)。ステップT14の処理は判定処
理のための前処理、また、ステップT15の処理は、領
域Vj ,Vj+1 が領域Af-1 ,Af に一致していないと
判定された場合に備えてのデータ作成処理である。
Therefore, the CNC CPU 15 firstly sets the value of the reference position storage register Ps (Ps = Pi at this stage).
) Is added to the moving amount Lb to obtain the moving destination, and the value is updated and stored in the moving destination storage register Pa '(step T14, moving destination is P3), and the moving amount integrating register L
The amount of movement (Pj-Ps = Pi + 1-Pi) from the reference position Ps (switching position Pi at this stage) to the speed switching position Pj (Pj = Pi + 1 at this stage) is accumulated and stored in a. (Step T15). The process of step T14 is a pre-process for the determination process, and the process of step T15 is data preparation for the case where it is determined that the regions Vj and Vj + 1 do not match the regions Af-1 and Af. Processing.

【0078】更に、CNC用CPU15は、基準位置記
憶レジスタPs に速度切替位置Pj(この段階ではPi+1
)を更新して記憶し(ステップT16)、所要時間積
算レジスタTa に、所要時間T1 (x2 )を積算して記
憶する(ステップT17)。ステップT16,ステップ
T17の処理は、領域Vj ,Vj+1 が領域Af-1 ,Af
に一致していないと判定された場合に備えてのデータ作
成処理である。
Further, the CNC CPU 15 stores the speed switching position Pj (Pi + 1 at this stage in the reference position storage register Ps).
) Is updated and stored (step T16), and the required time integration register Ta is integrated with the required time T1 (x2) and stored (step T17). In the processing of steps T16 and T17, the areas Vj and Vj + 1 are the areas Af-1 and Af.
This is a data creation process in preparation for the case where it is determined that the above does not match.

【0079】次いで、CNC用CPU15は、作業用レ
ジスタjの値を1インクリメントし(ステップT1
8)、前述の移動先Pa ′(P3 )が、ステップT12
の実行時における基準位置Ps(この段階ではPs =Pi
)を基準とする次の次(2つ先)の速度切替位置Pj
(この段階ではPj =Pi+2 )を越えているか否かを判
別する(ステップT11)。
Next, the CNC CPU 15 increments the value of the work register j by 1 (step T1).
8), the above-mentioned destination Pa '(P3) is the step T12.
Of the reference position Ps at the time of executing (at this stage, Ps = Pi
) To the next (two ahead) speed switching position Pj
(At this stage, it is determined whether or not Pj = Pi + 2) is exceeded (step T11).

【0080】このステップT11の処理が、1周期前の
ステップT12およびステップT13の処理で移動先を
求めるために使用したVj (現時点を基準にすればVj-
1 )の領域とVj+1 (現時点を基準にすればVj )の領
域が領域Af-1 およびAf に相当する部分であるか否か
を判定するための処理である。つまり、移動先Pa ′
(P3 )が速度切替位置Pj (Pi+2 )〔1周期前の基
準ではPj+1 〕を越えているとするなら、現時点でAf
と見做している領域Vj (Vi+2 )〔1周期前の基準で
はVj+1 〕よりも後の時間帯において該速度切替位置P
j (Pi+2 )〔1周期前の基準ではPj+1 〕により更に
もう1区間以上所定周期時間τが分割されていることを
意味するのでVj (Vi+2 )〔1周期前の基準ではVj+
1 〕は最後の領域Af ではなく、また、移動先Pa ′
(P3 )が速度切替位置Pj (Pi+2)〔1周期前の基
準ではPj+1 〕を越えていなければ、この領域Vj (V
i+2 )〔1周期前の基準ではVj+1 〕より後には別の領
域は存在せず、この領域Vj (Vi+2 )〔1周期前の基
準ではVj+1 〕自体が最後の領域Af となるのである。
In the process of step T11, Vj (Vj-based on the present time) is used to obtain the movement destination in the processes of steps T12 and T13 one cycle before.
This is a process for determining whether or not the area 1) and the area Vj + 1 (Vj based on the present time) are the portions corresponding to the areas Af-1 and Af. That is, the destination Pa ′
If (P3) exceeds the speed switching position Pj (Pi + 2) [Pj + 1 in the reference one cycle before], Af at this time
The speed switching position P in the time zone after the area Vj (Vi + 2) [Vj + 1 in the reference one cycle before]
Since j (Pi + 2) [Pj + 1 in the reference one cycle before] means that the predetermined cycle time τ is further divided by one or more sections, Vj (Vi + 2) [in the reference one cycle before Vj +
1] is not the last area Af, and the destination Pa '
If (P3) does not exceed the speed switching position Pj (Pi + 2) [Pj + 1 in the reference one cycle before], this area Vj (V
i + 2) [Vj + 1 in the reference one cycle before] does not have another area, and this area Vj (Vi + 2) [Vj + 1 in the reference one cycle before] is the last area. It becomes Af.

【0081】結果的に図9の例ではPa ′(P3 )<P
j (Pi+2 )〔1周期前の基準ではPj+1 〕となるの
で、1周期前のステップT12およびステップT13の
処理で移動先を求めるために使用したVj (現時点を基
準にすればVj-1 )の領域とVj+1 (現時点を基準にす
ればVj )の領域が領域Af-1 およびAf に一致し、現
時点で求められているPb の値がステップT19,ステ
ップT20の処理で位置ループに出力されることにな
る。
As a result, in the example of FIG. 9, Pa '(P3) <P
j (Pi + 2) [Pj + 1 in the reference one cycle before], so Vj (Vj based on the current time) used to obtain the destination in the processing of steps T12 and T13 one cycle before -1) and the area of Vj + 1 (Vj with respect to the present time) coincide with the areas Af-1 and Af, and the value of Pb obtained at the present time is determined by the processing of steps T19 and T20. It will be output to the loop.

【0082】また、Pa ′<Pj とならない場合におい
ては、前記と同様にしてステップT12以降の処理が繰
り返し実行され、領域Af-1 およびAf に相当する部分
を除く移動量x1 ・Vi +x2 ・Vi+1 +x3 ・Vi+2
+・・・の値がその都度移動量積算レジスタLa に積算
されてゆき、更に、この値に最後の2つの領域Af-1と
Af に対応する(7)式の移動量を加えた値Lb が、ス
テップT11の判別結果が偽となった時点で移動指令と
して出力されることになる。
If Pa '<Pj does not hold, the processing after step T12 is repeatedly executed in the same manner as described above, and the movement amount x1.Vi + x2.Vi excluding the portions corresponding to the areas Af-1 and Af. +1 + x3 ・ Vi + 2
The value of + ... is accumulated in the movement amount integration register La each time, and the value Lb obtained by adding the movement amount of the equation (7) corresponding to the last two areas Af-1 and Af to this value. However, when the determination result of step T11 becomes false, it is output as a movement command.

【0083】速度切替位置の刻みが極めて接近して設定
されているような場合、または、分配周期が比較的長い
ような場合においては、求められた移動指令Lb による
移動速度が必ずしも各速度設定区間の移動速度に一致ま
たは近似するとは限らないが、所定周期時間τ経過後の
時点におけるスクリューの位置を設定移動速度によって
決まる移動先位置と確実に一致させることができる。
When the steps of the speed switching positions are set very close to each other, or when the distribution cycle is relatively long, the moving speed according to the calculated moving command Lb is not necessarily the speed setting section. However, the position of the screw at the time point after the elapse of the predetermined cycle time τ can be surely matched with the destination position determined by the set moving speed.

【0084】[0084]

【発明の効果】本発明の射出成形機の制御方法によれ
ば、移動部材が次の速度設定領域の開始位置に達するタ
イミングと移動指令出力の所定周期のタイミングとが一
致しない場合であっても、設定された速度切替位置、つ
まり、速度設定領域の開始位置の近傍において、その前
の領域の設定移動速度とその後の領域の設定移動速度と
の間の中間的な移動速度で移動部材を駆動制御すること
ができるので、移動部材が速度切替位置に達したことを
完全に無視してそれ以前の領域の設定速度で移動部材を
駆動制御する従来の制御方法に比べ、速度切替位置の近
傍において、より実際の設定移動速度に近似した移動速
度を得ることができる。
According to the control method of the injection molding machine of the present invention, even when the timing at which the moving member reaches the start position of the next speed setting region does not coincide with the timing of the predetermined cycle of the movement command output. , Drives the moving member at a set speed switching position, that is, in the vicinity of the start position of the speed setting area, at an intermediate moving speed between the set moving speed of the previous area and the set moving speed of the subsequent area. Since it can be controlled, compared to the conventional control method in which the moving member has reached the speed switching position completely, and the moving member is controlled to be driven at the set speed in the area before that, in the vicinity of the speed switching position. , It is possible to obtain a moving speed that is closer to the actual set moving speed.

【0085】特に、速度切替位置前後の設定移動速度の
変化が大きいような場合、切換前の速度から切換後の速
度へ、スムーズに移行することができる。
In particular, when there is a large change in the set moving speed before and after the speed switching position, it is possible to smoothly shift from the speed before switching to the speed after switching.

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

【図1】本発明を適用した一実施例の射出成形機の制御
装置の構成の概略を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a control device of an injection molding machine according to an embodiment of the present invention.

【図2】所定周期時間内の移動量を移動指令として出力
することで移動部材の速度制御を行う場合の構成の概略
を示す機能ブロック図である。
FIG. 2 is a functional block diagram showing an outline of a configuration in the case of performing speed control of a moving member by outputting a movement amount within a predetermined cycle time as a movement command.

【図3】本発明の第1実施例における移動指令出力処理
の概略を示すフローチャートである。
FIG. 3 is a flowchart showing an outline of movement command output processing in the first embodiment of the present invention.

【図4】本発明の作用原理を示す概念図である。FIG. 4 is a conceptual diagram showing the operation principle of the present invention.

【図5】所定周期時間内の移動量を移動指令として出力
することで移動部材の速度制御を行う従来技術の問題点
を示した概念図である。
FIG. 5 is a conceptual diagram showing a problem of the conventional technique of controlling the speed of a moving member by outputting a movement amount within a predetermined cycle time as a movement command.

【図6】移動部材である射出スクリューの位置を基準に
領域を定めて領域毎の射出速度を設定した場合の一設定
例を示す概念図である。
FIG. 6 is a conceptual diagram showing an example of setting when an area is defined based on the position of an injection screw which is a moving member and an injection speed is set for each area.

【図7】本発明の第2実施例における移動指令出力処理
の概略を示すフローチャートである。
FIG. 7 is a flowchart showing an outline of a movement command output process in the second embodiment of the present invention.

【図8】本発明の第2実施例における移動指令出力処理
の概略を示すフローチャートの続きである。
FIG. 8 is a continuation of the flowchart showing the outline of the movement command output processing in the second embodiment of the present invention.

【図9】本発明の作用原理を示す第2の概念図である。FIG. 9 is a second conceptual diagram showing the operating principle of the present invention.

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

5 サーボアンプ 9 RAM 10 サーボCPU 11 ROM 14 不揮発性メモリ 15 CNC用CPU 17 ROM 18 RAM M サーボモータ P 位置速度検出器 5 Servo amplifier 9 RAM 10 Servo CPU 11 ROM 14 Non-volatile memory 15 CNC CPU 17 ROM 18 RAM M Servo motor P Position speed detector

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小林 稔 山梨県南都留郡忍野村忍草字古馬場3580番 地 ファナック株式会社内 (72)発明者 根子 哲明 山梨県南都留郡忍野村忍草字古馬場3580番 地 ファナック株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Minoru Kobayashi Minoru Kobayashi 3580 Furubaba, Oshinomura, Minamitsuru-gun, Yamanashi Prefecture FANUC Co., Ltd. Local FANUC Co., Ltd.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 移動区間を複数の領域に分割して各領域
毎に移動部材の移動速度を設定し、移動部材が現在位置
する領域の設定移動速度に応じた所定周期時間内の移動
量を所定周期毎に移動指令として出力して移動部材の速
度を制御するようにした射出成形機の制御方法におい
て、前記所定周期毎に移動部材の現在位置を検出し、該
現在位置に前記移動量を加えた位置が次の領域の速度切
替位置よりも手前に位置すれば、前記移動量を移動指令
として出力する一方、前記現在位置に前記移動量を加え
た位置が次の領域の速度切替位置に達していれば、各領
域の速度に応じて前記所定周期時間内における移動量を
求め、該移動量を移動指令として出力するようにしたこ
とを特徴とする射出成形機の制御方法。
1. A moving section is divided into a plurality of areas, a moving speed of a moving member is set for each area, and a moving amount within a predetermined cycle time according to a set moving speed of an area where the moving member is currently located is set. In a control method of an injection molding machine, which outputs a movement command at every predetermined cycle to control the speed of a moving member, detects the current position of the moving member at each of the predetermined cycles and sets the movement amount at the current position. If the added position is located before the speed switching position in the next area, the movement amount is output as a movement command, while the position in which the movement amount is added to the current position is the speed switching position in the next area. If it has reached, the amount of movement within the predetermined cycle time is obtained according to the speed of each region, and the amount of movement is output as a movement command, the method of controlling the injection molding machine.
【請求項2】 移動区間を複数の領域に分割して各領域
毎に移動部材の移動速度を設定し、移動部材が現在位置
する領域の設定移動速度に応じた所定周期時間内の移動
量を所定周期毎に移動指令として出力して移動部材の速
度を制御するようにした射出成形機の制御方法におい
て、前記所定周期毎に移動部材の現在位置を検出し、該
現在位置に前記移動量を加えた位置が次の領域の速度切
替位置よりも手前に位置すれば、前記移動量を移動指令
として出力する一方、前記現在位置に前記移動量を加え
た位置が次の領域の速度切替位置に達していれば、移動
部材が前記現在位置から次の領域の速度切替位置まで移
動するときの所要時間と前記所定周期時間から前記所要
時間を差し引いた残り時間とを求め、移動部材が現在位
置する領域の設定移動速度に前記所要時間を乗じた移動
量と次の領域の設定移動速度に前記残り時間を乗じた移
動量とを加算して移動指令として出力するようにしたこ
とを特徴とする射出成形機の制御方法。
2. A moving section is divided into a plurality of areas, a moving speed of a moving member is set for each area, and a moving amount within a predetermined cycle time according to a set moving speed of an area where the moving member is currently located is set. In a control method of an injection molding machine, which outputs a movement command at every predetermined cycle to control the speed of a moving member, detects the current position of the moving member at each of the predetermined cycles and sets the movement amount at the current position. If the added position is located before the speed switching position in the next area, the movement amount is output as a movement command, while the position in which the movement amount is added to the current position is the speed switching position in the next area. If it has reached, the moving member is located at the present position by obtaining the required time when the moving member moves from the current position to the speed switching position in the next region and the remaining time obtained by subtracting the required time from the predetermined cycle time. Move area setting Control of an injection molding machine characterized in that the moving amount obtained by multiplying the speed by the required time and the moving amount obtained by multiplying the set moving speed in the next region by the remaining time are output as a movement command. Method.
【請求項3】 移動区間を複数の領域に分割して各領域
毎に移動部材の移動速度を設定し、移動部材が現在位置
する領域の設定移動速度に応じた所定周期時間内の移動
量を所定周期毎に移動指令として出力して移動部材の速
度を制御するようにした射出成形機の制御方法におい
て、前記所定周期毎に移動部材の現在位置を検出し、該
現在位置に前記移動量を加えた位置が次の領域の速度切
替位置よりも手前に位置すれば、前記移動量を移動指令
として出力する一方、前記現在位置に前記移動量を加え
た位置が次の領域の速度切替位置に達していれば、移動
部材が前記現在位置から次の領域の速度切替位置まで移
動するときの所要時間を前記所定周期時間から差し引い
た残り時間を求め、該残り時間に次の領域の設定移動速
度を乗じて求めた移動量に次の領域の速度切替位置と前
記現在位置との差を加えて移動指令として出力するよう
にしたことを特徴とする射出成形機の制御方法。
3. A moving section is divided into a plurality of areas, a moving speed of a moving member is set for each area, and a moving amount within a predetermined cycle time according to a set moving speed of an area where the moving member is currently located is set. In a control method of an injection molding machine, which outputs a movement command at every predetermined cycle to control the speed of a moving member, detects the current position of the moving member at each of the predetermined cycles and sets the movement amount at the current position. If the added position is located before the speed switching position in the next area, the movement amount is output as a movement command, while the position in which the movement amount is added to the current position is the speed switching position in the next area. If it has reached, the remaining time obtained by subtracting the time required for the moving member to move from the current position to the speed switching position of the next area from the predetermined cycle time is obtained, and the set moving speed of the next area is set to the remaining time. Move calculated by multiplying A control method for an injection molding machine, characterized in that a difference between a speed switching position in the next region and the current position is added to the amount and the result is output as a movement command.
【請求項4】 移動区間を複数の領域に分割して各領域
毎に移動部材の移動速度を設定し、移動部材が現在位置
する領域の設定移動速度に応じた所定周期時間内の移動
量を所定周期毎に移動指令として出力して移動部材の速
度を制御するようにした射出成形機の制御方法におい
て、前記所定時間毎に移動部材の現在位置を検出し、該
現在位置に前記移動量を加えた位置が次の領域の速度切
替位置よりも手前に位置すれば、前記移動量を移動指令
として出力する一方、前記現在位置に前記移動量を加え
た位置が次の領域の速度切替位置に達していれば、次の
領域の速度切替位置をPi 、前記現在位置をPa 、前記
所定周期時間をτ、移動部材が現在位置する領域の設定
移動速度をVi 、次の領域の設定移動速度をVi+1 とし
て、 Pi −Pa +Vi+1 ・〔(Pa +Vi ・τ)−Pi 〕/
Vi の演算式で求めた値を移動指令として出力するようにし
たことを特徴とする射出成形機の制御方法。
4. A moving section is divided into a plurality of areas, a moving speed of a moving member is set for each area, and a moving amount within a predetermined cycle time according to a set moving speed of an area where the moving member is currently located is set. In a control method of an injection molding machine, which outputs a movement command for each predetermined period to control the speed of a moving member, detects the current position of the moving member at each of the predetermined times, and sets the movement amount at the current position. If the added position is located before the speed switching position in the next area, the movement amount is output as a movement command, while the position in which the movement amount is added to the current position is the speed switching position in the next area. If it is reached, the speed switching position of the next area is Pi, the current position is Pa, the predetermined cycle time is τ, the set moving speed of the area where the moving member is currently located is Vi, and the set moving speed of the next area is As Vi + 1, Pi-Pa + Vi + 1 (Pa + Vi · τ) -Pi] /
A control method for an injection molding machine, characterized in that a value obtained by a calculation formula of Vi is output as a movement command.
【請求項5】 移動区間を複数の領域に分割して各領域
毎に移動部材の移動速度を設定し、移動部材が現在位置
する領域の設定移動速度に応じた所定周期時間内の移動
量を所定周期毎に移動指令として出力して移動部材の速
度を制御するようにした射出成形機の制御方法におい
て、前記所定時間毎に移動部材の現在位置を検出し、該
現在位置に前記移動量を加えた位置が次の領域の速度切
替位置よりも手前に位置すれば、前記移動量を移動指令
として出力する一方、前記現在位置に前記移動量を加え
た位置が次の領域の速度切替位置に達していれば、該速
度切替位置まで移動した後の残り時間を求め、該残り時
間で切替後の速度により移動した位置が次の領域の速度
切替位置を越えているか否かを判断し、以下、残り時間
での移動位置が次の領域の速度切替位置を越えなくなる
まで順次残り時間を求め各領域の速度での移動量の合計
を移動指令として出力するようにしたことを特徴とする
射出成形機の制御方法。
5. The moving section is divided into a plurality of areas, the moving speed of the moving member is set for each area, and the moving amount within a predetermined cycle time is set according to the set moving speed of the area where the moving member is currently located. In a control method of an injection molding machine, which outputs a movement command for each predetermined period to control the speed of a moving member, detects the current position of the moving member at each of the predetermined times, and sets the movement amount at the current position. If the added position is located before the speed switching position in the next area, the movement amount is output as a movement command, while the position in which the movement amount is added to the current position is the speed switching position in the next area. If it has reached, the remaining time after moving to the speed switching position is obtained, and it is determined whether or not the position moved by the speed after switching exceeds the speed switching position of the next area in the remaining time, and , The moving position in the remaining time is A control method for an injection molding machine, characterized in that the remaining time is sequentially obtained until the speed switching position of the area is not exceeded and the total movement amount at the speed of each area is output as a movement command.
JP15558295A 1995-05-31 1995-05-31 Controlling method for injection molder Withdrawn JPH08323824A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15558295A JPH08323824A (en) 1995-05-31 1995-05-31 Controlling method for injection molder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15558295A JPH08323824A (en) 1995-05-31 1995-05-31 Controlling method for injection molder

Publications (1)

Publication Number Publication Date
JPH08323824A true JPH08323824A (en) 1996-12-10

Family

ID=15609200

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15558295A Withdrawn JPH08323824A (en) 1995-05-31 1995-05-31 Controlling method for injection molder

Country Status (1)

Country Link
JP (1) JPH08323824A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1708060A2 (en) * 2005-03-28 2006-10-04 Fanuc Ltd Controller for injection molding machine
DE102016000101A1 (en) 2015-01-13 2016-07-14 Fanuc Corporation COMPRESSION REGULATOR OF AN INJECTION MOLDING MACHINE

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1708060A2 (en) * 2005-03-28 2006-10-04 Fanuc Ltd Controller for injection molding machine
US7344369B2 (en) 2005-03-28 2008-03-18 Fanuc Ltd Controller for injection molding machine
EP1708060A3 (en) * 2005-03-28 2010-01-06 Fanuc Ltd Controller for injection molding machine
DE102016000101A1 (en) 2015-01-13 2016-07-14 Fanuc Corporation COMPRESSION REGULATOR OF AN INJECTION MOLDING MACHINE
JP2016129952A (en) * 2015-01-13 2016-07-21 ファナック株式会社 Compression control device for injection molding machine

Similar Documents

Publication Publication Date Title
JP4168036B2 (en) Pressure abnormality detection device for injection molding machine
US5817258A (en) Method of injection control for injection molding machine
EP0528040A1 (en) Method of controlling motor driven injection molding machine
US6570121B1 (en) Laser machining apparatus
US5449875A (en) Method of controlling spot welding robot
JPH0448338B2 (en)
JP2628266B2 (en) Speed control method and apparatus for injection molding machine
JPH08323824A (en) Controlling method for injection molder
US7166245B2 (en) Injection control method of die-casting machine and injection control unit of die-casting machine
JP2881291B2 (en) Control method and device for injection molding machine
JP6603140B2 (en) Numerical controller
KR960016032B1 (en) Method for setting molding condition in injection molding machine
JP6215872B2 (en) Numerical control device that notifies advance of execution of auxiliary function
JP3556236B2 (en) Monitor for injection molding machine
JP2990406B2 (en) Startup control method and control device for injection molding machine
JP2660636B2 (en) Injection control method for injection molding machine
CN106970652B (en) Motion controller
JP3244373B2 (en) Reservoir internal pressure adjusting device in injection molding machine
JP2660630B2 (en) Injection control method of electric injection molding machine
JP3291124B2 (en) Injection pressure control method and apparatus for injection molding machine
JP3091262B2 (en) Injection control method and apparatus in electric injection molding machine
JP3053977B2 (en) How to set injection operation conditions for injection molding machines
JPH08276473A (en) Method and apparatus for controlling metering of injection molding machine
SU877475A1 (en) Program control device
JPH0796249B2 (en) Injection control method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020806