Hi there, I've come to this forum many times for answers, but this is my first time posting.
We've built a cnc ourselves, and while most things are going good, we're having great trouble getting it to cut a decent circle. The machine we've built is a table router, 1m x 2.6m. The base is made from steel that's bolted to the ground. Two I-beams are running lengthways for our X-axis, and a length of RHS filled with epoxy and sand is sitting on top for our Y. We have linear rails and bearings (SBR30UU) with rack and pinion for moving our X and Y axis; HIWIN's with a lead screw for our Z axis. Each axis is powered by a Nema 34 stepper motor. On the computer end we're using mach 3, and our g-code is being generated by Cut2dPro.
Photos of machine:
https://ibb.co/KWwK9fn
https://ibb.co/ypx5C78
Our trouble comes when trying to cut circles. Our first attempts yielded the results shown here:
https://ibb.co/kxvfb6k
Close-up:
https://ibb.co/fDLHS5V
Looking at the picture with "Set 1" at the top, left to right is our X-axis and our Y is up and down. The circles on the left are a CW profile cut and the ones on the right are a CCW profile cut. The ones in the middle are pockets cut in a CCW direction. The g-code generated by Cut2dPro for the circle cut it up into 4 arcs. The material we're working on is 16mm melamine. Two of the arcs transition into each other perfectly, but one of them adds a straight line into it, causing the circle to meet back on itself slightly off. The circles on the right were tested at half the feed rate. After searching the forums, I concluded that backlash on the x-axis was probably the culprit for that little straight line added to the circle.
The next day, after doing some other rectangular cuts with no problems, I tested some more circles:
https://ibb.co/LNvTG39
Close-up:
https://ibb.co/tPXtsQJ
This set was done with a CCW profile cut. I calculated the tool paths the same way in Cut2dPro as the first tests. The bottom circle was the first one, and we were quite happy with it. I wasn't sure why it was better this time, but I was happy. For the next one above we tried adding backlash compensation in mach3 to see if that helped at all, but we didn't notice much difference, so for the third one on the top we took it back off.
A couple of days later, I did some more circle tests:
https://ibb.co/tXbVGKq
These ones were all over the place. I generated the same g code in Cut2dPro. Here are some close-ups.
This was a CCW profile cut starting on the left point:
https://ibb.co/8xhWFwq
The one was also a CCW profile but starting on the bottom:
https://ibb.co/16N9TYr
The middle-bottom circle was a CW profile starting on the left. Up until this point all of our circle errors had occurred at the transitions between the arcs. These circles introduced a stepping that occurred halfway through the arcs. The g-code generated by Cut2dPro divides the whole circle into 4 arcs, each starting at the left, bottom, right, and top points of the circle. On these new circles, we now had perfect transitions between the arcs, but the stepping was occurring halfway through some of them. The circle on the top-left gave a similar outcome to our first tests, only this time the starting point was 90 degrees further along the circle and all the other errors occur in relation to that just as they did in our first circles.
Just to see what would happen, I created two semi-circles in Cut2dPro, and ran that:
https://ibb.co/4YXsbYd
Again, I ended up with a step off-path occurring halfway through the arc. I then loaded back up the g-code I used on the set 2 circles, and ran that without changing anything, which resulted in a different circle than the ones we did a previous day:
https://ibb.co/L8ZHK96
Again, in these circles, they were perfect in the points where we previously had problems, but were now stepping over at points which were previously perfect. My final test was with a manually written g-code circle straight from mach3. I told it to just do two arcs, from the point on the left to the point on the right, and back to the left again. The result was similar to the other circle tests in set 3:
https://ibb.co/CQVhjdz
What confuses me is that the results have changed over the different sets. What I did think was backlash has now got me confused. I'm especially confused as to how the machine has started stepping over halfway through the arcs, where it used to cut each arc perfectly and only go wrong in the transitions.
Any help would be much appreciated. Let me know if you need more info.