Programming
10.1 Fundamental principles of NC programming
Surface grinding
208
Programming and Operating Manual, 11/2012, 6FC5398-5CP10-3BA0
Address
Meaning
Value assignments Information
Programming
$P_NUM_
SPINDLES
Number of
configured spindles
Read-only
$AA_S[n]
Actual speed of
spindle n
Spindle number n =1 or =2,
read-only
$P_S[n]
Last programmed
speed of spindle n
Spindle number n =1 or =2,
read-only
$AC_
SDIR[n]
Current direction of
rotation of spindle n
Spindle number n =1 or =2,
read-only
$P_
SDIR[n]
Last programmed
direction of rotation
of
spindle n
Spindle number n =1 or =2,
read-only
$P_
TOOLNO
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 ....
MSG ()
Message
max. 65 characters Message text in inverted
commas
MSG("MESSAGE TEXT") ;
separate block
...
N150 MSG() ; Clear previous
message
RND
Rounding
0.010 ... 99
999.999
Inserts a rounding with the
specified radius value
tangentially between two
contour blocks
N10 X... Z.... RND=...
N11 X... Z...
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
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
SETMS(n)
SETMS
Define spindle as
master spindle
n= 1 or n= 2
n: Number of the spindle,
if only SETMS is set, the default
master spindle comes into
effect
N10 SETMS(2) ; separate
block, 2nd spindle = master
Содержание SINUMERIK 802D sl
Страница 10: ...Table of contents Surface grinding 10 Programming and Operating Manual 11 2012 6FC5398 5CP10 3BA0 ...
Страница 338: ...PLC diagnostics 13 3 Operating options Surface grinding 338 Programming and Operating Manual 11 2012 6FC5398 5CP10 3BA0 ...
Страница 364: ...Index Surface grinding 364 Programming and Operating Manual 11 2012 6FC5398 5CP10 3BA0 ...