Did you get an answer?
Jim
Hi
Can anyone help me with the tool change macro program for our Kitamura Mycenter2 with Fanuc 6M control. We have lost the sub program for tool change after initalising the memory. We had a system error 908 alarm and we initalised the memory. Now we have lost all the programs and sub programs in the memory. When machine is asked to do a tool change it gives the alarm 078 program error. Has anyone got a sub program for tool change. Your help will be much appreciated.
Thanks
Did you get an answer?
Jim
Jim Short
www.tahlinc.com
Thanks!
How are you calling 9000 and setting #149 global variable?
Jim Short
www.tahlinc.com
Hi
In the program I write tool number and when it reads "T" command, it calls the macro automatically. e.g my prog will look like the following.
G54G90;
G28Z0;
G28X0Y0;
T3;
S500M3;
etc., etc,
So when machine reads T command it calls the macro (O9000)
But to write macro for tool change, you need to enable parameter switch so that it allows you to write and make sure you disable the switch after writing macro. I hope it will work for you too.
Good Luck
This worked!
(call with M66 P320 = 66)
%
:9001(TOOL FETCH)
#1=#4120
#2=#4003
G00
G40G49
G80G17
G91G28Z0.0
G28X0.0Y0.0
S100
T#1
M6
Y-33.
Z-5.
G#2
M99
%
Jim Short
www.tahlinc.com