hello super carefull sunshine, maybe M53 is for G71
hello technical teddy i have attached some infos from the manuals, related to your drilling stuff
code shared in this post uses G81 / kindly
Code:
IF [ VATOL EQ 1 ] NJUMP
T1 M6
NJUMP ( NOEX ) (*4)
M08
G15 H1
G56 H1
S2000 M03
G00 Z0.43
G71 Z0.43
G81 X10 Y10 Z-1.2 R-0.525 ( P+60/2000*0.6 ) F0.15 G95 M53 (*1)
X20 Y20
X30 Y30
( G00 )
G80
( M05 ) (*3)
( G00 Z0.43 ) (*2)
M02
(*1) ( P : dwell time for 0.6 rotations, thus for 0.6*360=216 degrees )
( formula should contain actual rpm )
( formula may fail in case of override potentiometer <> 100% )
( in your code, from post 1, is no delay : P0 )
( you may avoid the delay for through holes, cut within 1 shot; if you peck, or if there is a blind hole, than delay a bit )
( also there are alternatives to delay, like the retreat movement among 0.3mm, in feed, shared in the code from post 2 )
(*2) ( no need to rapid up, because Z is allready @ safe Z, before executing G80 )
(*3) ( spindle was stopped when G80 was executed )
( if you wish to avoid spindle stopping, then remove the brakets from G00 that is before G80 )
(*4) ( check if it works to remove the brakets from NOEX )