I'm trying to set up a subroutine for my bar feeder but when trying to test it using mach3 it goes directly to line 19 and doesn't go through the process line by line (Program Run Alt-1.. run from here).
Any ideas to what have I done wrong?

L12
F100
(Drop stock)
G0 A1
G0 A0
(Bar feed pushes stock through chuck by 35mm)
G0 B275
(start spindle)
M4
(Cut and drill float body)
M5
(After each cut bar feed moves stock 35mm)
G0 B35
(Start spindle)
M4
(Cut and drill float body)
G28
M5
M99
M98

Similar Threads: