Special Motion Commands
5.8 Extended measuring function (MEASA, MEAWA, MEAC) (option)
Parameters
MEASA
MEAWA
MEAC
Axis
Mode
TE 1...4
Measurement
memory
Example of measuring with delete distance-to-go in mode 1
(evaluation in chronological sequence)
a) with 1 measuring system
...
N100 MEASA[X] = (1,1,-1) G01 X100 F100
N110 STOPRE
N120 IF $AC_MEA[1] == FALSE gotof END
N130 R10 = $AA_MM1[X]
N140 R11 = $AA_MM2[X]
N150 END:
5-28
Measurement with deletion of distance-to-go
Measurement without deletion of distance-to-go
Continuous measurement without deleting distance-to-go
Name of channel axis used for measurement
Two-digit setting for operating mode consisting of
Measuring mode (ones decade) and
0: Mode 0: Cancel measuring job
1: Mode 1: Up to 4 different trigger events can be activated
concurrently. Trigger events
2: Mode 2: Up to 4 trigger events can be activated consecutively
3: Mode 3: Up to 4 trigger events can be activated consecutively
but no monitoring of trigger event 1
on start (alarms 21700/21703 are suppressed)
Note: Mode 3 not possible with MEAC
Measuring system (tens' decade)
0 or no setting: active measuring system
1: Measuring system 1
2: Measuring system 2
3: Both measuring systems
Trigger event
1: rising edge, probe 1
-1: falling edge, probe 1
2: rising edge, probe 2
-2: falling edge, probe 2
Number of FIFO (circulating storage)
;Measurement in mode 1 with active
;measuring system. Wait for measuring
;signal with rising/falling edge from
;probe 1 on travel path to X = 100.
;Preprocessing stop
;Check success of measurement.
;Store measured value acquired on
;first programmed trigger event
;(rising edge)
;Store measured value acquired on
;second programmed trigger event
;(falling edge)
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Job planning