may have been a bit quick to celebrate then
was working for about an hour until it tripped the RCD and now the spindle tries to spin up and trips the breaker in the back of the cabinet whenever its turned on, the relay that i thought was supposed to control the spindle enable doesn't seem to change much whether its there or not so i was probably wrong about that
this is what i get for working on things when tired i suppose