Hi,
the xml files you've posted are for Mach3......but Mach4 is entirely different so even if you can work out what the difference is between these two xml files
it will not help you with Mach4.
Mach4 does have a file that serves the same general purpose called the .ini file,I have posted a screen shot of a small part of such a file. You see that it is very much more readable
than an xml file. The file is composed automatically to reflect the settings you have made in your profile.
I've been using Mach4 for eight years and I've looked inside the .ini file perhaps a dozen times....you just don't need to fiddle with it unless you have a particular desire
or need, and being that much more readable it vastly easier than xml.
As far as setting up a spindle in Mach4 with an ESS its quite straight forward, more so than Mach3. See the attached pics.
Firstly you choose the type of spindle that you have, I have selected a PWM controlled spindle being the most common, but there are other option including Step/Dir and OB (Out of Band),
this is found in the ESS plugin under the Spindle tab. Then, again in the ESS plugin, under the OutputSignals tab you have a number of signals that you can use, like On/Off, or FWD/REV
and of course SpindlePWM, or any combination thereof.
Once you have selected your choices they will be reflected in the .ini file and you'll probably never have to worry about them ever again.
Craig