EasyManuals Logo

Siemens SINUMERIK 810D Programming Manual

Siemens SINUMERIK 810D
687 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #61 background imageLoading...
Page #61 background image
Flexible NC programming
1.14 Interrupt routine (SETINT, DISABLE, ENABLE, CLRINT)
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
1-47
Example
In this example, a broken tool is to be replaced automatically by an alternate tool. Machining
is continued with the new tool. Machining is then continued with the new tool.
Main program
N10 SETINT(1) PRIO=1 W_CHANGE ->
-> LIFTFAST
When input 1 is enabled, the tool is
automatically retracted from the contour
with liftfast (code no. 7 for tool radius
compensation G41). Interrupt routine
W_CHANGE is subsequently executed.
N20 G0 Z100 G17 T1 ALF=7 D1
N30 G0 X-5 Y-22 Z2 M3 S300
N40 Z-7
N50 G41 G1 X16 Y16 F200
N60 Y35
N70 X53 Y65
N90 X71.5 Y16
N100 X16
N110 G40 G0 Z100 M30
Subroutine
PROC W_CHANGE SAVE Subroutine with storage of current
operating state
N10 G0 Z100 M5 ;Tool changing position, spindle stop
N20 T11 M6 D1 G41 ;Change tool
N30 REPOSL RMB M3 ;Repositioning and return
;to main program
-> programmed in a single block.
Caution
If you do not program any of the REPOS commands in the subroutine, the axis is moved to
the end of the block that follows the interrupted block.
Create interrupt routine as subroutine
The interrupt routine is identified as a subroutine in the definition.
Example:
PROC LIFT_Z
N10
N50 M17
Program name LIFT_Z, followed by the NC blocks, finally end-of-program M17 and return
to main program.

Table of Contents

Other manuals for Siemens SINUMERIK 810D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 810D and is the answer not in the manual?

Siemens SINUMERIK 810D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 810D
CategoryControl Unit
LanguageEnglish

Related product manuals