Stopping movement using IO


Hi, I’m looking for a way for the Dobot to move in Z until DI is triggered, and then to continue with script. At the moment I have it move down by 3 mm and sync to check the DI status, but it’s not smooth and take some time the lower it need’s to go.


i have only been able to do this through python with this connect_move.MoveJog(“Z-”) which makes the robot move z down and then make a threading which checks for the robot DI Status and when status is 1 then connect_move.MoveJog("") to stop the movement :slight_smile: hope this can lead you in the right direction :slight_smile: