Quote Originally Posted by jolyonjenkins View Post
I'm probably being stupid here, but - I assume the relay is for switching the spindle on and off. At the moment I'm just getting my steppers to work, and testing with Linuxcnc and the stepconf wizard. All the steppers are working, but every time I click on "test this axis" the relay comes on, even before I jog the axis. Why is this? When using the machine for real, I would only want the relay to come on when I want the spindle on, not when moving an axis. I don't have the 24V supply connected atm, if that is relevant
Change Enable to pin 14 and move any enable wiring there.
Then assign Enable1 as pin14 in Mach.
That should solve relay issue.
Looks like you have enable on pin17.

Then.
Pin17 is the spindle relay.
If you have seperate on/off & direction controls on the vfd:
Ports and pins I would suggest:
Spindle assign- step=pin 1, Dir=pin 16
Output #1 = pin17
Assign M3/M4 to output #1 (for on/off spindle)
Use pin16 for forward/reverse (I'd use a relay set up as NO=fwd / NC=rev)

Pin1 is the 0-10v/GND pins connected below where you plug in the 12-24v supply
Pin1 and all the other limit/estop inputs only work with this supply connected.
If you find that the ouput pin1 is 10v when stopped, change the active low/high level.