Hello i have a problem with the variable _SETV.
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.
Thanks in advance.
this variable is declared within the pgud.def.
N347 DEF CHAN REAL _SETV
this definition is within the cyc file. Do you use the ootb cyc file? I ask because the defined field size should be enough.
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.
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!
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.