Greetings,
We are currently in the testing phase of our machine, which consists of two Delta D4 robots and two TrackingPaths: one for PICK and one for PLACE. The frames of the PLACE TrackingPath are created and deleted dynamically depending on machine conditions.
A handshake is implemented with the robots so that the frames can only be deleted when no robot is executing a TrackObject(). This is handled in the code such that, when the execution reaches the TrackObject() command, a flag is sent to the PLC via the variable InTrackingPlace.
However, there are occasions when the handshake fails due to the speed of the process and decision-making, and we end up deleting a frame while the robot is already executing TrackObject(). In the process, TrackingFrameSelect() is executed, which returns a Frame ID. If, at the moment the robot executes TrackObject(), this Frame ID becomes invalid, it will cause a fault with error number -1067450322, ultimately leading to a stop.
Is there any way that, when this happens, instead of returning an error, I can manage the situation and program a fallback reaction?
Thanks

