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 #530 background imageLoading...
Page #530 background image
Syntax
CALL <program name>
Meaning
CALL: Command for the indirect subprogram call.
<program name>: Name of the subprogram (variable or constant)
Type: STRING
Example
Direct call with STRING constant:
Program code Comment
…
CALL "/_N_WKS_DIR/_N_SUBPROG_WPD/_N_PART1_SPF" ; Direct call to subprogram
PART1 with CALL.
…
Indirect call via variable:
Program code Comment
…
DEF STRING[100] PROGNAME : Define variable.
PROGNAME="/_N_WKS_DIR/_N_SUBPROG_WPD/_N_PART1_SPF" ; Assign subprogram PART1 to
the PROGNAME variable.
CALL PROGNAME ; Indirect call to subprogram
PART1 via CALL and the PROG-
NAME variable.
…
3.2.3.6 Indirect subprogram call with specification of the calling program part (CALL BLOCK ...
TO ...)
CALL and the keyword combination BLOCK ... TO is used to call a subprogram indirectly and
execute the program section designated by the start and end labels.
Syntax
CALL <program name> BLOCK <start label> TO <end label>
CALL BLOCK <start label> TO <end label>
Work preparation
3.2 Subprogram technique
NC programming
530 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0

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