Siemens SINUMERIK 840D sl Programming Manual page 188

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

Advertisement

Flexible NC programming
1.25 Subprogram technique
DISPLON:
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
188
Command for revoking suppression of the display of the current block
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
DISPLON command, then the current block will also be displayed in
these subprograms unless DISPLOF is explicitly programmed in them.
DISPLOF together with the ACTBLOCNO attribute means that in the case
of an alarm, the number of the actual block is output in which the alarm
occurred. The also applies if only DISPLOF is programmed in a lower
program level.
On the other hand, for DISPLOF without ACTBLOCNO, the block number
of the cycle or subprogram call from the last program level not
designated with DISPLOF is displayed.
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.
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents