M5: Measurement
7.8 Channels - only 840D sl
Extended Functions
528 Function Manual, 03/2013, 6FC5397-1BP40-3BA1
7.7.4 System variable
For simulated measuring, the following system variables have the same functionality as for
real measuring:
● $AC_MEA (probe has responded)
● $AA_MEAACT (axial measuring active)
● $AA_MM (acquired probe position (MCS))
● $AA_MM1...4 (probe position 1st – 4th trigger (MCS))
● $AA_MW (acquired probe position (WCS))
● $AA_MW1...4 (probe position 1st trigger (WCS))
The following system variable does not supply sensible values:
● $A_PROBE (probe state)
7.8 Channels - only 840D sl
7.8.1 Measuring mode 1
Supplementary conditions
● One-time measurement
● One probe
● Trigger signals are the rising and falling edges
Measurement with one encoder - actual value for the current encoder
Program code
N2 MEASA[X] = (1, 1, -1) G01 X100 F100
N3 STOPRE
N4 IF $AC_MEA[1]==FALSE gotof ENDE
N5 R10=$AA_MM1[X]
N6 R11=$AA_MM2[X]
N7 END