Siemens SINUMERIK 840D sl Programming Manual page 558

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Oscillation
13.1 Asynchronous oscillation (OS, OSP1, OSP2, OST1, OST2, OSCTRL, OSNSC, OSE, OSB)
Program code
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
Example 2: Oscillation with online modification of the reversal position
The setting data necessary for asynchronous oscillation can be set in the part program.
If the setting data is described directly in the program, the change takes effect during
preprocessing. A synchronized response can be achieved by means of a preprocessing stop
(
STOPRE
Program code
$SA_OSCILL_REVERSE_POS1[Z]=-10
$SA_OSCILL_REVERSE_POS2[Z]=10
G0 X0 Z0
WAITP(Z)
ID=1 WHENEVER $AA_IM[Z] < $$AA_OSCILL_REVERSE_POS1[Z] DO $AA_OVR[X]=0
ID=2 WHENEVER $AA_IM[Z] < $$AA_OSCILL_REVERSE_POS2[Z] DO $AA_OVR[X]=0
OS[Z]=1 FA[X]=1000 POS[X]=40
OS[Z]=0
M30
558
to
OSP1[Z]=...
OSNCS[Z]=...
).
Comment
;
Stopping time at U1: Exact stop fine
;
Stopping time at U2: Exact stop coarse
; Feedrate for oscillating axis, feedrate
for 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.
command sequence can also be programmed in a block.
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
Comment
; If the actual value of
the oscillating axis has
exceeded the reversal
point, then the infeed
axis is stopped.
; Activate oscillation.
; Deactivate oscillation.
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents