I need a screenset button that controls the Analog Output (AO1) to my Air Blow on the ATC.
I have successfully added a 5v relay which is assigned to AO1 on the AXBB-E. It works just as expected using #1 in the Analog Output settings and an MDI command of #1=32768 (5v) to turn it on and #1=0 to turn it off.
But I need to assign it to a button on the screenset. Is this possible? Something like exec.Setoutpin, but obviously for Analog Output 1.
Also, as well as the button, I'd like to add the code to the M6 macro, to set the Air Blow at SafeZ before lowering to pick up the new tool.