13. Program Support Functions
13.8 Linear Angle Command
375
13.8 Linear Angle Command
Function and purpose
The end point coordinates are calculated automatically by commanding the linear angle and one of
the end point coordinate axes.
Command format
N1 G01 Xx
1
(Yy
1
) Aa
1
;
N1 G01 Xx
2
(Yy
2
) A
−
a
2
; (A-a
2
can also be set as As
3
.)
or
N1 G01 Xx
1
(Yy
1
) ,Aa
1
;
N1 G01 Xx
2
(Yy
2
) ,A
−
a
2
;
This designates the angle and the X or Y axis coordinates.
Select the command plane with G17 to G19.
Y
y
2
y
1
(x
1
,y
1
)
N1
X
N2
a
1
a
2
a
3
(x
2
,y
2
)
Detailed description
(1) The angle is from the + direction of the horizontal axis on the selected plane. The counter-
clockwise (CCW) direction is considered to be + and the clockwise direction (CW)
−
.
(2) Either of the axes on the selected plane is commanded for the end point.
(3) The angle is ignored when the angle and the coordinates of both axes are commanded.
(4) When only the angle has been commanded, this is treated as a geometric command.
(5) The angle of either the start point (a
1
) or end point (a
2
) may be used.
(6) This function is valid only for the G01 command; it is not valid for other interpolation or
positioning commands.
(7) The range of slope "a" is
−
360.000
≤
a
≤
360.000.
When a value outside this range is commanded, it will be divided by 360 (degrees) and the
remainder will be commanded.
(Example)
If 400 is commanded, 40
°
(remainder of 400/360) will become the command angle.
(8) If address A is used for the axis name or 2nd miscellaneous function, use ",A" as the angle.
(9) If "A" and ",A" are commanded in the same block, ",A" will be interpreted as the angle.
(Note)
A program error (P33) will occur if this function is commanded during the high-speed
machining mode or high-speed high-accuracy mode.