Showing results for 
Search instead for 
Do you mean 
Reply

After Motion or Before Motion, like in Vericut

Hello!

Please, advise me, how I can control an order of execution instructions for CSE simulation?

Example:

N12 T4545 M603 BA=32.88 G52

Now all comands execute in one time, but for G52 I need position AFTER BA-axis motion, like

 

N12 T4545 M603 BA=32.88

G52

Is it possible?

5 REPLIES

Re: After Motion or Before Motion, like in Vericut

Hello

 

I don't know how it should be done, but here  is my workaround:

 

In this situations I'm using subprogram

So in G52 I would call subprogram "G52" which will be executed after all motions.

Inside subprogram "G52" will be some other metacode e.g. G9952.

In MC I add G9952 metacode, and inside it I define what G52 should really do.

 

...but I suppose that there might be easier way

 

By the way - is this ISV for Okuma Multus? Smiley Happy

Marek Pawlus, NCmatic

Production: NX 11.0.1
Development: C#, Tcl/Tk, CSE

Re: After Motion or Before Motion, like in Vericut

Thank you for reply, yes, Multus B300. Now I can use tool lenght compensation  for any B angle, for M602/M603, but I want more realistic motions..

Re: After Motion or Before Motion, like in Vericut

There is a CSE kernel command to separate motions within one NC block. Please check the CSE documentation for NewCoordinate

 

 

I thought I posted that already but didn't find it, so if it is posted twice sorry for that.

 

Thomas Schulz
Siemens PLM
Manufacturing Engineering Software

Re: After Motion or Before Motion, like in Vericut

Thank you, Thomas!

Good size of font!

I see in CSE Documentation NewCoordinate command, I read this article few times - cannot understand, how I can control order of execution in one nc block.. Can you explain it?

Thank you,

Yuri

Re: After Motion or Before Motion, like in Vericut

Hi Yuri,

 

realted to the order:

As default the execution order is like the meta codes appear inside the NC block, but that can be changed by setting Preceeedings inside the Machine Configurator.

The NewCoordinate command can be added e.g. at the end of any meta code, so that whatever meta code gets interpreted afterwards is part of an additional motion.

 

Thomas Schulz
Siemens PLM
Manufacturing Engineering Software

Learn online





Solution Information