Siemens SINUMERIK 840D Function Manual page 603

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

Advertisement

Program section
Program code
; Example 1: Oscillation with synchronized actions
OSP1[Z]=10 OSP2[Z]=60
OST1[Z]=-2 OST2[Z]=0
FA[Z]=5000 FA[X]=250
OSCTRL[Z]=(1+8+16,0)
OSNSC[Z]=3
OSE[Z]=0
WAITP(Z)
;
; motion-synchronous actions:
;
; always, when
;
; not equal to
; then
;
WHENEVER $AA_IM[Z]<>$SA_OSCILL_REVERSE_POS1[Z] DO $AC_MARKER[1]=0
;
; always, when
;
; less than
;
; then
; and
;
WHENEVER $AA_IM[Z]<$SA_OSCILL_REVERSE_POS2[Z]-6 DO $AA_OVR[X]=0 $AC_MARKER[2]=0
;
; always, when
;
; equal to
; then
;
; and
;
;
WHENEVER $AA_IM[Z]==$SA_OSCILL_REVERSE_POS1[Z] DO $AA_OVR[Z]=0 $AA_OVR[X]=100
;
; always, when
; equal to
Axes and spindles
Function Manual, 06/2019, A5E47437747B AA
Comment
; explain reversal points 1 and 2
; Reversal point 1: without exact stop
; Reversal point 2: Exact stop fine
; Feed for oscillating axis, feedrate, 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
; enable oscillation for the Z axis
the current position of the oscillating axis in the
Machine Coordinate System
reversal position 1
set the marker with index 1 to value 0
(Reset marker 1)
the current position of the oscillating axis in the
Machine Coordinate System
the beginning of reversal range 2
(here: reversal point 2 -6),
set the axial override of the infeed axis to 0%.
set the marker with index 2 to value 0
(Reset marker 2)
the current position of the oscillating axis in the
Machine Coordinate System
reversal position 1,
set the axial override of the oscillation axis to 0%
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 is
0,
P5: Oscillation
15.5 Examples
603

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents