M98 G65 Loop counts / can't set to zero
Posted: Fri Dec 01, 2023 4:51 pm
Sometimes when I run either M98 or G65 I would like to "turn the subProgram off by using a loop count of zero. This does not seem to work though as the sub will always run once unless I comment it out. That's difficult when the sub in question is nested in another file.
Is there a way to list these subPrograms in my main file and setting them so they only run when desired?
I have #variables in my main program which I set to anything from zero to 25 repetitions. I just cannot get the zero to do what I think it should.
I just need to loop things in an adjustable scenario where the least run amount is "0".
Maybe I need to skip them instead by using some form of IF statement??
Thanks.
Is there a way to list these subPrograms in my main file and setting them so they only run when desired?
I have #variables in my main program which I set to anything from zero to 25 repetitions. I just cannot get the zero to do what I think it should.
I just need to loop things in an adjustable scenario where the least run amount is "0".
Maybe I need to skip them instead by using some form of IF statement??
Thanks.