I need to connect up the limit switches first. Here's what I "documented" before I dismantled the bench lashup. It's hardly bullet proof but I think I can figure out what's happening. Recall that the Z limits are the Omron proximity switches, so they need +24V (blue), 0V (green) and two NC outputs (orange and yellow):
The remaining 2 inputs are the VFD outputs ie the dry contact / relay outputs. I forget - but presumably one is VFD error and the other "spindle at speed"(?). No matter, I can check that later.
All wired up according to what I can make out from the photos.
And whoopee shit - it's all connected up correctly! Let's try it. Power up the servos and hit the homing buttons. Yes - it all homes OK, which proves out the encoders, limit switches and servos are wired up correctly. Woohoo. That's almost an anticlimax.
I checked the spindle encoder operation yesterday (works fine at the moment) and I'm not planning on testing out the VFD yet, so for now I have a working system. Off to work for the next couple of days, so that's a good point to leave it for now.