Dear people,
I am programming some mach4 custom screen sets. But i want a button to set a variable High or low. So like some boolean to be true when the button is pressed and false when it is not pressed. I don't mean an output to be set high or low, but more like a variable to be true or false.
I also want to save a variable or value when i close mach4. I want to use that to let the machine know what tool is in the ATC spindle when i have closed mach4 and to let the machine know what tool is in the chuck when mach4 is opened the next day. like some eeprom or something.
Does someone know how to do this in lua and mach4?
Thanks in advance.
Kind regards,
Jelle