% ; Start program
G90 ; Absolute
G00 X0.0 Y0.0 Z0.0 F50 ; Send all axis home
G91 ; Incremental
FOR Counter1 = 1 TO 3 ; Loop 3 times. depth in "Z"
G91 ; Incremental
G01 Z-0.5 F50 ; Infeed "Z"
FOR Counter2 = 1 TO 40 ; Loop 40 times
G91 ; Incremental
G01 X-14.0 F50 ; Infeed "X"
G01 Y-0.175 F50 ; Infeed "Y"
G01 X14.0 F50 ; Return "X"
G01 Y-0.175 F50 ; Infeed "Y"
ENDFOR ; End loop
G90 ; Absolute
G00 Z0.0 F50 ; Send axis home
G00 X0.0 Y0.0 Z0.0 F50 ; Send all axis home
G91 ; Incremental
G01 Z-0.5 F50 ; Infeed "Z"
ENDFOR ; End loop
G90 ; Absolute
G00 Z0.0 F50 ; Send axis home
G00 X0.0 Y0.0 Z0.0 F50 ; Send all axis home
M30 ; End of program