JPS6142288B2 - - Google Patents

Info

Publication number
JPS6142288B2
JPS6142288B2 JP51095778A JP9577876A JPS6142288B2 JP S6142288 B2 JPS6142288 B2 JP S6142288B2 JP 51095778 A JP51095778 A JP 51095778A JP 9577876 A JP9577876 A JP 9577876A JP S6142288 B2 JPS6142288 B2 JP S6142288B2
Authority
JP
Japan
Prior art keywords
interference
control device
area
controlled object
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP51095778A
Other languages
Japanese (ja)
Other versions
JPS5321056A (en
Inventor
Shigeo Maruyama
Juji Saikaichi
Shigeki Fujinaga
Tatsuya Miura
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.)
Shinmaywa Industries Ltd
Original Assignee
Shin Meiva Industry Ltd
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 Shin Meiva Industry Ltd filed Critical Shin Meiva Industry Ltd
Priority to JP9577876A priority Critical patent/JPS5321056A/en
Publication of JPS5321056A publication Critical patent/JPS5321056A/en
Publication of JPS6142288B2 publication Critical patent/JPS6142288B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Auxiliary Devices For Machine Tools (AREA)
  • Numerical Control (AREA)
  • Spray Control Apparatus (AREA)

Description

【発明の詳細な説明】 この発明は位置制御装置の制御方法に関し、特
にたとえば複数の被制御体ないし工具を持つロボ
ツトの制御方法に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method of controlling a position control device, and more particularly to a method of controlling a robot having a plurality of controlled objects or tools.

従来より、たとえば自動溶接機又は自動塗装機
において、PTP(Point To Point)方式によつて
トーチ又は塗装ガンを位置制御することが知られ
ている。このようなたとえば自動溶接機において
は、被溶接物(ワーク)が非常に大きく、そのト
ーチの移動可能範囲を越える場合がある。この場
合には、ワークを動かすか、あるいはトーチを複
数個とするかでワーク全長をカバーする。ワーク
がたとえば船体等の場合、これを動かすことは非
常に困難であり、そのために、2個ないしそれ以
上のトーチを同時に動かして連続的に溶接するこ
とが行なわれている。この発明はこのような複数
の工具を持つ位置制御装置の制御方法の改良に向
けられる。
2. Description of the Related Art Conventionally, it has been known to control the position of a torch or a coating gun in, for example, an automatic welding machine or an automatic coating machine using a PTP (Point To Point) method. In such an automatic welding machine, for example, the object to be welded (work) is so large that it may exceed the movable range of the torch. In this case, the entire length of the workpiece is covered by moving the workpiece or using multiple torches. When the workpiece is, for example, a ship's hull, it is very difficult to move it, and for this reason two or more torches are moved simultaneously for continuous welding. The present invention is directed to improving the control method of such a position control device having a plurality of tools.

第1図はこの発明の背景となる、かつこの発明
の実施される自動溶接装置を示す全体斜視図であ
る。以下にはこの発明の理解を容易にする目的
で、この自動溶接装置を簡単に説明する。ワーク
が載せられるテーブル1両端には、長さ方向(X
軸方向)に、水平ガイド2,2がテーブル1の上
方に固定的に設けられる。この水平ガイド2,2
上には、それぞれ、レール3,3が配設される。
また、この水平ガイド2,2上には、前記レール
3,3上をX軸方向に移動自在とされ、かつモー
タ5によつて走行駆動される走行梁4が載せられ
る。そして、この走行梁4は、前記テーブル1の
幅方向(Y軸方向)に移動可能な、かつモータ7
によつて移動駆動される移動体6を支承する。さ
らに、前記移動体6に支承されて上下方向(Z軸
方向)に移動可能な、かつモータ9によつて昇降
駆動されるコラム8が設けられる。
FIG. 1 is an overall perspective view showing an automatic welding apparatus that forms the background of this invention and in which this invention is implemented. This automatic welding device will be briefly explained below in order to facilitate understanding of the present invention. The length direction (X
In the axial direction) horizontal guides 2, 2 are fixedly provided above the table 1. This horizontal guide 2,2
Rails 3, 3 are disposed above, respectively.
A running beam 4 is placed on the horizontal guides 2, 2 and is movable in the X-axis direction on the rails 3, 3, and is driven by a motor 5. The running beam 4 is movable in the width direction (Y-axis direction) of the table 1 and is driven by a motor 7.
The movable body 6 is supported by the movable body 6. Further, a column 8 is provided which is supported by the movable body 6 and movable in the vertical direction (Z-axis direction) and which is driven up and down by a motor 9.

前記コラム8の下端部には、トーチ取付具10
が、垂直軸まわりに回動自在に設けられる。この
トーチ取付具10は、トーチTを保持し、モータ
11によつて回動駆動されて該トーチTのワーク
に対する向き角度を調整する。この実施例では、
同様の装置が同様の組合わせでさらに1組設けら
れる。なお、各モータ5,7,9,11の回転速
度ないしトーチTに与えられる溶接電流およびト
ーチ位置は、図示しない(位置決め)制御装置に
より制御されることは周知の通りである。
A torch mount 10 is attached to the lower end of the column 8.
is rotatably provided around a vertical axis. This torch fixture 10 holds a torch T and is rotationally driven by a motor 11 to adjust the orientation angle of the torch T with respect to the workpiece. In this example,
Another set of similar devices is provided in a similar combination. It is well known that the rotational speed of each motor 5, 7, 9, 11, the welding current applied to the torch T, and the torch position are controlled by a (positioning) control device (not shown).

