Example Of External Oscillation Reversal; Change Reversal Position Via Synchronized Action With "External Oscillation Reversal - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

Oscillation (P5)
12.5 Examples
; assign axis X to the oscillation axis Z as infeed axis,
; which has to infeed up to end position 5
; in steps of 1 and the sum of all partial distances
; must add up to the end position.
;
N780 WAITP(Z)
;
N790 X0 Z0
N799 M30
Description
The starting position matches reversal point 1. The synchronous actions WHEN ... (see
above) prevent an infeed when the starting position is reached.
12.5.5

Example of external oscillation reversal

12.5.5.1

Change reversal position via synchronized action with "external oscillation reversal"

DEFINE BREAKPZ AS $AA_OSCILL_BREAK_POS1[Z]
DEFINE REVPZ AS $SA_OSCILL_REVERSE_POS1[Z]
WAITP(Z)
OSP1[Z]=10 OSP2[Z]=60
OSE[Z]=0
OSB[Z]=0
WHENEVER BREAKPZ <> REVPZ DO $$SA_OSCILL_REVERSE_POS1 = BREAKPZ
OS[Z]=1 X150 F500
OS[Z]=0
WAITP(Z)
M30
834
; release the Z axis
; End of program
; Enable oscillation for the Z axis
; Explain reversal points 1 and 2
; End position = 0
; Starting position = 0
; At external reversal of oscillation for
; oscillation reversal point 1, adapt this
; Start oscillation, continuous infeed
; Switch off oscillation
; Wait for completion of oscillation motion
Function Manual, 01/2008, 6FC5397-1BP10-3BA0
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents