EasyManuals Logo
Home>Siemens>Control Unit>SINUMERIK Series

Siemens SINUMERIK Series Function Manual

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
Page #672 background imageLoading...
Page #672 background image
P5: Oscillation - only 840D sl
11.5 Examples
Extended Functions
672 Function Manual, 03/2013, 6FC5397-1BP40-3BA1
11.5.4 Examples for starting position
11.5.4.1 Define starting position via language command
Program code Comment
WAITP(Z) ; enable oscillation for the Z axis
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]=2000 ; Infeed for oscillating axis,
; feedrate for 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
OSB[Z]=0 ; Start position = 0
OS[Z]=1 X15 F500 ; Start oscillation, continuous infeed
OS[Z]=0 ; Deactivate oscillation
WAITP(Z) ; wait for completion of the oscillation motion
M30
Explanation
When the Z axis starts oscillation, it first approaches the starting position (position = 0 in the
example) and then begins the oscillation motion between the reversal points 10 and 60.
When the X axis has reached its end position 15, the oscillation finishes with 3 sparking out
strokes and approach of end position 0.
11.5.4.2 Start oscillation via setting data
Program code Comment
WAITP(Z)
STOPRE
$SA_OSCILL_REVERSE_POS1[Z]=-10 ; reversal position 1 = -10
$SA_OSCILL_REVERSE_POS2[Z]=30 ; reversal position 2 = 30
$SA_OSCILL_START_POS[Z] = -50 ; Start position = -50
$SA_OSCILL_CTRL_MASK[Z] = 512 ; Approach start position,
; on switch-off, stop at the next
; reversal point
; do not approach any end position
; no sparking-out strokes for DTG

Table of Contents

Other manuals for Siemens SINUMERIK Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK Series and is the answer not in the manual?

Siemens SINUMERIK Series Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK Series
CategoryControl Unit
LanguageEnglish

Related product manuals