Universal Robots Forum

How to stop the robot at some displacement given some external condition and take that data

I would like to advance the robot in one movement to a point, and through the information from an external sensor (analog input) stop the robot. So I would also like to take this current position after the stop. I would do this at three different points and I would like to create a plan with those three points. Can anyone help me on what functions to use?