View Full Version : What's a good way to have a counting formula?


Darc
11-02-2004, 08:13 PM
When I say counting I mean at the top of my program you enter how many passess and everytime it runs through the program it takes one off the amount of passess to go.
Does that make any sense to anyone else but me??

HuFlungDung
11-02-2004, 10:27 PM
Darc,

Is this something that you cannot handle with an M98?

MyVariable = (MyVariable-1)

That would be the barest example. I'm not sure if Camsoft will permit an If Then loop in a gcode program.

That's why I'd recommend that you use the M98, as that is what it does best is count down :)