I have some custom parameters which were hardcoded in tcl servise layer. Then I try to move this parameter to posconfigurator propeties to let my customer change some values. Everything works, I see it in dialog box, I can change it.
But problem is that I need some values very early in NC code, but it gives me default values instead values in dialog box. The changed value comes later.
Attached is picture where is shown what is happen when I output NC code.
Is there any possibilities how to get these changed values earlier? Or must it stay as harcoded values in tcl?
Selected value is also used as part of name of NC program.
The problem is that I use this command in my "help" layer (where I have declaration of my variables):
set SKODAp_operace [SKODA_obecne_info operace]
- but it reads default values, no idea why
If I use [SKODA_obecne_info operace] in output functions it outputs what I want as in your example.
Now I try to move this declaration of my variable (set SKODAp_operace [SKODA_obecne_info operace]) to the function which I call in PC (in section output basename control) and it works, here it reads actual values - but the proc which I call is declared in the same "help" layer.