Check your board at what pin is the output to the spindle, mach 3 settings, ports, output signals, find the output pin number and tick or untick "active low"