Siemens SINUMERIK 840D sl Programming Manual page 173

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

Advertisement

ACTBLOCNO
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, 03/2013, 6FC5398-2BP40-3BA1
:
together with the
DISPLOF
alarm, the number of the actual block is output in which the alarm
occurred. The also applies if only
program level.
On the other hand, for
cycle or subprogram call from the last program level not designated with
is displayed.
DISPLOF
ACTBLOCNO
attribute means that in the case of an
ACTBLOCNO
DISPLOF
without
DISPLOF
Comment
; 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.
):
Comment
; Trigger alarm 12080
):
ACTBLOCNO
Comment
; Trigger alarm 12080
Flexible NC programming
1.24 Subprogram technique
is programmed in a lower
, the block number of the
ACTBLOCNO
173

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents