It was a careful checking of the output of pin 3, as well as all of the ESS and Mach4 settings relating to X Dir signal.
It was so long ago now that I can't remember whether it was a wiring problem or software settings problem, but I got it working again by checking the wiring first, then software.