P5: Oscillation - only 840D sl
11.6 Data lists
Extended Functions
676 Function Manual, 03/2013, 6FC5397-1BP40-3BA1
11.5.5 Example of external oscillation reversal
11.5.5.1 Change reversal position via synchronized action with "external oscillation reversal"
Program code Comment
DEFINE BREAKPZ AS $AA_OSCILL_BREAK_POS1[Z]
DEFINE REVPZ AS $SA_OSCILL_REVERSE_POS1[Z]
WAITP(Z) ; enable oscillation for the Z axis
OSP1[Z]=10 OSP2[Z]=60 ; explain reversal points 1 and 2
OSE[Z]=0 ; End position = 0
OSB[Z]=0 ; Start position = 0
; At external reversal of oscillation for
; oscillation reversal point 1, adapt this
WHENEVER BREAKPZ <> REVPZ DO $$SA_OSCILL_REVERSE_POS1 = BREAKPZ
OS[Z]=1 X150 F500 ; Start oscillation, continuous infeed
OS[Z]=0 ; Deactivate oscillation
WAITP(Z) ; wait for completion of the oscillation motion
M30
11.6 Data lists
11.6.1 Machine data
11.6.1.1 General machine data
Number Identifier: $MN_ Description
10710 PROG_SD_RESET_SAVE_TAB Oscillations to be saved from SD
11460 OSCILL_MODE_MASK Control screen form for asynchronous oscillation