Originally Posted by
fanuc-support.c
Sorry, dived in a bit then. There should be an m code to act as a pulse for this.
If param 6700#0 = 0: M02, or M30
= 1: Only M code specified by parameter No.6710
Or it might not be set in the PMC.
You can use macro b, #3901=#3901+1 this will count it up, put it at the end of your program.
To check it, IF[#3902EQ#3901]THEN #3000=1(PARTS COMPLETE);
On thing to be aware of,Fanuc wrote the whole of the front end (what you see on the screen) for the Robodrill in macro ex. Therefore it is likely to be quite different to a normal fanuc control.