OK, got the spindle all up and running with S codes to command speed. I ended installing a new encoder from Automation direct. Had a bit of trouble with the test spindle routine but got it going with Camsoft support.
Yesterday did the bloody awful job I've been putting off, final cleanup of the coolant sump. Some real nasty sh*t has been growing in there for years. turned out to be easy once set up. I cleaned out my wet dry shop vac and set it up to suck water. Set up the hot pressure washer. Alternated between washing and vacuuming till it was clean. Did **** off SWMBO as my clothes looked like I had been swimming in a coolant sump. I looked about the same.
Today, got the home routine debugged and soft limits set up. Just a tiny bit of work left for tool change logic.
Did a trial of Estop when running G0. Machine losses position. Not a huge deal as this should only happen in a true emergency and the machine can be re homed. Also if axis are moved by hand under estop, machine does not see the move. I wonder if a re-wire as per the red lines to by pass E-stop would cause problems? I've left encoders powered under Estop on my other installs.