Example 2 Of Oscillation With Synchronized Actions - Siemens SINUMERIK 840D sl Function Manual

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

P5: Oscillation - only 840D sl
12.5 Examples
12.5.3

Example 2 of oscillation with synchronized actions

Exercise
No infeed must take place at reversal point 1. At reversal point 2, the infeed must take place
at distance ii2 from reversal point 2; the oscillation axis must wait at this reversal point until
part infeed has been executed. Axis Z is the oscillation axis and axis X the infeed axis.
Program section
Example 2: Oscillation with synchronized actions
DEF INT ii2
;
OSP1[Z]=10 OSP2[Z]=60
OST1[Z]=0 OST2[Z]=0
FA[Z]=5000 FA[X]=100
OSCTRL[Z]=(2+8+16,1)
OSNSC[Z]=3
OSE[Z]=70
ii2=2
WAITP(Z)
; 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
838
; Define variable for reversal area 2
; explain reversal points 1 and 2
; Reversal point 1: Exact stop fine
; Reversal point 2: Exact stop fine
; Feed for oscillating axis, infeed axis
; Deactivate oscillating motion at reversal point 2
; after remaining distance spark-out and approach end
position
; delete approach after remaining distance
; approach reversal position
; 3 sparking-out strokes
; End position = 70
; Set reversal point range
; enable oscillation for Z axis
the current position of the oscillating axis in the MCS
is
the start of reversal area 2
set the axial override of infeed axis
to 0%
set the marker with index 0 to value 0
the current position of the oscillating axis in the MCS
is
reversal position 2
set the axial override of oscillation axis
to 0%
the distance-to-go of the part infeed is
0,
set the marker with index 0 to value 1
Function Manual, 09/2009, 6FC5397-1BP20-0BA0
Extended Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents