so ive been writing all my codes out never using subroutines (m99 m98) (mach3)
like this below is how i always do it .... works well but there are better ways im sure
(1/2 THREADER single cut )
M3S3000
M8
G4 P1
G0 X.125 Y0 Z.01
G0Z0
G2 X.125 Y0 Z-.0625 I-.125 J0 F30
G2 X.125 Y0 Z-.125 I-.125 J0 F10
G2 X.125 Y0 Z-.1875 I-.125 J0
G2 X.125 Y0 Z-.25 I-.125 J0
G1 X0Y0
G0Z.1
ive been looking to learn to put the m99 m98 and get it done in a few lines of code
so i saw this on mach3 site which looks like it should work but doesnt for me . i think i just do not get how it doesnt work .
M98 P1 L6
O1
G91
G2 X0.0 Y0.0 I0.5 J0.0 z-0.06 F20.0
M99
i know it would do a completly different thread then first one i posted , but i dont know why i cant get the m99 an m98 to work so no way i can correct it anyway .
mach3 always say '' returned call with no sub in effect ... looping''
if it was in the middle of my list of code and the m98 was line # 50 would the P be 51?? and the O 51 ??
or the O still be 1 for the repeating the lines 1 time .
also wonder if the 91 is needed ??
thanks



Reply With Quote
)and I am sure if you had asked there you would have had an answer within minutes.