Quote Originally Posted by hoss2006 View Post
Yeah, M98 subroutines work in Mach 3 too.
Machs m6start macro works in the background, just a vbscript that runs when the m6 t# code is used.
Hoss

an m98 example


(15 TOOTH TIMING PULLEY FOR 16T ATC)
(.078 ENDMILL .935 O.D.)
G90
G0 A0 X0 Z.100
M3 S6000
M8
M98 P1 Q15
G0 A0 X0 Z.100
M5
M9
M30
M2
O1
G90 G01 Z-.010 F5
X-.800
Z-.020
X0
Z-.030
X-.800
Z-.040
X0
Z-.050
X-.800
Z-.060
X0
G0 Z.100
G91 A24
M99
So from this, I gather you must place the sub at the end of the program? not so conveinient for multiple programs running the same sub... is this common with other cnc controllers or am i misunderstanding?