Example 2 Of Oscillation With Synchronized Actions - Siemens SINUMERIK Series Function Manual

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

Advertisement

P5: Oscillation - only 840D sl
11.5 Examples
11.5.3

Example 2 of oscillation with synchronized actions

Task
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
partial infeed has been executed. Axis Z is the oscillation axis and axis X the infeed axis.
Program section
Example 2: Oscillation with synchronized actions
Program code
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
;
670
Comment
; 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, feed for infeed axis
; Switch off oscillation motion at reversal point 2
After delete distance-to-go, spark-out and end position
Approach appropriately after delete distance-to-go
Approach reversal position
; 3 sparking-out strokes
; End position = 70
; Set reversal point range
; permit oscillation for Z axis
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%
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 828d

Table of Contents