EasyManua.ls Logo

Siemens SINUMERIK 808D ADVANCED Series

Siemens SINUMERIK 808D ADVANCED Series
480 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...
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
367
Function name
Description
control.loaditem
The function inserts a list of expressions into the control.
The function is only available for the control types "listbox" and
"graphicbox".
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>

Table of Contents

Related product manuals