Tormach will be closed on Monday, May 29th in celebration of Memorial Day and will reopen at 8:00 am CST on Tuesday, May 30th.

REPEATING SUBROUTINES REFERENCE

Subroutines can be repeated a finite number of times using the repeat/endrepeat keyword.

Repeat example:

(Mill 5 diagonal shapes)

G91 (Incremental mode)

o103 repeat [5]

… (insert milling code here)

G00 X1 Y1 (diagonal move to next position)

o103 endrepeat

G90 (Absolute mode)