EasyManuals Logo

Siemens SINUMERIK ONE MCP 2400.4c Programming Manual

Siemens SINUMERIK ONE MCP 2400.4c
1334 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #507 background imageLoading...
Page #507 background image
DISPLON: 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 com‐
mand, then the current block will also be displayed in these subprograms
unless DISPLOF is explicitly programmed in them.
ACTBLOCNO: 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. This
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.
Examples
Example 1: Suppress current block display in the cycle
Program code Comment
PROC CYCLE (AXIS TOMOV, REAL POSITION)
SAVE DISPLOF
; Suppress current block display Instead,
the cycle call should be displayed, e.g.:
CYCLE(X,100.0)
DEF REAL DIFF ;Cycle contents
G01 ...
...
RET ; Subprogram return jump. The block follow-
ing the cycle call is displayed in the block
display.
Example 2: Block display for alarm output
Subprogram SUBPROG1 (with ACTBLOCNO):
Program code Comment
PROC SUBPROG1 DISPLOF ACTBLOC-
NO
N8000 R10 = R33 + R44
...
N9040 R10 = 66 X100 ; Trigger alarm 12080
...
N10000 M17
Subprogram SUBPROG2 (without ACTBLOCNO):
Program code Comment
PROC SUBPROG2 DISPLOF
N5000 R10 = R33 + R44
Work preparation
3.2 Subprogram technique
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 507

Table of Contents

Other manuals for Siemens SINUMERIK ONE MCP 2400.4c

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK ONE MCP 2400.4c and is the answer not in the manual?

Siemens SINUMERIK ONE MCP 2400.4c Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK ONE MCP 2400.4c
CategoryControl Systems
LanguageEnglish

Related product manuals