Dear,
I like to know if and how I can "peek" in the control if the M1 button is pushed on the control.
This to make sure that the tool will not stop inside the material if the M1 line is really applied. And so all inserts will break.
So basically I like to “peek” to the marker that is set by the button on the control display and react on that marker by a motion before really applying the M1.
My drilling program should look like this:
#1=1
G00Z+#1M3
N1
#1=#1-1
G01Z+#1F50
IF[#4???EQ?]GOTO1000
IF[#1GT-100]GOTO1
N1000
Z+50 F500
M1
M30