I was recently making a part and had a problem that when traversing between two specific G81 cycle hole locations, the X axis would completely loose sync with the step pulses. It would only occur on these two specific locations. I simplified my code to G0 moves with the same coordinates during trouble shooting. The following code will demonstrate the issue:
G00 G49 G40 G17 G80 G50 G90
G20
G0 x1.1983 y1.4473
G0 x1.9043 y1.4479
M5 M9
M30
Although I have my max speeds fairly conservative, I cut them in half and still had the problem. I created a test loop of G81 cycles all over the table and ran a loop 50 times with no issue. Through much troubleshooting, I have determined that the problem occurs when there is a very small Y movement required and backlash compensation is turned on. If I increase the Y movement to .002, it does not happen. I swapped cables, changed which pin drives which axis, and many other scenarios to isolate the issue. I thought maybe it was mechanical at that location, so moved to a different location and zeroed the axis. It still occurs. If I turn off backlash, it does not occur.
So after much troubleshooting, the basic problem is that during a traverse, if the amount of Y movement is greater than 0 and less than .002 or so, and backlash compensation is turned on, most of the time, the X axis will loose sync with the step pulses. If I do the same scenario to the X axis, it does not cause the Y to loose sync.
Can anybody shed any light on what might be going on?
If you run the above code, do you get the same result?