Hi all,
I'm stuck with a quite curios problem and I was not able to find a solution for it yet.
Suppose the main program is executing a motion command (JMOVE or LMOVE for example), and the E-Stop is triggered. This last motion is resumed when the emergency is cleared and the motor power (and cycle) are turned on.
I see that in my program it is not safe to use from a PC program MC EXECUTE NEXT since it's not certain which instruction will be skipped. I tried to use BREAK, but I see that when the robot is not actually moving, BREAK does not skip the current instruction.
Is there a way to cancel a motion instruction while the robot is not moving (the program points at the motion instruction but the robot is not moving (like in HOLD), hence before the motors turn on).
Alternatively, is there a way to understand if the program being executed is on hold at a motion instruction? In this way, I can safely do MC EXECUTE NEXT.
Thank you so much in advance.