Peter,
Thanks for the response. I am using the exact 48v relays you use in your diagram. I have Output#1 Port#1, Pin#17. It does indeed turn on the relay and start the spindle. My main problem is that M5 does not shut off the relay. I cant figure out how to shut off the relay other than escape or estop type action.