JPH0215947A - Processing machine - Google Patents

Processing machine

Info

Publication number
JPH0215947A
JPH0215947A JP16313788A JP16313788A JPH0215947A JP H0215947 A JPH0215947 A JP H0215947A JP 16313788 A JP16313788 A JP 16313788A JP 16313788 A JP16313788 A JP 16313788A JP H0215947 A JPH0215947 A JP H0215947A
Authority
JP
Japan
Prior art keywords
processing
pallet
machining
signal
column
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.)
Granted
Application number
JP16313788A
Other languages
Japanese (ja)
Other versions
JP2508197B2 (en
Inventor
Akimoto Yasuda
安田 商基
Yasuo Tanahashi
康夫 棚橋
Koichi Yasumoto
安本 孝一
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP16313788A priority Critical patent/JP2508197B2/en
Priority to KR1019890008674A priority patent/KR900000159A/en
Publication of JPH0215947A publication Critical patent/JPH0215947A/en
Application granted granted Critical
Publication of JP2508197B2 publication Critical patent/JP2508197B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Feeding Of Workpieces (AREA)
  • Multi-Process Working Machines And Systems (AREA)

Abstract

PURPOSE:To ensure the prevention of an overstroke by judging the occurrence thereof based upon whether the end of a shift instruction is included in the allowable range of a shift set up in the processing range of a pallet evaluated as a processing object. CONSTITUTION:According to a signal for a left-side pallet, for example, a pallet 23L as a processing object moves from a preparation table 14, and judgement is made as to whether the end of a shift instruction calculated from a machine datum and the like is included in the allowable shift range of a column on a column base 2 preliminarily set up in a clamped processing range 22L. If the end of a shift is included therein, an overstroke is judged as existing, thereby stopping the motion of a pallet. Also, similar processing is made for a signal for a right-side pallet. According to the aforesaid construction, it is possible to prevent simply and properly an overstroke for a shift from a working process range to another range in a processing machine having a plurality of processing ranges and a pallet for each processing range.

Description

【発明の詳細な説明】 「産業上の利用分野J 本発明は、複数の加工領域を有しその加工領域毎にパレ
ットを設けた加工機械に関し、特に設定された加工領域
を加工具を有するコラムが逸脱するいわゆるストローク
オーバを設定された加工領域毎に阻止できるようにした
ものである。
Detailed Description of the Invention "Industrial Field of Application J The present invention relates to a processing machine having a plurality of processing areas and a pallet provided for each processing area, and in particular, a set processing area is connected to a column having a processing tool. It is possible to prevent so-called stroke over, in which the stroke deviates from each other, in each set machining area.

「従来の技術」 加工機械、工作機械等の数値制御において、機械の移動
指令を解析し該指令の終点が、設定された加工領域内の
移動許容範囲を越えると判定された場合には、その移動
指令の実行を阻止するようにした技術は、「ストローク
オーバ検知方法」として既に提案されている(特公昭5
9−47322号)。
"Prior art" In numerical control of processing machines, machine tools, etc., when a machine movement command is analyzed and it is determined that the end point of the command exceeds the permissible movement range within the set machining area, the A technique that prevents the execution of movement commands has already been proposed as a "stroke over detection method" (Japanese Patent Publication No. 5
No. 9-47322).

[発明が解決しようとする課題」 しかしながら、前記方法においては、機械の移動許容範
囲としては単一の範囲しか設定できず、その範囲内での
ストロークオーバを検知することを目的とするものであ
った。このため、複数の加工領域毎にパレットを設け、
各パレット毎に加工を行う場合に、他の加工領域へ侵入
するストロークオーバを阻止するには、複数の加工領域
を合わせた最大加工領域内に共通の移動許容範囲を設定
するか、或いは各パレットに対する加工開始前に、各パ
レット毎の加工領域に対して移動許容範囲を設定しなお
さなければならなかった。
[Problems to be Solved by the Invention] However, in the above method, only a single range can be set as the allowable movement range of the machine, and the purpose is to detect stroke over within that range. Ta. For this reason, pallets are provided for each multiple processing area, and
To prevent stroke overs from invading other machining areas when machining each pallet, set a common movement tolerance within the maximum machining area of multiple machining areas, or set a common movement tolerance range for each pallet. Before starting machining, it was necessary to reset the allowable movement range for the machining area of each pallet.

前者の場合は、加ニブログラムの作成ミスがあっても、
最大加工領域内であればストロークオーバは検出されず
、他の加工領域へ侵入する危険性があり万全ではなかっ
た。また後者の場合のように、加工領域に対して移動許
容範囲の設定しなおしは、非常に手間が掛かり作業性に
劣るばかりでなく、設定ミスを生じやすい等の解決すべ
き課題があった。
In the former case, even if there is a mistake in creating the Canadian program,
If the stroke is within the maximum machining area, overstroke will not be detected, and there is a risk that it will invade other machining areas, so it is not completely secure. Furthermore, as in the latter case, resetting the allowable movement range for the processing area is not only very time consuming and poor in workability, but also has problems that need to be solved, such as being prone to setting errors.

本発明は、前記課題を解決するためになされたものであ
り、設定された複数の加工領域の移動許容範囲毎にコラ
ム移動指令のストロークオーバを判定してその実行を阻
止できるようにした加工機械を提供することを目的とす
るものである。
The present invention has been made in order to solve the above-mentioned problems, and is a processing machine that is capable of determining stroke over of a column movement command for each permissible movement range of a plurality of set processing areas and preventing its execution. The purpose is to provide the following.

「課題を解決するための手段」 前記目的を達成するための具体的手段は、加工具を有し
、設定された複数の加工領域内及びその加工領域間を移
動可能なコラムと、加工領域内の前進位置と加工領域外
の後退位置との間を移動可能なパレットを前記加工領域
毎にそれぞれ設けた加工機械において、各種指令を入力
する入力手段と、入力した指令を解析する演算部と、必
要な情報を記憶する記憶手段と、該記憶手段に前記複数
の加工領域毎にコラムの許容移動範囲を設定する設定手
段と、加工領域の前進位置にクランプされた加工対象パ
レットを判別する判別手段と、判別された加工対象パレ
ットの加工領域に設定した許容移動範囲内に前記コラム
の移動指令の終点が含まれるか否かを判定するストロー
クオーバ判定手段と、該判定手段によりストロークオー
バと判定された場合には、当該移動指令の実行を阻止す
る阻止手段とを設けたことを特徴とするものである。
"Means for Solving the Problem" Specific means for achieving the above purpose include a column that has a processing tool and is movable within and between a plurality of set processing areas; A processing machine in which a pallet movable between a forward position and a retracted position outside the processing area is provided in each of the processing areas, an input means for inputting various commands, a calculation unit for analyzing the input commands, A storage means for storing necessary information, a setting means for setting an allowable movement range of the column for each of the plurality of machining areas in the storage means, and a discriminating means for determining a pallet to be machined clamped at an advanced position in the machining area. and stroke over determination means for determining whether the end point of the movement command for the column is included within the permissible movement range set in the machining area of the determined pallet to be machined; The present invention is characterized in that it is provided with a blocking means for blocking the execution of the movement command when the movement command is executed.

1作用」 前記具体的手段によれば、複数の加工領域毎にコラムの
許容移動範囲が設定され、コラムの移動指令があった場
合には、その指令が複数の加工領域のうちのいずれに対
するものかを判別し、判別された加工領域に設定した移
動許容範囲内に、移動攪令の終点が含まれるかによりス
トロークオーバを判定し、ストロークオーバの場合は移
動指令の実行が阻止される。
According to the specific means, the permissible movement range of the column is set for each of the plurality of machining areas, and when there is a column movement command, the command is applied to any of the plurality of machining areas. A stroke over is determined based on whether the end point of the movement agitation command is included within the permissible movement range set for the determined machining area, and in the case of a stroke over, execution of the movement command is blocked.

「実施例」 本発明の1実施例を添付図面に基づいて説明する。"Example" An embodiment of the present invention will be described based on the accompanying drawings.

第1図は本発明の加工機械の正面図、第2図は同側面図
であって、パレット搬入・排出機構21については、後
の第3.4図により詳細に説明するため二点鎖線で示し
である。
Fig. 1 is a front view of the processing machine of the present invention, and Fig. 2 is a side view of the same, and the pallet loading/unloading mechanism 21 is indicated by a chain double-dashed line in order to explain it in more detail in Fig. 3.4 later. This is an indication.

基台lにコラムベース2が横方向(X軸方向)に摺動自
在に設けられ、そのコラムベース2上にコラム3が前後
方向(Y軸方向)に摺動自在に、さらにコラム3上に主
軸ヘッド4が上下方向くZ軸方向)に摺動自在にそれぞ
れ搭載されている。コラムベース2はX軸モータ5、コ
ラム3はY軸モータ6、主軸ヘッド4はZ軸上−タ7に
よりそれぞれ送り駆動される。主軸ヘッド4には主軸モ
ータ8により回転駆動される主軸9が設けられるととも
に、ロータリマガジンタイプの自動工具交損装置10が
搭載されている。また、前記基台1の手前側のテーブル
部12には固定テーブル13と段取りテーブル14とが
固着されている。固定テープル13の背面の取付板15
の左右には、コラムベース2のX軸方向のオーバランを
規制するための、オーバランリミットスイッチLs−X
とLs+Xが配設され、さらにZ方向で配置位置を異な
らせた二つのドグ16.17を固定する。コラムベース
2の前面の中央には、上から順に前記オーバランリミッ
トスイッチLs−XとLs+Xに対応するドグ18と、
前記ドグ16,17にそれぞれ対応するリミットスイッ
チLsRとLsLとを配設する。該リミットスイッチL
sR,LsLは、コラムベース2の後記する左右2つの
加工領域内の移動を検出するものである。
A column base 2 is provided on the base l so as to be slidable in the lateral direction (X-axis direction), and a column 3 is provided on the column base 2 so as to be slidable in the front-rear direction (Y-axis direction). A spindle head 4 is mounted so as to be slidable in the vertical direction (Z-axis direction). The column base 2 is driven by an X-axis motor 5, the column 3 by a Y-axis motor 6, and the main shaft head 4 by a Z-axis motor 7. The spindle head 4 is provided with a spindle 9 that is rotationally driven by a spindle motor 8, and is also equipped with a rotary magazine type automatic tool changing device 10. Furthermore, a fixed table 13 and a setup table 14 are fixed to the table portion 12 on the front side of the base 1. Mounting plate 15 on the back of fixed table 13
On the left and right sides of the column base 2 are overrun limit switches Ls-X for regulating overrun of the column base 2 in the X-axis direction.
and Ls+X are arranged, and two dogs 16 and 17 arranged at different positions in the Z direction are fixed. At the center of the front surface of the column base 2, there are dogs 18 corresponding to the overrun limit switches Ls-X and Ls+X in order from the top.
Limit switches LsR and LsL are provided corresponding to the dogs 16 and 17, respectively. The limit switch L
sR and LsL are used to detect movement of the column base 2 within two left and right machining areas, which will be described later.

コラムベース2の右側端部の上面には、コラム3のY軸
方向のオーバランを規制するオーバランリミットスイッ
チLs−YとLs+Yとが配設され、そのリミットスイ
ッチLs+Yの内側にリミットスイッチLsYKを配置
し、これらの各リミットスイッチLs−Y、Ls+Y及
びLsYKに対応するドグ19をコラム3の右側部に固
定する。
Overrun limit switches Ls-Y and Ls+Y for regulating overrun of the column 3 in the Y-axis direction are arranged on the upper surface of the right end of the column base 2, and a limit switch LsYK is arranged inside the limit switch Ls+Y. , a dog 19 corresponding to each of these limit switches Ls-Y, Ls+Y, and LsYK is fixed to the right side of the column 3.

前記リミットスイッチLsYKは、主軸9が固定テーブ
ル13の上面から+YY軸方向外れる位置でオンする。
The limit switch LsYK is turned on at a position where the main shaft 9 is removed from the upper surface of the fixed table 13 in the +YY axis direction.

さらに、主軸ヘッド4のZ軸方向のオーバランを規制す
るオーバランリミットスイッチLs−ZとLs+Zがコ
ラム3の右側面に配置され、そのリミットスイッチLs
+Zの下側にリミットスイッチLsZKを配置し、これ
らの各リミットスイッチLs−Z、Ls+Z及びLsZ
Kに対応するドグ20を主軸ヘッド4に固定する。この
リミットスイッチLsZKは、主軸ヘッド4の+Z軸方
向の上方退避位置でオンする。
Further, overrun limit switches Ls-Z and Ls+Z for regulating overrun of the spindle head 4 in the Z-axis direction are arranged on the right side of the column 3, and the limit switch Ls
A limit switch LsZK is arranged below +Z, and each of these limit switches Ls-Z, Ls+Z and LsZ
A dog 20 corresponding to K is fixed to the spindle head 4. This limit switch LsZK is turned on when the spindle head 4 is in an upwardly retracted position in the +Z-axis direction.

第3図は、パレット搬入・排出機f1121の平面図で
ある。
FIG. 3 is a plan view of the pallet loading/unloading machine f1121.

前記テーブル部12に固着される固定テーブル13の上
面は、加工機械の加工領域22をなすものであって、左
右二つの加工領域22L、22Rが設定される。
The upper surface of the fixed table 13 fixed to the table portion 12 forms a processing area 22 of the processing machine, and two left and right processing areas 22L and 22R are set therein.

左右の二つの加工領域22L、22Rに対しては、二つ
のパレット23L、23Rをそれぞれ加工領域内の前進
位置と加工領域外の後退位置である段取りテーブル14
との間を移動可能に設ける。
For the two left and right machining areas 22L and 22R, the two pallets 23L and 23R are moved to the setup table 14, which is in the forward position within the machining area and in the retracted position outside the machining area, respectively.
It is provided so that it can be moved between.

この移動はパレット搬入・排出機$1121により行わ
れ、該機[21の回転エアシリンダ24の一定角度内の
往復旋回により、回転エアシリンダ24に一端を固着し
、他端に取り付けたローラ25をパレット23L、23
Hの前側面に固定した案内部材26に嵌めたL形アーム
27L、27Rの押送及び牽引によって行われる。パレ
ット23L。
This movement is performed by the pallet loading/unloading machine $1121, and by reciprocating the rotating air cylinder 24 of this machine [21 within a certain angle, one end is fixed to the rotating air cylinder 24 and the roller 25 attached to the other end is moved. Pallet 23L, 23
This is carried out by pushing and pulling L-shaped arms 27L and 27R fitted into a guide member 26 fixed to the front side of H. Pallet 23L.

23Rは、前記前進及び後退位置間に敷設されたローラ
ガイド28により案内されるとともに、その上面をパレ
ット23L、23Hの下面に設けたローラ29が転がる
。パレット23L、23Rの前進位置及び後退位置への
到着は、それぞれLsL4.LsL−2及びLsR−1
,LsR−2により検出される。
23R is guided by a roller guide 28 installed between the forward and backward positions, and a roller 29 whose upper surface is provided on the lower surface of the pallets 23L and 23H rolls. The arrival of pallets 23L and 23R at the forward and backward positions is LsL4. LsL-2 and LsR-1
, LsR-2.

その他殺取りテーブル14の手前側には、左右のパレッ
ト23L、23Hに対する起動ボタン30L、30R1
非常停止ボタン31L、31R及び自動、単動モード切
換スイッチ32が配置される。
In addition, on the front side of the killing table 14, there are activation buttons 30L and 30R1 for the left and right pallets 23L and 23H.
Emergency stop buttons 31L, 31R and an automatic/single-action mode changeover switch 32 are arranged.

パレット23L、23Hに対しては、それぞれ後退位置
である段取りテーブル14で加工前のワークを載置した
り加工済のワークを取り外しなりする段取りが行われ、
前進位置では搬入された各パレットのクランプ又はアン
クランプが行われる。
For the pallets 23L and 23H, setup is performed such as placing unprocessed workpieces on the setup table 14, which is in the retreat position, and removing processed workpieces.
At the forward position, each pallet carried in is clamped or unclamped.

第4図は、パレットのクランプ及びアンクランプ状態を
示す切断位置を異ならせた拡大正面図である。
FIG. 4 is an enlarged front view showing the pallet in a clamped and unclamped state with different cutting positions.

同図において、パレット23Lはクランプ状態、パレッ
ト23Rはアンクランプ状態である。
In the figure, pallet 23L is in a clamped state, and pallet 23R is in an unclamped state.

前記左右の加工領域22L、22Rの中心位置に対応す
る固定テーブル13には、クランプ用のエアシリンダ4
1をそれぞれ固定する。エアシリンダ41のピストン4
2の上端には、クランパ43を固着する。アンクランプ
状態のクランパ43の上面位置は、前記ローラガイド2
8の上面位置と合致し、該ガイド28上を転がるパレッ
ト23L、23Rのローラ29がそのままクランパ43
上に転がり移動して、パレット23L、23Rを前進位
置に停止させる。
An air cylinder 4 for clamping is installed on the fixed table 13 corresponding to the center position of the left and right processing areas 22L and 22R.
1 is fixed respectively. Piston 4 of air cylinder 41
A clamper 43 is fixed to the upper end of 2. The upper surface position of the clamper 43 in the unclamped state is
8, and the rollers 29 of the pallets 23L and 23R rolling on the guide 28 are directly connected to the clamper 43.
It rolls upward and stops the pallets 23L and 23R at the forward position.

パレット23L、23Rの両側下面には、クランパ43
の下面に間隔lをもって臨むクランプ板44を固定し、
固定テーブル13上に配設したクランプベース45に対
応させる。クランパ43の手前側には、ドグピン46を
垂直下向に固定して、下端部に二つのドグ47.48を
固定し、ドグ47に対応してパレットのアンクランプ状
態を検出するリミットスイッチL s R−3を、ドグ
48に対応してパレットのクランプ状態を検出するリミ
ットスイッチL s R−4をそれぞれ設ける。左側の
ドグピン46.ドグ47.48及びリミットスイッチL
 s L−3、L s L−4については図示しないが
、左右同一の機構が設けられている。
Clampers 43 are installed on the lower surfaces of both sides of the pallets 23L and 23R.
A clamp plate 44 facing at a distance l is fixed to the lower surface of the
It corresponds to the clamp base 45 disposed on the fixed table 13. On the front side of the clamper 43, a dog pin 46 is fixed vertically downward, two dogs 47 and 48 are fixed at the lower end, and a limit switch Ls corresponding to the dog 47 detects the unclamped state of the pallet. A limit switch L s R-4 is provided corresponding to the dog 48 to detect the clamped state of the pallet. Left dog pin 46. Dog 47.48 and limit switch L
Although not shown in the drawings for s L-3 and L s L-4, the same mechanism is provided on the left and right sides.

その他、固定テーブル13上には、位置決めピン49を
立設し、パレット23L、23Hの下面に形成した位置
決め穴50に対応させる。前記クランプベース45に対
しては、エアブロ−装!(図示しない)により加圧エア
を噴出して、切粉、切削液等の付着を防止する。
In addition, positioning pins 49 are erected on the fixed table 13 and correspond to positioning holes 50 formed on the lower surfaces of the pallets 23L and 23H. The clamp base 45 is equipped with an air blower! (not shown) blows out pressurized air to prevent the adhesion of chips, cutting fluid, etc.

パレット23L、23Rの前進位置でのクランプ作動は
以下のように行われる。
The clamping operation of the pallets 23L and 23R in the forward position is performed as follows.

まず、エアシリンダ41のピストン42が下降すると、
クランパ43の上面に載ったパレット23L(23R)
はそのままクランパ43と共に下動し、位置決めピン4
9と位置決め穴50のはめあいにより正確に位置決めさ
れるとともに、クランプ板44がクランプベース45上
に載ると下動を停止し、前記クランパ43が間隔lだけ
さらに下動してクランプ板44の上面にクランプ圧を作
用させて強固にクランプし、同時にドグ48によりリミ
ットスイッチLsL−4(LsR−4)を作動させてピ
ストン42の下降を停止するとともに、クランプ状態を
検出する。またパレット23L(23R)のアンクラン
プは前記の逆の作動により行われ、ドグ47によりリミ
ットスイッチLsL−3(LsR−3)を作動させて、
ピストン42の上昇を停止するとともにアンクランプ状
態を検出する。
First, when the piston 42 of the air cylinder 41 descends,
Pallet 23L (23R) placed on the top surface of the clamper 43
continues to move downward together with the clamper 43, and the positioning pin 4
9 and the positioning hole 50, and when the clamp plate 44 is placed on the clamp base 45, the downward movement is stopped, and the clamper 43 is further moved downward by the distance l, and is placed on the upper surface of the clamp plate 44. Clamping pressure is applied to firmly clamp the piston 42, and at the same time, the dog 48 operates the limit switch LsL-4 (LsR-4) to stop the downward movement of the piston 42 and detect the clamped state. Further, unclamping of the pallet 23L (23R) is performed by the reverse operation as described above, and the limit switch LsL-3 (LsR-3) is operated by the dog 47,
The lifting of the piston 42 is stopped and an unclamped state is detected.

前記パレット23L、23Rの前進位置でのクランプ、
アンクランプ及び前進位置への搬入、後退位置への排出
等の各制御は、図示しない空気圧回路を構成し前記した
各リミットスイッチ等の検出信号に基づいて、回転エア
シリンダ24.24、クランプ用のエアシリンダ41.
41への空気圧回路を切換える電磁弁S OL L−1
〜5OLL−3、及び電磁弁5OLR−1〜5OLR−
3等(以上第6図のブロック図に示す)により行うもの
である。
Clamping the pallets 23L and 23R in the forward position;
Controls such as unclamping, carrying to the forward position, and discharging to the backward position are performed by a pneumatic circuit (not shown), and based on detection signals from the aforementioned limit switches, etc., the rotating air cylinders 24, 24, clamping Air cylinder 41.
Solenoid valve SOL L-1 that switches the pneumatic circuit to 41
~5OLL-3, and solenoid valves 5OLR-1~5OLR-
3, etc. (as shown in the block diagram of FIG. 6).

第5図は、本工作機械の固定テーブル13上に設定され
る加工領域22を説明した説明図である。
FIG. 5 is an explanatory diagram illustrating the machining area 22 set on the fixed table 13 of this machine tool.

前記加工領域22には、左右の加工領域22Lと22R
が設定され、各加工領域22L、22R毎にコラム3の
許容移動範囲が、x−Yの平面座標により同図図示のよ
うに設定される。各座標値xL−〜X114.YL、−
〜Y、、、ハ、加工機械の制御ハラメータとして記憶装
置等に格納される。
The processing area 22 includes left and right processing areas 22L and 22R.
is set, and the permissible movement range of the column 3 is set for each of the processing areas 22L and 22R as shown in the figure using x-y plane coordinates. Each coordinate value xL-~X114. YL, -
〜Y, , C, It is stored in a storage device etc. as a control parameter for the processing machine.

前記許容移動範囲は、加ニブログラムにおいても、或い
は制御用データとして操作ボックス等により入力して設
定することもできる。この許容移動範囲により後記する
移動指令のストロークオーバが判定される。
The permissible movement range can also be set in the cannibal program or by inputting it as control data using an operation box or the like. Based on this allowable movement range, a stroke over of a movement command, which will be described later, is determined.

設定された加工領域22L、22Rに搬入される加工バ
レット23L、23Rには、それぞれ加工原点が定めら
れ、この加工原点を基準にして加ニブログラムが作成さ
れる。
A machining origin is determined for each of the machining bullets 23L and 23R carried into the set machining areas 22L and 22R, and a cutting program is created based on this machining origin.

加工原点の一つを基準加工原点として、他の加工原点と
のオフセット量を求め、加ニブログラムにおいてそのオ
フセット量を一律に加算若しくは減算することにより、
加工原点を基準加工原点にシフトして同一加工プログラ
ムを各加工領域で22L、22Rで実行することもでき
る。
By using one of the machining origins as a reference machining origin, finding the offset amount with other machining origins, and uniformly adding or subtracting that offset amount in the machine program,
It is also possible to shift the machining origin to the reference machining origin and execute the same machining program at 22L and 22R in each machining area.

次に本加工機械の制御回路の概略を第6図のブロック図
により説明する。
Next, the outline of the control circuit of this processing machine will be explained with reference to the block diagram of FIG.

制御回路は、主に加工機械の加工動作を制御するCPU
100と、パレットの搬入・排出及び加工機械の起動・
停止等の制御を行うシーケンサ200とを中心に構成さ
れている。
The control circuit is a CPU that mainly controls the processing operations of the processing machine.
100, loading and unloading of pallets, starting processing machines,
It is mainly composed of a sequencer 200 that performs control such as stopping.

CPU100には操作ボックス101を接続する。操作
ボックス101はCRTデイスプレィ102と各種デー
タを入力する操作スイッチ103からなる。またリレー
制御回路104が接続され、CPU100からのリレー
信号を受けて、マグネットリレーMCX、MCY、MC
Z及びMC8が作動し、X、Y、Z及び主軸モータのド
ライバ105〜108の電源がオンする。ドライバ10
5〜108に対しては、cpuiooから加ニブログラ
ムに従って移動指令信号が出力され、X軸モータ5.Y
軸モータ6、Z軸上−タ7及び主軸モータ8が回転制御
される。ざらにCPU100には、各種加ニブログラム
及び各種加工データ等が格納されたRAM109と、C
PU 100の制御プログラムが格納されたROMll
0とが接続される。
An operation box 101 is connected to the CPU 100. The operation box 101 includes a CRT display 102 and operation switches 103 for inputting various data. In addition, a relay control circuit 104 is connected and receives a relay signal from the CPU 100 to control magnet relays MCX, MCY, MC.
Z and MC8 operate, and the X, Y, Z and main shaft motor drivers 105 to 108 are powered on. driver 10
For the X-axis motors 5 to 108, a movement command signal is output from cpuioo according to the Kani program, and the X-axis motors 5. Y
The rotation of the shaft motor 6, the Z-axis upper motor 7, and the main shaft motor 8 is controlled. The CPU 100 includes a RAM 109 in which various programs and processing data are stored, and a C.
ROMll in which the control program of PU 100 is stored
0 is connected.

前記コラムベース2のX軸方向、コラム3のY軸方向及
び主軸ヘッド4の2軸方向のオーバランをそれぞれ規制
するオーバランリミットスイッチLs−X、Ls+X、
Ls−Y、Ls+Y、Ls−Z、Ls+Zを介挿したオ
ーバラン規制信号回路111と、該回路111に結線し
た非常停止信号回路112とがCPU100に結線され
る。
overrun limit switches Ls-X, Ls+X, which respectively restrict overruns in the X-axis direction of the column base 2, the Y-axis direction of the column 3, and the two-axis directions of the spindle head 4;
An overrun regulation signal circuit 111 in which Ls-Y, Ls+Y, Ls-Z, and Ls+Z are interposed, and an emergency stop signal circuit 112 connected to the circuit 111 are connected to the CPU 100.

非常停止信号回路112は・、コラムベース2の前記加
工領域内22L、22Rの移動を検出するリミットスイ
ッチLsLとLsRを直列に介挿したリミットスイッチ
回路113間に、二つのリレー接点回路114.115
を設け、中央でたすき掛は状に交差して、その両端をリ
ミットスイッチLsLとLsRの切換接点とするととも
に、前記リミットスイッチ回路113に左右の加工領域
22L、22Rに対する手動停止ボタン31L。
The emergency stop signal circuit 112 includes two relay contact circuits 114 and 115 between a limit switch circuit 113 in which limit switches LsL and LsR are inserted in series to detect movement of the column base 2 in the processing area 22L and 22R.
are provided, cross in the center in the shape of a cross, and both ends thereof serve as switching contacts for the limit switches LsL and LsR, and the limit switch circuit 113 is provided with a manual stop button 31L for the left and right machining areas 22L, 22R.

31Rを直列に介挿したものである。リレー接点回路1
14は、シーケンサ200からCPU 100に出力さ
れる左パレット信号(以下Lin信号という)により作
動するリレーCRL inにより接点を閉じるリレー接
点と、右パレット信号(以下Rin信号という)で作動
するリレーCRRinにより接点を開くリレー接点とを
直列に介挿してなる。
31R is inserted in series. Relay contact circuit 1
14 is a relay contact whose contact is closed by a relay CRL in which is activated by a left pallet signal (hereinafter referred to as a Lin signal) output from the sequencer 200 to the CPU 100, and a relay CRRin which is activated by a right pallet signal (hereinafter referred to as a Rin signal). A relay contact that opens the contact is inserted in series.

またリレー接点回路115は、同様にRin信号で作動
するリレーCRRinにより接点を閏じるリレー接点と
、Lin信号で作動するリレーCRLinにより接点を
開くリレー接点とを直列に介挿してなる。Rin信号、
Lin信号については後述する。
Further, the relay contact circuit 115 is formed by interposing in series a relay contact whose contact is opened by a relay CRRin which is similarly operated by a Rin signal, and a relay contact whose contact is opened by a relay CRLin which is operated by a Lin signal. Rin signal,
The Lin signal will be described later.

非常停止信号回路112には、前記リミットスイッチL
sYKとLsZKとを直列に介挿した加工領域間移動可
能信号回路116を並列に結線する。該回路116によ
り、リミットスイッチLsYK、LsZKがオンしてい
る場合、即ちコラム3が手前側から奥側の+YY軸方向
移動して主軸9が固定テーブル13の上面から外れ、主
軸ヘッド4が+2軸方向の上方退避位置にあって、加工
領域間移動可能位置にあるときは、非常停止信号回路1
12が作動しても、或いはコラムベース2がリミットス
イッチLsL、及びLsRを同時にオンしない中央位置
にあるときでも、加工領域22L、22R間を移動でき
るようにしたものである。
The emergency stop signal circuit 112 includes the limit switch L.
Inter-processing area movable signal circuits 116 in which sYK and LsZK are inserted in series are connected in parallel. When the limit switches LsYK and LsZK are turned on by the circuit 116, that is, the column 3 moves in the +YY axis direction from the front side to the back side, the spindle 9 comes off the top surface of the fixed table 13, and the spindle head 4 moves to the +2 axis. When it is in the upward retracted position in the direction and is in the position where it can move between processing areas, the emergency stop signal circuit 1
12 is activated, or even when the column base 2 is in the central position where the limit switches LsL and LsR are not turned on at the same time, it is possible to move between the processing areas 22L and 22R.

前記非常停止信号回路112は、コラムベース2の左右
いずれかの加工領域内への移動により、リミットスイッ
チLsLとLsRのいずれか一方がオンされて接点を切
換えるから、常にリレー接点回路114.115の一方
が結線されインターロックされる。
The emergency stop signal circuit 112 always switches the relay contact circuits 114 and 115 because one of the limit switches LsL and LsR is turned on and switches the contact when the column base 2 is moved into either the left or right machining area. One side is wired and interlocked.

非常停止信号回路112は、(1)加工中の加工領域か
ら他の加工領域へ移動しようとして、前記リミットスイ
ッチLsL又はLsRがオフして、コラムベース2の加
工領域内移動検出信号が検出されない時、(2)シーケ
ンサ200が誤動作して同時にRin信号とLin信号
が出力された時、(3)リミットスイッチLsL又はL
sRが断線や位置ずれ又は故障等でオフした場合、又は
手動停止ボタン31L、31Rを押した時に作動して、
非常停止信号をCPU100へ出力し、CPU100は
リレー制御回路104へのリレー信号をオフして、マグ
ネッ)!JレーMCX、MCY、MCZ及びMC3を非
作動とし、X、Y、Z及び主軸モータのドライバ105
〜108の電源をオフするとともに、ダイナミックブレ
ーキを作用させて、前記各軸のモータを停止させる。
The emergency stop signal circuit 112 detects when (1) the limit switch LsL or LsR is turned off and the movement detection signal of the column base 2 within the processing area is not detected when attempting to move from the processing area currently being processed to another processing area; , (2) When the sequencer 200 malfunctions and the Rin signal and Lin signal are output at the same time, (3) The limit switch LsL or L
Activates when sR is turned off due to disconnection, misalignment, failure, etc., or when manual stop button 31L, 31R is pressed.
An emergency stop signal is output to the CPU 100, the CPU 100 turns off the relay signal to the relay control circuit 104, and the magnet)! J Ray MCX, MCY, MCZ and MC3 are inactive, and the X, Y, Z and main shaft motor drivers 105
- 108 is turned off, and the dynamic brake is applied to stop the motors of each axis.

各加工領域22L、22Rに対するパレット23L、2
3Rの搬入・排出を制御するシーケンサ200には、手
動ボタン回路201及びリミットスイッチ回路202が
接続される。
Pallets 23L and 2 for each processing area 22L and 22R
A manual button circuit 201 and a limit switch circuit 202 are connected to a sequencer 200 that controls the loading and unloading of 3R.

手動ボタン回路201は、左右のパレット23L、23
Rに対する自動・単動モード切換スイッチ32を介挿し
たモード切換回路と、それぞれ左起動ボタン30L、右
起動ボタン30Rを介挿した起動回路とからなる。
The manual button circuit 201 connects the left and right pallets 23L, 23
It consists of a mode switching circuit in which an automatic/single action mode changeover switch 32 for R is inserted, and a starting circuit in which a left starting button 30L and a right starting button 30R are inserted, respectively.

リミットスイッチ回路202は、左右のパレッ)23L
、23Hの各加工領域22L、22Rの前進位置への搬
入、前進位置でのクランプ、アンクランプ及び前進位置
からの排出を検出する前記リミットスイッチLsL−1
〜LsL−4とLsR−1〜LsR−4とをそれぞれ介
挿した検出回路とからなる。
The limit switch circuit 202 is connected to the left and right pallets) 23L.
, 23H, the limit switch LsL-1 detects the carrying into the forward position of each processing area 22L, 22R, clamping at the forward position, unclamping, and discharge from the forward position.
~LsL-4 and a detection circuit in which LsR-1 to LsR-4 are inserted, respectively.

