Address
Meaning
ATAN2( , )
Arc tangens2
SQRT()
Square root
POT()
Square
ABS()
Absolute value
TRUNC()
Integer component
LN()
Natural logarithm
EXP()
Exponential function
RET
Subroutine end
S
Dwell time
in the block with G4
T
Tool number
X
Axis
Y
Axis
AC
Absolute coordinate
ACC[axis]
Percentage acceleration
override
ACP
Absolute coordinate;
approach position in the
positive direction (for
rotary axis)
ACN
Absolute coordinate;
approach position in the
negative direction (for
rotary axis)
ANG
Angle for the specification
of a straight line for the
contour definition
Value assignments
The angle of the sum vector is calculated from 2
vectors standing vertically one on another. The 2nd
vector specified is always used for angle reference.
Result in the range: –180 to +180 degrees
Used instead of M2 – to maintain the continuous-path
control mode
0.001 ... 99 999.999
Dwell time in spindle revolutions
1 ... 32 000
The tool change can be performed either directly using
only integer, without sign
the T command or only with M6. This can be set in the
machine data.
0.001 ... 99 999.999
Positional data
0.001 ... 99 999.999
Positional data
–
The dimension can be specified for the end or center
point of a certain axis, irrespective of G91.
1 ... 200, integer
Acceleration override for an axis; specified as a
percentage
–
It is also possible to specify the dimensions for the end
point of a rotary axis with ACP(...) irrespective of
G90/G91.
–
It is also possible to specify the dimensions for the end
point of a rotary axis with ACP(...) irrespective of
G90/G91.
0.00001 ... 359.99999
Specified in degrees;
one possibility of specifying a straight line when using
G0 or G1 if only one end-point coordinate of the plane
is known or
if the complete end point is known with contour ranging
over several blocks
Information
R40=ATAN2(30.5,80.1)
R6=SQRT(R7)
R12=POT(R13)
R8=ABS(R9)
R10=TRUNC(R11)
R12=LN(R9)
R13=EXP(R1)
RET
G4 S...
T...
X...
Y...
N10 G91 X10 Z=AC(20)
N10 ACC[X]=80
axis
N10 A=ACP(45.3)
the A axis in
N10 A=ACP(45.3)
the A axis in
N10 G1 G17 X... Y....
N11 X... ANG=...
or contour over several blocks:
N10 G1 G17 X... Y....
N11 ANG=...
N12 X... Y... ANG=...
Programming
; R40: 20.8455 degrees
; Separate block
; Separate block
; X – incremental dimension,
Z – absolute dimension
; 80% acceleration for the X
; Approach absolute position of
the positive direction
; Approach absolute position of
the negative direction