Siemens Sinumerik 840D sl Programming Manual page 480

Job planning
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

Path traversing behavior
8.4 Conditionally interruptible program sections (DELAYFSTON, DELAYFSTOF)
Example: Nesting stop delay sections in two program levels
Program code
N10010
N10020
N10030
...
N10040
...
...
N20010
...
N20020
N20030
N10050
...
N10060
N10070
Example: Program excerpt
The following program block is repeated in a loop:
As shown in the diagram, the user presses "Stop" in the stop delay section and the NC starts
deceleration outside the stop delay section, i.e., in block N100. That causes the NC to stop at
the beginning of N100.
Program code
...
N99 MY_LOOP:
N100
N200
N300
N400
480
DELAYFSTON()
R1 = R1 + 1
G4 F1
subprogram2
DELAYFSTON()
DELAYFSTOF()
RET
DELAYFSTOF()
R2 = R2 + 2
G4 F1
G0 Z200
G0 X0 Z200
DELAYFSTON()
G33 Z5 K2
M3 S1000
Comments
; Blocks with N10xxx program level 1.
; Stop delay section starts.
; Interpretation of subprogram 2
; Ineffective, repeated start, 2nd level.
; Ineffective, end at another level.
; Stop delay section end at the same level.
; Stop delay section ends. From now, stops act
immediately.
Comments
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents