Hi,
if you wish to use Mach4 then there controllers that do that well, for instance an Ethernet SmoothStepper. What with the Mach4 license, a Mach4 compatible controller
and suitable breakout board you are looking at the thick end of $600. On the other hand it works well.

There are two controllers that are compatible with Mach4 that are USB connected......but I would recommend Ethernet connection, much better noise immunity
and lower latency.

Craig