Siemens SINUMERIK 840DE sl Commissioning Manual page 842

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

Advertisement

Generating user dialogs
1.10 Predefined functions
Function name
Load Item
124
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>
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Easy XML

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents