Hi I generated a g-code for my drilling work but ran to this error in mach3
"R Less Than Z in Cycle in XY Plane"
and i don't have a clue
this is parts of the g-code

G90 G94 G91.1 G40 G49 G17
G21

G0 Z15.00
M3
G4 P4.0
G98 G81 X0.00 Y0.00 R-6.00 Z0.00 F1000.0
X0.67 Y0.53
X0.88 Y1.12
X0.80 Y1.70
X1.41 Y2.16
X1.98 Y2.11
X2.38 Y1.62
X2.16 Y1.04
X2.75 Y1.04
X3.36 Y1.26

NOTE: When i change r to a bigger number than z instead of going down and drill and going up it goes up and moves in down