Finally got some time with this. Homing is now working.just need to fine tune it. I managed to blow the relay side of the control board(Bob) messing with the spindle output. New one ordered :) that comparator board seems to be working very well Doody.