Siemens SINUMERIK 808D ADVANCED Series Commissioning Manual page 362

Hide thumbs Also See for SINUMERIK 808D ADVANCED Series:
Table of Contents

Advertisement

Function name
doc.loadscript
362
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 vari-
able 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" re-
turn="<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 em-
bedded
Example:
<function name="doc.loadscript" re-
turn="contents">prog_name, _T"main_dialog", en-
try</function>
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 808d advanced t

Table of Contents