Siemens SINUMERIK 840D sl Function Manual page 698

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

Advertisement

P5: Oscillation
12.2 Asynchronous oscillation
NC language
The NC programming language allows asynchronous oscillation to be controlled from the part
program. The following functions allow asynchronous oscillation to be activated and controlled
as a function of NC program execution.
Note
If the setting data is directly written in the part program, then the data change takes effect
prematurely with respect to processing of the part program (at the preprocessing time). It is
possible to re-synchronize the part program and the oscillation function commands by means
of a preprocessing stop (STOPRE).
References:
Programming Guide
1) Activate, deactivate oscillation:
● OS[oscillation axis] = 1; Activate oscillation for oscillation axis
● OS[oscillation axis] = 0; Deactivate oscillation for oscillation axis
Note
Every axis may be used as an oscillation axis.
2) End of oscillation:
● WAITP(oscillation axis)
Positioning axis command – stops block until oscillation axis is at fine stop and synchronizes
preprocessing and main run. The oscillation axis is entered as positioning axis again and
can then be used normally.
If an axis is to be used for oscillation, it must be released with a WAITP(axis) command
beforehand.
This also applies if oscillation is initiated from the PLC/HMI. In this case, the WAITP(axis)
call is also needed if the axis was programmed beforehand via the NC program. As of SW
version 3.2 it is possible to select via machine data $MA_AUTO_GET_TYPE, whether
WAITP() shall be performed with programming or automatically.
Note
WAITP effectively implements a time delay until the oscillation movement has been
executed. Termination of the movement can be initiated, for example, through a
programmed deactivation command in the NC program or via the PLC or HMI by means
of deletion of distance-to-go.
3) Setting reversal points:
● OSP1[oscillation axis] = position of reversal point 1
● OSP2[oscillation axis] = position of reversal point 2
A position is entered into the appropriate setting data in synchronism with the block in the main
run and thus remains effective until the setting data is next changed.
If incremental traversal is active, then the position is calculated incrementally to the last
appropriate reversal point programmed in the NC program.
698
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