Something like

Click image for larger version. 

Name:	Screenshot 2020-09-21 at 19.21.03.png 
Views:	352 
Size:	76.2 KB 
ID:	28888

All depends on your use-case. In this example UCCNC simply bypasses the manual switches to force the compressor on. Set the M8 command pin/port on setup/spindle page.

You would still be able to turn on the compressor with the existing switches, but not turn off the compressor with the switches if enabled by the AXBB.

That relay?, if it's the right coil voltage and current to suit the AXBB?

EDIT: You could glam up the circuit but there's a certain KISS approach to the above.