EasyManua.ls Logo

Siemens SINUMERIK Series

Siemens SINUMERIK Series
956 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
P5: Oscillation - only 840D sl
11.5 Examples
Extended Functions
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
667
11.5.2 Example 1 of oscillation with synchronized actions
Task
Direct infeed must take place at reversal point 1; the oscillation axis must wait until the partial
infeed has been executed before it can continue traversal. At reversal point 2, the infeed
must take place at a distance of -6 from reversal point 2; the oscillation axis must not wait at
this reversal point until partial infeed has been executed. Axis Z is the oscillation axis and
axis X is the infeed axis (see Section "Oscillation controlled by synchronized actions
(Page 653)).
Note
The setting data OSCILL_REVERSE_POS_1/2 are values in the machine coordinate
system; therefore comparison is only suitable with $AA_IM[n].
Program section
Program code Comment
; Example 1: Oscillation with synchronized actions
OSP1[Z]=10 OSP2[Z]=60 ; explain reversal points 1 and 2
OST1[Z]=-2 OST2[Z]=0 ; Reversal point 1: without exact stop
; Reversal point 2: Exact stop fine
FA[Z]=5000 FA[X]=250 ; Feed for oscillating axis, feedrate, infeed axis
OSCTRL[Z]=(1+8+16,0) ; Switch off oscillation motion at reversal point 1
; After delete DTG spark-out and approach end position
; After DTG, approach relevant reversal position
;
OSNSC[Z]=3 ; 3 sparking-out strokes
OSE[Z]=0 ; End position = 0
WAITP(Z) ; enable oscillation for the Z axis
;
; motion-synchronous actions:
;
; always, when the current position of the oscillating axis in the
; Machine Coordinate System
; not equal to reversal position 1
; then set the marker with index 1 to value 0
; (Reset marker 1)
WHENEVER $AA_IM[Z]<>$SA_OSCILL_REVERSE_POS1[Z] DO $AC_MARKER[1]=0
;
; always, when the current position of the oscillating axis in the
; Machine Coordinate System

Table of Contents

Other manuals for Siemens SINUMERIK Series

Related product manuals