Skip to Content

Next tool code positions tool but does not change tool. Help!

We have a Mori Seiki GV-503 5AX with a Meldas M66 control. I want to position the magazine for the next tool. When I write the code shown below, the tool positions at the pot correctly but the tool in the spindle does not change at the next M6. The tool thats in the spindle goes to the tool change position but does not change and continues the program.

 

%
O1000( Test )
G90G80G49G40G20G17G0
M1
T7M6('C' [.242] SCREW MACHINE DRILL 1.5 OOH)
G0G90G54X0.2377Y-2.145M3S4000
G43Z1.H7T8
M8
G83G99X0.2377Y-2.145Z-0.9Q0.125R0.1F15.
X1.5Y-1.3693
X3.
G80
G30G0G91Z0M9
M100( HOME XYZ )
G90
M1
T8M6(.2500 REAMER 1.5 OOH)
G0G90G54X0.2377Y-2.145M3S2000
G43Z1.H8T7
M8
G85G99X0.2377Y-2.145Z-0.7R0.1F10.
X1.5Y-1.3693
X3.
G80
G30G0G91Z0M9
G30G0G91X0Y0M5
G90
M30
%