また、パレット23L、23Hの搬入・排出を行う回転
エアシリンダ24と、各パレット23L。
Also, a rotating air cylinder 24 for carrying in and discharging pallets 23L and 23H, and each pallet 23L.

23Rの前進位置でのクランプ、アンクランプを行うエ
アシリンダ41を制御する空気圧回路(図示せず)を切
換える電磁弁5OLL−1〜5OLL−3と5OLR−
1〜S OL R−3とをそれぞれ介挿した電磁弁駆動
回路203を接続するとともに、Rin信号及びLin
信号で作動するリレーCRRinとCRL inとをそ
れぞれ介挿したリレー回路204を接続する。
Solenoid valves 5OLL-1 to 5OLL-3 and 5OLR- for switching the pneumatic circuit (not shown) that controls the air cylinder 41 that clamps and unclamps the 23R at the forward position.
1 to SOL R-3 are connected to the solenoid valve drive circuit 203, and the Rin signal and Lin
Relay circuits 204 each having signal-operated relays CRRin and CRL in inserted therein are connected.

前記CPU100とシーケンサ200との間には、Li
n信号、Rin信号、スタート信号、ストップ信号及び
各種制御信号をやりとりする信号回路205が設けられ
る。CPU100は入出力インターフェイス100aを
有し、その入出力端子により、前記各信号の入出力状態
をCPU100が確認できるようになっている。特にL
in信号とRin信号については入力端子t、nが設定
される。
There is a Li between the CPU 100 and the sequencer 200.
A signal circuit 205 is provided for exchanging an n signal, a Rin signal, a start signal, a stop signal, and various control signals. The CPU 100 has an input/output interface 100a, and its input/output terminals allow the CPU 100 to check the input/output status of each of the signals. Especially L
Input terminals t and n are set for the in signal and the Rin signal.

