Program code Comment
N230 UP3(0)
PROC UP3(INT _NR)
N300 SBLOF ; Switch off single block machining
N305 X30
N310 SBLON ; Activate single block machining
N320 X32 ; single block stop
N330 SBLOF ; Switch off single block machining
N340 X34
N350 M17 ; single block stop (M17)
N240 X24 ; single block stop (N210)
N250 M17 ; single block stop (M17)
N120 X12
N130 M17 ; single block stop (M17)
N30 X0 ; single block stop
N40 M30 ; single block stop
3.2.2.6 Suppress current block display (DISPLOF, DISPLON, ACTBLOCNO)
The current program block is displayed as standard in the block display. The display of the
current block can be suppressed in cycles and subprograms using the DISPLOF command.
Instead of the current block, the call of the cycle or the subprogram is displayed. The DISPLON
command revokes suppression of the block display.
DISPLOF and DISPLON are programmed in the program line with the PROC operation and are
effective for the entire subprogram and implicitly for all subprograms called from it which do not
contain a DISPLON or DISPLOF command. This is true for all ASUBs.
Syntax
PROC … DISPLOF
PROC … DISPLOF ACTBLOCNO
PROC … DISPLON
Meaning
DISPLOF: Command to suppress the current block display.
Location: At the end of the program line with the PROC operation
Effective: Up to the return jump from the subprogram or end of program.
Note:
If further subprograms are called from the subprogram using the DISPLOF com‐
mand, then the current block display is also suppressed in these subprograms
unless DISPLON is explicitly programmed in them.
Work preparation
3.2 Subprogram technique
NC programming
506 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0