このような自動溶接装置において、前記トーチ
Tは、前記X,Y,Z軸に関して予めプログラム
された点位置へ、たとえばPTP方式によつて位
置制御される。そして、テーブル1の長さ方向は
2つの位置決め装置かつしたがつてトーチT,T
によつて分担されるが、その中央部分は2つのト
ーチT,Tによつて共有される。換言すれば、2
つのトーチT,Tは、それぞれ、他のトーチの干
渉のない独自のエリアを持つとともに、相互に干
渉するエリアをも持つことになる。そのため、こ
の干渉エリアにおいて2つのトーチT,Tが交錯
し、あるいは衝突する可能性がある。したがつ
て、その場合には一方を止めて他方を動かすこと
が考えられる。
In such an automatic welding apparatus, the torch T is position-controlled to a preprogrammed point position with respect to the X, Y, and Z axes, for example, by a PTP method. In the longitudinal direction of the table 1, there are two positioning devices and therefore torches T and T.
, but its central part is shared by the two torches T,T. In other words, 2
Each of the two torches T has its own area where there is no interference from other torches, and also has an area where they interfere with each other. Therefore, there is a possibility that the two torches T, T may intersect or collide in this interference area. Therefore, in that case, it is conceivable to stop one and move the other.

しかしながら、自動溶接機ないし自動塗装機に
おいては、一旦スタートするとトーチないし塗装
ガンの作動を途中で停止させることはできない。
なぜなら、それは、溶接ないし塗装の仕上がりに
重大な悪影響を及ぼし、仕上りの品質の低下を招
来するためである。
However, in automatic welding machines or automatic painting machines, once the operation of the torch or paint gun is started, it is not possible to stop the operation midway.
This is because it has a serious adverse effect on the finish of welding or painting, leading to a decline in the quality of the finish.

それゆえに、この発明の主たる目的は、複数の
被制御体を、その作業途中で停止させることな
く、相互の干渉なしに制御する、そのような位置
制御装置の制御方法を提供することである。
Therefore, the main object of the present invention is to provide a control method for such a position control device, which controls a plurality of controlled objects without stopping them in the middle of their operations and without mutual interference.

第2図はこの発明の概略を示すブロツタダイヤ
グラムである。構成において、この実施例はたと
えば3組の位置決め装置を有し、そのそれぞれ
に、前述したごとくの位置決め装置制御装置PC
1,PC2およびPC3が設けられる。これら位置
決め制御装置PC1,PC2,PC3は、それぞ
れ、図示しない対応の位置決め装置を手動操作す
るための、かつユーザプログラムをテイーチング
(Teaching)するためのリモコンボツクスRC
1,RC2,RC3が接続される。また、各位置決
め制御装置PC1,PC2,PC3を統轄的に制御
するための制御装置CPUが設けられる。
FIG. 2 is a blotter diagram outlining the invention. In configuration, this embodiment has, for example, three sets of positioning devices, each of which has a positioning device control device PC as described above.
1, PC2 and PC3 are provided. These positioning control devices PC1, PC2, and PC3 each have a remote control box RC for manually operating a corresponding positioning device (not shown) and for teaching a user program.
1, RC2, and RC3 are connected. Further, a control device CPU is provided to centrally control each positioning control device PC1, PC2, PC3.

前記制御装置CPUには、各制御装置PC1〜PC
3を制御するためのシステムプログラムおよび前
記各ユーザプログラムを記憶するメモリMRYが
結合される。そして、制御装置CPUは、このメ
モリMRYから読出したユーザプログラムとシス
テムプログラムとに基づいて、位置決め制御装置
PC1〜PC3に対して位置指令を与える。したが
つて、各位置決め制御装置PC1〜PC3は、それ
ぞれ、対応の位置決め装置に対して、第1図に示
したような各軸X,Y,Zの位置指令と、系速度
(合成移動速度)とを与える。そして、対応の位
置決め装置からのNull信号(零信号:サーボ系の
サーボアンプから目的位置に達したとき得られる
もの)を受けて、制御装置CPUに対して位置指
令を要請する。
The control device CPU includes each control device PC1 to PC.
A system program for controlling the computer 3 and a memory MRY for storing each of the user programs are coupled. Then, the control device CPU executes the positioning control device based on the user program and system program read from this memory MRY.
Give position commands to PC1 to PC3. Therefore, each of the positioning control devices PC1 to PC3 issues position commands for each axis X, Y, and Z as shown in FIG. 1 and system speed (combined movement speed) to the corresponding positioning device. and give. Then, upon receiving a null signal (zero signal: obtained when the target position is reached from the servo amplifier of the servo system) from the corresponding positioning device, it requests a position command from the control device CPU.

すなわち、各位置決め制御装置PC1〜PC3
は、対応のリモコンボツクスRC1〜RC3からの
位置指令又は制御装置CPUかつしたがつてメモ
リMRYからのユーザプログラムに応じた位置指
令に基づいて、被制御体(図示せず)を各軸X,
Y,Z方向に位置制御する。
That is, each positioning control device PC1 to PC3
The controlled object (not shown) is moved to each axis
Position control in Y and Z directions.

この各位置決め制御装置PC1,PC2,PC3
によつて位置制御される被制御体は、第3図に示
すごとくの移動範囲ないしエリアA1,A2,A
3を有する。すなわち、エリアA1は位置決め制
御装置PC1(によつて制御される被制御体)に
対応し、A2はPC2に対応し、A3はPC3に対
応する。そして、エリアA12は2つの位置決め
制御装置PC1とPC2とが相互に干渉するエリア
であり、エリアA23は位置決め制御装置PC2
とPC3とが相互に干渉するエリアである。した
がつて、「A1―A12」のエリアは位置決め制
御装置PC1の独自のエリアであり、「A2―A1
2―A23」が位置決め制御装置PC2の独自の
エリアであり、「A3―A23」が位置決め制御
装置PC3の独自のエリアである。
These positioning control devices PC1, PC2, PC3
The controlled object whose position is controlled by
It has 3. That is, area A1 corresponds to positioning control device PC1 (a controlled object controlled by it), A2 corresponds to PC2, and A3 corresponds to PC3. Area A12 is an area where two positioning control devices PC1 and PC2 interfere with each other, and area A23 is an area where two positioning control devices PC1 and PC2 interfere with each other.
This is an area where PC3 and PC3 interfere with each other. Therefore, the area "A1-A12" is a unique area of the positioning control device PC1, and the area "A2-A1" is a unique area of the positioning control device PC1.
2-A23" is an area unique to the positioning control device PC2, and "A3-A23" is an area unique to the positioning control device PC3.

第4図はこの発明の制御方法を説明するための
図解図であり、2つの位置決め制御装置PC1,
PC2によつて自動溶接又は自動塗装を行なう場
合について示す。
FIG. 4 is an illustrative diagram for explaining the control method of the present invention, in which two positioning control devices PC1,
The case where automatic welding or automatic painting is performed using PC2 is shown below.

まず、第4図aにおいては、一方の位置決め制
御装置PC1は、エリアA1の点P11―エリア
A12の点P12―エリアA12の点P13―エ
リアA1の点P14,P15に、順次内挿補間に
よつて、位置制御し、点P11からP13まで溶
接を実行(溶接オン)する。他方の位置決め制御
装置PC2は、エリアA2の点P21―エリアA
2の点P22―エリアA2の点P23―エリアA
2の点P24,P25に、順次内挿補間によつ
て、位置制御し、点P22からP24まで溶接オ
ンとする。このような場合、一方の位置決め制御
装置PC1は干渉エリアA12に進入するが、他
方の位置決め制御装置PC2は該干渉エリアA1
2には進入しない。したがつて、制御装置CPU
においては、2つの位置決め制御装置PC1,PC
2によつて同時に溶接させても、2つの被制御体
トーチ;図示せず)が干渉することはないという
ことを判断する(これは各位置決め制御装置PC
1,PC2に対してそれぞれ前述のごとくの点位
置を指令したユーザプログラムによつて判断す
る。)したがつて、この制御装置CPUは、2つの
位置決め制御装置PC1,PC2による同時の作業
(溶接)を許容する。
First, in FIG. 4a, one positioning control device PC1 sequentially interpolates points P11 in area A1, point P12 in area A12, point P13 in area A12, and points P14 and P15 in area A1. Then, the position is controlled and welding is performed (welding on) from points P11 to P13. The other positioning control device PC2 moves from point P21 of area A2 to area A.
Point P22 of 2 - Point P23 of area A2 - Area A
The positions of the two points P24 and P25 are controlled by sequential interpolation, and welding is turned on from points P22 to P24. In such a case, one positioning control device PC1 enters the interference area A12, but the other positioning control device PC2 enters the interference area A1.
Do not enter 2. Therefore, the control device CPU
, two positioning control devices PC1, PC
2, it is determined that the two controlled object torches (not shown) will not interfere even if they are welded at the same time.
1. Judgment is made based on the user program that commands the PC 2 to specify the point positions as described above. ) Therefore, this control device CPU allows simultaneous work (welding) by the two positioning control devices PC1 and PC2.

つぎに、第4図bにおいては、一方の位置決め
制御装置PC1は、エリアA1の点P11―エリ
アA12の点P12―エリアA12の点P13―
エリアA1の点P14に、順次位置決めし、点P
11からP13まで溶接オンとする。他方の位置
決め制御装置PC2は、エリアA2の点P21―
エリアA12の点P22―エリアA12の点P2
3―エリアA2の点P24に、順次位置決めし、
点P22からP23まで溶接オンとする。このよ
うな場合、2つの位置決め制御装置PC1および
PC2は、ともに、干渉エリアA12に進入する
が、2つのトーチは干渉することがない。したが
つて、制御装置CPUは、これを判断し、2つの
位置決め制御装置PC1,PC2によつて同時に溶
接を実行させる。
Next, in FIG. 4b, one of the positioning control devices PC1 moves from point P11 of area A1 to point P12 of area A12 to point P13 of area A12 to
Sequentially position to point P14 in area A1, and
Welding is on from P11 to P13. The other positioning control device PC2 moves to point P21- in area A2.
Point P22 in area A12 - Point P2 in area A12
3-Sequentially position to point P24 in area A2,
Welding is turned on from points P22 to P23. In such a case, two positioning controllers PC1 and
Both PC2 enter the interference area A12, but the two torches do not interfere. Therefore, the control device CPU judges this and causes the two positioning control devices PC1 and PC2 to simultaneously perform welding.

さらに、第4図cにおいては、一方の位置決め
制御装置PC1は、エリアA1の点P11―エリ
アA12のP12―エリアA12のP13―エリ
アA1の点P14,P15に、順次位置決めし、
点P12からP13まで溶接オンとする。他方の
位置決め制御装置PC2は、エリアA2の点P2
1―エリアA12の点P22―エリアA12の点
P23―エリアA2の点P24に、順次位置決め
し、点P22からP23まで溶接オンとする。こ
のような場合、位置決め制御装置PC1とPC2と
は、ともに相互干渉エリアA12に進入し、点P
12からP13、点P22からP23の間で干渉
する。したがつて、制御装置CPUは、2つのユ
ーザプログラムによつてこのことを判断し、一方
の位置決め制御装置PC1を現在位置(点P1
1)で停止させ、他方の位置決め制御装置PC2
は優先的に溶接を実行させる。そして他方の位置
決め制御装置PC2が点P24(エリアA12外
でかつ溶接オフの点)で停止すると一方の位置決
め制御装置PC1を許容する。
Furthermore, in FIG. 4c, one of the positioning control devices PC1 sequentially positions the points P11 in area A1, P12 in area A12, P13 in area A12, and points P14 and P15 in area A1,
Welding is turned on from points P12 to P13. The other positioning control device PC2 is at point P2 in area A2.
1 - Point P22 of area A12 - Point P23 of area A12 - Point P24 of area A2 are sequentially positioned, and welding is turned on from point P22 to P23. In such a case, the positioning control devices PC1 and PC2 both enter the mutual interference area A12 and reach the point P.
Interference occurs between points 12 and P13 and points P22 and P23. Therefore, the control device CPU determines this using two user programs, and moves one of the positioning control devices PC1 to the current position (point P1).
1), and the other positioning control device PC2
performs welding with priority. When the other positioning control device PC2 stops at point P24 (a point outside area A12 and at which welding is off), one positioning control device PC1 is allowed.

このような制御装置CPUの判断は、システム
プログラムによつて予めプログラムされた順序で
行なわれる。すなわち、制御装置CPUは、各位
置決め制御装置PC1,PC2に対してプログラム
(テイーチング)されたユーザプログラムをメモ
リMRYから読出し、そして各位置決め制御装置
を個別的かつ統轄的に制御する。以下このことを
第5図のフローチヤートに従つて説明する。
Such decisions by the control device CPU are made in a preprogrammed order by the system program. That is, the control device CPU reads the user program programmed (taught) to each positioning control device PC1, PC2 from the memory MRY, and controls each positioning control device individually and overall. This will be explained below with reference to the flowchart of FIG.

第5図はこの発明に基づいたシステムプログラ
ムの一例を示すフローチヤートである。このフロ
ーチヤートは、実施例として、第4図に示すよう
に位置決め制御装置PC1とPC2とについて制御
するものとし、第1図に示すごとくの自動溶接機
に適用したものを示す。なお、以下の説明におけ
る干渉エリアA12かつしたがつて非干渉エリア
(独自のエリア)は、各位置決め制御装置PC1お
よびPC2との相互関係に依存して決まる、とい
うことを予め指摘しておく。換言すれば、これら
干渉領域、非干渉領域は、各装置PC1およびPC
2のそのときの状況によつて変化する。なぜなら
ば、1つの被制御体が動けば、それによつて、第
3図あるいは第4図に示す移動範囲たとえばA1
もまた動くからである。
FIG. 5 is a flowchart showing an example of a system program based on the present invention. As an example, this flowchart is applied to an automatic welding machine as shown in FIG. 1, in which positioning control devices PC1 and PC2 are controlled as shown in FIG. 4. It should be noted in advance that the interference area A12 and therefore the non-interference area (unique area) in the following explanation is determined depending on the mutual relationship with the positioning control devices PC1 and PC2. In other words, these interference areas and non-interference areas are
2. It changes depending on the situation at that time. This is because when one controlled object moves, it changes the movement range shown in FIG. 3 or 4, for example A1.
Because it also moves.

まず、対応するサーボ系からのNu11信号に
応じて、位置決め制御装置PC1から制御装置
CPUに対して位置指令を要求する。
First, in response to the Nu11 signal from the corresponding servo system, the positioning control device PC1 to the control device
Request a position command to the CPU.

応じて、制御装置CPUにおいては、ブロツク
101で示すように、メモリMRYからの対応の
ユーザプログラムに基づいて、この制御装置PC
1によつて順次ステツプ(点位置)を進めたと
き、前述のごとくの相互干渉エリアA12の外
で、かつ溶接オフ(単に位置制御のみで溶接を行
なわない)の点位置までの移動範囲を求める。こ
こで、「溶接オフ」を条件としたのは、自動溶接
機においては一旦スタートして途中で停止させる
ことがその仕上りの品質低下をもたらすからであ
り、トランスフアーマシンなどのマニプレータの
ように単に位置のみを制御する場合には、このよ
うな「作業なし」の条件は不要である。
Accordingly, in the control unit CPU, as indicated by block 101, this control unit PC is programmed based on the corresponding user program from the memory MRY.
When the steps (point positions) are sequentially advanced according to step 1, find the movement range to the point position outside the mutual interference area A12 as described above and where welding is off (welding is not performed only by position control). . The reason for using "welding off" as a condition here is that in an automatic welding machine, once started and then stopped midway, the quality of the finished product deteriorates. When controlling only the position, such a "no work" condition is unnecessary.

つづいて、この制御装置CPUにおいて、ブロ
ツク102で示すように、位置決め制御装置PC
1によつて上述のごとく求めた移動範囲に位置制
御するとき、対応の被制御体(トーチ)が前記第
3図のごとくの相互干渉エリアA12に入るか否
かを判断する。上述のブロツク101と102と
が協働して干渉領域判断ステツプを構成する。
Next, in this control device CPU, as shown in block 102, the positioning control device PC
When controlling the position within the movement range determined as described above using 1, it is determined whether the corresponding controlled object (torch) enters the mutual interference area A12 as shown in FIG. The above-mentioned blocks 101 and 102 cooperate to constitute an interference region determination step.

そして、位置決め制御装置PC1によつて、干
渉エリアA12に入るならば、すなわちYESな
らば、制御装置CPUにおいては、ブロツク10
3に示すように、他方の位置決め制御装置PC2
がすでに該干渉エリアA12に入つているか、も
しくは入ろうとしているかを判断する。これは、
制御装置CPUの持つているシステムプログラム
(メモリMRY)中の制御装置PC2の作業エリア
の「エリアA12入」のフラグ(Flag)をチエ
ツクすることによつて行なわれる。このブロツク
103が進入判断ステツプを構成する。
Then, if the positioning control device PC1 enters the interference area A12, that is, if YES, the control device CPU controls the block 10.
3, the other positioning control device PC2
It is determined whether the object has already entered or is about to enter the interference area A12. this is,
This is done by checking the "area A12 entered" flag in the work area of the control device PC2 in the system program (memory MRY) held by the control device CPU. This block 103 constitutes an entry determination step.

このとき、YESならば、すなわち位置決め制
御装置PC2が干渉エリアA12に進入しようと
しもしくは進入している場合(フラグがセツトさ
れている場合)には、制御装置CPUにおいて
は、ブロツク104に示すように、位置決め制御
装置PC2が順次ステツプを進めたとき、前記干
渉エリアA12の外で、かつ溶接オフの点位置ま
での移動範囲を求める。これは、メモリMRYか
ら対応のユーザプログラムを読出すことによつて
行なう。
At this time, if YES, that is, if the positioning control device PC2 is about to enter or is entering the interference area A12 (if the flag is set), the control device CPU executes the steps shown in block 104. When the positioning control device PC2 sequentially advances the steps, the movement range outside the interference area A12 and up to the welding-off point position is determined. This is done by reading the corresponding user program from memory MRY.

つづいて、この制御装置CPUにおいて、ブロ
ツク105に示すように、位置決め制御装置PC
1およびPC2が衝突する可能性があるか否かを
判断する。これは、前述のごとく求めた位置決め
制御装置PC1およびPC2の各々の移動範囲を比
較することによつて行なわれる。上述のブロツク
104と105とが協働して干渉判断ステツプを
構成する。
Next, in this control device CPU, as shown in block 105, the positioning control device PC
1 and PC2 are likely to collide. This is done by comparing the movement ranges of each of the positioning control devices PC1 and PC2 determined as described above. Blocks 104 and 105 described above work together to constitute an interference determination step.

そして、YESならば、すなわち2つの位置決
め制御装置PC1およびPC2によつて制御される
トーチが衝突する可能性があるならば、たとえば
次の位置指令を禁止して、制御装置CPUは、ブ
ロツク106に示すように、一方の制御装置PC
1による位置制御を停止させる。この制御装置
PC1の停止位置は、前述のようにNu11信号の
得られた点、すなわち現ステツプである。このと
き、溶接オフであることは、「溶接オフ」を条件
としていることから容易に理解されよう。このブ
ロツク106が禁止ステツプを構成する。
If YES, that is, if there is a possibility that the torches controlled by the two positioning controllers PC1 and PC2 will collide, the controller CPU will block 106, for example by inhibiting the next position command. As shown, one control device PC
The position control by 1 is stopped. This control device
The stopping position of PC1 is the point where the Nu11 signal is obtained, that is, the current step, as described above. At this time, it is easy to understand that the welding is off because the condition is "welding off." This block 106 constitutes the prohibition step.

