Hi , Why does the program stop? you put a popup to make it stop? I think than the easiest way is monitorate the lost of the spacer with a variable. Check with a IF statement just after the drop if the spacer still there. If not you can send the robot to pick up another one or overwrite the position than you record to the right one and after make it stop if it's really needed. You can also use a counter for each layer and do the math to send it at the right place when it happend. I have another concern why you loose the spacer? Maybe just a simple mechanical adjustment can solve the problem?
Hi!