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.
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 ..."
please get in contact with GTAC to open a call for that. With the configurable Python parser (available since NX9.0) we can provide a fix for NX9 in parallel.
Vielen Dank für Ihren Ratschlag!
Mit freundlichen Grüßen