Assigning string parameters, 1 0 str ing par a met e rs – HEIDENHAIN iTNC 530 (34049x-08) User Manual
Page 348

348
Programming: Q parameters
9.1
0
Str
ing par
a
met
e
rs
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
Convert a string parameter to a
numerical value
Check a string parameter
Find 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.
37 DECLARE STRING QS10 = "WORKPIECE"