Programming
8-131
SINUMERIK 802D sl Operation and Programming Nibbling (BP-N), 06/2006 Edition
6FC5 398-3CP10-0BA0
Address ProgrammingInformationValue assignmentsMeaning
ATAN2( , ) Arc tangens2 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
R40=ATAN2(30.5,80.1) ; R40: 20.8455 degrees
SQRT() Square root R6=SQRT(R7)
POT() Square R12=POT(R13)
ABS() Absolute value R8=ABS(R9)
TRUNC() Integer component R10=TRUNC(R11)
LN() Natural logarithm R12=LN(R9)
EXP() Exponential function R13=EXP(R1)
RET Subroutine end Used instead of M2 – to maintain the continuous-path
control mode
RET ; Separate block
S Dwell time
in the block with G4
0.001 ... 99 999.999 Dwell time in spindle revolutions G4 S... ; Separate block
T Tool number 1 ... 32 000
only integer, without sign
The tool change can be performed either directly using
the T command or only with M6. This can be set in the
machine data.
T...
X Axis 0.001 ... 99 999.999 Positional data X...
Y Axis 0.001 ... 99 999.999 Positional data Y...
AC Absolute coordinate – The dimension can be specified for the end or center
point of a certain axis, irrespective of G91.
N10 G91 X10 Z=AC(20) ; X – incremental dimension,
Z – absolute dimension
ACC[axis] Percentage acceleration
override
1 ... 200, integer Acceleration override for an axis; specified as a
percentage
N10 ACC[X]=80 ; 80% acceleration for the X
axis
ACP Absolute coordinate;
approach position in the
positive direction (for
rotary axis)
– It is also possible to specify the dimensions for the end
point of a rotary axis with ACP(...) irrespective of
G90/G91.
N10 A=ACP(45.3) ; Approach absolute position of
the A axis in
the positive direction
ACN Absolute coordinate;
approach position in the
negative direction (for
rotary axis)
– It is also possible to specify the dimensions for the end
point of a rotary axis with ACP(...) irrespective of
G90/G91.
N10 A=ACP(45.3) ; Approach absolute position of
the A axis in
the negative direction
ANG Angle for the specification
of a straight line for the
contour definition
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
N10 G1 G17 X... Y....
N11 X... ANG=...
or contour over several blocks:
N10 G1 G17 X... Y....
N11 ANG=...
N12 X... Y... ANG=...