A new issue has come up. Fairly frequently the G-Code program will hang at the last line. The program just stops. There is no error. The program just stops after executing a G0X0Y0 and before the M30. The result is that the M30 does not execute, the program does not rewind and the outputs stay on. See program below. When it hangs, if I hit estop then reset, the program rewinds and the M30 seems to execute. Any ideas on what could cause this? The kicker is that it doesn't do it all the time, just most of the time...and it hung up once on the first line of code.

It's a new machine, but I can run the same program over and over all day long on our other machine and it runs fine. Is there a config setting somewhere that I missed? The other machine is running a slightly older version of Mach.

Thanks

----------------------------------------

G20 G40 G91.1 M7 M1100

G0 Z0.375

G0 X2.94 Y1.47

M1101

M03

G04 P0.25

F100

G01 X2.9391 Y1.5213

G01 X2.9364 Y1.5725

G01 X2.9319 Y1.6237

G01 X2.9257 Y1.6746

G01 X2.9177 Y1.7253

G01 X2.9079 Y1.7756

G01 X2.8963 Y1.8256

G01 X2.8831 Y1.8752

G01 X2.8681 Y1.9243

G01 X2.8513 Y1.9728

G01 X2.833 Y2.0207

G01 X2.8129 Y2.0679

G01 X2.7912 Y2.1144

G01 X2.7679 Y2.1601

G01 X2.7431 Y2.205

G01 X2.7166 Y2.249

G01 X2.6887 Y2.292

G01 X2.6593 Y2.334

G01 X2.6284 Y2.375

G01 X2.5961 Y2.4149

G01 X2.5624 Y2.4536

G01 X2.5274 Y2.4911

G01 X2.4911 Y2.5274

G01 X2.4536 Y2.5624

G01 X2.4149 Y2.5961

G01 X2.375 Y2.6284

G01 X2.334 Y2.6593

G01 X2.292 Y2.6887

G01 X2.249 Y2.7166

G01 X2.205 Y2.7431

G01 X2.1601 Y2.7679

G01 X2.1144 Y2.7912

G01 X2.0679 Y2.8129

G01 X2.0207 Y2.833

G01 X1.9728 Y2.8513

G01 X1.9243 Y2.8681

G01 X1.8752 Y2.8831

G01 X1.8256 Y2.8963

G01 X1.7756 Y2.9079

G01 X1.7253 Y2.9177

G01 X1.6746 Y2.9257

G01 X1.6237 Y2.9319

G01 X1.5725 Y2.9364

G01 X1.5213 Y2.9391

G01 X1.47 Y2.94

G01 X1.4187 Y2.9391

G01 X1.3675 Y2.9364

G01 X1.3163 Y2.9319

G01 X1.2654 Y2.9257

G01 X1.2147 Y2.9177

G01 X1.1644 Y2.9079

G01 X1.1144 Y2.8963

G01 X1.0648 Y2.8831

G01 X1.0157 Y2.8681

G01 X0.9672 Y2.8513

G01 X0.9193 Y2.833

G01 X0.8721 Y2.8129

G01 X0.8256 Y2.7912

G01 X0.7799 Y2.7679

G01 X0.735 Y2.7431

G01 X0.691 Y2.7166

G01 X0.648 Y2.6887

G01 X0.606 Y2.6593

G01 X0.565 Y2.6284

G01 X0.5251 Y2.5961

G01 X0.4864 Y2.5624

G01 X0.4489 Y2.5274

G01 X0.4126 Y2.4911

G01 X0.3776 Y2.4536

G01 X0.3439 Y2.4149

G01 X0.3116 Y2.375

G01 X0.2807 Y2.334

G01 X0.2513 Y2.292

G01 X0.2234 Y2.249

G01 X0.1969 Y2.205

G01 X0.1721 Y2.1601

G01 X0.1488 Y2.1144

G01 X0.1271 Y2.0679

G01 X0.107 Y2.0207

G01 X0.0887 Y1.9728

G01 X0.0719 Y1.9243

G01 X0.0569 Y1.8752

G01 X0.0437 Y1.8256

G01 X0.0321 Y1.7756

G01 X0.0223 Y1.7253

G01 X0.0143 Y1.6746

G01 X0.0081 Y1.6237

G01 X0.0036 Y1.5725

G01 X0.0009 Y1.5213

G01 X0 Y1.47

G01 X0.0009 Y1.4187

G01 X0.0036 Y1.3675

G01 X0.0081 Y1.3163

G01 X0.0143 Y1.2654

G01 X0.0223 Y1.2147

G01 X0.0321 Y1.1644

G01 X0.0437 Y1.1144

G01 X0.0569 Y1.0648

G01 X0.0719 Y1.0157

G01 X0.0887 Y0.9672

G01 X0.107 Y0.9193

G01 X0.1271 Y0.8721

G01 X0.1488 Y0.8256

G01 X0.1721 Y0.7799

G01 X0.1969 Y0.735

G01 X0.2234 Y0.691

G01 X0.2513 Y0.648

G01 X0.2807 Y0.606

G01 X0.3116 Y0.565

G01 X0.3439 Y0.5251

G01 X0.3776 Y0.4864

G01 X0.4126 Y0.4489

G01 X0.4489 Y0.4126

G01 X0.4864 Y0.3776

G01 X0.5251 Y0.3439

G01 X0.565 Y0.3116

G01 X0.606 Y0.2807

G01 X0.648 Y0.2513

G01 X0.691 Y0.2234

G01 X0.735 Y0.1969

G01 X0.7799 Y0.1721

G01 X0.8256 Y0.1488

G01 X0.8721 Y0.1271

G01 X0.9193 Y0.107

G01 X0.9672 Y0.0887

G01 X1.0157 Y0.0719

G01 X1.0648 Y0.0569

G01 X1.1144 Y0.0437

G01 X1.1644 Y0.0321

G01 X1.2147 Y0.0223

G01 X1.2654 Y0.0143

G01 X1.3163 Y0.0081

G01 X1.3675 Y0.0036

G01 X1.4187 Y0.0009

G01 X1.47 Y0

G01 X1.5213 Y0.0009

G01 X1.5725 Y0.0036

G01 X1.6237 Y0.0081

G01 X1.6746 Y0.0143

G01 X1.7253 Y0.0223

G01 X1.7756 Y0.0321

G01 X1.8256 Y0.0437

G01 X1.8752 Y0.0569

G01 X1.9243 Y0.0719

G01 X1.9728 Y0.0887

G01 X2.0207 Y0.107

G01 X2.0679 Y0.1271

G01 X2.1144 Y0.1488

G01 X2.1601 Y0.1721

G01 X2.205 Y0.1969

G01 X2.249 Y0.2234

G01 X2.292 Y0.2513

G01 X2.334 Y0.2807

G01 X2.375 Y0.3116

G01 X2.4149 Y0.3439

G01 X2.4536 Y0.3776

G01 X2.4911 Y0.4126

G01 X2.5274 Y0.4489

G01 X2.5624 Y0.4864

G01 X2.5961 Y0.5251

G01 X2.6284 Y0.565

G01 X2.6593 Y0.606

G01 X2.6887 Y0.648

G01 X2.7166 Y0.691

G01 X2.7431 Y0.735

G01 X2.7679 Y0.7799

G01 X2.7912 Y0.8256

G01 X2.8129 Y0.8721

G01 X2.833 Y0.9193

G01 X2.8513 Y0.9672

G01 X2.8681 Y1.0157

G01 X2.8831 Y1.0648

G01 X2.8963 Y1.1144

G01 X2.9079 Y1.1644

G01 X2.9177 Y1.2147

G01 X2.9257 Y1.2654

G01 X2.9319 Y1.3163

G01 X2.9364 Y1.3675

G01 X2.9391 Y1.4187

G01 X2.94 Y1.47

M05

G00 Z0.375

G00 X0 Y0

M30