adding before some movements
while(exec. getled(217)); // is feedhold on led
{exec.wait(10);}
can anyone see a problem with this?
i dont want to use stop- as i have that to jump out of the macro if i have a snarl up

the program runs a series of output switched pneumatic ram movements. id like to have the toolchanger pause sequencing if in feedhold
(only has a few controlled xyz axis movements - which will hold but these are at the start and end)