Program code CommentOS[Z]=0 ; Deactivate oscillationM30Example 2: changing reversal positionsFor the motion-synchronized actions, as reversal position, main run variable $$AA_OSCILL_REVERSE_POSx is used. If the corresponding setting data change, then themodified values are active in the program.Program code Comment...$SA_OSCILL_REVERSE_POS1[Z]=-10 ; Preprocessing var.: reversal position 1$SA_OSCILL_REVERSE_POS2[Z]=10 ; Preprocessing var.: reversal position 2G0 X0 Z0WAITP(Z); Synchronized action 1: Reversal point 1 fallen below ⇒; Stop infeed axis with override 0%; Main run var. Reversal position 1 is usedID=1 WHENEVER $AA_IM[Z] < $$SA_OSCILL_REVERSE_POS1[Z] DO $AA_OVR[X]=0; Synchronized action 2: Reversal point 2 exceeded ⇒; Stop infeed axis with override 0%; Main run var. reversal position 2 is usedID=2 WHENEVER $AA_IM[Z] > $$SA_OSCILL_REVERSE_POS2[Z] DO $AA_OVR[X]=0OS[Z]=1 FA[X]=1000 POS[X]=40 ; Activate oscillationOS[Z]=0 ; Deactivate oscillationM3015.3.1 Infeed at reversal point 1 or 2FunctionAs long as the oscillation axis has not reached the reversal point, the infeed axis does not move.ApplicationDirect infeed in reversal pointProgrammingReversal point 1WHENEVER $AA_IM[Z] <> $SA_OSCILL_REVERSE_POS1[Z]DO $AA_OVR[X] = 0 $AA_OVR[Z] = 100Reversal point 2WHENEVER $AA_IM[Z] <> $SA_OSCILL_REVERSE_POS2[Z]P5: Oscillation15.3 Oscillation controlled by synchronized actionsAxes and spindlesFunction Manual, 06/2019, A5E47437747B AA 593