Here's the pins from the Mach3 configuration
outputs:
X-axis: step 2, dir 3
Y-axis: step 4, dir 5
Z-axis: step 6, dir 7
A-axis: step 8, dir 9
Spindle: 14
Dirs on X and A are low for proper direction
Inputs:
E-stop 10
X home 11
Y home 12
Z home 13
Home switches are active low