P5: Oscillation - only 840D sl
11.5 Examples
Extended Functions
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
669
Program code Comment
; if the current position of the oscillating axis in the MCS is
; equal to reversal position 1,
; then Set the axial override of the infeed axis to
; 100%
; and Set the axial override of the infeed axis to
; 0% (so that the second synchronized action
; is cancelled once!)
WHEN $AA_IM[Z]==$SA_OSCILL_REVERSE_POS1[Z] DO $AA_OVR[Z]=100 $AA_OVR[X]=0
;
;------------------------------------------
OSCILL[Z]=(X)
POSP[X]=(5,1,1)
; Assign axis X to the oscillation axis Z as
; infeed axis, this should
; infeed to end position 5 in steps
; from 1 and the sum of all part lengths should
; give exactly the end position
M30 ; End of program
$SSURDFKUHYHUVDOSRVLWLRQDQGVSDUNLQJRXWVWURNHV
$SSURDFKHQGSRVLWLRQ
;D[LV
=D[LV
Figure 11-3 Sequences of oscillation movements and infeed, example 1