Examples:
N10 MEASA[Z]=(1,1) MEASA[Y]=(1,1) MEASA[X]=(1,1) G0 Z100
or
N10 MEASA[Z]=(1,1) POS[Z]=100
Query status
If an evaluation is required in the program, whether a probe has been deflected or has switched,
the status can be queried through the following system variables:
System variable Meaning Data type Value
$A_PROBE[<n>] Probe state
INT 0 Probe not deflected.
1 Probe deflected.
$AC_MEA[<n>] Switching status of the probe
$AC_MEA[<n>] is automati‐
cally reset at the beginning of
a measurement.
INT 0 Probe has not switch‐
ed
1 Probe has switched
(all trigger events pro‐
grammed in the
measuring block
have taken place).
<n> = number of the probe
Note
If measurement is started from synchronized actions, $AC_MEA is no longer updated. In this
case, the NC/PLC interface signal DB31, … DBX62.3 or the equivalent variable
$AA_MEAACT[<Axis>] must be queried.
$AA_MEAACT==1: Measurement active
$AA_MEAACT==0: Measurement not active
Probe limitation
In the NC program or synchronized action, the probe limiting status can be read using system
variable $A_PROBE_LIMITED when using PROFIBUS telegram 395:
$A_PROBE_LIMITED[<n>] == 0: Probe limitation inactive/reset
$A_PROBE_LIMITED[<n>] == 1: Probe limitation active
<n> = probe number
Work preparation
3.7 Special motion commands
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 621