LancoUSA
02-01-2008, 03:49 PM
Starting up our old Okuma, using Mastercam X2 to generate code. When trying out a new program that only uses one tool, machine runs great all the way through to the end. Upon restarting machine to run again I am getting an Alarm B, 539 Wrong T command – Code 1, which indicates: The T number same as active tool number is specified.
The problem is that now the Active tool is tool 1, which now remains in the spindle. There is no need to change, as there are no other tools required.
I have to go back into manual mode and send the tool back to the carousel before going in Auto to run again.
The program starts and ends like this:
(Beginning)
$01.MIN%
G15 H0
T1 M6
G0 G90 X-3.907 Y-31.306 S22500 M3
G56 Z3. H1
G1 Z-.2 F25
< Body of the program, everything working fine>
(End)
G0 Z1.
Z3.
M2
%
Is there a way to cancel the Active tool 1 at the end of program so it can be run again when pressing Cycle Start? Right now when hitting again results in the Alarm as noted above.
Thanks for any input! I hope to get this old beast up and running again.
The problem is that now the Active tool is tool 1, which now remains in the spindle. There is no need to change, as there are no other tools required.
I have to go back into manual mode and send the tool back to the carousel before going in Auto to run again.
The program starts and ends like this:
(Beginning)
$01.MIN%
G15 H0
T1 M6
G0 G90 X-3.907 Y-31.306 S22500 M3
G56 Z3. H1
G1 Z-.2 F25
< Body of the program, everything working fine>
(End)
G0 Z1.
Z3.
M2
%
Is there a way to cancel the Active tool 1 at the end of program so it can be run again when pressing Cycle Start? Right now when hitting again results in the Alarm as noted above.
Thanks for any input! I hope to get this old beast up and running again.