Sensor Conveyor

Hello !

I’m using a sensor conveyor and robot with Connecting rods from the feeder . The issue i’m facing , the sensor conveyor works for the 1st part only and after the robot picks and places it back , the next part is not detected by the sensor and just keeps on moving . Can some one please help me with , as I’m on a deadline. Any guidance will be appreciated. I have followed the vedio of grasp and relase to implement the similar.

Did you put your program in a while loop?

I did try once to add an while loop , but then the robot started do the sequence continously and did not let the connecting rod move out(exit)