Siemens SINUMERIK 840D sl Function Manual page 706

Extended functions
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

P5: Oscillation
12.3 Oscillation controlled by synchronized actions
● Motion-synchronous conditions WHEN, WHENEVER
● Activation through motion block
– Assign oscillation axis and infeed axes to one another OSCILL
– Specify infeed response POSP.
The following sections present those elements which have not yet been dealt with.
Some examples are described in the "Examples" section.
Note
If the condition with which the motion-synchronous action (WHEN and WHENEVER) has been
defined is no longer valid, the OVERRIDE for this condition is automaticallyset to 100% if the
OVERRIDE had been set to 0% before.
Main run evaluation
It is possible to compare the synchronization conditions in the Interpolator clock cycle in the
main run with the current actual values ($$ variable on the right of comparison conditions).
With normal system variable comparison, the expressions are evaluated in the first run. The
complete extended possibilities for synchronized actions are listed in the following
documentation:
References:
Function Manual, Synchronized Actions
Examples
Example 1: unchanged reversal positions
For motion-synchronous actions, the reversal positions $SA_OSCILL_REVERSE_POS are
used at the interpolator level. If the associated setting data change, this has no influence in
the program.
Program code
...
$SA_OSCILL_REVERSE_POS1[Z]=-10
$SA_OSCILL_REVERSE_POS2[Z]=10
G0 X0 Z0
WAITP(Z)
; Synchronized action 1: Reversal point 1 fallen below
; Stop infeed axis with override 0%
ID=1 WHENEVER $AA_IM[Z] < $SA_OSCILL_REVERSE_POS1[Z] DO $AA_OVR[X]=0
; Synchronized action 2: Reversal point 2 exceeded
; Stop infeed axis with override 0%
ID=2 WHENEVER $AA_IM[Z] > $SA_OSCILL_REVERSE_POS2[Z] DO $AA_OVR[X]=0
OS[Z]=1 FA[X]=1000 POS[X]=40
OS[Z]=0
706
Comment
; Reversal position 1
; Reversal position 2
; Activate oscillation
; Deactivate oscillation
Function Manual, 10/2015, 6FC5397-1BP40-5BA3
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents