Siemens SINUMERIK 840D Function Manual page 609

Mc axes and spindles
Hide thumbs Also See for SINUMERIK 840D:
Table of Contents

Advertisement

Program code
N702 OSP1[Z]=10 OSP2[Z]=60
N703 OST1[Z]=0 OST2[Z]=0
N704 FA[Z]=5000 FA[X]=2000
N705 OSCTRL[Z]=(1+8+16.0)
N706 OSNSC[Z]=3
N707 OSE[Z]=0
N708 OSB[Z]=10
N709 WAITP(Z)
;
; motion-synchronous actions:
; set marker with index 2 on 1 (initialization)
WHEN TRUE DO $AC_MARKER[2]=1
;
; always, when
;
;
; then
;
WHENEVER ($AC_MARKER[2] == 0) AND $AA_IW[Z]>$SA_OSCILL_REVERSE_POS1[Z])
DO $AC_MARKER[1]=0
; always, when
;
;
; then
;
;
WHENEVER $AA_IW[Z]<$SA_OSCILL_REVERSE_POS2[Z]-6 DO $AA_OVR[X]=0 $AC_MARKER[0]=0
;
; always, when
;
; then
;
;
;
WHENEVER $AA_IW[Z]==$SA_OSCILL_REVERSE_POS1[Z] DO $AA_OVR[Z]=0 $AA_OVR[X]=100
;
; always, when
Axes and spindles
Function Manual, 06/2019, A5E47437747B AA
Comment
; explain reversal points 1 and 2
; Reversal point 1: Exact stop coarse
; Reversal point 2: Exact stop fine
; Infeed for oscillating axis,
; feedrate for infeed axis
; switch off oscillation motion at
; reversal point 1 after DTG spark-out
; and approach end position
; After DTG, approach relevant
; reversal position
;
; 3 sparking-out strokes
; End position = 0
; Start position = 10
; enable oscillation for the Z axis
the marker with index 2 equals 0
and the current position of the oscillating axis
does not equal the reversal position 1
set the marker with index 1 to 0.
the current position of the oscillating axis
is less than the start of reversal range 2
set the axial override of the feed axis
to 0 and set the marker with index 0 to
0
the current position of the oscillating axis
is equal to the reversal position 1,
set the axial override of the oscillating axis
to 0 and set the axial override of the
infeed axis to 100% (so that the
previous synchronized action is cancelled!)
the distance-to-go of the partial infeed equals
0
P5: Oscillation
15.5 Examples
609

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents