Retraction While Thread Cutting - Siemens SINUMERIK 840D Function Manual

Mc axes and spindles
Hide thumbs Also See for SINUMERIK 840D:
Table of Contents

Advertisement

Programming
Program code
LFPOS
POLF[X]=IC(10)
POLFMASK(X)
; Enable "Extended stop and retract"
$AA_ESR_ENABLE[X]=1
$AA_ESR_ENABLE[Y]=1
$AA_ESR_ENABLE[Z]=1
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
16.4.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
Axes and spindles
Function Manual, 06/2019, A5E47437747B AA
Comment
Axis-specific lift to a position
Retraction position, incremental
Enable retraction
; X axis
; Y axis
; Z axis
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
R3: Extended stop and retract
16.4 Examples
629

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents