Siemens SINUMERIK 802D sl Programming And Operating Manual page 207

Surface grinding
Hide thumbs Also See for SINUMERIK 802D sl:
Table of Contents

Advertisement

Address
Meaning
MEAW
Measurement without
deletion of distance-
to-go
$A_DBB[n]
Data byte
$A_DBW[n]
Data word
$A_DBD[n]
Data double-word
$A_DBR[n]
Real data
$AA_FXS
Status,
axis
[
]
travel to fixed stop
$AA_MM
Measurement result
axis
[
]
for an axis in the
machine coordinate
system
$AA_MW
Measurement result
axis
[
]
for an axis in the
workpiece coordinate
system
$AC_MEA
Measuring job status
[1]
$A..._..._
Timer for run time:
TIME
$AN_SETUP_TIME
$AN_POWERON_TI
ME
$AC_OPERATING_T
IME
$AC_CYCLE_TIME
$AC_CUTTING_TIM
E
$AC_..._
Workpiece counter:
PARTS
$AC_TOTAL_PARTS
$AC_REQUIRED
_PARTS
$AC_ACTUAL_PART
S
$AC_SPECIAL_PAR
TS
$AC_
Number of the active
MSNUM
master spindle
$P_
Number of
MSNUM
programmed master
spindle
Surface grinding
Programming and Operating Manual, 11/2012, 6FC5398-5CP10-3BA0
Value assignments
Information
+1
=+1: Measuring input 1, rising
-1
edge
=-1: Measuring input1, falling
edge
Reading and writing PLC
variables
-
Values: 0 ... 5
Axis
Axis
-
traversing when measuring
Axis
-
traversing when measuring
-
Default condition:
0: Default condition, probe did
not switch
1: Probe switched
0.0 ... 10+300
System variable:
Time since the control system
has last booted
min (read only
Time since the control system
value)
has last booted normally
min (read only
Total runtime of all NC
value)
programs
s
Runtime of the NC program
(only of the selected program)
Tool action time
s
s
0 ... 999 999 999,
System variable:
integer
Total actual count
Set number of workpiece
Current actual count
Count of workpieces - specified
by the user
read-only
Read-only
10.1 Fundamental principles of NC programming
: Machine axis identifier
: Identifier of an axis (X, Z)
: Identifier of an axis (X, Z)
Programming
Programming
N10 MEAW=1 G1 X... Z...
F...
N10 $A_DBR[5]=16.3 ; Write
Real variables
; with offset position 5
; (position, type and meaning
are agreed between NC and
PLC
)
N10 IF $AA_FXS[X1]==1
GOTOF ....
N10 R1=$AA_MM[X]
N10 R2=$AA_MW[X]
N10 IF $AC_MEAS[1]==1
GOTOF .... ; Continue
program when probe has
switched ...
N10 IF
$AC_CYCLE_TIME==50.5
....
N10 IF
$AC_ACTUAL_PARTS==15
....
207

Advertisement

Table of Contents
loading

Table of Contents