入力端子1.I[については、外部入力手段である操作
ボックス101から、加ニブログラム毎に設定したプロ
グラム番号を対応付けることができる。また、それらの
加ニブログラム及びプログラム番号は前記RAMに格納
されているから、入力端子!、■のオン状態をCPU1
00が判断することにより゛、該当番号の加ニブログラ
ムをRAMから呼出すことができる。前記については後
に詳述する。
Input terminal 1. Regarding I[, a program number set for each Canadian program can be associated with the operation box 101, which is an external input means. In addition, since those programs and program numbers are stored in the RAM, input terminals! ,■ on state of CPU1
00 makes the decision, the program with the corresponding number can be called from the RAM. The above will be explained in detail later.

続いて、前記Lin信号及びRin信号について説明す
る。
Next, the Lin signal and Rin signal will be explained.

Lin信号及びRin信号は、各加工領域22L。The Lin signal and the Rin signal are applied to each processing area 22L.

22Rに搬入されクランプされたパレット23L。Pallet 23L was carried into 22R and clamped.

23Hの位置信号として出力されるものであり、実質的
には加工対象パレットを判別するものである。各パレッ
ト23L、23Hの搬入・・排出はそれぞれ独立に制御
される。従って、一方の加工領域内に搬入されクランプ
されたパレットが加工中にも、他方の加工領域内にパレ
ットが搬入されてクランプされ、しかも起動ボタンが操
作される場合があるが、位置信号としては加工中のパレ
ットの位置信号、例えばパレット23Lが加工中であれ
ばLin信号を優先させ、パレット23Lの加工が終了
して、コラム3及び主軸ヘッド4がそれぞれリミットス
イッチLsYK・とLsZKをオンする加工領域間移動
可能位置に移動した時、前記Lin信号をオフし続いて
パレット23Hの位置信号Rin信号をオンするように
、ソフト的に処理される。即ち左右のパレット23L、
23Hの位置信号Lin及びRin信号が同時にオンと
なって出力されることはない、同時に出力される場合は
、前記非常停止信号回路112が作動したり、エラー処
理がなされる。
This is output as a position signal of 23H, and is essentially used to determine the pallet to be processed. The loading and unloading of each pallet 23L, 23H is controlled independently. Therefore, even when a pallet that has been carried into one processing area and is clamped is being processed, a pallet may be carried into the other processing area and clamped, and the start button may be operated, but the position signal is The position signal of the pallet being processed, for example, if the pallet 23L is being processed, the Lin signal is prioritized, and when the processing of the pallet 23L is completed, the column 3 and spindle head 4 turn on the limit switches LsYK and LsZK, respectively. When moving to a position where inter-area movement is possible, software processing is performed to turn off the Lin signal and then turn on the position signal Rin of the pallet 23H. That is, the left and right pallets 23L,
The position signals Lin and Rin of 23H are never turned on and output at the same time. If they are output at the same time, the emergency stop signal circuit 112 is activated or error processing is performed.

以下パレットの搬入・排出処理について第7図のフロー
チャートに従い説明する。
The pallet loading/unloading process will be described below with reference to the flowchart shown in FIG.

左右のパレット23L、23Hの動作は、同一であるの
で左側パレット23Lについて説明し、右側パレット2
3゛Rについては、異なる部分についてのみ説明する。
The operations of the left and right pallets 23L and 23H are the same, so we will explain the left pallet 23L, and the right pallet 2.
Regarding 3゛R, only the different parts will be explained.

まず、ステップ5100(以下ステップを省略する)で
左起動ボタン30Lがオンか否かを判断し、オンであれ
ばYESで5101でRin信号がオフかどうかを判断
する。オフであればYESで8102へ進み自動モード
であるか否かを判断する。5101でRin信号がオン
であればNOで8103でリミットスイッチLsYK及
びLsZKがオンであって、コラム3及び主軸ヘッド4
が加工領域間移動可能位置に位置するかどうかを判断す
る。5103でNOであれば5104へ進み作業者に対
してアラーム表示を行ってリターンする。
First, in step 5100 (hereinafter steps will be omitted), it is determined whether the left activation button 30L is on, and if it is on, YES, and in 5101 it is determined whether the Rin signal is off. If it is off, the answer is YES and the process advances to 8102, where it is determined whether the mode is automatic mode. If the Rin signal is on in 5101, NO and limit switches LsYK and LsZK are on in 8103, and the column 3 and spindle head 4
Determine whether or not it is located at a position where movement between processing areas is possible. If NO in 5103, the process advances to 5104, displays an alarm to the operator, and returns.

YESであれば5105でLin信号がオフかどうかを
判断し、オフであればYESで前記5102へ戻る。ま
た、Lin信号がオンであればNoで8106へ進み、
加工領域22Lで加工可能であるため自動モードである
かどうかを判断する。自動モードであればYESで81
23へ進み工作機械を起動する。NOであれば前記51
02へ戻る。
If YES, it is determined in 5105 whether the Lin signal is off, and if it is OFF, the process returns to 5102 if YES. Also, if the Lin signal is on, go to 8106 with No,
Since machining is possible in the machining area 22L, it is determined whether the automatic mode is selected. If it is automatic mode, YES is 81.
Proceed to step 23 and start the machine tool. If NO, 51 above
Return to 02.

5102で自動モードでない場合は、5107で単動動
作のサブルーチンをコールして、左側パレット23Lに
ついて単動動作を行う、単動動作は、パレットの搬入か
ら排出までの一連の動作を各個に行うものであるので、
その詳細な説明は省略する。
If it is not the automatic mode in 5102, the subroutine for single action operation is called in 5107, and single action operation is performed for the left pallet 23L.In single action operation, a series of operations from loading to unloading of pallets is performed individually. So,
A detailed explanation thereof will be omitted.

5102で自動モードであれば、YESで8108へ進
んでパレット23Lが加工領域22Lに搬入されクラン
プされているかどうかを判断し、Noであれば続いて5
109でパレット23Lが排出位置(段取りテーブル1
4上)にあるか否かを判断し、NOであれば加工すべき
パレットが存在しないので8104に戻り1作業者番二
対してアラーム表示を行う、加工すべきパレット23L
が排出位置にあればYESで、5110へ進んでパレッ
1−23 Lを搬入し、S↓11〜5113で搬入完了
を判断してクランプし、クランプ完了を確認して512
0へ進む。
If it is automatic mode in 5102, proceed to 8108 with YES and judge whether the pallet 23L is carried into the processing area 22L and clamped.If No, proceed to 5108.
At 109, the pallet 23L is moved to the ejection position (setup table 1
4 above), and if NO, there is no pallet to be processed, so the process returns to 8104 and an alarm is displayed for worker No. 1 and 2. Pallet 23L to be processed
If it is in the discharge position, YES, proceed to 5110 and carry in pallet 1-23 L, judge the completion of carrying in S↓11 to 5113 and clamp it, confirm the completion of clamping and proceed to 512
Go to 0.

前記5108でパレット23Lが搬入されクランプされ
ていれば、YES″cS114へ進みイニシャル排出メ
モリがオフかどうかを判断する。
If the pallet 23L has been carried in and clamped in step 5108, the process advances to YES''cS114 and it is determined whether the initial discharge memory is off.

イニシャル排出メモリは、加工機械に電源が投入されて
マシンシステムが立上がった時、パレットが加工領域内
に搬入されている状態でオフとなり、自動又は手動にか
かわらず、−亘設取りテーブル14上に排出された場合
はオンとなる。これは、電源投入時のマシンシステム立
上がりに搬入されているパレットに対しては、そのまま
加工開始するのではなく、パレットを強制的に排出して
ワークの点検を行うためのものである。
The initial discharge memory is turned off when the power is turned on to the processing machine and the machine system is started up, while the pallet is being carried into the processing area. It is turned on if it is discharged. This is for the purpose of forcibly ejecting the pallet and inspecting the workpiece, rather than starting machining on the pallet that has been carried in when the machine system starts up when the power is turned on.

前記5114でイニシャル排出メモリがオフであれば、
YESで3115〜’S 118でクランプ状態のパレ
ット23Lをアンクランプし、アンクランプ完了後排出
し、排出完了を確認して5l19へ進みイニシャル排出
メモリをオンしてリターンする。
If the initial discharge memory is off in 5114,
If YES, the pallet 23L in the clamped state is unclamped in 3115-'S 118, and after unclamping is completed, it is ejected. After confirming the completion of ejection, the process proceeds to 5119, turns on the initial ejection memory, and returns.

5120では、Rin信号がオンかどうかを判断し、オ
ンであればYESでS’121へ進んで、加工機械が一
時停止状態であるかを判断する。5121でNoであれ
ばRin信号を優先し、加工領域22Rでの加工が終了
して、Rin信号がオフになるまで待機する。5121
でYESであればリターンするが、Rin信号がオフに
なるまでの待機中に、加工を一時停止した後再起動を行
った場合、Rin信号がオフした時点で不用意にパレッ
ト23Lの起動が入らないように、リターンして左起動
ボタン30Lの操作がなされてから、起動するようにし
たものである。
In 5120, it is determined whether the Rin signal is on, and if it is on, the process proceeds to S'121 with YES, and it is determined whether the processing machine is in a temporary stop state. If No in 5121, priority is given to the Rin signal, and the process waits until the processing in the processing area 22R is completed and the Rin signal is turned off. 5121
If YES, the process returns, but if machining is temporarily stopped and then restarted while waiting for the Rin signal to turn off, the pallet 23L may be inadvertently activated when the Rin signal turns off. To prevent this, the device is configured to start after returning and operating the left start button 30L.

5120でRin信号のオフが確認されると、5122
でLin信号をオンした後、5123で加工機械を起動
し5124で運転完了かどうかを判断する。完了でない
場合は5125で自動モードであるか否かを判断し、N
oであれば単動モードであるためリターンして、左起動
ボタン30Lの操作を待つ、またYESであれば運転完
了を待って、5126へ進みLin信号をオフして、5
115へ進んで加工済となったパレット22Lの排出処
理を行う。
When it is confirmed in 5120 that the Rin signal is off, 5122
After turning on the Lin signal in 5123, the processing machine is started, and in 5124 it is determined whether the operation is complete. If it is not completed, determine whether it is in automatic mode at 5125, and
If o, it is single action mode, so return and wait for operation of the left start button 30L, and if YES, wait for operation completion, proceed to 5126, turn off the Lin signal, and turn off the Lin signal.
Proceeding to 115, the processed pallet 22L is discharged.

右側パレット22Hの搬入・排出処理については、前記
フローチャートのステップ番号5100の左起動ボタン
30Lを右起動ボタン30Rとすること、5LOL、5
120のRin信号をLin信号とすること、5105
,5122及び5126のLin信号をRin信号とす
るフローチャートにより搬入・排出処理がなされる。
Regarding the loading/unloading process of the right pallet 22H, the left start button 30L of step number 5100 in the flowchart is changed to the right start button 30R, 5LOL, 5
120 Rin signal to Lin signal, 5105
, 5122 and 5126 as the Rin signal.

前記したフローチャートのステップ中のバレッ)23L
、23Hの排出位置への排出完了、及び加工領域22L
、22Rへの搬入完了、クランプ。
Barret) 23L in step of the above flowchart
, the discharge to the discharge position of 23H is completed, and the processing area 22L
, Completed transport to 22R, clamped.

