Indirectly Programming Part Program Lines (Execstring) - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

Flexible NC programming
1.2 Indirect programming
1.2.3

Indirectly programming part program lines (EXECSTRING)

Function
Part program command EXECSTRING passes a string as a parameter that already contains
the part program line to run.
Syntax
EXECSTRING (<string_variable>)
Parameters
EXECSTRING:
<string variable>:
Note
All part program constructions that can be programmed in a part program can be output.
This means that PROC and DEF instructions are excluded as well as the general use in INI
and DEF files.
Example
Indirect part program line
Program code
N100 DEF STRING[100] BLOCK
N110 DEF STRING[10] MFCT1="M7"
N200 EXECSTRING(MFCT1 << "M4711")
N300 R10=1
N310 BLOCK="M3"
N320 IF(R10)
N330 BLOCK = BLOCK << MFCT1
N340 ENDIF
N350 EXECSTRING(BLOCK)
66
Transfer of a string variable with the part program line to
run
Parameters with the part program line actually to be
executed
Comments
; String variable to accept part program
line
; Execute part program line "M7 M4711"
; Execute part program line "M3 M4711"
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