Start Oscillation Via Setting Data - Siemens SINUMERIK 840D sl Function Manual

Extended functions
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

P5: Oscillation
12.5 Examples
Program code
OSP1[Z]=10 OSP2[Z]=60
OST1[Z]=-2 OST2[Z]=0
FA[Z]=5000 FA[X]=2000
OSCTRL[Z]=(1+8+16,0)
OSNSC[Z]=3
OSE[Z]=0
OSB[Z]=0
OS[Z]=1 X15 F500
OS[Z]=0
WAITP(Z)
M30
Explanation
When the Z axis starts oscillation, it first approaches the starting position (position = 0 in the
example) and then begins the oscillation motion between the reversal points 10 and 60. When
the X axis has reached its end position 15, the oscillation finishes with 3 sparking out strokes
and approach of end position 0.
12.5.4.2

Start oscillation via setting data

Program code
WAITP(Z)
STOPRE
$SA_OSCILL_REVERSE_POS1[Z]=-10
$SA_OSCILL_REVERSE_POS2[Z]=30
$SA_OSCILL_START_POS[Z] = -50
$SA_OSCILL_CTRL_MASK[Z] = 512
$SA_OSCILL_VELO[ Z ] = 5000
$SA_OSCILL_IS_ACTIVE[ Z ] = 1
$SA_OSCILL_DWELL_TIME1[ Z ] = -2
$SA_OSCILL_DWELL_TIME2[ Z ] = 0
STOPRE
X30 F100
$SA_OSCILL_IS_ACTIVE[ Z ] = 0
722
Comment
; explain reversal points 1 and 2
; Reversal point 1: without exact stop
; Reversal point 2: Exact stop fine
; Infeed for oscillating axis,
; feedrate for infeed axis
; Switch off oscillation motion at reversal point 1
; after delete DTG spark-out and approach end position,
; After DTG, approach relevant reversal position
;
; 3 sparking-out strokes
; End position = 0
; Start position = 0
; Start oscillation, continuous infeed
; Deactivate oscillation
; wait for completion of the oscillation motion
Comment
;
reversal position 1 = -10
;
reversal position 2 = 30
;
Start position = -50
;
Approach start position,
;
on switch-off, stop at the next
;
reversal point
;
do not approach any end position
;
no sparking-out strokes for DTG
;
Infeed for oscillating axis
;
starting
;
without wait for exact stop
;
wait for fine exact stop
;
Stop
Function Manual, 10/2015, 6FC5397-1BP40-5BA3
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents