JP2508198B2 - Processing machine - Google Patents

Processing machine

Info

Publication number
JP2508198B2
JP2508198B2 JP16313888A JP16313888A JP2508198B2 JP 2508198 B2 JP2508198 B2 JP 2508198B2 JP 16313888 A JP16313888 A JP 16313888A JP 16313888 A JP16313888 A JP 16313888A JP 2508198 B2 JP2508198 B2 JP 2508198B2
Authority
JP
Japan
Prior art keywords
machining
processing
pallet
origin
signal
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 - Fee Related
Application number
JP16313888A
Other languages
Japanese (ja)
Other versions
JPH0215951A (en
Inventor
孝一 安本
康夫 棚橋
商基 安田
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 JP16313888A priority Critical patent/JP2508198B2/en
Priority to KR1019890008674A priority patent/KR900000159A/en
Publication of JPH0215951A publication Critical patent/JPH0215951A/en
Application granted granted Critical
Publication of JP2508198B2 publication Critical patent/JP2508198B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 「産業上の利用分野」 本発明は、複数の加工領域を有しその加工領域毎にパ
レットを設けた加工機械に関し、特に各パレットの加工
原点を基準加工原点とする加工原点シフトを行い、基準
加工原点を基準として作成された加工プログラムを各パ
レットにおいて実行できるようにしたものである。
TECHNICAL FIELD The present invention relates to a processing machine having a plurality of processing areas and a pallet provided for each processing area, and particularly, the processing origin of each pallet is used as a reference processing origin. The machining origin is shifted so that the machining program created based on the standard machining origin can be executed on each pallet.

「従来の技術」 従来、複数の加工領域を有しその加工領域毎にパレッ
トを設けた加工機械や工作機械等において、各加工領域
にクランプされるパレットで同一形状のワークを加工す
る場合、そのパレット毎に加工プログラムを作成して加
工を行っていた。
“Prior Art” Conventionally, in a processing machine or machine tool having a plurality of processing areas and provided with a pallet for each processing area, when a workpiece of the same shape is processed by a pallet clamped in each processing area, A machining program was created for each pallet for machining.

「発明が解決しようとする課題」 しかしながら、パレット毎に加工プログラムを作成す
ることは、非常に手間の掛かる作業であるばかりでな
く、プログラムの作成ミス等が生じる機会が増加する。
また、加工プログラムを記憶するメモリの記憶容量を大
容量にする必要があって、不経済となる等の問題点があ
り解決すべき課題となっていた。
[Problems to be Solved by the Invention] However, creating a machining program for each pallet is not only a very labor-intensive task, but also increases the chance of making a mistake in creating the program.
Further, it is necessary to increase the storage capacity of the memory for storing the machining program, which causes problems such as being uneconomical, which has been a problem to be solved.

本発明は、前記課題を解決するためになされたもので
あり、各パレットの加工原点を基準加工原点とする加工
原点シフトを行い、基準加工原点を基準として作成され
た加工プログラムを各パレットにおいて実行できる加工
機械を提供することを目的とするものである。
The present invention has been made in order to solve the above-mentioned problems, and performs a machining origin shift using the machining origin of each pallet as a reference machining origin, and executes a machining program created with the reference machining origin as a reference on each pallet. It is an object of the present invention to provide a processing machine that can be used.

「課題を解決するための手段」 前記目的を達成するための具体的手段は、加工具を有
し、設定された複数の加工領域内及びその加工領域間を
移動可能なコラムと、加工領域内の前進位置と加工領域
外の後退位置との間を移動可能なパレットを前記加工領
域毎にそれぞれ設けた加工機械において、各パレット毎
に加工原点を設定し、その中の一つを基準加工原点と
し、その基準加工原点を基準として作成された加工プロ
グラムと、基準加工原点と各加工原点とのオフセット量
を記憶する記憶手段と、加工領域の前進位置にクランプ
された加工対象パレットを判別する判別手段と、判別さ
れた加工対象パレットの加工原点と基準加工原点とのオ
フセット量を、一律に前記加工プログラムに加算若しく
は減算して、当該加工プログラムの基準となる基準加工
原点を加工対象パレットの加工原点へシフトする加工原
点シフト手段を設けたことを特徴とするものである。
"Means for Solving the Problem" Specific means for achieving the above-mentioned object is a column that has a processing tool and is movable in a plurality of set processing areas and between the processing areas, and in the processing area. In a processing machine that has pallets movable between the forward position and the retracted position outside the processing area for each processing area, set the processing origin for each pallet, and set one of them as the reference processing origin. The machining program created based on the reference machining origin, the storage means for storing the offset amount between the reference machining origin and each machining origin, and the discrimination for discriminating the machining target pallet clamped at the forward position of the machining area Means and the offset amount between the determined machining origin of the pallet to be machined and the reference machining origin are uniformly added to or subtracted from the machining program to become the basis of the machining program. It is characterized in that a machining origin shift means for shifting the reference machining origin to the machining origin of the pallet to be machined is provided.

「作用」 前記具体的手段によれば、パレット毎に設定される加
工原点の一つを基準加工原点とし、加工原点と基準加工
原点とのオフセット量に基づいて各パレットの加工原点
を基準加工原点とする加工原点シフトを行い、基準加工
原点を基準として作成された加工プログラムを各パレッ
トにおいて実行して、同一形状のワークを加工すること
ができる。
[Operation] According to the specific means, one of the machining origins set for each pallet is used as the reference machining origin, and the machining origin of each pallet is used as the reference machining origin based on the offset amount between the machining origin and the reference machining origin. It is possible to machine workpieces of the same shape by shifting the machining origin, and executing the machining program created on the basis of the standard machining origin on each pallet.

「実施例」 本発明の1実施例を添付図面に基づいて説明する。[Embodiment] An embodiment of the present invention will be described with reference to the accompanying drawings.

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

基台1にコラムベース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とを配設する。該
リミットスイッチLsR,LsLは、コラムベース2の後記す
る左右2つの加工領域内の移動を検出するものである。
A column base 2 is provided on the base 1 so as to be slidable in the horizontal direction (X-axis direction). A column 3 is slidable on the column base 2 in the front-rear direction (Y-axis direction). Spindle heads 4 are mounted slidably in the vertical direction (Z-axis direction). Column base 2 is X-axis motor 5,
The column 3 is a Y-axis motor 6 and the spindle head 4 is a Z-axis motor 7.
Are respectively driven by. The spindle head 4 is provided with a spindle 9 which is driven to rotate by a spindle motor 8, and a rotary magazine type automatic tool changer 10 is mounted. A fixed table 13 and a setup table 14 are fixed to the table portion 12 on the front side of the base 1. Overrun limit switches Ls-X and Ls + X for restricting the overrun of the column base 2 in the X-axis direction are arranged on the left and right of the mounting plate 15 on the back surface of the fixed table 13, and if the arrangement positions are different in the Z direction. Fix the two dogs 16 and 17 that have been set. In the center of the front surface of the column base 2, the overrun limit switch Ls-X is arranged in order from the top.
And a dog 18 corresponding to Ls + X and limit switches LsR and LsL corresponding to the dogs 16 and 17, respectively. The limit switches LsR and LsL detect movements in two left and right machining areas, which will be described later, of the column base 2.

コラムベース2の右側端部の上面には、コラム3のY
軸方向のオーバランを規制するオーバランリミットスイ
ッチLs−YとLs+Yとが配設され、そのリミットスイッ
チLs+Yの内側にリミットスイッチLsYKを配置し、これ
らの各リミットスイッチLs−Y,Ls+Y及びLsYKに対応す
るドグ19をコラム3の右側部に固定する。前記リミット
スイッチLsYKは、主軸9が固定テーブル13の上面から+
Y軸方向で外れる位置でオンする。
On the upper surface of the right end of the column base 2, the Y of the column 3 is
Overrun limit switches Ls-Y and Ls + Y for regulating overrun in the axial direction are provided, and a limit switch LsYK is arranged inside the limit switch Ls + Y, and these limit switches Ls-Y, Ls + Y and LsYK correspond to these limit switches. Fix dog 19 to the right side of column 3. In the limit switch LsYK, the main shaft 9 is + from the upper surface of the fixed table 13.
Turns on at a position deviating in the Y-axis direction.

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

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

前記テーブル部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.

左右の二つの加工領域22L,22Rに対しては、二つのパ
レット23L,23Rをそれぞれ加工領域内の前進位置と加工
領域外の後退位置である段取りテーブル14との間を移動
可能に設ける。この移動はパレット搬入・排出機構21に
より行われ、該機構21の回転エアシリンダ24の一定角度
内の往復旋回により、回転エアシリンダ24に一端を固着
し、他端に取り付けたローラ25をパレット23L,23Rの前
側面に固定した案内部材26に嵌めたL形アーム27L,27R
の押送及び索引によって行われる。パレット23L,23R
は、前記前進及び後退位置間に敷設されたローラガイド
28により案内されるとともに、その上面をパレット23L,
23Rの下面に設けたローラ29が転がる。パレット23L,23R
の前進位置及び後退位置への到着は、それぞれLsL−1,L
sL−2及びLsR−1,LsR−2により検出される。
Two pallets 23L, 23R are provided for the two left and right processing areas 22L, 22R so as to be movable between an advance position within the processing area and a setup table 14 which is a retracted position outside the processing area. This movement is performed by the pallet loading / unloading mechanism 21, and the rotary air cylinder 24 of the mechanism 21 reciprocates within a predetermined angle, thereby fixing one end to the rotary air cylinder 24 and attaching the roller 25 attached to the other end to the pallet 23L. L-shaped arms 27L and 27R fitted in guide members 26 fixed to the front side of
Is carried out and indexed. Pallets 23L, 23R
Is a roller guide installed between the forward and backward positions.
While being guided by 28, its upper surface is pallet 23L,
The roller 29 provided on the lower surface of 23R rolls. Pallets 23L, 23R
Arrives at the forward position and the backward position, respectively, by LsL−1, L
It is detected by sL-2, LsR-1, and LsR-2.

その他段取りテーブル14の手前側には、左右のパレッ
ト23L,23Rに対する起動ボタン30L,30R、非常停止ボタン
31L,31R及び自動,単動モード切換スイッチ32が配置さ
れる。
On the other side of the setup table 14, start buttons 30L, 30R and emergency stop buttons for the left and right pallets 23L, 23R
31L, 31R and automatic / single-action mode selector switch 32 are arranged.

パレット23L,23Rに対しては、それぞれ後退位置であ
る段取りテーブル14で加工前のワークを載置したり加工
済のワークを取り外したりする段取りが行われ、前進位
置では搬入された各パレットのクランプ又はアンクラン
プが行われる。
For the pallets 23L and 23R, setup is performed in which the unprocessed work is placed and the processed work is removed at the setup table 14, which is a retracted position. Alternatively, unclamping is performed.

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

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

前記左右の加工領域22L,22Rの中心位置に対応する固
定テーブル13には、クランプ用のエアシリンダ41をそれ
ぞれ固定する。エアシリンダ41のピストン42の上端に
は、クランパ43を固着する。アンクランプ状態のクラン
パ43の上面位置は、前記ローラガイド28の上面位置と合
致し、該ガイド28上を転がるパレット23L,23Rのローラ2
9がそのままクランパ43上に転がり移動して、パレット2
3L,23Rを前進位置に停止させる。
Clamping air cylinders 41 are fixed to the fixed tables 13 corresponding to the center positions of the left and right processing regions 22L and 22R, respectively. A clamper 43 is fixed to the upper end of the piston 42 of the air cylinder 41. The upper surface position of the clamper 43 in the unclamped state matches the upper surface position of the roller guide 28, and the rollers 2 of the pallets 23L and 23R that roll on the guide 28.
9 rolls on clamper 43 as it is, and pallet 2
3L and 23R are stopped at the forward position.

パレット23L,23Rの両側下面には、クランパ43の下面
に間隔lをもって臨むクランプ板44を固定し、固定テー
ブル13上に配設したクランプベース45に対応させる。ク
ランパ43の手前側には、ドグピン46を垂直下向に固定し
て、下端部に二つのドグ47,48を固定し、ドグ47に対応
してパレットのアンクランプ状態を検出するリミットス
イッチLsR−3を、ドグ48に対応してパレットのクラン
プ状態を検出するリミットスイッチLsR−4をそれぞれ
設ける。左側のドグピン46,ドグ47,48及びリミットスイ
ッチLsL−3,LsL−4については図示しないが、左右同一
の機構が設けられている。
Clamp plates 44 facing the lower surface of the clamper 43 with a space 1 are fixed to the lower surfaces of both sides of the pallets 23L, 23R, and correspond to the clamp bases 45 arranged 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 to the lower end, and a limit switch LsR- that detects the unclamped state of the pallet corresponding to the dog 47 3 is provided with limit switches LsR-4 corresponding to the dogs 48 for detecting the clamped state of the pallet. Although not shown in the drawings, the dog pin 46, the dogs 47, 48 and the limit switches LsL-3, LsL-4 on the left side are provided with the same mechanism on the left and right.

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

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

まず、エアシリンダ41のピストン42が下降すると、ク
ランパ43の上面に載ったパレット23L(23R)はそのまま
クランパ43と共に下動し、位置決めピン49と位置決め穴
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, the pallet 23L (23R) placed on the upper surface of the clamper 43 moves downward together with the clamper 43, and the positioning pin 49 and the positioning hole.
When the clamp plate 44 is placed on the clamp base 45, the downward movement is stopped, and the clamper 43 further moves downward by an interval l to apply a clamp pressure to the upper surface of the clamp plate 44. And clamp firmly, and at the same time, the limit switch LsL-4 (LsR
-4) is operated to stop the lowering of the piston 42, and the clamped state is detected. Pallet 23L (23R)
The unclamping of the
To operate the limit switch LsL-3 (LsR-3) to stop the rise of the piston 42 and detect the unclamped state.

前記パレット23L,23Rの前進位置でのクランプ,アン
クランプ及び前進位置への搬入,後退位置への排出等の
各制御は、図示しない空気圧回路を構成し前記した各リ
ミットスイッチ等の検出信号に基づいて、回転エアシリ
ンダ24,24、クランプ用のエアシリンダ41,41への空気圧
回路を切換える電磁弁SOLL−1〜SOLL−3、及び電磁弁
SOLR−1〜SOLR−3等(以上第6図のブロック図に示
す)により行うものである。
Each control such as clamping, unclamping, carrying in to the forward position, discharging to the backward position, etc. of the pallets 23L, 23R at the forward position is based on the detection signal of each limit switch or the like, which constitutes a pneumatic circuit (not shown). Solenoid valves SOLL-1 to SOLL-3 for switching the pneumatic circuits to the rotating air cylinders 24, 24, the clamping air cylinders 41, 41, and the solenoid valves
SOLR-1 to SOLR-3 etc. (the above is shown in the block diagram of FIG. 6).

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

前記加工領域22には、左右の加工領域22Lと22Rが設定
され、各加工領域22L,22R毎にコラム3の許容移動範囲
が、X−Yの平面座標により同図図示のように説定され
る。各座標値XL-〜XR+,YL-〜YR+は、加工機械の制御パ
ラメータとして記憶装置等に格納される。
Left and right processing areas 22L and 22R are set in the processing area 22, and the allowable movement range of the column 3 is set for each processing area 22L, 22R by XY plane coordinates as shown in the figure. It The coordinate values X L− to X R + and Y L− to Y R + are stored in a storage device or the like as control parameters of the processing machine.

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

設定された加工領域22L,22Rに搬入される加工パレッ
ト23L,23Rには、それぞれ加工原点が定められ、この加
工原点を基準にして加工プログラムが作成される。
The machining pallets 23L and 23R carried into the set machining areas 22L and 22R have their respective machining origins defined, and a machining program is created based on these machining origins.

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

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

制御回路は、主に加工機械の加工動作を制御するCPU1
00と、パレットの搬入・排出及び加工機械の起動・停止
等の制御を行うシーケンサ200とを中心に構成されてい
る。
The control circuit mainly controls the processing operation of the processing machine.
00 and a sequencer 200 for controlling loading / unloading of pallets and starting / stopping of a processing machine.

CPU100には操作ボックス101を接続する。操作ボック
ス101はCRTディスプレイ102と各種データを入力する操
作スイッチ103からなる。またリレー制御回路104が接続
され、CPU100からのリレー信号を受けて、マグネットリ
レーMCX,MCY,MCZ及びMCSが作動し、X,Y,Z及び主軸モー
タのドライバ105〜108の電源がオンする。ドライバ105
〜108に対しては、CPU100から加工プログラムに従って
指導指令信号が出力され、X軸モータ5,Y軸モータ6,Z軸
モータ7及び主軸モータ8が回転制御される。さらにCP
U100には、各種加工プログラム及び各種加工データ等が
格納されたRAM109と、CPU100の制御プログラムが格納さ
れたROM110とが接続される。
The operation box 101 is connected to the CPU 100. The operation box 101 includes a CRT display 102 and an operation switch 103 for inputting various data. Further, the relay control circuit 104 is connected, the relay signals from the CPU 100 are received, the magnet relays MCX, MCY, MCZ and MCS are activated, and the power supplies of the drivers 105 to 108 for the X, Y, Z and spindle motors are turned on. Driver 105
The CPU 100 outputs an instruction command signal to the CPUs 108 to 108 according to the machining program, and the X-axis motor 5, the Y-axis motor 6, the Z-axis motor 7, and the main shaft motor 8 are rotationally controlled. Further CP
A RAM 109 in which various processing programs and various processing data are stored, and a ROM 110 in which a control program for the CPU 100 is stored are connected to the U100.

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

非常停止信号回路112は、コラムベース2の前記加工
領域内22L,22Rの移動を検出するリミットスイッチLsLと
LsRを直列に介挿したリミットスイッチ回路113間に、二
つのリレー接点回路114,115を設け、中央でたすき掛け
状に交差して、その両端をリミットスイッチLsLとLsRの
切換接点とするとともに、前記リミットスイッチ回路11
3に左右の加工領域22L,22Rに対する手動停止ボタン31L,
31Rを直列に介挿したものである。リレー接点回路114
は、シーケンサ200からCPU100に出力される左パレット
信号(以下Lin信号という)により作動するリレーCRLin
により接点を閉じるリレー接点と、右パレット信号(以
下Rin信号という)で作動するリレーCRRinにより接点を
開くリレー接点とを直列に介挿してなる。またリレー接
点回路115は、同様にRin信号で作動するリレーCRRinに
より接点を閉じるリレー接点と、Lin信号で作動するリ
レーCRIinにより接点を開くリレー接点とを直列に介挿
してなる。Rin信号,Lin信号については後述する。
The emergency stop signal circuit 112 is provided with a limit switch LsL for detecting the movement of the processing areas 22L and 22R of the column base 2.
Between the limit switch circuit 113 in which LsR is inserted in series, two relay contact circuits 114 and 115 are provided, crossed at the center in a cross-like manner, and both ends thereof are used as switching contacts of limit switches LsL and LsR, and the limit switch Switch circuit 11
Manual stop button 31L for the left and right machining areas 22L, 22R
31R is inserted in series. Relay contact circuit 114
Is a relay CRLin operated by the left pallet signal (hereinafter referred to as the Lin signal) output from the sequencer 200 to the CPU 100.
A relay contact that closes the contact with and a relay contact that opens the contact with a relay CRRin that operates with the right pallet signal (hereinafter referred to as the Rin signal) are inserted in series. Similarly, the relay contact circuit 115 includes a relay contact that is closed by a relay CRRin that is similarly operated by a Rin signal and a relay contact that is opened by a relay CRIin that is operated by a Lin signal. The Rin signal and Lin signal will be described later.

非常停止信号回路112には、前記リミットスイッチLsY
KとLsZKとを直列に介挿した加工領域間移動可能信号回
路116を並列に結線する。該回路116により、リミットス
イッチLsYK,LsZKがオンしている場合、即ちコラム3が
手前側から奥側の+Y軸方向に移動して主軸9が固定テ
ーブル13の上面から外れ、主軸ヘッド4が+Z軸方向の
上方退避位置にあって、加工領域間移動可能位置にある
ときは、非常停止信号回路112が作動しても、或いはコ
ラムベース2がリミットスイッチLsL、及びLsRを同時に
オンしない中央位置にあるときでも、加工領域22L,22R
間を移動できるようにしたものである。
The limit switch LsY is included in the emergency stop signal circuit 112.
The inter-working area movable signal circuit 116 in which K and LsZK are inserted in series is 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 + Y-axis direction from the front side to the back side, the spindle 9 is disengaged from the upper surface of the fixed table 13, and the spindle head 4 is moved to + Z. In the upper retracted position in the axial direction and in the movable position between machining areas, even if the emergency stop signal circuit 112 operates, the column base 2 is at the central position where the limit switches LsL and LsR are not turned on at the same time. Machining area 22L, 22R even when
It is one that can be moved between.

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

非常停止信号回路112は、(1)加工中の加工領域か
ら他の加工領域へ移動しようとして、前記リミットスイ
ッチLsL又はLsRがオフして、コラムベース2の加工領域
内移動検出信号が検出されない時、(2)シーケンサ20
0が誤動作して同時にRin信号とLin信号が出力された
時、(3)リミットスイッチLsL又はLsRが断線や位置ず
れ又は故障等でオフした場合、又は手動停止ボタン31L,
31Rを押した時に作動して、非常停止信号をCPU100へ出
力し、CPU100はリレー制御回路104へのリレー信号をオ
フして、マグネットリレーMCX,MCY,MCZ及びMCSを非作動
とし、X,Y,Z及び主軸モータのドライバ105〜108の電源
をオフとするとともに、ダイナミックブレーキを作用さ
せて、前記各軸のモータを停止させる。
The emergency stop signal circuit 112: (1) When the limit switch LsL or LsR is turned off and the movement detection signal in the machining area of the column base 2 is not detected while trying to move from the machining area being machined to another machining area. , (2) Sequencer 20
When 0 is malfunctioning and Rin signal and Lin signal are output at the same time, (3) When limit switch LsL or LsR is turned off due to disconnection, displacement or failure, or manual stop button 31L,
It operates when 31R is pressed, outputs an emergency stop signal to CPU100, CPU100 turns off the relay signal to relay control circuit 104, deactivates magnet relays MCX, MCY, MCZ and MCS, and X, Y , Z and the spindle motor drivers 105 to 108 are turned off, and the dynamic brake is actuated to stop the motors of the respective axes.

各加工領域22L,22Rに対するパレット23L,23Rの搬入,
排出を制御するシーケンサ200には、手動ボタン回路201
及びリミットスイッチ回路202が接続される。
Carrying in pallets 23L, 23R to each processing area 22L, 22R,
The sequencer 200 that controls the discharge has a manual button circuit 201
And the limit switch circuit 202 is connected.

手動ボタン回路201は、左右のパレット23L,23Rに対す
る自動・単動モード切換スイッチ32を介挿したモード切
換回路と、それぞれ左起動ボタン30L,右起動ボタン30R
を介挿した起動回路とからなる。
The manual button circuit 201 includes a mode switching circuit having an automatic / single-acting mode switching switch 32 for the left and right pallets 23L and 23R, a left start button 30L and a right start button 30R, respectively.
And a start circuit interposed.

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

また、パレット23L,23Rの搬入・排出を行う回転エア
シリンダ24と、各パレット23L,23Rの前進位置でのクラ
ンプ,アンクランプを行うエアシリンダ41を制御する空
気圧回路(図示せず)を切換える電磁弁SOLL−1〜SOLL
−3とSOLR−1〜SOLR−3とをそれぞれ介挿した電磁弁
駆動回路203を接続するとともに、Rin信号及びLin信号
で作動するリレーCRRinとCRLinとをそれぞれ介挿したリ
レー回路204を接続する。
In addition, an electromagnetic circuit for switching the pneumatic circuit (not shown) that controls the rotary air cylinder 24 for loading / unloading the pallets 23L, 23R and the air cylinder 41 for clamping / unclamping the pallets 23L, 23R at the forward position. Valve SOLL-1 to SOLL
-3 and SOLR-1 to SOLR-3 are connected respectively, and a solenoid valve drive circuit 203 is connected, and a relay circuit 204 in which relays CRRin and CRLin operated by Rin signal and Lin signal are respectively connected is connected. .

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

入力端子I,IIについては、外部入力手段である操作ボ
ックス101から、加工プログラム毎に設定したプログラ
ム番号を対応付けることができる。また、それらの加工
プログラム及びプログラム番号は前記RAMに格納されて
いるから、入力端子I,IIのオン状態をCPU100が判断する
ことにより、該当番号の加工プログラムをRAMから呼出
すことができる。前記については後に詳述する。
With respect to the input terminals I and II, a program number set for each machining program can be associated with the operation box 101 which is an external input means. Further, since the machining program and the program number are stored in the RAM, the CPU 100 can call the machining program of the corresponding number from the RAM by determining the ON state of the input terminals I and II. The above will be described later in detail.

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

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

以下パレットの搬入・非処理について第7図のフロー
チャートに従い説明する。
The loading / non-processing of pallets will be described below with reference to the flowchart of FIG.

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

まず、ステップS100(以下ステップを省略する)で左
駆動ボタン30Lがオンか否かを判断し、オンであればYES
でS101でRin信号がオフかどうかを判断する。オフであ
ればYESでS102へ進み自動モードであるか否かを判断す
る。S101でRin信号がオンであればNOでS103でリミット
スイッチLsYK及びLsZKがオンであって、コラム3及び主
軸ヘッド4が加工領域間移動可能位置に位置するかどう
かを判断する。S103でNOであればS104へ進み作業者に対
してアラーム表示を行ってリターンする。YESであればS
105でLin信号がオフかどうかを判断し、オフであればYE
Sで前記S102へ戻る。また、Lin信号がオンであればNOで
S106へ進み、加工領域22Lで加工可能であるため自動モ
ードであるかどうかを判断する。自動モードであればYE
SでS123へ進み工作機械を起動する。NOであれば前記S10
2へ戻る。S102で自動モードでない場合は、S107で単動
動作のサブルーチンをコールして、左側パレット23Lに
ついて単動動作を行う。単動動作は、パレットの搬入か
ら排出までの一連の動作を各個に行うものであるので、
その詳細な説明は省略する。
First, in step S100 (the following steps will be omitted), it is determined whether or not the left drive button 30L is on. If it is on, YES
At S101, it is determined whether the Rin signal is off. If it is off, the process advances to S102 with YES to determine whether or not the mode is the automatic mode. If the Rin signal is ON in S101, it is NO, and in S103, it is determined whether the limit switches LsYK and LsZK are ON, and whether the column 3 and the spindle head 4 are located at the movable positions between the processing areas. If NO in S103, the process proceeds to S104, an alarm is displayed to the worker, and the process returns. S if YES
In 105, it is determined whether the Lin signal is off, and if it is off, YE
Return to S102 at S. NO if the Lin signal is ON
The process proceeds to S106, and it is determined whether or not the automatic mode is set because the processing area 22L can be processed. YE for automatic mode
In S, proceed to S123 to start the machine tool. If NO, then S10
Return to 2. If the automatic mode is not set in S102, the single-action operation subroutine is called in S107 to perform the single-action operation for the left pallet 23L. Since the single-action operation is to perform a series of operations from loading the pallet to discharging it to each individual,
Detailed description thereof will be omitted.

S102で自動モードであれば、YESでS108へ進んでパレ
ット23Lが加工領域22Lに搬入されクランプされているか
どうかを判断し、NOであれば続いてS109でパレット23L
が排出位置(段取りテーブル14上)にあるか否かを判断
し、NOであれば加工すべきパレットが存在しないのでS1
04に戻り、作業者に対してアラーム表示を行う。加工す
べきパレット23Lが排出位置にあればYESで、S110へ進ん
でパレット23Lを搬入し、S111〜S113で搬入完了を判断
してクランプし、クランプ完了を確認してS120へ進む。
If the automatic mode is selected in S102, the process proceeds to S108 with YES to determine whether or not the pallet 23L is carried into the processing area 22L and clamped, and if NO, the pallet 23L is subsequently processed in S109.
Is in the discharge position (on the setup table 14). If NO, there is no pallet to process, so S1
Return to 04 and display an alarm to the operator. If the pallet 23L to be processed is at the discharge position, the determination is YES, the process proceeds to S110, the pallet 23L is loaded, the loading completion is determined and clamped in S111 to S113, the clamping completion is confirmed, and the process proceeds to S120.

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

イニシャル排出メモリは、加工機械に電源が投入され
てマシンシステムが立上がった時、パレットが加工領域
内に搬入されている状態でオフとなり、自動又は手動に
かかわらず、一旦段取りテーブル14上に排出された場合
はオンとなる。これは、電源投入時のマシンシステム立
上がりに搬入されているパレットに対しては、そのまま
加工開始するのではなく、パレットを強制的に排出して
ワークの点検を行うためのものである。
The initial discharge memory turns off when the machine system is powered on and the machine system is started up, and the pallet is loaded into the processing area, and it is temporarily discharged onto the setup table 14 regardless of whether it is automatic or manual. When it is done, it turns on. This is not to start machining the pallet loaded at the start of the machine system when the power is turned on, but to forcibly discharge the pallet and inspect the work.

前記S114でイニシャル排出メモリがオフであれば、YE
SでS115〜S118でクランプ状態のパレット23Lをアンクラ
ンプし、アンクランプ完了後排出し、排出完了を確認し
てS119へ進みイニシャル排出メモリをオンしてリターン
する。
If the initial ejection memory is turned off in S114 above, YE
In S, the pallet 23L clamped in S115 to S118 is unclamped, discharged after unclamping is completed, the discharge completion is confirmed, the process proceeds to S119, and the initial discharge memory is turned on to return.

S120では、Rin信号がオンかどうかを判断し、オンで
あればYESでS121へ進んで、加工機械が一旦停止状態で
あるかを判断する。S121でNOであればRin信号を優先
し、加工領域22Rでの加工が終了して、Rin信号がオフに
なるまで待機する。S121でYESであればリターンする
が、Rin信号がオフになるまでの待機中に、加工を一時
停止した後再起動を行った場合、Rin信号がオフした時
点で不用意にパレット23Lの起動が入らないように、リ
ターンして左起動ボタン30Lの操作がなされてから、移
動するようにしたものである。
In S120, it is determined whether the Rin signal is on. If it is on, YES is selected and the process proceeds to S121 to determine whether the processing machine is temporarily stopped. If NO in S121, the Rin signal is given priority, and the process waits until the machining in the machining region 22R ends and the Rin signal turns off. If YES in S121, the process returns, but if the machining is paused and restarted while waiting for the Rin signal to turn off, the pallet 23L will be inadvertently started when the Rin signal turns off. In order to prevent it from entering, it is arranged to move after the return start button 30L is operated.

S120でRin信号のオフが確認されると、S122でLin信号
をオンした後、S123で加工機械を起動しS124で運転完了
かどうかを判断する。完了でない場合はS125で自動モー
ドであるか否かを判断し、NOであれば単動モードである
ためリターンして、左起動ボタン30Lの操作を待つ。ま
たYESであれば運転完了を待って、S126へ進みLin信号を
オフして、S115へ進んで加工済となったパレット22Lの
排出処理を行う。
When the Rin signal is turned off in S120, the Lin signal is turned on in S122, the processing machine is started in S123, and it is determined in S124 whether the operation is completed. If not completed, it is determined in S125 whether or not the automatic mode is set, and if NO is determined because the single-action mode is set, the process returns to wait for the operation of the left start button 30L. If YES, the operation waits for completion of operation, the Lin signal is turned off in S126, and the discharge processing of the processed pallet 22L is executed in S115.

右側パレット22Rの搬入・排出処理については、前記
フローチャートのステップ番号S100の左起動ボタン30L
を右起動ボタン30Rとすること、S101,S120のRin信号をL
in信号とすること、S105,S122及びS126のLin信号をRin
信号とするフローチャートにより搬入・排出処理がなさ
れる。
For the loading / unloading process of the right pallet 22R, the left start button 30L of step S100 in the above flowchart
To the right start button 30R, and set the Rin signal of S101 and S120 to L
In signal, and the Lin signal of S105, S122 and S126 is Rin
The loading / unloading process is performed according to the flow chart using signals.

前記したフローチャートのステップ中のパレット23L,
23Rの排出位置への排出完了、及び加工領域22L,22Rへの
搬入完了,クランプ,アンクランプの検出は、リミット
スイッチLsL−1〜4及びLsR−1〜4のオン・オフによ
り行われる。
Pallet 23L in the steps of the flowchart described above,
The completion of the discharge of the 23R to the discharge position, the completion of the transfer to the processing areas 22L and 22R, and the detection of the clamp and the unclamping are performed by turning on and off the limit switches LsL-1 to 4 and LsR-1 to 4.

続いて、本加工機械の運転処理について、第8〜11図
のフローチャートに基づいて説明する。
Next, the operation processing of the present processing machine will be described based on the flowcharts of FIGS.

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

まず、S200で加工機械の起動を確認し、S201へ進んで
加工プログラムの切換処理がなされる。続いてS202で運
転命令の1ブロックを読込み、S203で座標系設定指令で
あれば、S204へ進んで座標系シフト処理を行い、S205で
軸移動指令であればS206で軸移動処理を行う。続いてS2
07で設定された加工プログラム、各種データ及びシーケ
ンサからの各種制御信号等に基づいて運転を実行し、S2
08でプログラムエンドでなければ、前記S202以下のルー
チンを実行し、プログラムエンドを確認してリターンす
る。
First, in S200, the start of the processing machine is confirmed, and the process proceeds to S201, in which the processing program switching processing is performed. Subsequently, one block of the operation command is read in S202, and if it is a coordinate system setting command in S203, proceed to S204 to perform coordinate system shift processing, and if it is an axis movement command in S205, perform axis movement processing in S206. Then S2
The operation is executed based on the machining program set in 07, various data and various control signals from the sequencer, and S2
If it is not the program end in 08, the routine from S202 is executed, the program end is confirmed, and the process returns.

前記S201の加工プログラムの切換処理、S204の座標系
シフト処理及びS206の軸移動処理のサブルーチンについ
ては後述する。
Subroutines of the processing program switching process of S201, the coordinate system shift process of S204, and the axis movement process of S206 will be described later.

第9図は加工プログラムの切換処理ルーチンのフロー
チャートである。
FIG. 9 is a flow chart of a processing program switching processing routine.

S300でシーケンサ200から出力されるLin信号が入力さ
れる入出力インターフェイス100aの入力端子Iがオンか
どうかをCPU100が判断する。オンならばS301で、外部入
力手段である操作ボックス103により入力端子Iに対応
付けられた加工プログラム番号をRAM109より調べる。S3
00でNOならばS302へ進み、Rin信号が入力される入力端
子IIがオンかどうかをCPU100が判断し、オンならばS303
へ進んで前記と同様に入力端子IIに対応付けられた加工
プログラム番号をRAM109より調べる。S300及びS302で何
れもNOの場合はそのままリターンする。続いてS304で
は、CPU100が調べた加工プログラム番号の加工プログラ
ムをRAM109より呼出し前記メインルーチンへリターンす
る。
In S300, 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, in S301, the machining program number associated with the input terminal I is checked from the RAM 109 by the operation box 103 which is an external input means. S3
If NO in 00, the process proceeds to S302, and the CPU 100 determines whether or not the input terminal II to which the Rin signal is input is ON. If ON, S303
Then, the process goes to step 109 and the machining program number associated with the input terminal II is checked from the RAM 109 as described above. If both S300 and S302 are NO, the process directly returns. Subsequently, in S304, the machining program having the machining program number checked by the CPU 100 is called from the RAM 109, and the process returns to the main routine.

以上により、外部入力手段である操作ボックス101か
らCPU100の入出力インターフェイス100aのLin信号及びR
in信号の入力端子I,IIに対して、所定の加工プログラム
番号を対応付けることにより、加工プログラムの指定,
変更を容易に行うことができる。
From the above, the Lin signal and R of the input / output interface 100a of the CPU 100 from the operation box 101 which is the external input means
Designate a machining program by associating a predetermined machining program number with the input terminals I and II of the in signal.
Changes can be made easily.

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

S400でシーケンサ200から出力されるLin信号が入力さ
れる入出力インターフェイス100aの入力端子Iがオンか
どうかをCPU100が判断する。オンであればS401へ進み、
Lin信号に基づく加工対象パレット23Lの加工原点が、指
定された加工プログラム作成の基準となった加工基準点
であるかどうかを判断し、YESであればそのままメイン
ルーチンへリターンし、NOであればS402で予め設定され
た基準加工原点と加工原点とのオフセット量をRAM109よ
り呼出し、S403へ進んで指定された加工プログラムに対
して、一律に加算若しくは減算して、加工対象パレット
の加工原点を基準加工原点へシフトして当該加工プログ
ラムで加工できるようにし、メインルーチンへリターン
する。前記S400でNOの場合は、S404でRin信号が入力さ
れる入力端子IIがオンかどうかを判断し、オンであれば
Rin信号に基づく加工対象パレット23Rに対して、前記S4
01〜S403と同様の処理をS405〜S407で行う。またS400及
びS404で共にNOと判断された場合は、S408でアラーム表
示等を行って作業者に知らせる。
In S400, 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, proceed to S401,
Judging whether the machining origin of the pallet 23L to be machined based on the Lin signal is the machining reference point that has become the reference for the specified machining program creation. If YES, return to the main routine as it is, if NO The offset amount between the standard machining origin and the machining origin preset in S402 is called from RAM109, and the process proceeds to S403 where it is uniformly added or subtracted to the designated machining program to make the machining origin of the pallet to be machined the standard. It shifts to the machining origin so that machining can be performed with the machining program, and the process returns to the main routine. In the case of NO in S400, it is determined whether or not the input terminal II to which the Rin signal is input is ON in S404.
For the processing target pallet 23R based on the Rin signal, the S4
The same processing as 01 to S403 is performed in S405 to S407. If NO is determined in both S400 and S404, an alarm is displayed in S408 to notify the operator.

前記した座標系シフト処理は、左右の加工領域22L,22
Rに搬入されクランプされるパレット23L,23Rに載置する
ワークに対して同一形状の加工を、一つの加工プログラ
ムにより行うもので、通常は各加工原点のY軸方向の座
標は一致させ、X軸方向のみのオフセット量を加算若し
くは減算して加工原点シフトを行う。X,Y軸両方向にオ
フセット量が存在するときは、各軸毎にオフセット量を
算出して加算・減算を行えばよい。
The coordinate system shift processing described above is performed on the left and right processing areas 22L, 22
The workpieces placed on the pallets 23L and 23R that are loaded into the R and clamped are machined in the same shape using a single machining program. Normally, the Y-axis direction coordinates of the respective machining origins are matched and X The processing origin shift is performed by adding or subtracting the offset amount only in the axial direction. When there is an offset amount in both the X and Y axes, the offset amount may be calculated for each axis and addition / subtraction may be performed.

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

S500で主軸ヘッド4を搭載したコラム3の移動指令が
入力されると、S501でその移動指令の終点位置を計算す
る。続いてS502でシーケンサ200から出力されるLin号が
入力される入出力インターフェイス100aの入力端子Iが
オンかどうかをCPU100が判断し、オンならばYESでS503
に進み、Lin信号に基づく加工対象パレット23Lがクラン
プされた加工領域22Lに予め設定したコラム3の許容移
動範囲内に、前記算出した移動指令の終点位置が含まれ
るかどうかを判断し、含まれればストロークオーバフラ
グをオフし(S504)、含まれなければストロークオーバ
と判断して、S505でストロークオーバフラグをオンす
る。前記S502でNOの場合は、S506でRin信号が入力され
る入力端子IIがオンかどうかを判断し、オンであればRi
n信号に基づく加工対象パレット23Rがクランプされた加
工領域22Rについて、前記S503〜S505と同様の処理をS50
7〜S509で行う。またLin信号,Rin信号が共にオンでない
時は、左右の加工領域22L,22Rのいずれにもパレットが
存在しない場合であるので、S510で加工領域の全領域に
前記移動指令の終点が含まれるか否かを判断し、含まれ
ればストロークオーバフラグをオフし(S511)、含まれ
なければ該フラグをオンする(,S512)。以上の各スト
ロークオーバフラグの処理終了後はそれぞれS513へ進
み、ストロークオーバフラグがオンであればS514で、ア
ラーム表示とともに移動指令の実行を阻止し、オフであ
ればS515で移動指令の実行を許可してメインルーチンへ
リターンする。前記においてLin信号及びRin信号が共に
オンとなる場合については、前記した非常停止信号回路
111が作動して非常停止する。
When a movement command for the column 3 equipped with the spindle head 4 is input in S500, the end point position of the movement command is calculated in S501. Subsequently, in S502, the CPU 100 determines whether or not the input terminal I of the input / output interface 100a to which the Lin signal output from the sequencer 200 is input is ON.
Then, it is determined whether or not the calculated end point position of the movement command is included in the allowable movement range of the column 3 preset in the processing area 22L where the processing target pallet 23L is clamped based on the Lin signal. If so, the stroke over flag is turned off (S504), and if not included, it is determined that the stroke is over, and the stroke over flag is turned on at S505. If NO in S502, it is determined in S506 whether or not the input terminal II to which the Rin signal is input is ON.
For the processing area 22R in which the processing target pallet 23R based on the n signal is clamped, the same processing as S503 to S505 is performed in S50.
Perform with 7 to S509. If neither the Lin signal nor the Rin signal is on, it means that the pallet does not exist in either of the left and right machining areas 22L and 22R. Whether or not it is judged, the stroke over flag is turned off if included (S511), and if not included, the flag is turned on (, S512). After the above stroke over flag processing is completed, the process proceeds to S513. If the stroke over flag is on, the execution of the move command is blocked in S514 with the alarm display, and if it is off, the execution of the move command is permitted in S515. And then returns to the main routine. In the case where both the Lin signal and the Rin signal are turned on in the above, the emergency stop signal circuit described above
111 is activated and it makes an emergency stop.

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

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

「発明の効果」 本発明は、前記具体的手段及び作用の説明で明らかに
したように、パレット毎に設定される加工原点の一つを
基準加工原点とし、加工原点と基準加工原点とのオフセ
ット量に基づいて各パレットの加工原点を基準加工原点
とする加工原点シフトを行い、基準加工原点を基準とし
て作成された加工プログラムを各パレットにおいて実行
して、同一形状のワークを加工することができるから同
一形状のワークを各パレットで加工する場合、加工プグ
ラムを各パレット毎に作成する必要もなく、加工プログ
ラムを記憶するためのメモリの容量を節約できる等の優
れた効果がある。
[Effect of the Invention] As has been clarified in the description of the concrete means and operation, the present invention uses one of the machining origins set for each pallet as the reference machining origin, and offsets the machining origin from the reference machining origin. It is possible to machine workpieces of the same shape by shifting the machining origin with the machining origin of each pallet as the reference machining origin based on the amount, and executing the machining program created with the reference machining origin as the reference on each pallet. Therefore, when a workpiece having the same shape is machined in each pallet, it is not necessary to create a machining program for each pallet, and there is an excellent effect that the capacity of the memory for storing the machining program can be saved.

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

添付図面は本発明の実施例を例示し、第1図はパレット
搬入・排出機構21を省略した加工機の正面図、第2図は
同側面図、第3図はパレット搬入・排出機構21の平面
図、第4図は第3図A−A線で切断した一部切欠拡大正
面図、第5図は固定テーブル13上に設定される加工領域
22を説明した説明図、第6図は制御回路の概略を示すブ
ロック図、第7図はパレットの搬入・搬出処理を示すフ
ローチャート、第8図は運転実行処理の全体の流れを示
すメインルーチンの概略のフローチャート、第9図は加
工プログラムの切換処理ルーチンを示すフローチャー
ト、第10図は座標系シフト処理ルーチンを示すフローチ
ャート、第11図は軸移動処理ルーチンを示すフローチャ
ートである。 3……コラム、4……主軸ヘッド、21……パレット搬入
・排出機構、22,22L,22R……加工領域、23L,23R……パ
レット、100……CPU、100a……入出力インターフェイ
ス、101……操作ボックス、109……RAM、110……ROM、1
11……非常停止信号回路、200……シーケンサ、I,II…
…入力端子。
1 is a front view of a processing machine in which the pallet loading / unloading mechanism 21 is omitted, FIG. 2 is a side view of the same, and FIG. 3 is a pallet loading / unloading mechanism 21. A plan view, FIG. 4 is a partially cutaway enlarged front view taken along the line AA in FIG. 3, and FIG. 5 is a processing area set on the fixed table 13.
22 is an explanatory diagram for explaining 22. FIG. 6 is a block diagram showing an outline of a control circuit. FIG. 7 is a flowchart showing a pallet loading / unloading process. FIG. 8 is a main routine showing an overall flow of an operation executing process. FIG. 9 is a schematic flowchart, FIG. 9 is a flowchart showing a machining program switching processing routine, FIG. 10 is a flowchart showing a coordinate system shift processing routine, and FIG. 11 is a flowchart showing an axis movement processing routine. 3 ... column, 4 ... spindle head, 21 ... pallet loading / unloading mechanism, 22,22L, 22R ... processing area, 23L, 23R ... pallet, 100 ... CPU, 100a ... input / output interface, 101 …… Operation box, 109 …… RAM, 110 …… ROM, 1
11 …… Emergency stop signal circuit, 200 …… Sequencer, I, II…
… Input terminal.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】加工具を有し、設定された複数の加工領域
内及びその加工領域間を移動可能なコラムと、加工領域
内の前進位置と加工領域外の後退位置との間を移動可能
なパレットを前記加工領域毎にそれぞれ設けた加工機械
において、 各パレット毎に加工原点を設定し、その中の一つを基準
加工原点とし、その基準加工原点を基準として作成され
た加工プログラムと、基準加工原点と各加工原点とのオ
フセット量を記憶する記憶手段と、加工領域の前進位置
にクランプされた加工対象パレットを判別する判別手段
と、判別された加工対象パレットの加工原点と基準加工
原点とのオフセット量を、一律に前記加工プログラムに
加算若しくは減算して、当該加工プログラムの基準量と
なる基準加工原点を加工対象パレットの加工原点へシフ
トする加工原点シフト手段を設けたことを特徴とする加
工機械。
1. A column having a processing tool, which is movable within a plurality of set processing areas and between the processing areas, and movable between an advanced position within the processing area and a retracted position outside the processing area. In a processing machine in which each pallet is provided for each processing area, a processing origin is set for each pallet, one of them is set as a reference processing origin, and a processing program created based on the reference processing origin, Storage means for storing the offset amount between the reference machining origin and each machining origin, a discrimination means for discriminating the machining target pallet clamped at the forward position of the machining area, a machining origin for the determined machining target pallet, and a standard machining origin The offset amount of and is uniformly added to or subtracted from the machining program to shift the reference machining origin, which is the reference amount of the machining program, to the machining origin of the pallet to be machined. A processing machine provided with a processing origin shifting means.
JP16313888A 1988-06-30 1988-06-30 Processing machine Expired - Fee Related JP2508198B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP16313888A JP2508198B2 (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
JP16313888A JP2508198B2 (en) 1988-06-30 1988-06-30 Processing machine

Publications (2)

Publication Number Publication Date
JPH0215951A JPH0215951A (en) 1990-01-19
JP2508198B2 true JP2508198B2 (en) 1996-06-19

Family

ID=15767929

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16313888A Expired - Fee Related JP2508198B2 (en) 1988-06-30 1988-06-30 Processing machine

Country Status (1)

Country Link
JP (1) JP2508198B2 (en)

Also Published As

Publication number Publication date
JPH0215951A (en) 1990-01-19

Similar Documents

Publication Publication Date Title
US10500723B2 (en) Machining system and machine controller in which a moving robot loads and unloads an article with respect to machining device
JP2508196B2 (en) Processing machine
US9802286B2 (en) Robot control system provided in machining system including robot and machine tool
EP0945212B1 (en) Work loading/unloading apparatus
US20190160616A1 (en) Machining system
CN110695377B (en) Automatic feeding and discharging system of numerical control lathe and control method thereof
JP2508198B2 (en) Processing machine
JP2508199B2 (en) Prevention device for traveling outside the processing area of the processing machine
JP2508197B2 (en) Processing machine
JP2668988B2 (en) Processing machine
JPH0818225B2 (en) Processing machine
JP4859467B2 (en) How to restart a 2-spindle facing lathe
JP2602714Y2 (en) Numerical control unit
JP2624174B2 (en) Automatic operation method of numerical controller
KR101850758B1 (en) machine tool having a multiple spindle head
JP2007249671A (en) Method for preventing collision in machine tool
JP4314741B2 (en) Work entry confirmation device
KR100403139B1 (en) Collision-proof Apparatus for Automatic Pallet Changer
JP7268174B2 (en) Work transfer robot
JP3628096B2 (en) Machine tool positioning apparatus and method
KR100579084B1 (en) How to check the deviation of the object
JP2555662B2 (en) Cell operation mode in high-mix low-volume production
JPH0732976B2 (en) Plate clamp device
JPS58155144A (en) Automatic pallet exchanger
JP2006026818A (en) Machine tool

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees