Cancel
Showing results for 
Search instead for 
Did you mean: 

Toolmeasuring simulation in CSE

Valued Contributor
Valued Contributor

Hello

 

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.

no luck.

 

is this collision only checked against IPW?

If itsa possibel against any 3D model how this should be done?

 

3 REPLIES 3

Re: Toolmeasuring simulation in CSE

Pioneer
Pioneer
Hi, Jussi!

Just today I use SetStopAtCollision...
I think, you have wrong syntax for this command. You need define first two parameters for one set of collided objects and second set.

Re: Toolmeasuring simulation in CSE

Valued Contributor
Valued Contributor

Hello

 

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");

 

Capture33.JPG

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.

 

Highlighted

Re: Toolmeasuring simulation in CSE

Valued Contributor
Valued Contributor

 will ansver my own question.

It is limited in one line it is applyed.

 

 

Learn online





Solution Information