Siemens SINUMERIK 840D Function Manual page 610

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

Advertisement

P5: Oscillation
15.5 Examples
Program code
;
; then
;
WHENEVER $AA_DTEPW[X]==0 DO $AC_MARKER[0]=1 $AC_MARKER[1]=1
;
; always, when
; then
;
;
WHENEVER $AC_MARKER[0]==1 DO $AA_OVR[X]=0
;
; always, when
; then
;
;
;
;
;
WHENEVER $AC_MARKER[1]==1 DO $AA_OVR[X]=0 $AA_OVR[Z]=100
;
; When
;
; then
;
;
;
WHEN $AA_IW[Z]==$SA_OSCILL_REVERSE_POS1[Z] DO $AC_MARKER[2]=0
;
;----------------------------------
N750 OSCILL[Z]=(X) POSP[X]=(5,1,1)
; Assign axis X to the oscillation axis Z as infeed axis,
; this should infeed to end position 5
; in substeps of 1 and the sum of all sublengths
; should be exactly the same as the end position.
;
N780 WAITP(Z)
;
N790 X0 Z0
N799 M30
Description
The starting position matches reversal point 1. The WHEN .... synchronized actions (see
above) prevent an infeed when the starting position is reached.
610
Comment
Set the marker with index 0 to 1 and
set the marker with index 1 to 1 and
the marker with index 0 equals 1,
set the axial override of the feed axis
to 0 to prevent a new premature
infeed!
the marker with index 1 equals 1,
set the axial override of the feed axis
to 0 (to prevent a new premature
infeed!) and set the
axial override of the oscillation axis to 100%
(so that the previous
synchronized action is canceled!)
the current position of the oscillating axis
is equal to the reversal position 1,
reset the marker with index 2,
release the first synchronized action (no
infeed when reaching the start position
== reversal position 1)
; release the Z axis
; End of program
Function Manual, 06/2019, A5E47437747B AA
Axes and spindles

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents