Good morning All,
Iam finishing simulation for Okuma - but I encountered a problem , refers to radius address. Iam using Fanuc familly controller - for this machine , it is much better than Okuma parser.
Still I cant workaround parser error about circular motions (G2/G3) , (L) address is required. Fanuc reads IJK and R , but R doesnt work on this machine model, and I dont want to use I J K.
Is there any way to replace (L) on (R) in machine configurator ??
I have used the CSEPreprocessLine method for non -identified commands for the okuma and as such it is ok. But I can not handle with the radius.
Below I attach photos, there everything is well visible. Trying to made my own address (L) by using SetCircleParameter , but I do not know if it's a good way.
Best regards, Jacob
Solved! Go to Solution.
Replacing R with L doesn´t work with CSEPreprocessLine?
Which error message comes up?
Keep in mind that you have to handle "R" instead of "L" in MCF/CCF when replacing L with R
The simplest implementation for R metacode can look like this.
Hey Thomas - Thank You very much for a quick reply.
I had same idea with R address , but I forgot to put "R" in param - thanks for tip
Replacing R with L work with CSEPreprocessLine , but with a little combination, below:
thanks for your feedback.
Sorry I uploaded the wrong screenshot with a typo.
The parameter in SetCircleParameter command is "Radius" instead of "R"
And yes the CSEPreprocessLine is a powerful but also dangerous method and should only be used in exception cases. This method has a huge perfomance impact becaus each line is always checked against the conditions inside.
The alternative to that method is to customize the python parser by your own. This is possible since NX11 with manual and the non compiled python scripts. Currently I´m working on a TechTip session how to do that. (Py files are version depend, so NX11 py files will not work in prior versions)
It´s not possible to look into the red doted metacodes excerpt you work in our department ;-)
Hello Thomas ,
Thank You very very much again for Your help and all tips - I followed Your guidelines.
I'm sorry that I answered so late, I was on vacation far beyond computer range.
In the subject of OKUMA (cse in C1 spindle side ) now everything works as it should be for turn and mill operations - I only need to finish the cse for the counterspindle in C2 (not so easy )
Best regards , Jacob