Programming and Operating Manual (Milling)
264
6FC5398-4DP10-0BA1, 01/2014
Address
Significance
Value assignments Information
Programming
R0
to
R299
Arithmetic
parameters
± 0.0000001 ...
9999 9999
(8 decimal places)
or with specification
of an exponent:
± (10
-300
... 10
+300
)
R1=7.9431 R2=4
with specification of an
exponent:
R1=-1.9876EX9; R1=-1 987
600 000
Arithmetic functions
In addition to the 4 basic
arithmetic functions using the
op - * /, there are the
following arithmetic functions:
SIN( )
Sine
Degrees
R1=SIN(17.35)
COS()
Cosine
Degrees
R2=COS(R3)
TAN()
Tangent
Degrees
R4=TAN(R5)
ASIN()
Arc sine
R10=ASIN(0.35) ; R10: 20.487
degrees
ACOS()
Arc cosine
R20=ACOS(R2) ; R20: ...
Degrees
ATAN2( , ) Arctangent2
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()
Truncate to integer
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...
Spindle speed
0.001 ... 99 999.999 Unit of measurement of the
spindle speed rpm
S...
S
Dwell time
in 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, no 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...
Z
Axis
±0.001 ... 99
999.999
Positional data
Z...
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