Programming
10.3 Axis movements
Cylindrical grinding
264 Programming and Operating Manual, 07/2009, 6FC5398-4CP10-2BA0
CAUTION
For MEAW: Measuring probe travels to the programmed position even after is has
triggered. Risk of destruction!
Measuring job status
If the probe has switched, the variable $AC_MEA[1] has the value=1 after the measuring
block; otherwise the value =0.
When a measuring block is started, the variable is set to =0.
Measuring result
When the probe is successfully activated, the result of the measurement is available after the
measuring block with the following variables for the axes traversed in the measuring block:
in the machine coordinate system: $AA_MM[
axis
]
in the workpiece coordinate system: $AA_MW[
axis
]
axis
stands for X or Z.
Programming example
N10 MEAS=1 G1 X300 Z-40 F4000 ; Measurement with deletion of distance
to go, rising edge
N20 IF $AC_MEA[1]==0 GOTOF MEASERR ; measuring error?
N30 R5=$AA_MW[X] R6=$AA_MW[Z] ; Processing of the measured values
..
N100 MEASERR: M0 ; measuring error
Note: IF instruction - see Section "Conditional program jumps"