アンクランプの検出は、リミットスイッチLsL−1〜
4及びL s R−1〜4のオン・オフにより行われる
Detection of unclamping is performed by limit switch LsL-1~
4 and Ls R-1 to 4 are turned on and off.

続いて、本加工機械の運転実行処理について、第8〜1
1図のフローチャートに基づいて説明する。
Next, regarding the operation execution process of this processing machine, Sections 8 to 1
This will be explained based on the flowchart shown in FIG.

第8図は運転実行処理の全体の流れを示すメインルーチ
ンの概略のフローチャートである。
FIG. 8 is a schematic flowchart of the main routine showing the overall flow of the driving execution process.

まず、5200で加工機械の起動を確認し、5201へ
進んで加ニブログラムの切換処理がなされる。続いて5
202で運転命令の1ブロツクを読込み、8203で座
標系設定指令であれば、5204へ進んで座標系シフト
処理を行い、5205で軸移動指令であれば8206で
軸移動処理を行う、続いて5207で設定された加ニブ
ログラム、各種データ及びシーケンサからの各種制御信
号等に基づいて運転を実行し、5208でプログラムエ
ンドでなければ、前記8202以下のルーチンを実行し
、プログラムエンドを確認してリターンする。
First, in step 5200, startup of the processing machine is confirmed, and the process proceeds to step 5201, where processing for switching the cannibal program is performed. followed by 5
202 reads one block of operation commands, and if 8203 is a coordinate system setting command, the process advances to 5204 to perform coordinate system shift processing, and if 5205 is an axis movement command, 8206 performs axis movement processing, followed by 5207 The operation is executed based on the cannibal program set in , various data, various control signals from the sequencer, etc., and if it is not the program end at 5208, the routine from 8202 onwards is executed, confirms the program end, and returns. .

