Inputtext - 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 of specification with variables
Up.Exp = 12eX-3
Up.RealNumber = InputReal("Enter a number in exponential form:",
Up.Exp)
Figure 4-92
4.6.10.9

InputText

InputText("<label>", "<string>")
When the InputText() function is called, a dialog box is displayed during the package
execution. The user is prompted to enter a text.
This text is assigned to an Up variable.
● The entry can be explained via the <label> argument.
● A text can be preselected via the <string> argument.
● The dialog is switched to hidden password entry using the "*" user-specified value.
● The return value is the text that the user had entered.
● With an empty input field, pressing "OK" returns an empty string " ".
Example of InputText with and without replacement operators
Up.Name = InputText("Enter the machine name.", "'Machine XY'")
Figure 4-93
Up.FA = "Siemens"
Up.Name = "'Machine XY'"
Up.Manuafacturer = InputText("From which company is $(up.Name)
manufactured?",up.FA)
318
; = 0,012
Example of specification with variables
Example of InputText without replacement operator
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