I Have a KUKA KR 120 palletizing robot.
I want to make the robot move along the Z axis of a stack with pallets and record, with a sensor the positions of the pallets. But i cant see a way to do soo. I have tried different ways of looping the movment soo the robot only goes 2 millimeters before checking and repeating the motion. But both loops and WHILE Loops excecutes an advance stop, the function works, its just too slow and looks bad. Any one with any leads on what i'm doing wrong or an better idea, of how to make this possible?