Hi there,
I had a similar thing happen once on the Y-axis...
turned out that the pre-load adjuster on the Y axis ballnut had worked loose... so it was developing backlash problems (only on the affected axis) as the cut progressed...
seemed to be fine on the first pass .. 2nd pass a bit off.. by 3rd and 4th pass was noticably different... and so on..
tightened up the pre-load adjuster and everything went back to being as right as rain... If both your other axes are fine.. and you know the code is fine.. then the drive mechanics is the first place I'd look.. in my case was pre-load... but anything that might introduce backlash into the affected axis is worth a look... couplings... ballnut... motor drive.. but usually something that can wear or work loose...
EDIT: Other thing that was symptomatic and that might help confirm was... The 'standard' Offset that had been tested and used for months to set the machine Zero was also constantly drifting.. but only in the affected axis... so I would reset the machine zero... apply a new offset.. then jog the axes about a bit... then return to zero... and true enough the y-axis offset had gone west... it's an obvious effect once you know that there's backlash in the screw.. but before you start ripping things apart it might help confirm the problem.. and also that it's nothing to do with the code etc...
hope this helps
Danny
What one man can do another man can do..
BitMaps to Models, 3D2Relief, tutorials and FREE CNC Software http://cnc4free.org