Trying to setup a convenient group of buttons wired to a second BOB. Things like Safe Z, Flood on/off, Pulley selection etc. I have them all "working" but its just not perfect. I am using a momentary button for each input. The Macro Pump code for each input is along these lines:
Flood=GetOEMLED (823)
REM Flood control on/off
If Flood=True Then
Code DoOEMButton(113)
End If
So this works but I seem to have to hit the sweet spot for when the macro runs. Hold the button too long, and the flood comes on, then back off (sometimes all I see is the Output LED flash on diag screen).
The worst part is I have a Spindle CW and a Spindle CCW button. If I am not perfect in pressing my button for just the right amount of time, my spindle will not cycle on. If and when I cycle with the on screen buttons or a button I made myself with the "Code DoOEMButton(110)" it starts perfectly every time. So it must be something to do with my Macro Pump setup.
Thanks,
Bryan