前記5201の加ニブログラムの切換処理、5204の
座標系シフト処理及び8206の軸移動処理のサブルー
チンについては後述する。
The subroutines 5201, 5201, coordinate system shift processing, and 8206, axis movement processing will be described later.

第9図は加ニブログラムの切換処理ルーチンのフローチ
ャートである。
FIG. 9 is a flowchart of the switching processing routine for the Canadian program.

5300でシーケンサ200から出力されるLin信号
が入力される入出力インターフェイス100aの入力端
子IがオンかどうかをCPU100が判断する。オンな
らば5301で、外部入力手段である操作ボックス10
3により入力端子夏に対応付けられた加ニブログラム番
号をRAM 109より調べる。5300でNOならば
5302へ進み、Rin信号が入力される入力端子■が
オンかどうかをCPU100が判断し、オンならば83
03へ進んで前記と同様に入力端子■に対応付けられた
加ニブログラム番号をRAM 109より調べる。53
00及び5302で何れもNoの場合はそのままリター
ンする。続いて5304では、CPU100が調べた加
ニブログラム番号の加ニブログラムをRAM 109よ
り呼出し前記メインルーチンへリターンする。
At 5300, the CPU 100 determines whether the input terminal I of the input/output interface 100a to which the Lin signal output from the sequencer 200 is input is on. If it is on, it is 5301, and the operation box 10 is an external input means.
3, the Canadian program number associated with the input terminal Natsu is checked from the RAM 109. If NO in 5300, the process proceeds to 5302, where the CPU 100 determines whether the input terminal ■ to which the Rin signal is input is on, and if it is on, the process proceeds to 5302.
The program proceeds to step 03, and the program number associated with the input terminal (3) is checked from the RAM 109 in the same manner as described above. 53
If both 00 and 5302 are No, the process returns directly. Subsequently, in step 5304, the CPU 100 reads the Canadian program having the Canadian program number found from the RAM 109 and returns to the main routine.

