% (This will demonstrate Macro commands in Mach4) N001 G0 X0.0 Y0.0 (Rapid move to the X-Y Origin, Ignore Z) N002 M62P3 (Turn ON Output 3, on next motion command) N003 G1 X0.0 Y2.0 F20 (Move to 0,2 at 20 inches per minute 'IPM') N004 M63P3 (Turn OFF Output 3, on next motion command) N005 G1 X2.0 Y2.0 F10 (Move to 2,2 at 10 inches per minute 'IPM') N006 M62P3 (Turn ON Output 3, on next motion command) N007 G1 X1.0 Y0.0 F3 (Move to 1,0 at 5 inches per minute 'IPM') N008 M63P3 (Turn OFF Output 3, on next motion command) N009 G0 X0.0 Y0.0 (Rapid move to the X-Y Origin, Ignore Z) N010 M30 %