つづいて、制御装置CPUにおいては、ブロツ
ク107に示すように、前述のごとく求めた移動
範囲によつて位置決め制御装置PC2が停止か否
かを判断する。すなわち、他方の位置決め制御装
置PC2が干渉をさけるために停止した状態かど
うかが判断される。
Next, as shown in block 107, the control device CPU determines whether or not the positioning control device PC2 is stopped based on the movement range determined as described above. That is, it is determined whether the other positioning control device PC2 is in a stopped state to avoid interference.

このとき、NOならば、すなわち位置決め制御
装置PC2が動作中ならば、制御装置CPUにおけ
る干渉の有無のチエツクは終了となる。逆に、
YESならば、すなわち位置決め制御装置PC2が
停止していたなら、制御装置CPUにおいては、
ブロツク108に示すように、前述の一連の処理
をPC1とPC2とを逆に入れかえて続行する。な
お、この逆の処理は別ルーチンとしてプログラム
してよいことはもちろんである。
At this time, if NO, that is, if the positioning control device PC2 is in operation, the check for interference in the control device CPU ends. vice versa,
If YES, that is, if the positioning control device PC2 has stopped, the control device CPU will:
As shown in block 108, the above-described series of processes is continued with PC1 and PC2 reversed. It goes without saying that this reverse process may be programmed as a separate routine.

なお、上述のブロツク102すなわち干渉領域
判断ステツプにおいて、「PC1エリアA12に入
るか?」の判断で、NOと判断したならば、制御
装置CPUにおいては、ブロツク109で示すよ
うに、この位置決め制御装置PC1の作業エリア
の「エリアA12入」のフラグをリセツトする。
このことは、制御装置PC1からの要求に基づい
て求めた移動範囲(PC1)が全く他の干渉のな
いエリアA1であることを示し、制御装置CPU
は、つづいて、ブロツク110で、メモリMRY
から読出したユーザプログラムによつて制御装置
PC1に次のステツプの指令を与える。上述のブ
ロツク109と110とが協働して許容ステツプ
を構成する。
In addition, in the above-mentioned block 102, that is, the interference area judgment step, if the judgment of "Does it enter the PC1 area A12?" is NO, the control device CPU executes the positioning control device as shown in block 109. Reset the "area A12 entry" flag in the work area of PC1.
This shows that the movement range (PC1) obtained based on the request from the control device PC1 is the area A1 where there is no other interference, and the control device CPU
Then, in block 110, the memory MRY
control device by the user program read from
Give the command for the next step to PC1. Blocks 109 and 110 described above together constitute the tolerance step.

また、前述のブロツク103すなわち進入判断
ステツプにおいて、「PC2すでにエリア入か?」
の判断で、NOと判断したとき、または、ブロツ
ク105すなわち干渉判断ステツプにおいて、
「PC1,PC2衝突か?」の判断で、NOと判断し
たときには、制御装置CPUにおいては、ブロツ
ク111で示すように、位置決め制御装置PC1
の「エリアA12入」のフラグをセツトする。こ
のことは、一方の位置決め制御装置PC1が順次
ステツプを進めても、他方の位置決め制御装置
PC2との干渉はないということである。したが
つて、制御装置CPUは、つづいて、ブロツク1
10において、メモリMRYから読出したユーザ
プログラムによつて、制御装置PC1に次のステ
ツプの指令を与える。上述のブロツク111と1
10とが協働して許容ステツプを構成する。
Also, in the aforementioned block 103, that is, the entry judgment step, "Is PC2 already in the area?"
When the judgment is NO, or in block 105, that is, the interference judgment step,
When it is determined NO in the judgment "Is there a collision between PC1 and PC2?", as shown in block 111 in the control device CPU, the positioning control device PC1
Set the "area A12 entered" flag in This means that even if one positioning control device PC1 advances the steps sequentially, the other positioning control device
This means that there is no interference with PC2. Therefore, the control device CPU continues to block 1.
At step 10, a command for the next step is given to the control device PC1 by the user program read from the memory MRY. Blocks 111 and 1 above
10 together constitute the permissible step.

上述のごとく、この実施例によれば、たとえば
溶接ないし塗装等の作業を途中で停めることな
く、相互干渉を防止しながら複数の被制御体を並
列的に制御し得るため、特に自動溶接機ないし自
動塗装機等に好適する。
As described above, according to this embodiment, a plurality of controlled objects can be controlled in parallel while preventing mutual interference without stopping work such as welding or painting in the middle, so it is particularly useful for automatic welding machines or Suitable for automatic coating machines, etc.

なお、上述の実施例においては、干渉があると
き、一方の位置決め制御装置PC1は他方の位置
決め制御装置PC2が干渉エリアA12の外に出
て停止したことを条件としてスタートさせたが、
これは、制御装置CPUにおいて他方の位置決め
制御装置PC2の順次の補間点情報を読込み、そ
の補間点が干渉範囲を外れたときスタートさせる
ようにしてもよい。すなわち、第6図に示す場
合、前述の実施例では、一方の位置決め制御装置
PC1は、点P11で停止して、他方の位置決め
制御装置PC2が点25の位置で停止するまで待
つて、それから後にスタートさせていた。このよ
うにすると、その作業時間が長くかかつてしまう
という問題点があつた。
In the above embodiment, when there is interference, one positioning control device PC1 is started on the condition that the other positioning control device PC2 moves out of the interference area A12 and stops.
This may be done by reading the sequential interpolation point information of the other positioning control device PC2 in the control device CPU, and starting when the interpolation point is out of the interference range. That is, in the case shown in FIG. 6, in the above embodiment, one positioning control device
PC1 stopped at point P11, waited until the other positioning control device PC2 stopped at point 25, and then started later. If this is done, there is a problem in that the working time is long and time consuming.

そこで、この実施例では、制御装置CPUが位
置決め制御装置PC2の順次の補間点を監視して
いて、この位置決め制御装置PC2が補間点P2
3′の位置に達したとき、あるいは点P23″の位
置に達したとき、一方の位置決め制御装置PC1
に対して次のステツプの指令を与える。このよう
にすれば、位置決め制御装置PC1の待ち時間が
少なくなる。
Therefore, in this embodiment, the control device CPU monitors the sequential interpolation points of the positioning control device PC2, and this positioning control device PC2 monitors the interpolation point P2.
3' or when the point P23'' is reached, one of the positioning control devices PC1
Give the command for the next step to . In this way, the waiting time of the positioning control device PC1 is reduced.

以上のように、この発明によれば、複数の被制
御体を相互干渉なく、かつ作業途中で中断させる
ことなく位置制御できる。なお、この発明はマイ
クロプロセツサ等を用いることなく、制御回路を
ハードで構成することもできる。
As described above, according to the present invention, the positions of a plurality of controlled objects can be controlled without mutual interference and without interrupting the work. Incidentally, in the present invention, the control circuit can also be configured by hardware without using a microprocessor or the like.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の背景となる、かつこの発明
の実施され得る自動溶接装置を示す全体斜視図で
ある。第2図はこの発明の概略ブロツクダイヤグ
ラムである。第3図は各位置決め制御装置の移動
可能範囲(エリア)を示す図解図である。第4図
はこの発明を説明するための各場合を示す位置図
である。第5図はこの発明に基づいたシステムプ
ログラムの一例を示すフローチヤートである。第
6図はこの発明の他の実施例を説明するための位
置図である。 図において、CPUは(統轄)制御装置、MRY
はメモリ、PC1,PC2,PC3は位置決め制御
装置、RC1,RC2,RC3はリモコンボツク
ス、Tはトーチ、101,102は干渉領域判断
ステツプ、103は進入判断ステツプ、104,
105は干渉判断ステツプ、106は禁止ステツ
プ、109,110,111は許容ステツプであ
る。
FIG. 1 is an overall perspective view showing an automatic welding device that forms the background of the present invention and in which the present invention can be implemented. FIG. 2 is a schematic block diagram of the invention. FIG. 3 is an illustrative diagram showing the movable range (area) of each positioning control device. FIG. 4 is a position diagram showing each case for explaining the present invention. FIG. 5 is a flowchart showing an example of a system program based on the present invention. FIG. 6 is a positional diagram for explaining another embodiment of the present invention. In the figure, CPU is the (supervising) control unit, MRY
is memory, PC1, PC2, PC3 are positioning control devices, RC1, RC2, RC3 are remote control boxes, T is a torch, 101, 102 are interference area judgment steps, 103 is an approach judgment step, 104,
105 is an interference determination step, 106 is a prohibition step, and 109, 110, and 111 are permission steps.

Claims (1)

