Im trying to make sub-program to simulate tool lenght measuring.
I dont need measurement from just simple move above tool leght sensor,
then Z down while detecting tool collision agaisnt sensor 3D model.
I was planning to use just: SetStopAtCollision ("Tools_All", "","Object", "TOOLMEAS_ARM");
then command Z axis down untill it hits sensor 3D model.
is this collision only checked against IPW?
If itsa possibel against any 3D model how this should be done?
Solved! Go to Solution.
Great can you tell me how would you use SetStopAtCollision command to stop motion?
Or is this SetStopAtCollision command only valid on line that is used on?
SetStopAtCollision ("Tools_All", "","Object", "TOOLMEAS_ARM");
OOLMEAS_ARM include 3D model that is is the sensor of tool measuring arm.
I want to stop motion when tool collides with this sensor part.