Cancel
Showing results for 
Search instead for 
Did you mean: 

Pb CSE _SETV[9] Undefined

Solution Partner Experimenter Solution Partner Experimenter
Solution Partner Experimenter

Hello i have a problem with the variable _SETV[9].
I make a probing cycle961for sinumerik 840d.
I try in the mcf file i haven't results
Could you help me where is it possible to initialize _SETV[9].
Thanks in advance.
Best regards.
Arnaud.

.

 

8 REPLIES 8

Re: Pb CSE _SETV[9] Undefined

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi,

 

 

this variable is declared within the pgud.def.

...

N347 DEF CHAN REAL _SETV[9]

...

this definition is within the cyc file. Do you use the ootb cyc file? I ask because the defined field size should be enough.

 

 

Thomas

Re: Pb CSE _SETV[9] Undefined

Solution Partner Experimenter Solution Partner Experimenter
Solution Partner Experimenter

Hi Thomas,

thanks for your answer.

I used the cyc files.

I send a screenshot of these files.

Brg.

Arnaud.

Re: Pb CSE _SETV[9] Undefined

Siemens Phenom Siemens Phenom
Siemens Phenom
Hi Arnaud,

important is to know which cyc file is used from the simulaiton. Please look into the Program Manager and figure out which cyc file is there. I´d also suggest to use only one cyc file to be sure that the right one is used.

Thomas

Re: Pb CSE _SETV[9] Undefined

Siemens Phenom Siemens Phenom
Siemens Phenom
btw... with the declaration DEF CHAN REAL _SETV[9] --> you can access the field index from 0-8.
Within the screenshot I see _SETV[9] This field cannot be accessed because its not defined.

Thomas

Re: Pb CSE _SETV[9] Undefined

Solution Partner Experimenter Solution Partner Experimenter
Solution Partner Experimenter

I know it is definied in my PP but is undefined in CSE file and the file SinumerikSL_Cycles.cyc is crypted.

I try to define in ini files but the result it's same. 

Re: Pb CSE _SETV[9] Undefined

Solution Partner Experimenter Solution Partner Experimenter
Solution Partner Experimenter

I send the screenshot of program manager.

Brg.

Arnaud

Re: Pb CSE _SETV[9] Undefined

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi,

 

I looked also into the cycle961 code. The _SETV array variable is only used with an index range from 0-7. So why do you try to use a index >8? Why do you need the index 9 or higher? I´d suggest to use your own variable or another one.

 

In general...currently there is no possibility to resize the field size of an nc array variable. 

 

What you also can do is. Try to get the pgud.def from the Sinumerik controll and adapt the definitions in there. But this is not the suggested way from my point of you. Because you modify then a standardized controller definition. In addition to that you should check the nc code on the real controller/machine if that will work. I guess ... no!

 

Thomas

 

Thomas

Re: Pb CSE _SETV[9] Undefined

Solution Partner Experimenter Solution Partner Experimenter
Solution Partner Experimenter

Hi Thomas,
thanks for your answer i make a modification in my PP.
The cycle 961 was implanted by  my german collegue (Janus Engineering) with index 9.
I will modify following your recommendations.
Thanks for your support
.

 

Arnaud.

Learn online





Solution Information