Inputint - Siemens SINUMERIK 840D sl Operating Manual

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

Advertisement

Create MyConfig - Expert
4.6 Script language
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)")
Figure 4-88
4.6.10.7

InputInt

InputInt("<label>", <int>)
The InputInt() function displays a dialog in which during package execution the user can
enter an integer.
This integer value is assigned to an Up variable.
● The entry can be explained using the <label> argument.
● The <int> argument must contain a default value. This can be changed while the package
is being executed.
● The return value is the number that the user had entered.
Example of entering an integer
Up.GanzeZahl = InputInt("Enter an integer", 1234)
Figure 4-89
Example of replacement from string, e.g. from an Enum
Up.n = "1500"
316
Example Preselection with replacement operator
Example of entering an integer
SINUMERIK Integrate Create MyConfig - Diff, Expert, Topo
Operating Manual, 12/2017, A5E36537479B-AE

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents