Page 1 of 1

Label that does not keep the value on restart

PostPosted: Fri Apr 05, 2024 6:59 am
by Daniel
Hi
It doesn't matter what I set in the two labels, every time I open the program it displays 0.
If I set something in "Piercing delay", for example, it takes into account the value in the program, only that it is deleted at the next startup.

Re: Label that does not keep the value on restart

PostPosted: Fri Apr 05, 2024 8:25 am
by cncdrive
Thats normal, not all labels keep their values, only some labels do, e.g. the position DROs.
You could save the label value in the M99999 destructor macro which runs once on the software closing and could load the value in the M99998 constructor macro which runs once on the software startup.