P5: Oscillation - only 840D sl
11.5 Examples
Extended Functions
666 Function Manual, 03/2013, 6FC5397-1BP40-3BA1
11.5.1 Example of asynchronous oscillation
Task
The oscillation axis Z must oscillate between -10 and 10. Approach reversal point 1 with
exact stop coarse and reversal point 2 without exact stop. The oscillation axis feedrate must
be 5000. 3 sparking-out strokes must be executed at the end of the machining operation
followed by approach by oscillation axis to end position 30. The feedrate for the infeed axis is
1000, end of the infeed in X direction is at 15.
Program section
Program code Comment
OSP1[Z]=-10 ; Reversal point 1
OSP2[Z]=10 ; Reversal point 2
OST1[Z]=-1 ; Stop time at reversal point 1: Exact stop coarse
OST2[Z]=-2 ; Stop time at reversal point 2: without exact stop
FA[Z]=5000 ; Infeed for oscillating axis
OSNSC[Z]=3 ; three spark-out strokes
OSE[Z]=-3 ; End position
OS1 F500 X15 ; start oscillation, infeed X axis
; with infeed 500, feed target 15
VSDUNLQJRXWVWURNHV
8
8
(QGSRVLWLRQ
;D[LV
=D[LV
Figure 11-2 Sequences of oscillation movements and infeed, example 1