Originally Posted by
grweldon
Hello!
Once again I'm coming to the CNC zone to help me solve an issue. I'm using a Fanuc 35i control.
I have a creep-feed grinder that is encountering a spindle overload. I didn't write the program but I'm stuck fixing it. When the overload happens, a macro executes. This macro retracts the spindle to a safe location then does a soft-reset. When this happens, the program rewinds to the beginning, losing the place in the program where the fault occurs.
My question is this: Does the control store the currently executing line number (N-number) in a parameter than can be extracted? My program has N-numbers on every line.
If it does, I can modify the macro that retracts the spindle and rewinds the program to grab the current line number and put it in a variable before rewinding, letting me know exactly where the fault occurs.
Thanks for reading...
Glen