Examples For Starting Position; Define Starting Position Via Language Command; Start Oscillation Via Setting Data - 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.4

Examples for starting position

11.5.4.1

Define starting position via language command

Program code
WAITP(Z)
OSP1[Z]=10 OSP2[Z]=60
OST1[Z]=-2 OST2[Z]=0
FA[Z]=5000 FA[X]=2000
OSCTRL[Z]=(1+8+16,0)
OSNSC[Z]=3
OSE[Z]=0
OSB[Z]=0
OS[Z]=1 X15 F500
OS[Z]=0
WAITP(Z)
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
WAITP(Z)
STOPRE
$SA_OSCILL_REVERSE_POS1[Z]=-10
$SA_OSCILL_REVERSE_POS2[Z]=30
$SA_OSCILL_START_POS[Z] = -50
$SA_OSCILL_CTRL_MASK[Z] = 512
672
Comment
; enable oscillation for the Z axis
; explain reversal points 1 and 2
; Reversal point 1: without exact stop
; Reversal point 2: Exact stop fine
; Infeed for oscillating axis,
; feedrate for infeed axis
; Switch off oscillation motion at reversal point 1
; after delete DTG spark-out and approach end position,
; After DTG, approach relevant reversal position
;
; 3 sparking-out strokes
; End position = 0
; Start position = 0
; Start oscillation, continuous infeed
; Deactivate oscillation
; wait for completion of the oscillation motion
Comment
;
reversal position 1 = -10
;
reversal position 2 = 30
;
Start position = -50
;
Approach start position,
;
on switch-off, stop at the next
;
reversal point
;
do not approach any end position
;
no sparking-out strokes for DTG
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