Programming
10.1 Fundamental Principles of NC Programming
Cylindrical grinding
234
Programming and Operating Manual, 07/2009, 6FC5398-4CP10-2BA0
Address
Meaning
Value assignments Information
Programming
$AA_IB
Actual position BCS
axis (real)
$AA_IM
Actual position MCS
(IPO setpoints) (real)
$AA_IM[S1] can be
used to evaluate
actual values for
spindles. Modulo
calculation is used
for spindles and
rotary axes,
depending on
machine data
$MA_ROT_IS_MOD
ULO and
$MA_DISPLAY_IS_M
ODULO.
-
-
$AA_IW
Actual position PCS
axis (real)
-
-
-
$AA_MM
[
axis
]
Measurement result
for an axis in the
machine coordinate
system
-
Axis
: Identifier of an axis (X, Z)
traversing when measuring
N10 R1=$AA_MM[X]
$AA_MW
[
axis
]
Measurement result
for an axis in the
workpiece coordinate
system
-
Axis
: Identifier of an axis (X, Z)
traversing when measuring
N10 R2=$AA_MW[X]
$AC_MEA
[1]
Measuring job status -
Default condition:
0: Default condition, probe did
not switch
1: Probe switched
N10 IF $AC_MEAS[1]==1
GOTOF .... ; Continue
program when probe has
switched ...
$AC_MARK
ER
Marker variable for
synchronous actions
-
-
8 markers (index 0 - 7) are
available.
On a reset, the markers are
set to 0.
Example:
WHEN .....DO
$AC_MARKER[0]=2
WHEN .....DO
$AC_MARKER[0]=3
WHEN $AC_MARKER[0]==3
DO $AC_OVR=50
Can also be read and written
independently of
synchronous actions in the
part program:
IF $AC_MARKER == 4
GOTOF SPRUNG