1

In G-codes a clockwise arc can be specified by e.g.

G02 X2 Y0 R2

This code should give an arc between the current position and (2,0) with radius=2.

According to several sources (And Math) eg.

There will always be two circles/arcs that satisfies these conditions each with a clockwise arc. enter image description here

Which one is chosen and is it implementation/manufacturer dependent?

4

1 回答 1

1

根据CNCCookbook 的 G-code Tutorial,它取决于控制器。有的控制器使用半径的符号来选择,有的从不允许你做超过 90° 的圆弧。

给定显示的两个选项,控制器根据半径的符号选择路径。负向弧越长,正向越短。负号迫使控制器寻找超过 180 度的可行弧。

一些控制器仍然更敏感,不会对穿过象限线的弧进行编程。因此,圆弧可以遵循的最大角度是 90 度,并且该角度不得与 0、90、180 或 270 度相交。对于穿过象限线的 90 度角,它们必须分成两部分,两部分之间的连接正好在象限线上。

于 2014-05-23T11:46:03.243 回答