Siemens SINUMERIK 840D sl Programming Manual page 953

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

OSE:
OSB:
Examples
Example 1: Oscillating axis to oscillate between two reversal points
Oscillating axis Z is to oscillate between position 10 and 100. Reversal point 1 is to be
approached with exact stop fine, reversal point 2 with exact stop coarse. The feedrate for the
oscillating axis must be 250. 3 sparking-out strokes must be executed at the end of the
machining operation and the oscillating must approach end position 200. The feedrate for the
infeed axis must be 1 and the end of infeed in the X direction should be reached at position 15.
Program code
WAITP(X,Y,Z)
G0 X100 Y100 Z100
WAITP(X,Z)
OSP1[Z]=10 OSP2[Z]=100
OSE[Z]=200
OST1[Z]=0 OST2[Z]=–1
FA[Z]=250 FA[X]=1
OSCTRL[Z]=(4,0)
OSNSC[Z]=3
OS[Z]=1
WHEN $A_IN[3]==TRUE DO DELDTG(X)
POS[X]=15
POS[X]=50
OS[Z]=0
M30
Note
The "OSP1[Z]=..." to "OSNCS[Z]=..." command sequence can also be programmed in a block.
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
Define end position (in workpiece coordinate system) to be approached after deactivation
of oscillation.
Note:
When programming "OSE" option 4 becomes effective implicitly for "OSCTRL".
Define start position (in workpiece coordinate system) to be approached prior to activation
of oscillation.
The start position is approached before reversal point 1. If the start position coincides with
reversal position 1, reversal position 2 is approached next. No stopping time applies when
the start position is reached, even if this position coincides with reversal position 1; in‐
stead, the axis waits for the exact stop fine signal. Any exact stop condition configured is
fulfilled.
Note:
Bit 9 in setting data SD43770 $SA_OSCILL_CTRL_MASK must be set to initiate an ap‐
proach to the start position.
Comment
; Initial setting.
; Switch over to positioning axis opera-
tion.
; Reversal point 1, reversal point 2.
; End position.
;Stopping time at U1: Exact stop fine
; Stopping time at U2: Exact stop coarse
; Feed for oscillating axis, infeed axis
; Setting options.
; 3 sparking-out strokes.
; Start oscillation.
; Deletion of distance-to-go.
; Starting position X axis.
; End position X axis.
; Stop oscillation.
Work preparation
3.18 Oscillation
953

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents