Siemens SINUMERIK 840D sl Programming Manual page 741

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

Advertisement

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
3. Start oscillation
Program code
OSCILL[Z]=(X) POSP[X]=(5,1,1)
M30
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
11.2 Oscillation controlled by synchronized actions (OSCILL)
Comments
;
;
;
;
Comments
;
;
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 is
the same as the partial infeed,
then always set the bit memory
with index 0 to the value 1.
If the bit memory with the index 0
is the same, then always set the
axial override of the infeed axis
X to 100% - this prevents
premature infeed (oscillating axis
Z has still not again exited the
reversal range 2, however, infeed
axis X is ready for a new infeed),
always set the axial override of
the oscillating axis Z to 100%
(this cancels the 2nd synchronized
action).
Start the axes
Oscillating axis Z is assigned
axis X as infeed axis.
Up to end position 5, axis X
should travel in steps of 1.
End of program
Oscillation
741

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents