It would be helpful if a bit more info was supplied.
What version of Mach3?
Is this a licensed copy?
Does machine movement stop at the exact same location each occurrence?
OR do you get further along on a cold machine and stops occur more quickly when warm?
How about vice versa... machine goes further in the code when warm vs cold?
More info would certainly help us help you...