【特許請求の範囲】 1 複数の被制御体を予めプログラムされた点位
置に順次位置制御し、該点位置間において連続し
た作業を行ない、かつ、この順次の位置制御に応
じて、他の被制御体との相互干渉を生じない非干
渉領域と、他の被制御体との関係で相互干渉を生
じる干渉領域とが決められる、そのような位置制
御装置の制御方法であつて、 1つの被制御体からの要求に応じて、この1つ
の被制御体の前記非干渉領域内の該被制御体によ
る作業を行なわない次の点位置までの移動経路が
前記干渉領域を含むか否かを判断するための干渉
領域判断ステツプ、 前記干渉領域判断ステツプによつて前記干渉領
域を含むと判断したことに応じて、他の被制御体
が前記干渉領域に進入し又は進入しようとしてい
るか否かを判断するための進入判断ステツプ、 前記進入判断ステツプによつて進入しているか
または進入しようとしていると判断したことに応
じて、前記1つの被制御体と他の被制御体とが干
渉するか否かを判断するための干渉判断ステツ
プ、 前記干渉判断ステツプによつて干渉すると判断
したことに応じて、前記1つの被制御体につぎの
位置指令を与えないようにするための禁止ステツ
プ、 前記干渉領域判断ステツプによつて前記1つの
被制御体の移動経路が前記干渉領域を含まないと
判断したことに応答して、あるいは前記進入判断
ステツプによつて前記他の被制御体が前記干渉領
域に進入していないかまたは進入しようとしてい
ないと判断したことに応じて、あるいはまた前記
干渉判断ステツプによつて前記1つの被制御体と
他の被制御体とが干渉しないと判断したことに応
じて、前記1つの被制御体へのつぎの位置指令を
許容する許容ステツプ、 とを含んでなる、前記位置制御装置の制御方法。
[Scope of Claims] 1. Controls the position of a plurality of controlled objects sequentially to preprogrammed point positions, performs continuous work between the point positions, and controls other controlled objects in accordance with this sequential position control. A control method for such a position control device, in which a non-interference area that does not cause mutual interference with a controlled object and an interference area that causes mutual interference in relation to another controlled object are determined, In response to a request from a control body, it is determined whether a movement path of this one controlled body to the next point position within the non-interference area where the controlled body does not perform work includes the interference area. an interference region determination step for determining whether or not another controlled object has entered or is about to enter the interference region, in response to the determination that the interference region is included in the interference region determination step; an approach determination step for determining whether or not the one controlled object and another controlled object will interfere in response to the determination that the controlled object is entering or is about to enter in the entry determining step; an interference determination step for determining the interference region; a prohibition step for preventing the next position command from being given to the one controlled object in response to the determination of interference in the interference determination step; In response to determining in the determining step that the moving path of the one controlled object does not include the interference region, or in response to determining that the other controlled object enters the interference region in the entering determining step. In response to determining that the one controlled object and the other controlled object do not interfere with each other in the interference determining step, A method for controlling the position control device, comprising: a step of allowing a next position command to the one controlled object.
JP9577876A 1976-08-10 1976-08-10 Method of controlling position controller Granted JPS5321056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9577876A JPS5321056A (en) 1976-08-10 1976-08-10 Method of controlling position controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9577876A JPS5321056A (en) 1976-08-10 1976-08-10 Method of controlling position controller

Publications (2)

Publication Number Publication Date
JPS5321056A JPS5321056A (en) 1978-02-27
JPS6142288B2 true JPS6142288B2 (en) 1986-09-20

Family

ID=14146928

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9577876A Granted JPS5321056A (en) 1976-08-10 1976-08-10 Method of controlling position controller

Country Status (1)

Country Link
JP (1) JPS5321056A (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5378556A (en) * 1976-12-23 1978-07-12 Toshiba Corp Control device
JPS5725005A (en) * 1980-07-23 1982-02-09 Hitachi Ltd Control device for plural work robots
JPS58126086A (en) * 1982-01-08 1983-07-27 本田技研工業株式会社 Mutual interference preventing circuit of plural robots
JPS5979165A (en) * 1982-10-27 1984-05-08 Tanaka Kikinzoku Kogyo Kk Brush holder for slide contact testing machine
JPS5981092A (en) * 1982-10-29 1984-05-10 株式会社東芝 Controller for multi-joint arm
JPS59136030U (en) * 1983-02-28 1984-09-11 上西鉄工株式会社 bearing
JPH0722869B2 (en) * 1984-06-22 1995-03-15 日立精機株式会社 NC data interference prevention device
JPH0498716U (en) * 1991-01-21 1992-08-26
JP3188484B2 (en) * 1991-02-21 2001-07-16 日産自動車株式会社 Automatic machining equipment interference prevention method
JP7156897B2 (en) * 2018-10-10 2022-10-19 シチズン時計株式会社 Machine Tools

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49105288A (en) * 1973-02-10 1974-10-04
JPS5076489A (en) * 1973-11-06 1975-06-23

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49105288A (en) * 1973-02-10 1974-10-04
JPS5076489A (en) * 1973-11-06 1975-06-23

Also Published As

Publication number Publication date
JPS5321056A (en) 1978-02-27

Similar Documents

Publication Publication Date Title
EP0104409B1 (en) A method of establishing safe zones in a numerically controlled machine
JPH103308A (en) Interference avoiding method for industrial robot
JP2003195917A (en) Numerical control device
JPS6142288B2 (en)
WO2014196066A1 (en) Numerical control device
JPH11347984A (en) Robot control device
US20120203374A1 (en) Numerical controller for making positioning completion check
JPH0729255B2 (en) NC data creation method for turning
JP2792443B2 (en) Loader device
JP5059360B2 (en) Rapid feed control method for machine tools
JPS605968B2 (en) position control device
JP2000284817A (en) Numerical controller to simultaneously control two movable objects no common track
JPS62100813A (en) Override method for corner point
JPH11104934A (en) Method of and device for controlling main spindle head transfer at time of automatic tool changing operation
JPH0498301A (en) Numerically controlled machine tool and numerical controller
JP2007249671A (en) Method for preventing collision in machine tool
JP2732034B2 (en) Robot controller
JPH0569280A (en) Machining center measuring device and work accuracy measuring method of workpiece
JP2624174B2 (en) Automatic operation method of numerical controller
JPH07129214A (en) Control method for robot equipped with software cage function
JPS59158403A (en) Numerical controller
JPS6118764B2 (en)
JPH10109251A (en) Method for controlling rotation speed of turret
JPH0689112A (en) Speed control method for outside shaft in industrial robot
JPS63236106A (en) Tool path control system