I've recently been having issues with mach 3 lately. On startup of mach3 with a loading of any gcode, as soon as I hit run the code will go for a few lines, the machine will move, stutter once, then mach 3 crashes and loses control of the machine which will stop. Boot up mach 3 again, no control of machine, close and start up again, mach3 has control of machine again. Load gcode, run, completes perfectly every time regardless of amount of re-runs with 0 problems.
Here's where the next big problem lies. After running a successful toolpath, if I close down that gcode and load another one, at some part of the run with the new code the machine will abruptly stop X Y movement and lower the Z directly into the part/table and lose mach3 control. This Z axis drop will usually occur at the same part of the gcode, but I've observed it occurring at different areas. On occasion even with jogging the loss of control/sudden drilling of table will occur.
I've practically ruled out machine errors, post-processor errors, controller errors, and I'm starting to think it's the computer that's running mach3. The machine never encountered problems of this variety with a previous computer but the motherboard gave into age. Any help with any one of these problems would be immensely appreciated, as it's holding me back on doing certain jobs.
machine- CRP4848 / G540 if that matters in this instance.