Retain Custom Settings
Posted: Wed Dec 13, 2023 7:52 pm
Did some searching on this forum, and looked pretty extensively through the documentation, and not sure if I missed something, or if what I want to do is just not possible. I'll give a simple example vs going over all the possibilities I'm potentially considering:
Let's say I have multiple cooling options for my tool: Air sol. #1, air sol #2 and chemical mist. Any combination of these can be used during a job. The screen has (3) toggle buttons to enable or disable each one - let's call them 20100, 20101 and 20102 respectively. When starting a job, my post processor calls for a startup macro. This macro will do an AS3.Getbuttonstate(20100)... for each button and turn on the appropriate output. At the end of the job, a macro clears those outputs. That is all easily workable without issues.
What I am looking for is a method such that those selections persist with a power cycle / reboot of the PC running UCCNC. What 'user' variables / registers / buttonstates / Led's etc. are settable via a macro, and will automatically be retained until they are changed again by the macro? i.e. similar to a system setting like homing speed.
Thanks in advance for any help.
Let's say I have multiple cooling options for my tool: Air sol. #1, air sol #2 and chemical mist. Any combination of these can be used during a job. The screen has (3) toggle buttons to enable or disable each one - let's call them 20100, 20101 and 20102 respectively. When starting a job, my post processor calls for a startup macro. This macro will do an AS3.Getbuttonstate(20100)... for each button and turn on the appropriate output. At the end of the job, a macro clears those outputs. That is all easily workable without issues.
What I am looking for is a method such that those selections persist with a power cycle / reboot of the PC running UCCNC. What 'user' variables / registers / buttonstates / Led's etc. are settable via a macro, and will automatically be retained until they are changed again by the macro? i.e. similar to a system setting like homing speed.
Thanks in advance for any help.