Inputenum - Siemens SINUMERIK 840D sl Operating Manual

Sinumerik integrate create myconfig - diff, expert, topo
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Figure 4-68
4.6.10.2

InputEnum

InputEnum("<label>","<enum1>;<enum2>")
When the InputEnum(label,enums) function is called, when the package is executed, a
dialog box is displayed and the operator can make a selection.
The chosen string is assigned to an Up variable.
● The entry can be described using the "<label>" argument.
● You can define the selection text sequences using the "<enums>" argument, separated
with semicolon.
● You can define this as preselection with a "*" at the beginning of a selection text sequence.
If this is not done, then the first listed is preselected.
● The return value is the text that the user had selected as string.
Example with defined preselection (*)
Up.in = InputEnum("Please select input type:", "Magazine A;
*Magazine B; Magazine C")
Figure 4-69
Example Preselection with replacement operator
Note the use of a replacement operator in the selection string.
Up.Typ1 = "Milling machine"
Up.Typ2 = "Drilling machine"
Up.Auswahl = "$(up.Type1); $(Up.Type2); turning machine"
Up.Maschinentyp = InputEnum("Which machine type?", "$(Up.Auswahl)")
SINUMERIK Integrate Create MyConfig - Diff, Expert, Topo
Operating Manual, 11/2016, A5E36537479B-AD
Example Input
Example with defined preselection
Create MyConfig - Expert
4.6 Script language
259

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents