Siemens SINUMERIK 828D Programming Manual page 169

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Examples
Example 1: Suppress current block display in the cycle
Program code
PROC CYCLE (AXIS TOMOV, REAL POSITION) SAVE DISPLOF
DEF REAL DIFF
G01 ...
...
RET
Example 2: Block display for alarm output
Subprogram SUBPROG1 (with
Program code
PROC SUBPROG1 DISPLOF ACTBLOCNO
N8000 R10 = R33 + R44
...
N9040 R10 = 66 X100
...
N10000 M17
Subprogram SUBPROG2 (without
Program code
PROC SUBPROG2 DISPLOF
N5000 R10 = R33 + R44
...
N6040 R10 = 66 X100
...
N7000 M17
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Comments
; Suppress current block display
Instead, the cycle call should be
displayed, e.g.: CYCLE(X,100.0)
; Cycle contents
; Subprogram return jump. The block
following the cycle call is
displayed in the block display.
):
ACTBLOCNO
Comments
; Output Alarm 12080
):
ACTBLOCNO
Comments
; Output Alarm 12080
Flexible NC programming
1.25 Subprogram technique
169

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents