Thank again Hood,
I actually downloaded the .062 version of Mach this morning, and while waiting for your reply, I changed to that version. I think there has to be a correct match of ESS and Mach, or they won't work right. I tried different versions of Mach and also different ESS versions. Each time different problems arise. Right now, the .062 seemed to have solve my mdi and mpg step functions. Because my program would take over 9 hours to run, I 'll wait till tomorrow to start it. Keep my fingers crossed. I'm forever grateful to you for all your help in the past. By the way, I think I solved my issue with the spindle starting when Mach is closed. I simply enabled the charge pump on output tab, and set it to my spindle step pin. So far so good.