Siemens SINUMERIK 840D sl Programming Manual page 562

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

Advertisement

Oscillation
13.2 Oscillation controlled by synchronized actions (OSCILL)
1. Parameters for oscillation
Program code
DEF INT ii2
OSP1[Z]=10 OSP2[Z]=60
OST1[Z]=0 OST2[Z]=0
FA[Z]=150 FA[X]=0.5
OSCTRL[Z]=(2+8+16.1)
OSNC[Z]=3
OSE[Z]=70
ii2=2
WAITP(Z)
2. Motion-synchronous action
Program code
WHENEVER
$AA_IM[Z]<$SA_OSCILL_REVERSE_POS2[Z] DO ->
$AA_OVR[X]=0 $AC_MARKER[0]=0
WHENEVER
$AA_IM[Z]>=$SA_OSCILL_REVERSE_POS2[Z] DO
$AA_OVR[Z]=0
WHENEVER $AA_DTEPW[X] == 0 DO
$AC_MARKER[0]=1
WHENEVER $AC_MARKER[0]==1 DO $AA_OVR[X]=0
$AA_OVR[Z]=100
-> must be programmed in a single block
562
Comment
;
Define variable for reversal area 2
;
Define reversal points 1 and 2
;
Reversal point 1: Exact stop fine
Reversal point 2: Exact stop fine
;
Oscillating axis Z feedrate, infeed axis X feedrate
;
Deactivate oscillating motion at reversal point 2;
after delete DTG spark-out and approach end position;
after delete DTG approach reversal position
;
Sparking-out strokes
;
End position = 70
;
Set reversal point range
;
Enable oscillation for Z axis
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
Comment
;
If the actual position of
oscillating axis Z in MCS is less
than the start of reversal range
2, then always set the axial
override of the infeed axis X to
0% and the bit memory with index 0
to the value 0.
;
If the actual position of the
oscillating axis Z in MCS is
greater than the reversal position
2, then always set the axial
override of the oscillating axis Z
to 0%.
;
If the remaining distance to go of
the partial infeed is 0, then
always set the bit memory with
index 0 to the value 1.
;
Whenever the bit memory with index
0 is equal to 1, then set the
axial override of the infeed axis
X to 0%. As a consequence, a
premature infeed is prevented
(oscillating axis Z has still not
left reversal area 2, but infeed
axis X is ready for a new infeed).
Set the axial override of
oscillating axis Z from 0% (action
of the 2nd synchronized action)
back to 100% to move.
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents