I am using Mach 3 and I am having problems sometimes after completing running a G-Code sequence the mill will not go back to the proper Home position...... the Y-Axis will normally be off.

In other words instead of going back to the home position it will be off roughly 1/4 inch.

The problem always seems to be with the Y-Axis

The Position on the screen shows "0" for all of the X-Y-Z Axis's for both the Machine and Tool postions.... but the Y-Axis will not be at the correct location.

Here is a sample set of code which this occurred:

%

G40 M6 T1

M7

G0 X2.302 Y0.919 Z0.1

G1 Z-0.01 F1

X2.327 Y0.919 Z-0.01 F2

Y1.081

X2.302

Y0.919

Y0.894

X2.351

Y1.106

X2.278

Y0.894

-------------- Lines removed to shorten post --------------

X0.673

G0 Z0.1

Y0.919

G1 Z-0.22 F1

X0.698 Y0.919 Z-0.22 F2

Y1.081

X0.673

Y0.919

Y0.894

X0.722

Y1.106

X0.649

Y0.894

X0.673

Y0.869

X0.747

Y1.131

X0.624

Y0.869

X0.673

Y0.844

X0.772

Y1.155

X0.599

Y0.844

X0.673

G0 Z0.1

X0 Y0

M02

%