right... Im now able to turn on 5v and turn off 5v to a pin, by running the m3 command etc.. however it seems there is not sufficient power to pull a relay.... therefore... how do I get from the 5v signal... to flicking the spindle vfd on and off?

i assume an opto coupler?