It is a good practice to check for the current ESS Plugin recommendations: https://warp9td.com/index.php/gettingstarted/setting-up-the-smoothstepper-and-mach4#MachFourInitialESS_NEW_PLUGIN
Plugin config. The following sample shows the configuration using a C22 on LPT3 of the ESS. But if using older boards, like the C32 or C62, you would be using LPT2 of the ESS.
STEP 1: Pins Config
A custom screen is needed. You can download and install the sample screen or you can modify your own.
Right-click on ControlGroup
Open the Panel Wizard.
Select the device you are using.
Start Looking for the signals while you activate them.
Select the function that you want to edit by selecting the input signal
Once you assigned the pins, you need to close the panel wizard and restart Mach4 for the changes to take effect.