Programming Q Parameters | String parameters
10
454
HEIDENHAIN | TNC 640 | Conversational Programming User's Manual | 10/2017
10.11 String parameters
String processing functions
You can use the QS parameters to create variable character strings.
You can output such character strings for example through the
FN16:F-PRINT function to create variable logs.
You can assign a linear sequence of characters (letters, numbers,
special characters and spaces) up to a length of 255 characters to
a string parameter. You can also check and process the assigned
or imported values using the functions described below. As
in Q parameter programming, you can use a total of 2000 QS
parameters.
Further information: "Principle and overview of functions",
page 376
The STRING FORMULA and FORMULA Q parameter functions
contain various functions for processing the string parameters.
Soft key
Functions of the STRING FORMULA
Page
Assigning string parameters 455
Read out machine parameter 464
Chain-linking string parameters 455
Converting a numerical value to a
string parameter
457
Copy a substring from a string
parameter
458
Read system data 459
Soft key
Formula string functions
Page
Converting a string parameter to a
numerical value
460
Checking a string parameter 461
Finding the length of a string parame-
ter
462
Compare alphabetic priority 463
When you use the STRING FORMULA function, the
result of the arithmetic operation is always a string.
When you use the FORMULA function, the result of the
arithmetic operation is always a numeric value.