Siemens SINUMERIK 828D Programming Manual page 641

Hide thumbs Also See for SINUMERIK 828D:
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, 07/2010, 6FC5398-2BP40-0BA0
11.2 Oscillation controlled by synchronized actions (OSCILL)
Comment
;
;
;
;
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.
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
641

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents