Siemens SINUMERIK 840D Function Manual page 606

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

Advertisement

P5: Oscillation
15.5 Examples
Program code
; motion-synchronous actions:
; always, when
;
; less than
; then
;
; and
WHENEVER $AA_IM[Z]<$SA_OSCILL_REVERSE_POS2[Z]-ii2 DO $AA_OVR[X]=0 $AC_MARKER[0]=0
;
; always, when
;
; greater or equal to
; then
;
WHENEVER $AA_IM[Z]>=$SA_OSCILL_REVERSE_POS2[Z] DO $AA_OVR[Z]=0
;
; always, when
; equal to
; then
WHENEVER $AA_DTEPW[X] == 0 DO $AC_MARKER[0]=1
;
; always, when
; equal to
; then
;
;
;
;
; and
;
;
WHENEVER $AC_MARKER[0]==1 DO $AA_OVR[X]=0 $AA_OVR[Z]=100
;
OSCILL[Z]=(X)
POSP[X]=(5,1,1)
;
;
;
;
;
M30
606
Comment
the current position of the oscillating axis in the
Machine Coordinate System
the start of reversal area 2
set the axial override of the feed axis
to 0%
set the marker with index 0 to value 0
the current position of the oscillating axis in the
Machine Coordinate System
reversal position 2
set the axial override of the oscillating axis
to 0%
the distance-to-go of the partial infeed is
0,
set the marker with index 0 to value 1
the flag with index 0 is
1,
set the axial override of the infeed axis to 0%
to prevent a new premature infeed
(oscillation axis has not yet exited the reversal point
range 2,
but the infeed axis is ready for a
new infeed)
set the axial override of the oscillation axis to 100%
(this cancels the 2nd synchronized action)
; Start the axes
The oscillating axis Z is assigned axis X as
an infeed axis
Axis X should travel to end position 5 in
increments of 1
Axes and spindles
Function Manual, 06/2019, A5E47437747B AA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents