12.98
2
840D
840D
NCU 572
NCU 571
NCU 573
2.9
Suppressing current block display, DISPLOF
Programming
PROC ... DISPLOF
Function
With DISPLOF the current block display is
suppressed for a subprogram. DISPLOF is placed at
the end of the PROC statement.
Instead of the current block, the call of the cycle or
the subprogram is displayed.
By default the block display is activated. Deactivation
of block display with DISPLOF applies until the
return from the subprogram or end of program. If
further subprograms are called from the subprogram
with the DISPLOF attribute, the current block display
is suppressed in these as well. If a subprogram with
suppressed block display is interrupted by an
asynchronized subprogram, the blocks of the current
subprogram are displayed.
Programming example
Suppress current block display in the cycle
%_N_CYCLE_SPF
;$PATH=/_N_CUS_DIR
PROC CYCLE (AXIS TOMOV, REAL POSITION) SAVE DISPLOF
DEF REAL DIFF
G01 ...
...
RET
Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
2.9 Suppressing current block display, DISPLOF
FM-NC
810D
840Di
Subprograms, Macros
;Suppress current block display
;Now the cycle call is displayed as the
current block
;e.g.: CYCLE(X, 100.0)
;Cycle contents
;
;Subprogram return, the following block
of the calling program is displayed again
2
2-107