5 лист. 2015 03:59 "Ralph Stirling" <ralph.stirl...@wallawalla.edu> пише: > > I use Linuxcnc for machine automation in my manufacturing lab, > and am bothered by the difficulty of creating "infinite loops". > I often want to have a machine sit an indefinite amount of time > until a sensor signals it is time to make the next move. M66 > lets me wait for a sensor, but requires a timeout value. I don't > want a timeout value. > > In addition to this, I would like to be able to have WHILE [1] > infinite loops, with a conditional to break out based on some > input. Axis hangs loading a program with WHILE [1] in it, > even if I have (axis,HOLD) or (axis,STOP) at the beginning. > > Anybody else wanted to do this? Anybody find a way to? >
I would try to use an external input as a looping condition. So that it exits when the input is not active. ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users