Thanks for your help guys, maybe I'm doing something wrong but no joy I'm afraid. Maybe I'll just do it outside of Mach 3.
I was hoping just to copy the routine that's used for the Flood Toggle and Mist Toggle buttons on the Diagnostic screen, both of which I have operated from external buttons. I'm clearly missing something basic.