
B-63943EN-2/01 6.MACRO EXECUTOR FUNCTION
- 145 -
6.1.3.9 Circular drawing (clockwise) (G02)
6.1.3.10 Circular drawing (counterclockwise) (G03)
An arc is drawn using the line type specified by G244 and the color
specified by G240, ending at the point of specified X and Y
coordinates. Two methods are available to specify the center (I,J) of
an arc.
When the compile parameter (No. 9167#3) is set to 0 :
Not only the end coordinates of an arc but also the center
coordinates of the arc are specified using absolute coordinates.
When the compile parameter (No. 9167#3) is set to 1 :
The vector from the start point of an arc to the center of the arc
is used for specification.
(X,Y) End point
Start point
J
Center I
G02 draws an arc clockwise.
G03 draws an arc counterclockwise.
Format
G02 Xx Yy Ii Jj ;
G03 Xx Yy Ii Jj ;
X : X coordinate of the end point of circular drawing
Y : Y coordinate of the end point of circular drawing
I : X coordinate of the center of circular drawing
(Component of the X-direction vector from the start point of the
arc to the center of the arc when bit 3 (INCD) of compile
parameter (No. 9167) is set to 1)
J : Y coordinate of the center of circular drawing
(Component of the Y-direction vector from the start point of the
arc to the center of the arc when bit 3 (INCD) of compile
parameter (No. 9167) is set to 1)