Siemens SINUMERIK Series Function Manual page 674

Extended functions
Hide thumbs Also See for SINUMERIK Series:
Table of Contents

Advertisement

P5: Oscillation - only 840D sl
11.5 Examples
Program code
; 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
;
; 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
;
674
Comment
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
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!
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
Extended Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 828d

Table of Contents