6.5
Examples
6.5.1
NC-controlled reactions
Example using NC-controlled reactions. The important details are specified.
Exercise
The A axis is to operate as the generator drive, while the X axis should retract 10 mm at
maximum speed in the event of a fault, and axes Y and Z should stop after a delay of 100 ms
so that the retraction axis has time to cancel the mechanical coupling.
Preconditions
The "Extended stop and retract", "Static synchronous actions" and "ASUB" options must be
available.
Parameter assignment
Parameterization or programming required for the example:
$MC_ASUP_START_MASK = 7
; Function assignment
$MA_ESR_REACTION[X]=21
$MA_ESR_REACTION[Y]=22
$MA_ESR_REACTION[Z]=22
;Configuration: NC-controlled retraction
LFPOS
POLF[X]=IC(10)
POLFMASK(X)
;Configuration: NC-controlled extended stop
$MC_ESR_DELAY_TIME1=0.1
$MC_ESR_DELAY_TIME2=0.04
; Function enable (from parts program or synchronous actions):
$AA_ESR_ENABLE[X] = 1
$AA_ESR_ENABLE[Y]=1
$AA_ESR_ENABLE[Z]=1
$AA_ESR_ENABLE[A]=1
Special Functions
Function Manual, 09/2011, 6FC5397-2BP40-2BA0
R3: Extended stop and retract
; MD11602
; MD37500
; Axial retraction to a position
; 46. G group
; Retraction position, incremental
; Enable retraction
; MD21380, duration of
; Path interpolation in seconds
; MD21381, braking duration in seconds
; Set system variables
6.5 Examples
399