Assuming Mach3 is based on a Fanuc Control your G-Code should read close to this but with different coordinates.
N1(EMILL 1/2D)
T1M6
G90G54G40G0G17G0X0Y0S1000M3
G43Z.1H1M8
G1Z.025F30.
G41G1Y-.25F10.
G3X0Y-.25Z-.125J.25
X0Y-.25Z-.25J.25
X0Y-.25Z-.375J.25
X0Y-.25Z-.5J.25
G40G1Y0
G0Z1.M9
M5
G91G28Z0
M1
This program goes to X0Y0 then .025 above the part surface. calls cutter comp in the y axis. After that it Interpolates in all 3 axis at Z-.125 , Z-.25, Z-.375, then Z-.5 in a Helical Motion.
See pic below.
The K in you code is parallel axis to Z, so I don't think it belongs there, but I could be wrong because this is a Mach control, not Fanuc.
Toby D.
"Imagination and Memory are but one thing, but for divers considerations have divers names"
Schwarzwald
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
www.refractotech.com