Each machine would need a PMDX-407-S if they were to be running at the same time.
If you don't mind a plug and jack with multiple connections you could connect one
PMDX-407-S to different machines, one at a time.
For Sherline motor drivers we also recommend a power contactor to kill the input
mains power to start and stop the spindle. The "Inhibit" signal on the spindle
motor driver is not failsafe. Our PMDX-ContactorMD20-120 can be controlled
directly from the PMDX-407.
One computer can run Mach4 with different profile settings each customized for
the machine that it is running. The computer and the PMDX-340 can only run
one machine at a time.
The requirements for a computer running Mach4 are listed at the bottom of
this web page:
http://www.pmdx.com/Mach4Hobby