I have a new question about CSE simulation for Heidenhain iTNC.
I need to simulate a NC-code which contains a block "PLANE RELATIV SPBxxx.xxx STAY TABLE ROT".
But unfortunately I become a Parse error after reading 'PLANE RELATIV'. See a picture below.
The parameter "RELATIV" isn't declared as a parameter of TNCCommand "PLANE" in CCF file of a controller normally.
And it doesn't help, if I define "RELATIV" as a new one parameter of the "PLANE" command.
So my question.
Is it possible to eliminate this error and to define an appropriate reaction on this NC-block?
I work in NX18.104.22.168 MP13.
I hope, if anybody can answer my question.
Thank you Ashot.
P.S. There is one method CSEPreprocessLine. It is possible to change the NC-block before it will be read by parser. But I don't want to use it this time. Reason: as I can understand a command findSubstr can't find a subString, when it stays not at the beginning of a String.
E.g.: subString "PLANE RELATIV" can't be found by command findSubstr
in the String "22 PLANE RELATIV SPBxxx.xxx ..."
"Imagination is more important than knowledge" - Albert Einstein