Showing results for 
Search instead for 
Do you mean 
Reply

Parse error after reading 'PLANE RELATIV'

Hello everybody!

Hallo zusammen!

 

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 NX9.0.3.4 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 ..."

 

Parse_Error.jpg

"Imagination is more important than knowledge" - Albert Einstein
2 REPLIES

Re: Parse error after reading 'PLANE RELATIV'

Hello,

 

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.

 

 

Thomas Schulz
Siemens PLM
Manufacturing Engineering Software

Re: Parse error after reading 'PLANE RELATIV'

Hallo Thomas!

 

Vielen Dank für Ihren Ratschlag!

 

Mit freundlichen Grüßen

Ashot.

"Imagination is more important than knowledge" - Albert Einstein

Learn online





Solution Information