EasyManuals Logo

Siemens SINUMERIK 808D ADVANCED Series User Manual

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
Page #319 background imageLoading...
Page #319 background image
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
319
Tag identifier
Meaning
CONTROL
continued
Example:
<CONTROL name = "button1" xpos = "10" ypos = "10" fieldtype = " com-
bobox ">
<ITEM>text1</ITEM>
<ITEM>text2</ITEM>
<ITEM>text3</ITEM>
<ITEM>text4</ITEM>
</CONTROL>
If any integer value is to be assigned to an expression, the attribute
value = "value"
should
be added to the tag.
Rather than consecutive numbers, the control variable now contains the item's assigned
value.
Example:
<CONTROL name = "button1" xpos = "10" ypos = "10" fieldtype = " com-
bobox ">
<ITEM value = "10">text1</ITEM>
<ITEM value = "20">text2</ITEM>
<ITEM value = "12">text3</ITEM>
<ITEM value = "1">text4</ITEM>
</CONTROL>
Example of a progress bar:
<CONTROL name = "progress1" xpos = "10" ypos = "10" width = "100"
fieldtype = "progressbar" hotlink = "true" refvar =
"nck/Channel/GeometricAxis/actProgPos[1]">
<PROPERTY min = "0" />
<PROPERTY max = "1000" />
</CONTROL>
Example, list box:
<let name="item_string" type="string"></let>
<let name="item_data" ></let>
<CONTROL name="listbox1" xpos = "360" ypos="150" width="200"
height="200" fieldtype="listbox" />
• Adding elements:
Elements are added using the function
insertitem
,
additem
or
loaditem
.
• Deleting the content:
The content is deleted using the function
empty
.
<op> item_string = _T"text1\\n" </op>
<function name="control.additem">_T"listbox1", item_string,
item_data </function>
<op> item_string = _T"text2\\n" </op>
<function name="control.additem">_T"listbox1", item_string,
item_data </function>
CONTROL
continued
Example itemlist:
<CONTROL name = "itemlist1" xpos = "10" ypos = "10" fieldtype = "
itemlist">
<ITEM value = "10">text1</ITEM>
<ITEM value = "20">text2</ITEM>
<ITEM value = "12">text3</ITEM>
<ITEM value = "1">text4</ITEM>
</CONTROL>

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 808D ADVANCED Series and is the answer not in the manual?

Siemens SINUMERIK 808D ADVANCED Series Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 808D ADVANCED Series
CategoryControl Unit
LanguageEnglish

Related product manuals