以上により、外部入力手段である操作ボックス101か
らCPU100の入出力インターフェイス100aのL
in信号及びRin信号の入力端子■。
As described above, L of the input/output interface 100a of the CPU 100 is input from the operation box 101 which is an external input means.
Input terminal for in signal and Rin signal ■.

■に対して、所定の加ニブログラム番号を対応付けるこ
とにより、加ニブログラムの指定、変更を容易に行うこ
とができる。
By associating a predetermined Canadian program number with (2), the Canadian program can be easily specified and changed.

第10図は座標系シフト処理ルーチンのフローチャート
である。
FIG. 10 is a flowchart of the coordinate system shift processing routine.

5400でシーケンサ200から出力されるLin信号
が入力される入出力インターフェイス1゜Oaの入力端
子IがオンかどうかをCPU100が判断する。オンで
あれば5401へ進み、Lin信号に基づく加工対象パ
レット23Lの加工原点が、指定された加ニブログラム
作成の基準となった加工基準点であるかどうかを判断し
、YESであればそのままメインルーチンへリターンし
、NOであれば5402で予め設定された基準加工原点
と加工原点とのオフセット量をRAM 109より呼出
し、5403へ進んで指定された加ニブログラムに対し
て、−律に加算若しくは減算して、加工対象パレットの
加工原点を基準加工原点ヘシフトして当該前ニブログラ
ムで加工できるようにし、メインルーチンへリターンす
る。前記5400でNOの場合は、5404でRin信
号が入力される入力端子■がオンかどうかを判断し、オ
ンであればRin信号に基づく加工対象パレット23R
に対して、前記5401〜5403と同様の処理を54
05〜5407で行う、また5400及び5404で共
にNoと判断された場合は、8408でアラーム表示等
を行って作業者に知らせる。
At 5400, the CPU 100 determines whether the input terminal I of the input/output interface 1°Oa to which the Lin signal output from the sequencer 200 is input is on. If it is on, the process proceeds to 5401, and it is determined whether the machining origin of the machining target pallet 23L based on the Lin signal is the machining reference point that became the reference for creating the specified cannibal program, and if YES, the main routine continues. If NO, the offset amount between the reference machining origin and the machining origin set in advance is read from the RAM 109 in 5402, and the process advances to 5403 to add or subtract it to the specified addition program. Then, the machining origin of the pallet to be machined is shifted to the reference machining origin so that the previous nib program can be machined, and the process returns to the main routine. If NO in 5400, it is determined in 5404 whether the input terminal ■ to which the Rin signal is input is on, and if it is on, the pallet to be processed 23R is processed based on the Rin signal.
54, perform the same processing as 5401 to 5403 above.
This is done in steps 05 to 5407, and if it is determined No in both steps 5400 and 5404, an alarm is displayed or the like in step 8408 to notify the operator.

