01-22-2024, 06:44 PM
I wanted to work with this for a while to get a better idea of what the problem is. It appears that there is a buffer where RoboDK is putting the commands that get sent to the Fanuc when running simulations in the "Run on Robot" mode. When there is a problem on the Fanuc side such as DCS error, user E-stop, light curtain break or anything that causes an alarm and haults the robot, RoboDK does not know and continues to try and run the program. Once the robot is brought back online on the Fanuc side, then commands from the buffer on the PC resume being sent to the robot. The user can avoid this by closing the connection and stopping the RDK_3 driver program before putting the robot back online, which will kill the cache. However, if the robot becomes active again without having first manually cutting ties with the PC, then the robot will start executing commands and begin moving unprovoked wherever it happens to be. Ideally RoboDK should have a way to know when the robot has an error or is E-stopped and then terminate the program on the PC side and empty the command cache.