cancel
Showing results for 
Search instead for 
Did you mean: 

activateLineSuppression

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

Hello!

I try to use in CSE, FANUC controller (sim02_mill_3ax) OOTB with activateLineSuppression - no any result. I use (-1, TRUE), (0,TRUE), (1, TRUE) - no line suppression. I add this command to ini-file. I try to add into MCF file. No results.

What's wrong?

 

Thanks!

 

 

3 REPLIES

Re: activateLineSuppression

Siemens Phenom Siemens Phenom
Siemens Phenom

Hello,

 

some hints:

* the CSE command activateLineSuppression must only used in the Anycontroller language

* result depends on the NC code, might be helpful if you share your example NC Code

* No option today to activate / deactivate that via a UI in the simulation panel

* The call of (1,TRUE) will suppress all NC lines which starts with /1

* The call of (0,TRUE) will suppress all NC lines which starts with /

* The call of (-1,TRUE) will suppress all marks NC lines doesn't matter which level

 

The '/' sign should always appear at the beginning of the NC code line

 

 

Thomas Schulz
Siemens PLM
Manufacturing Engineering Software

Re: activateLineSuppression

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

NX10.0.

 

Hmm.. In manual for CSE commands I see activateLineSuppression and activateLineSuppression AC (but a same article).

I understand how it must working on a real CNC Mchine, and example of my nc-programm:

 

G1 X0 Y0 Z0 F234

/ M08

or

/1 M0

or

/2 M09

 

I insert in ini-file

 

## LANGUAGE AC

 activateLineSuppression (-1,TRUE); // I try 0, -1, 1 - no results

## LANGUAGE NATIVE

 

And I have error message for each line with /

 

I no need UI button to activate or deactivate this option.

Re: activateLineSuppression

Siemens Phenom Siemens Phenom
Siemens Phenom

I have tested the NC Code example below with sim01 Fanuc OOTB example and it works as expected (as described). Please try that.

 

##LANGUAGE AC
 activateLineSuppression(-1,TRUE);
##LANGUAGE NATIVE
G1 X0 Y0 Z0 F1000
/ X100  (NOT EXECUTED)
/1 X150 (NOT EXECUTED)
/2 X200 (NOT EXECUTED)
##LANGUAGE AC
 activateLineSuppression(-1,FALSE);
 activateLineSuppression(1,TRUE);
##LANGUAGE NATIVE
G1 X0 Y0 Z0 F1000
/ X100  (EXECUTED)
/1 X150 (NOT EXECUTED)
/2 X200 (EXECUTED)
##LANGUAGE AC
 activateLineSuppression(1,FALSE);
##LANGUAGE NATIVE
G1 X0 Y0 Z0 F1000
/ X100  (EXECUTED)
/1 X150 (EXECUTED)
/2 X200 (EXECUTED)
M30

Thomas Schulz
Siemens PLM
Manufacturing Engineering Software

Learn online





Solution Information