cancel
Showing results for 
Search instead for 
Did you mean: 

Variable def error Siemens Pama machines

Creator
Creator

Hi Everybody,

I am trying to make a macro program with some uses of the variables for a 840D siemens Pama horizontal machines. I defined the variable at the beginning of the main program as blow:

DEF INT COUNTER=0    

DEF REAL TURN

 

The machines generated alarms for those lines.

Does anyone out there have any idea what wrong with those?

 

thank you in advanced.

 

Chris

2 REPLIES

Re: Variable def error Siemens Pama machines

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

maybe TURN variable is some kind of system variable

Try to use "_TURN" instead of "TURN"

Marek Pawlus, NCmatic

Production: NX 11.0.2
Development: C#, Tcl/Tk, CSE

Re: Variable def error Siemens Pama machines

Creator
Creator

Thanks,

actually I used

DEF INT  NTURNS       ( stand for number of turns)

 

I tried couple others words for variable, but it didnt work.

Learn online





Solution Information