This is an idea, without G41/G42, but it compensates tooldiameter from tooltable entry. Just enter the machining diameter near top.
Straight X move, then one round, and straight back to center.
You can do a helix also, just start at Z0, enter in the line with G2 also Z depth and amount P of turns (Z-2 P10)
Maybe G2 G3 can be changed for opposite direction.
It is not tested, so try careful dry run
Edit:
It is tested in my sim, and half circle lead in / lead out added for smooth transition to circle
Code:
;*************************************
;INPUT MACHINING DIAMETER
#<DIAMETER> = 1
;************************************
(DEBUG, DIA= #<DIAMETER>;)
G0 G54 G90 G20 G64 P.013
X0 Y0 F5
S1000 M3
Z1
#<R_EFF> = [[#<DIAMETER> - #5410] / 2]
X0. Y0.
G1 Z-2
G2 X-#<R_EFF> Y0 I-[#<R_EFF> / 2] J0
X-#<R_EFF> Y0 I#<R_EFF> J0
X0 Y0 I[#<R_EFF> / 2] J0
G0 Z1
M5
M2