Retraction While Thread Cutting; Rapid Lift Using Asub And Fast Input - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

R3: Extended stop and retract
6.5 Examples
Trigger conditions and static synchronized actions
Example 1: Trigger condition is the occurrence of alarms, which activate the follow-up
(tracking) mode:
Program code
IDS=02 WHENEVER ($AC_ALARM_STAT B_AND 'H2000')>0 DO $AC_ESR_TRIGGER=1
Example 2: Trigger condition is when the ELG synchronous monitoring responds, if, e.g. Y is
defined as ELG following axis and the max. permissible synchronism difference is 100 mm:
Program code
IDS=03 WHENEVER $VA_EG_SYNCDIFF[Y]>0.1 DO $AC_ESR_TRIGGER=1
6.5.2

Retraction while thread cutting

During thread cutting, for a fault/interruption, axis X should be retracted to the position
specified under POLF as response. Axis Z continues to traverse until it is stopped as normal.
Program code
N10 G0 G90 X200 Z0 S200 M3
N20 G0 G90 X170
N30 POLF[X]=210
N40 LFPOS
N50 POLFMASK(X)
N60 LFON
N70 G33 X100 I10
N80 X130 Z-45 K10
N90 X155 Z-128 K10
N100 X145 Z-168 K10
N110 X120 I10
N120 G0 Z0 LFOF
N130 POLFMASK()
6.5.3

Rapid lift using ASUB and fast input

Activating ASUB using the LIFTFAST program command (rapid lift) via fast input 1:
Program code
N10 SETINT (1) PRIO=1 ABHEB_Y LIFTFAST
N20 LFPOS
N30 POLF[X]=19.5 POLF[Y]=33.3
N40 POLF[Z]=100
N50 X0 Y0 G0
N60 POLFMASK(X, Y)
N70 Z100 G1 F1000
400
Comment
;
;
; Retraction position axis X, absolute
; Retraction via POLF/POLFMASK ON
; Enable retraction, axis X
; Fast retraction for thread cutting ON
; Thread cutting
; Retraction response, axial: X (abs.)
; dto.
; dto.
; dto.
; dto.
; Fast retraction for thread cutting OFF
; Disable retraction of all axes
Comment
; ASUB activation, fast input 1
; Retraction via POLF/POLFMASK ON
; Retraction positions axis X Y, absolute
; Retraction position axis Z, absolute
;
; Enable retraction, axis X Y
; Retraction response, axial: X, Y (abs.)
Function Manual, 09/2011, 6FC5397-2BP40-2BA0
Special Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents