Use Of The Restext() Function - 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.7 Configuring user interface languages for packages
Figure 4-129
4.7.10

Use of the ResText() function

ResText("<resid>"[, "<arg>"]*)
The ResText() function calls text resources in the form of information texts from the "User.ts"
language resource file.
The "User.ts" file is blow the respective language folder in the "List of language resources".
The texts from the "User.ts" belonging to the language are then used for the package execution
in accordance with the selected language.
If you work with language-dependent text, the ResText() function is used in scripts, e.g.
message boxes, input dialogs, etc., as an alternative to plain text.
To call the "Information text" of the "User.ts" file, specify the "ID" in the "User.ts" file via the
<resid> argument.
Up to 9 optional <arg> arguments are used to be able to take over variable text components
from the script in the called information text.
As placeholders for the <arg> arguments transferred by the function, the %1 to %9 characters
are used in the information text of the "User.ts".
Example 1 of ResText()
Up.MSG1 = ResText("T1")
MSG("$(Up.MSG1)")
Figure 4-130
364
Package configuration - Information text
Configuration in the Resource Editor
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