Cancel
Showing results for 
Search instead for 
Did you mean: 

CSE - Z Synchro Transformation

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer

Hello everybody, i'm still working on the Tsugami's CSE
(Maybe, someone remember this: https://community.plm.automation.siemens.com/t5/Discussion-Forum-NX/CSE-Sync-Functions/m-p/321790 )

And i reach the time for the part transfer programing. A piece of the part transfer is the synchronization of both Z axis.

What i need to do, is make a transformation (acived by M221) such that if this active, the Joint Z2 take the same position of Z1.

What i have done is:

-Copy all transformations of FanucFamily.CCF to Current File (In the same order)
-Make my own transformation and programmed like that:

Sin título.jpg 

 

But it doesn't work. I have tried some modifications in order to fix it, but do not succeed.

I get those warnings:

 

Sin título_1.jpg

 

 

Is my error the transformation?

11 REPLIES

Re: CSE - Z Synchro Transformation

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

Hello, DBaccille!

Now I solving a same problem. Please, see attached video:

 

M221.png

 

But I dont use additional Transformations...

 

 

Re: CSE - Z Synchro Transformation

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer

Thanks Chigishev!!!, that's exactly what i want to do.


I couldn't understand the warning popup in the Video, maybe that is my answer.... How did you do it?

Re: CSE - Z Synchro Transformation

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

I not sure, my method is right or not..

 

I add global var M221_STATUS, and M221 set status TRUE, and attach joint Z2 from second channel.

And for Z address I add:

M221.png

Thats all...

Re: CSE - Z Synchro Transformation

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer

Yuri, i've tried to make the same method but i can't.

 

After some test, i found the problem is in the metacode of Z address because the M221 activate the code, but it doesn't work.

 

i will type step by step what i did

 

1st-

I've created the M221_STATUS internal variable:

 

Sin título_01.jpg

 

2nd-

I've created an M221 MFunction that activates the Variable:

 

Sin título_02.jpg

Sin título_03.jpg

 

3rd-

 

In the Z Address, i create an IF command:

 

Sin título_04.jpg

 

 

I know my problem is in the Z Address, but i can't found it!

 

 

 

Re: CSE - Z Synchro Transformation

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

For M221 add (before or after set M221_STATUS) :

AttachJoint

"Z2"

"2" channel, from which you detach joint

"Z2" new name for this joint in channel 1

TRUE

 

Thats all

Re: CSE - Z Synchro Transformation

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer

Yuri thank you very much, but still not working.

I attached pictures of how the metacodes of M221 and M220

 

01Sin título.jpg02Sin título.jpg

 

 

With this configuration, when the simulation reaches the M221 it still in the same position indefinitely... like a pause.

Re: CSE - Z Synchro Transformation

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

When you attach joint Z2 from channel 2 to channel 1 - name of axis must be a same, Z2.  

Re: CSE - Z Synchro Transformation

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

Dont use FALSE - must be TRUE.

Re: CSE - Z Synchro Transformation

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer

The first attempt was to use Z2, but get this error

 

Sin título.jpg

Learn online





Solution Information