EasyManua.ls Logo

Siemens SINUMERIK 840DE SL

Siemens SINUMERIK 840DE SL
1734 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
Loading...
Function name Description
Load Item The function inserts a list of expressions into the control.
The function is only available for the control types "listbox" and "graph‐
icbox".
Syntax:
<function name="control.loaditem"> control name,
list </function>
Attribute:
name – function name
Values:
control name – control name
list- string variable
Structure of the list:
The list contains a number of expressions, which must be separated
from one another using a \n.
Example:
<let name="item_string" type="string"></let>
<let name="plotlist" type="string"></let>
<print name ="item_string" text="p; %f; %f; %f; %f\
\n">s_z, s_x</print>
<op>plotlist = plotlist + item_string</op>
<print name ="item_string" text="l; %f; %f;
%f; %f\\n">s_z, s_x, e_z, e_x </print>
<op>plotlist = plotlist + item_string</op>
<op> s_x = e_x </op>
<op> s_z = e_z</op>
<op> e_x = s_x + 10 </op>
<op> e_z = s_z - 100 </op>
<print name ="item_string" text="l; %f; %f;
%f; %f\\n">s_z, s_x, e_z, e_x </print>
<op>plotlist = plotlist + item_string</op>
<function name="control.loaditem">_T"gbox",
plotlist</function>
Generating user dialogs
1.10 Predefined functions
Easy XML
124 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1

Table of Contents

Other manuals for Siemens SINUMERIK 840DE SL

Related product manuals