Siemens SINUMERIK 840DE sl Commissioning Manual page 837

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

Function name
Extracting script parts
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Description
The function copies a dialog description embedded in a part program
into the specified local variable.
The call parameters to be specified are the program name, the dialog
name, and a variable for storing the main menu name. If the name of
the dialog description was found in the part program, the return varia‐
ble contains this description. If the content of the variable is stored in
a file, the script can be executed with an indirect call.
The system provides a script that extracts the dialog description from
the active part program and activates the dialog. This script can be
called in an MMC command to activate the screen associated with the
part program.
Syntax:
<function name="doc.loadscript"
return="<name of script variable>">progname,
_T"dialog part name", main menu </function>
Attribute:
return - variable in which the extracted script is stored
Parameters:
progname - full path to the program. (The path name can be passed
to the function in DOS notation.)
main menu - the menu name found is copied into this variable
dialog part name - tag name in which the dialog description is embed‐
ded
Example:
<function name="doc.loadscript"
return="contents">prog_name, _T"main_dialog",
entry</function>
Generating user dialogs
1.10 Predefined functions
119

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents