Inputenum - Siemens SINUMERIK 840D sl Operating Manual

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

Advertisement

Example of buttons one below the other
Up.MaschineType = InputChoice("Wählen Sie die Technologie!",
"&Fräsen;; &Drehen;; &Schleifen")
Up.MaschineType = InputChoice("Please select technology!",
"&Milling;; &Turning;; &Grinding")
Figure 4-86
4.6.10.6

InputEnum

InputEnum("<label>", "*<enum1>;<enum2>")
The InputEnum() function displays a dialog box in which during package execution the user
can make a selection.
The chosen string is assigned to an Up variable.
● The entry can be explained using the <label> argument.
● Any number of selection text sequences can be defined using the <enums n> argument,
each separated with a 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-87
SINUMERIK Integrate Create MyConfig - Diff, Expert, Topo
Operating Manual, 12/2017, A5E36537479B-AE
Example of buttons displayed one below the other
Example with defined preselection
Create MyConfig - Expert
4.6 Script language
315

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents