If they are brushless motors they will work fine with the drives as long as the encoders are compatible. What I mean by that is the encoders must have hall outputs on them so that the drive can determine the commutation for startup, once running they are not required. You can set the drives up to self sense and thus you will not need the commutation signals on the encoders but the downside to that is everytime you power up the drive the motor will rotate slowly for a small amount to sense the commutation. This probably wouldnt be an issue on a spindle but could be on an axis. If however the drives are left with power to them they will not need to do the sensing. Still best to have the right encoders though.
You can fit encoders to these motors and lining them up is fairly straightforward if you have a scope but even if you dont the drive has a means to offset the signals but I prefer to do it correctly.
The proper type encoders are not cheap and I have found in the past it is much cheaper to get a smaller motor off eBay that has the correct type encoder and just pull the encoder and put it on the bigger motors. Few things you need to know about that however is that the pole pairs are the same and also you really need the shaft size where the encoder mounts to be the same although you could make extension shafts or sleeves if its not.
Wiring up the motors to the drives are fairly straightforward, the drives can accept single ended outputs for Step/Dir but I prefer to use the Differential inputs. As the signals from Mach are single ended you need to make up a small circuit and use a line driver to turn them into differential outputs but as said its not needed but preferred to help with noise immunity.
Hood