Siemens SINUMERIK 828D Commissioning Manual page 857

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Function name
Load Item
Easy XML
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Description
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.9 Predefined functions
105

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents