I want to put a "if" statement in my tool changer on a okuma hoz. fanuc 16I controll. What I want it to do is look at data # D0004 tool in spindle and if same tool as program is calling up just have it goto end of tool changer program.
Reason for this, right now it alarms tool in spindle so the operators skip over tool changer and we all hope right tool in spindle. We had one junk part last night, trying to put 3/4 em where a 1/4 drill should be.
If operators can skip the t command they will do the if statment as well
On a mill its how you create the main that is the issue
G200-Macro for home pos
N101 M98 P9101(DRILL)
N102 M98 P9102(TAP)
With this program you can only see the main desplayed if you want to lock out the subs and you can rework from the main and the sub is self contained to look after tool change