Siemens SINUMERIK 808D ADVANCED Series Commissioning Manual page 367

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

Advertisement

Function name
control.loaditem
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
Description
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>
367

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 808d advanced t

Table of Contents