I have a #var being set to 1 or 0 via G-code.
I have a brain that switches an output IF two conditions are met -
The #var being = 1 AND the RUN(804) LED being on i.e. we are running code.
However the logic fails as the output is triggered when I load a g-code file OR when doing a path regeneration.
Any reason why this should fail and is there a way to make it work??