Nothing is wrong with that, except I find it very inconvenient going to the diagnostic page every time I want to start the router motor. However I see that the flood button is output #2, so I'll try that.
The blue screens that I'm using are for the xyz probe.
Thanks for the help, you did help. I don't know VB so I won't be changing the name on the button. I'll give it a try, and get back with the results.
Dave