前記した座標系シフト処理は、左右の加工領域22L、
22Rに搬入されクランプされるパレット23L、23
Rに載置するワークに対して同一形状の加工を、一つの
加ニブログラムにより行うもので、通常は各加工原点の
Y軸方向の座標は一致させ、X軸方向のみのオフセット
量を加算若しくは減算して加工原点シフトを行う、X、
Y輪画方向にオフセット量が存在するときは、各軸毎に
オフセット量を算出して加算・減算を行えばよい。
The coordinate system shift processing described above is performed on the left and right processing areas 22L,
Pallets 23L and 23 are carried into 22R and clamped.
Machining of the same shape is performed on the workpiece placed on R using one machine program. Usually, the coordinates of each machining origin in the Y-axis direction are the same, and the offset amount in the X-axis direction is added or subtracted. to shift the machining origin,
When an offset amount exists in the Y rotation direction, it is sufficient to calculate the offset amount for each axis and perform addition/subtraction.

第11図は軸移動処理ルーチンのフローチャートである
FIG. 11 is a flowchart of the axis movement processing routine.

5500で主軸ヘッド4を搭載したコラム3の移動指令
が入力されると、5501でその移動指令の終点位置を
計算する。続いて5502でシーケンサ200から出力
されるLin信号が入力される入出力インターフェイス
100aの入力端子!がオンかどうかをCPU100が
判断し、オンならばYESで8503に進み、Lin信
号に基づく加工対象パレット23Lがクランプされた加
工領域22Lに予め設定したコラム3の許容移動範囲内
に、前記算出した移動指令の終点位置が含まれるかどう
かを判断し、含まれればストロークオーバフラグをオフ
しく5504)、含まれなければストロークオーバと判
定して、5505でストロークオーバフラグをオンする
。前記5502でNOの場合は、5506でRin信号
が入力される入力端子■がオンかどうかを判断し、オン
であればRin信号に基づく加工対象パレット23Rが
クランプされた加工領域22Rについて、前記5503
〜5505と同様の処理を5507〜5509で行う、
またLin信号、Rin信号が共にオンでない時は、左
右の加工領域22L、22Rのいずれにもパレットが存
在しない場合であるので、5510で加工領域の全領域
に前記移動指令の終点が含まれるか否かを判断し、含ま
れればストロークオーバフラグをオフしく5511)、
含まれなければ該フラグをオンする(S512)、以上
の各ストロークオーバフラグの処理終了後はそれぞれ5
513へ進み、ストロークオーバフラグがオンであれば
5514で、アラーム表示とともに移動指令の実行を阻
止し、オフであれば5515で移動指令の実行を許可し
てメインルーチンへリターンする。
When a movement command for the column 3 on which the spindle head 4 is mounted is input in 5500, the end point position of the movement command is calculated in 5501. Next, at 5502, the input terminal of the input/output interface 100a is inputted with the Lin signal output from the sequencer 200! The CPU 100 determines whether or not is on, and if it is on, the process proceeds to 8503 with YES, and the processing target pallet 23L based on the Lin signal is moved within the permissible movement range of the column 3 set in advance in the clamped processing area 22L. It is determined whether the end point position of the movement command is included, and if it is included, the stroke over flag is turned off (5504); if it is not included, it is determined that the stroke is over, and the stroke over flag is turned on (5505). If NO in step 5502, it is determined in step 5506 whether the input terminal ■ to which the Rin signal is input is on, and if it is on, the processing area 22R to which the pallet to be processed 23R is clamped based on the Rin signal is determined in step 5503.
- Perform the same processing as in 5505 in 5507 to 5509,
Furthermore, when both the Lin signal and the Rin signal are not on, it means that there is no pallet in either the left or right machining areas 22L, 22R, so in 5510 whether the end point of the movement command is included in the entire machining area? If it is included, turn off the stroke over flag 5511),
If the flag is not included, the flag is turned on (S512). After the processing of each stroke over flag is completed, 5
The process advances to step 513, and if the stroke over flag is on, an alarm is displayed and execution of the movement command is blocked in step 5514, and if it is off, execution of the movement command is permitted in step 5515, and the process returns to the main routine.

前記においてLin信号及びRin信号が共にオンとな
る場合については、前記した非常停止信号回路111が
作動して非常停止する。
In the case where both the Lin signal and the Rin signal are turned on, the emergency stop signal circuit 111 described above operates to perform an emergency stop.

本発明の実施例は前記したように、左右の二つの加工領
域を有し、各加工領域毎にそれぞれパレットを設けた態
様で説明したが、三個以上の加工領域を有する加工機に
も適用可能である。
As mentioned above, the embodiment of the present invention has been described as having two machining areas, left and right, and a pallet is provided for each machining area, but it can also be applied to a processing machine having three or more machining areas. It is possible.

さらに、加工具としてミシン針を用い、作業領域を複数
有する工業ミシン等にも適用することが可能である。
Furthermore, it is also possible to apply the present invention to an industrial sewing machine or the like that uses a sewing machine needle as a processing tool and has a plurality of work areas.

「発明の効果J 本発明は、前記具体的手段及び作用の説明で明らかにし
たように、複数の加工領域毎にコラムの許容移動範囲が
設定され、コラムの移動指令があった場合には、加工対
象パレットを判別し、判別された加工対象パレットの加
工領域に設定した移動許容範囲内に、移動指令の終点が
含まれるか否かによりストロークオーバを判定し、スト
ロークオーバの場合は移動指令の実行が阻止されるから
、複数の加工領域を有し加工領域毎にパレットを設けた
加工機械における作業中の加工領域から他の加工領域へ
移動するストロークオーバを、簡単かつ的確に防ぐこと
ができる効果がある。
"Effects of the Invention J As clarified in the description of the above-mentioned specific means and effects, in the present invention, the permissible movement range of the column is set for each of a plurality of machining areas, and when there is a command to move the column, The pallet to be machined is identified, and a stroke over is determined based on whether or not the end point of the movement command is included within the movement tolerance set in the machining area of the identified pallet to be processed. In the case of a stroke over, the movement command is Since the execution is blocked, it is possible to easily and accurately prevent stroke overs caused by moving from one machining area to another in a processing machine that has multiple machining areas and has a pallet for each machining area. effective.

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

添付図面は本発明の実施例を例示し、第1図はパレット
搬入・排出機構21を省略した加工機の正面図、第2図
は同側面図、第3図はパレット搬入・排出機構21の平
面図、第4図は第3図へ−A線で切断した一部切欠拡大
正面図、第5図は固定テーブル13上に設定される加工
領域22を説明した説明図、第6図は制御回路の概略を
示すブロック図、第7図はパレットの搬入・排出処理を
示すフローチャート、第8図は運転実行処理の全体の流
れを示すメインルーチンの概略のフローチャート、第9
図は加ニブログラムの切換処理ルーチンを示すフローチ
ャート、第10図は座標系シフト処理ルーチンを示すフ
ローチャート、第11図は軸移動処理ルーチンを示すフ
ローチャートである。 311.コラム、 490.主軸ヘッド、  21 、
、。 パレット搬入・排出機構、 22,22L、22R01
,加工領域、 23L、23R,、、パレット、100
 、、、CP U、  100a、、、入出力インター
フェイス、 101 、、、操作ボックス、 109゜
。 、RAM、  110.、、ROM、  111 、、
、非常停止信号回路、 200 、、、シーケンサ、 
 ■。 ■09.入力端子。 第 図
The accompanying drawings illustrate embodiments of the present invention; FIG. 1 is a front view of the processing machine with the pallet loading/unloading mechanism 21 omitted, FIG. 2 is a side view of the same, and FIG. 3 is a view of the pallet loading/unloading mechanism 21. A plan view, FIG. 4 is a partially cutaway enlarged front view taken along line A in FIG. 3, FIG. FIG. 7 is a flowchart showing the pallet loading/unloading process; FIG. 8 is a schematic flowchart of the main routine showing the overall flow of the operation execution process; FIG. 9 is a block diagram showing the outline of the circuit;
10 is a flowchart showing a coordinate system shift processing routine, and FIG. 11 is a flowchart showing an axis movement processing routine. 311. Column, 490. Spindle head, 21,
,. Pallet loading/unloading mechanism, 22, 22L, 22R01
, Processing area, 23L, 23R, , Pallet, 100
, ,CPU, 100a, ,input/output interface, 101, ,operation box, 109°. , RAM, 110. ,,ROM, 111,,
, emergency stop signal circuit, 200 , , sequencer,
■. ■09. Input terminal. Diagram

Claims (1)

【特許請求の範囲】 加工具を有し、設定された複数の加工領域内及びその加
工領域間を移動可能なコラムと、加工領域内の前進位置
と加工領域外の後退位置との間を移動可能なパレットを
前記加工領域毎にそれぞれ設けた加工機械において、 各種指令を入力する入力手段と、入力した指令を解析す
る演算部と、必要な情報を記憶する記憶手段と、該記憶
手段に前記複数の加工領域毎にコラムの許容移動範囲を
設定する設定手段と、加工領域の前進位置にクランプさ
れた加工対象パレットを判別する判別手段と、判別され
た加工対象パレットの加工領域に設定した許容移動範囲
内に前記コラムの移動指令の終点が含まれるか否かを判
定するストロークオーバ判定手段と、該判定手段により
ストロークオーバと判定された場合には、当該移動指令
の実行を阻止する阻止手段とを設けたことを特徴とする
加工機械。
[Claims] A column having a processing tool and movable within a plurality of set processing areas and between the processing areas, and moving between a forward position within the processing area and a retreat position outside the processing area. A processing machine in which a possible pallet is provided for each of the machining areas, an input means for inputting various commands, an arithmetic unit for analyzing the input commands, a storage means for storing necessary information, and a processing machine for storing the above-mentioned information in the storage means. a setting means for setting the permissible movement range of the column for each of the plurality of machining areas; a determining means for determining the pallet to be machined clamped at the forward position of the machining area; and a tolerance set in the machining area of the determined pallet to be machined. Stroke over determination means for determining whether the end point of the movement command for the column is included within the movement range; and prevention means for preventing execution of the movement command when the determination means determines that the movement command is over stroke. A processing machine characterized by being equipped with.
JP16313788A 1988-06-30 1988-06-30 Processing machine Expired - Lifetime JP2508197B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP16313788A JP2508197B2 (en) 1988-06-30 1988-06-30 Processing machine
KR1019890008674A KR900000159A (en) 1988-06-30 1989-06-23 Processing machinery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16313788A JP2508197B2 (en) 1988-06-30 1988-06-30 Processing machine

Publications (2)

Publication Number Publication Date
JPH0215947A true JPH0215947A (en) 1990-01-19
JP2508197B2 JP2508197B2 (en) 1996-06-19

Family

ID=15767907

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16313788A Expired - Lifetime JP2508197B2 (en) 1988-06-30 1988-06-30 Processing machine

Country Status (1)

Country Link
JP (1) JP2508197B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05319789A (en) * 1992-03-17 1993-12-03 Komatsu Ltd Coupling structure for elevated place working vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05319789A (en) * 1992-03-17 1993-12-03 Komatsu Ltd Coupling structure for elevated place working vehicle

Also Published As

Publication number Publication date
JP2508197B2 (en) 1996-06-19

Similar Documents

Publication Publication Date Title
US20180222047A1 (en) Machining system and machine controller in which a moving robot loads and unloads an article with respect to machining device
JPS5959339A (en) Method of retreating tool from work and returning it to workand numerical controlled machining device executing the me- thod
EP0945212B1 (en) Work loading/unloading apparatus
JPH0215950A (en) Processing machine
JPH0215947A (en) Processing machine
JP2508199B2 (en) Prevention device for traveling outside the processing area of the processing machine
EP1217480A2 (en) Loader control device
JP2668988B2 (en) Processing machine
JP2508198B2 (en) Processing machine
JPH0215948A (en) Processing machine
JP2624174B2 (en) Automatic operation method of numerical controller
KR100403139B1 (en) Collision-proof Apparatus for Automatic Pallet Changer
JPH03104581A (en) Robot control system
KR20220109148A (en) Machine tool material supply and discharge device and its control method
JP2602714Y2 (en) Numerical control unit
KR100579084B1 (en) How to check the deviation of the object
JP3628096B2 (en) Machine tool positioning apparatus and method
JPS61270048A (en) Manual resetting method in tool changer
WO2022190155A1 (en) Workpiece processing apparatus
JPH081794Y2 (en) Automatic tool changer Automatic check device for operating range
KR100440154B1 (en) Method of controlling over-travel for machine tools
JPH06238542A (en) Machine equipped with safety device
JPH05204419A (en) Controller for returning to original point of country loader
KR20040061752A (en) A Special Tool Inserting Method of CNC
JP2023067294A (en) Workpiece machining apparatus