Whenever G02/G03 is used the machine draws the line instead of expected arc. The target point is reached but the trajectory is not curve but linear. UNO with grbl 0.9, 320 steps/mm, various gcode senders. What do I do wrong? Thanks.
评论 (12)
#2 – pettuma 于 2017-08-04
Hi John,
… thank you very much for interest in my problem. To be as simple as
possible I do not use any gcode sender now. I communicate with Arduino
only via pure ASCII terminal (Termite.exe, COM3, 115.200 kBd) and so I
can only send one gcode at one time (no program) as a command. G00, G01
work very well. G02 and G03 do not work well (they work like G01, i.e.
machine draws line between actual and target points. It behaves like the
radius is infinite).
>g0 x0 y0 Machine set the position x0 y0
>g1 x50 y50 Machine draws the line from point X0 y0 to point x50
y50
>g2 x0 y0 r40 Machine draws the straight line from point x50 y50 to
point x0 y0, though arc has been expected
Petr
Dne 04.08.2017 v 13:16 John napsal(a):
>
> @pettuma <https://github.com/pettuma> Can you share some Gcode that is
> causing the problem so we are test it.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/grbl/grbl/issues/1268#issuecomment-320223913>, or
> mute the thread
> <https://github.com/notifications/unsubscribe-auth/AdSwWHKi2TBOMm5iQTNNnhzB3m0F_JqZks5sUv2CgaJpZM4OtUhW>.
>
#3 – X3msnake 于 2017-08-04
have you tried IJK instead?
2017-08-04 12:52 GMT+01:00 pettuma
> Hi John,
>
> … thank you very much for interest in my problem. To be as simple as
> possible I do not use any gcode sender now. I communicate with Arduino
> only via pure ASCII terminal (Termite.exe, COM3, 115.200 kBd) and so I
> can only send one gcode at one time (no program) as a command. G00, G01
> work very well. G02 and G03 do not work well (they work like G01, i.e.
> machine draws line between actual and target points. It behaves like the
> radius is infinite).
>
> >g0 x0 y0 Machine set the position x0 y0
>
> >g1 x50 y50 Machine draws the line from point X0 y0 to point x50
> y50
>
> >g2 x0 y0 r40 Machine draws the straight line from point x50 y50 to
> point x0 y0, though arc has been expected
>
> Petr
>
>
>
> Dne 04.08.2017 v 13:16 John napsal(a):
> >
> > @pettuma <https://github.com/pettuma> Can you share some Gcode that is
> > causing the problem so we are test it.
> >
> > —
> > You are receiving this because you were mentioned.
> > Reply to this email directly, view it on GitHub
> > <https://github.com/grbl/grbl/issues/1268#issuecomment-320223913>, or
> > mute the thread
> > <https://github.com/notifications/unsubscribe-auth/
> AdSwWHKi2TBOMm5iQTNNnhzB3m0F_JqZks5sUv2CgaJpZM4OtUhW>.
>
> >
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/grbl/grbl/issues/1268#issuecomment-320229961>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AKke-rs2EHPHQdfeQHRAnI3mXa8Zo7S8ks5sUwXygaJpZM4OtUhW>
> .
>
—
Com os melhores cumprimentos,
Vinicius Silva
#4 – pettuma 于 2017-08-04
Yes I did, the same result.
#5 – chamnit 于 2017-08-04
Please post your Grbl $$ settings and your $I build info strings.
#6 – pettuma 于 2017-08-04
ok
$$
$0=10 (step pulse, usec)
$1=25 (step idle delay, msec)
$2=0 (step port invert mask:00000000)
$3=6 (dir port invert mask:00000110)
$4=0 (step enable invert, bool)
$5=0 (limit pins invert, bool)
$6=0 (probe pin invert, bool)
$10=18 (status report mask:00010010)
$11=0.000 (junction deviation, mm)
$12=0.000 (arc tolerance, mm)
$13=0 (report inches, bool)
$20=0 (soft limits, bool)
$21=0 (hard limits, bool)
$22=0 (homing cycle, bool)
$23=208 (homing dir invert mask:11010000)
$24=25.000 (homing feed, mm/min)
$25=500.000 (homing seek, mm/min)
$26=250 (homing debounce, msec)
$27=1.000 (homing pull-off, mm)
$100=320.000 (x, step/mm)
$101=320.000 (y, step/mm)
$102=250.000 (z, step/mm)
$110=2000.000 (x max rate, mm/min)
$111=1000.000 (y max rate, mm/min)
$112=500.000 (z max rate, mm/min)
$120=30.000 (x accel, mm/sec^2)
$121=20.000 (y accel, mm/sec^2)
$122=10.000 (z accel, mm/sec^2)
$130=290.000 (x max travel, mm)
$131=90.000 (y max travel, mm)
$132=0.000 (z max travel, mm)
ok
$I
[0.9j.20160316:]
ok
#7 – 109JB 于 2017-08-04
Arc tolerance and junction deviation are both set to 0. Why?
#8 – pettuma 于 2017-08-04
It is default value. I changed it now:
$12=0.5
ok
$11=0.5
ok.
I tested again:
g0 x0 y0 Machine set the position x0 y0
g1 x50 y50 Machine draws the line from point X0 y0 to point x50 y50
g2 x0 y0 r40 It WORKS !!! I can see the arc !!!
Thanks !!!
#9 – X3msnake 于 2017-08-04
you should drop the value to something like 0.01 mm
2017-08-04 15:16 GMT+01:00 pettuma
> It is default value. I changed it now:
> $12=0.5
> ok
> $11=0.5
> ok.
>
> I tested again:
> g0 x0 y0 Machine set the position x0 y0
> g1 x50 y50 Machine draws the line from point X0 y0 to point x50 y50
> g2 x0 y0 r40 It WORKS !!! I can see the arc !!!
>
> Thanks !!!
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/grbl/grbl/issues/1268#issuecomment-320260405>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AKke-hMclwd061QS-1oZTiv7MI0nm0HWks5sUyfDgaJpZM4OtUhW>
> .
>
—
Com os melhores cumprimentos,
Vinicius Silva
#10 – 109JB 于 2017-08-04
The generic defaults are as follows:
#define DEFAULTJUNCTIONDEVIATION 0.01 // mm
#define DEFAULTARCTOLERANCE 0.002 // mm
#11 – chamnit 于 2017-08-04
Default settings for $11=0.01 and $12=0.002
#12 – pettuma 于 2017-08-04
OK, I will tune it. Thank you a lot for your advice!
#1 – mayhem2408 于 2017-08-04
@pettuma Can you share some Gcode that is causing the problem so we are test it.