Alex, sounds like a good project. Wish we'd had a cnc mill when I was at school.
Couple of points; The pic U2 stepper from Dave @ DAK is for unipolar stepper wiring. Make sure you can wire the steppers you have as unipolar. It would be worth looking at the open source and electronics sections here as there are several other drivers that might work for you too.
Are you using a breakout board?
For limit switches are your switches normally open or normally closed? If you set that for the appropriate pin in TCNC ( lo or hi) then you can often wire the switch directly to the port earth (18-25) and the pin input. If the switches are normally open, which is usually the best, then you might need to pull the pin up to 5v with a resistor, with the switch taking it low when closed.
The setup for the step direction pins is in the Axis setup, not the IO section that you've listed here..
Andrew |