Oscillation
11.2 Control oscillation via synchronized actions
Job planning
11-8 Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
2. Motion-synchronous action
WHENEVER $AA_IM[Z]<$SA_OSCILL_REVERSE_POS2[Z]DO ->
-> $AA_OVR[X]=0 $AC_MARKER[0]=0
Whenever
less than
then
and
the current position of oscillating axis Z in the MCS is
the start of reversal area 2
set the axial override of infeed axis X to 0%
set the marker with index 0 to value 0.
WHENEVER $AA_IM[Z]>=$SA_OSCILL_REVERSE_POS2[Z] DO $AA_OVR[Z]=0
Whenever
greater or equal to
then
the current position of oscillating axis Z in the MCS is
reversal position 2 is
set the axial override of oscillating axis Z to 0%.
WHENEVER $AA_DTEPW[X] == 0 DO $AC_MARKER[0]=1
Whenever
equal to
then
the distance-to-go of the part infeed
is
set the marker with index 0 to value 1.
WHENEVER $AC_MARKER[0]==1 DO $AA_OVR[X]=0 $AA_OVR[Z]=100
Whenever
equal to
then
the flag with index 0
is
set the axial override of infeed axis X to 0% in order to
inhibit premature infeed (oscillating axis Z has not yet
left reversal area 2 but infeed axis X is ready for a new
infeed)
set the axial override of oscillating axis Z to 100% (this
cancels the 2nd synchronized action).
-> must be programmed in a single block
3. Start oscillation
OSCILL[Z]=(X) POSP[X]=(5,1,1) ;Start the axes
;Assign axis X as the infeed axis for oscillating
;axis Z.
;Axis X is to travel to end position 5 in steps of 1.
M30 ;End of program
Description
1. Define oscillation parameters
The parameters for oscillation should be defined before the movement block containing
the assignment of infeed and oscillating axes and the infeed definition (see
"Asynchronized oscillation").
2. Define motion-synchronized actions
The following synchronization conditions can be defined:
Suppress infeed until the oscillating axis is located within a reversal area
(ii1, ii2) or at a reversal point (U1, U2).
Stop oscillation motion during infeed at reversal point.
Restart oscillation movement on completion of partial infeed. Define
start of next partial infeed.
3. Assign oscillating and infeed axes as well as partial and complete infeed.