09-11-2014 10:59 AM
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?
09-11-2014 12:51 PM
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?
09-11-2014 12:56 PM
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..
09-12-2014 06:53 AM
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.
09-12-2014 07:30 AM
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
09-12-2014 07:40 AM
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.