Since the purchase, operation and maintenance cost of CNC milling machines is lower than that of machining centers, it is favored by many processing companies. However, CNC milling machines do not have a tool magazine and cannot automatically change the tool. A product can be processed with only one knife. There are many ways to complete multiple tool machining workpieces on a CNC milling machine:
(1) Each tool is out of a program. The disadvantage is that the program is frequently called. When there are many program segments, the program call error is easy to occur, causing the workpiece to be scrapped.
(2) Put all the tools out of a program, then manually modify the machining program, increase the pause at the tool change point, move the spindle to the appropriate position, and finally manually change the tool. Manually modifying the program is prone to hand errors, causing program errors, and should not appear. Some processing accidents. Therefore, tool change has become an important bottleneck for CNC milling machines to improve machining efficiency.
Through long-term practice exploration, the author summed up a set of "CAM processing software + macro program" method, completely solved the shortcomings and shortcomings of CNC milling machine tool change, and basically achieved the safety, convenience and speed of tool change.
We will modify the post processing file of CimatronE as follows: Open CimatronE software, open the post processing NC.ex2 file, and find the TOOL CHANGE block as follows:
TOOL CHANGE:
IF (QUALIFIER_NAME == "first")
OUTPUT \J "T"TOOL_NUM ;
OUTPUT \J "M06";
OUTPUT \J "G90 G57 G0" " X" X_CURPOS " Y" Y_CURPOS;
OUTPUT \J "G43 H"TOOL_NUM " Z"Z_HOME;
OUTPUT \J "S"SPIN_SPEED " " SPIN_DIR;
ELSE
OUTPUT \J "M9";
OUTPUT \J "T"TOOL_NUM ;
OUTPUT \J "M06";
OUTPUT \J " G90 G57 G0" " X" X_CURPOS " Y" Y_CURPOS;
OUTPUT \J " G43 H"TOOL_NUM " Z"Z_HOME ;
OUTPUT \J "S"SPIN_SPEED " " SPIN_DIR;
END_IF;
This is a post-processing procedure for the automatic tool change of the machining center. We delete the three commands of the tool change command "T", "M06" and the tool length compensation command "G43 H". Add the G6 code to the "G90 G57 G0". The modifications are as follows:
TOOL CHANGE:
IF (QUALIFIER_NAME == "first")
OUTPUT \J "G90 G57 G6 G0" " X" X_CURPOS " Y" Y_CURPOS;
OUTPUT \J "S"SPIN_SPEED " " SPIN_DIR;
ELSE
OUTPUT \J "M9";
OUTPUT \J " G90 G57 G6 G0" " X" X_CURPOS " Y" Y_CURPOS;
OUTPUT \J "S"SPIN_SPEED " " SPIN_DIR;
END_IF;
The G6 added in the post processing is the program name of the macro program, and the macro program is stored in the program register of the numerical control milling machine. The code and function of the macro program are as follows:
#100=#100+1
IF[#100EQI]GOTO 1 (equal to 1 is running N1)
G91G80G40G0Z100 (cancel compensation)
#31=#5001 (Save X value)
#32=#5002 (store Y value)
M5
M9
G90G53Y-500 (spindle moved to Y-500)
M0
N1 IF[#24EQ#0] THEN #24=#31 (Specify the X coordinate)
IF[#25EQ#0] THEN #25=#32 (specify Y coordinate)
IF[#26EQ#0] THEN #26=20 (specify the primary coordinates)
IF[#19EQ#0] THEN #19=#4119 (specify S value)
IF[#19GE700] GOTO2 (when S≥700, jump to run N2)
M40 GOTO3 (jump run N3)
N2 M41 (shift)
N3 G90G0X#24Y#25M3S#19F#9 D#20 M8
G43Z#26H#20
M99
This method was successfully debugged once in the FANUC system, eliminating the safety hazard in the CNC milling machine tool change, and greatly improving the processing efficiency of the CNC milling machine.
For more information, please see Metalworking (Cold Processing), Issue 3, 2013 or other related content on Metalworking Online.
Other barrow wheel
Rubber Wheel,Barrow Wheel,Pneumatic Rubber Wheel
Shengao Special Hand Truck Co., Ltd. , http://www.bestgardencarts.com