I’m trying to connect a force sensor to the UR16e control box and I want to get the force during the working process. But I don’t know how to do it. I’m using the URX to control the UR16e.
Is there any function I can use to get the force data?
have you already taken a look at the URScript Manual? (This is the current version at the moment. Please make sure to use the latest/fitting manual version)
The function force() and get_tcp_force() provide you with the current force data of the robot during a running program.
Alternatively you can use the different interfaces available on the robot for accessing the robot force data: