EasyManuals Logo
Home>Siemens>Control Systems>SINUMERIK ONE MCP 2400.4c

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 #439 background imageLoading...
Page #439 background image
Supplementary conditions
The indirect programming of position attributes is not possible in synchronized actions.
3.1.2.4 Indirectly programming part program lines (EXECSTRING)
Using the part program command EXECSTRING, it is possible to execute a previously
generated string variable as part program line.
Syntax
EXECSTRING is programmed in a separate part program line:
EXECSTRING (<string_variable>)
Meaning
EXECSTRING: Command to execute a string variable as part program line
<string variable>: Type STRING variable, that includes the actual part program line to be
executed
Note
With EXECSTRING, all part program constructions that can be programmed in the program
section of a part program, with the exception of control structures (Page 474), can be extracted.
This means that PROC and DEF statements are excluded as well as the general use in INI and
DEF files.
Example
Program code Comment
N100 DEF STRING[100] MY_BLOCK ; Definition of string variables to accept the part
program line to be executed.
N110 DEF STRING[10] MFCT1="M7"
...
N200 EXECSTRING(MFCT1 <<
"M4711")
; Execute part program line "M7 M4711".
...
N300 R10=1
N310 MY_BLOCK="M3"
N320 IF(R10)
N330 MY_BLOCK = MY_BLOCK <<
MFCT1
N340 ENDIF
N350 EXECSTRING(MY_BLOCK) ; Execute part program line "M3 M7".
Work preparation
3.1 Flexible NC programming
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 439

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