Programming and Operating Manual (Milling)
6FC5398-4DP10-0BA1, 01/2014
269
Address
Significance
Value assignments Information
Programming
$P_TOOLN
O
Number of the active
tool T
-
read-only
N10 IF $P_TOOLNO==12
GOTOF ....
$P_TOOL
Active D number of
the active tool
-
read-only
N10 IF $P_TOOL==1 GOTOF
....
MCALL
Modal subprogram
call
-
The subroutine in the block
containing MCALL is called
automatically after each
successive block containing a
path motion. The call acts until
the next MCALL is called.
Application example: Drilling a
hole pattern
N10 MCALL CYCLE82(...);
Separate block, drilling cycle
N20 HOLES1(...); Row of
holes
N30 MCALL; Separate block,
modal call of CYCLE82(...)
completed
MSG ()
Signal
Max. 65 characters Message text in inverted
commas
N10 MSG("MESSAGE
TEXT"); separate block
...
N150 MSG() ; Clear previous
message
OFFN
Dimension
specification
-
Only effective with the tool
radius compensation G41,
G42 active
N10 OFFN=12.4
RND
Rounding
0.010 ... 99 999.999 Inserts a rounding with the
specified radius value
tangentially between two
contour blocks, special FRC=
... feed possible
N10 X... Y.... RND=4.5
N11 X... Y...
RNDM
Modal rounding
0.010 ... 99 999.999
0
●
Inserts roundings
with the specified radius value
tangentially at the following
contour corners; special
feedrate possible: FRCM= ...
●
Modal rounding OFF
N10 X... Y.... RNDM=.7.3;
modal rounding ON
N11 X... Y...
....
N100 RNDM=.0; modal
rounding OFF
RP
Polar radius
0.001 ... 99 999.999 Traversing in polar
coordinates, pole
specification; in addition: Polar
angle AP
See G0, G1, G2; G3, G110,
G111, G112
RPL
Angle of rotation
with ROT, AROT
±0.00001 ...
359.9999
Specification in degrees; angle
for a programmable rotation in
the current plane G17 to G19
See ROT, AROT
SET( , , , )
REP()
Set values for the
variable fields
SET: Various values, from the
specified element up to:
according to the number of
values
REP: the same value, from the
specified element up to the
end of the field
DEF REAL
VAR2[12]=REP(4.5) ; all
elements value 4.5
N10 R10=SET(1.1,2.3,4.4) ;
R10=1.1, R11=2.3, R4=4.4
SF
Thread starting point
when using G33
0.001 ... 359.999
Specified in degrees; the
thread starting point with G33
will be offset by the specified
value (not applicable for
tapping)
See G33
SPI(n)
Converts the spindle
number n into the
axis identifier
n =1,
axis identifier: e.g. "SP1" or
"C"