Siemens SINUMERIK 840D sl Programming Manual page 189

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

Advertisement

Example 2: Block display for alarm output
Subprogram SUBPROG1 (with ACTBLOCNO):
Program code
PROC SUBPROG1 DISPLOF ACTBLOCNO
N8000 R10 = R33 + R44
...
N9040 R10 = 66 X100
...
N10000 M17
Subprogram SUBPROG2 (without ACTBLOCNO):
Program code
PROC SUBPROG2 DISPLOF
N5000 R10 = R33 + R44
...
N6040 R10 = 66 X100
...
N7000 M17
Main program:
Program code
N1000 G0 X0 Y0 Z0
N1010 ...
...
N2050 SUBPROG1
N2060 ...
N2350 SUBPROG2
...
N3000 M30
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Comments
; Output Alarm 12080
Comments
; Output Alarm 12080
Comments
; Alarm output = "12080 channel K1 block N9040 syntax
error for text R10="
; Alarm output = "12080 channel K1 block N2350 syntax
error for text R10="
Flexible NC programming
1.25 Subprogram technique
189

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents