I'm tying to stop an axis from moving when the robot is not working in the area of where that axis is (the robot moves with a lineal track, the external axis is a toner).
What I'm trying to do is that when the robot leaves the area, the PLC will know and it will send a signal back to the robot telling him that he's not working in the area, so he will use that signal to, in the sps.sub, constantly check that he's keeping the E2 ASYNC so it will not move by accident when working on other area (Areas are controlled by the PLC with sensors, no need to do any area check)
How can I toggle an axis from sync to async in the sps.sub?