Assigning string parameters, 9 str ing par amet ers – HEIDENHAIN iTNC 530 (60642x-04) ISO programming User Manual
Page 308

308
Programming: Q Parameters
9.9
Str
ing
par
amet
ers
Assigning string parameters
You have to assign a string variable before you use it. Use the DECLARE
STRING
command to do so.
Show the soft-key row with special functions
Select the menu for defining various plain-language
functions
Select string functions
Select the DECLARE STRING function
Example NC block:
FORMULA string functions
Soft key
Page
Converting a string parameter to a
numerical value
Checking a string parameter
Finding the length of a string parameter
Compare alphabetic priority
When you use a STRING FORMULA, 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.
N37 DECLARE STRING QS10 = "WORKPIECE"