Re: CNC Lathe Program
A 360deg circular move can't be programmed in one Block using R Format.
hi / yes, that is true, but a full circle is a particular case, and also R<0 may deliver arches > 180*
aaa, do you have a programing book ? i don't know, maybe you do ... if you would have one, i would read it
theoretical accuracy matters little to you
i use code as accurate as it could be, folowing error is never 0, there is backlash, and most dimensions have a tolerance >1um
even when folowing error is 0, cnc motion is not a "real" circle, and also encoders motion <> turret ( or spindle ) motion, since there is a precision lost around the mechanical chain
It is not a very accurate statement. The arc starts with the start radius. If it cannot reach the target point due to some inaccuracy, it makes a small linear move in the end to reach the end point, provided the radius error is within the specified limit.
hi sinha, i know my "accuracies" ...
Code:
if swd[wo] then t:='G02'
else t:='G03';
if full_circle
then
about that "small linear move" :
... if next block contains an axis move instruction, then the machine won't reach the "end point", but will get close to it until distance < in-position; and there is a big chance to have the in-position > g02 code precision
... if next block does not contain an axis move, or it contains whatever instruction that is telling the controller to reach the end point, then, if there is some inacuracy, the machine will move to the end point, not among a linear segment, but among a "non-interpolated segment", that is executed on such a short distance, that the servos won't be able to reach the programmed feed, so servos won't be in sync, but each one will reach the final point on it's own; is possible that only the servo will rotate, but the turret will be allready stationary; kind of a succumbed motion, when the cnc can't reach the programmed feed / kindly
Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg