beautypg.com

10 string parameters, String processing functions – HEIDENHAIN TNC 620 (340 56x-03) ISO programming User Manual

Page 245

background image

HEIDENHAIN TNC 620

245

8.1

0

Str

ing P

a

ra

met

e

rs

8.10 String Parameters

String processing functions

You can use the QS parameters to create variable character strings.

You can assign a linear sequence of characters (letters, numbers,
special characters and spaces) up to a length of 256 characters to a
string parameter. You can also check and process the assigned or
imported values by using the functions described below. As in Q-
parameter programming, you can use a total of 2000 QS parameters
(see also "Principle and Overview" on page 202).

The STRING FORMULA and FORMULA Q-parameter functions
contain various functions for processing the string parameters.

STRING FORMULA functions

Soft key

Page

Assign string parameters

Page 246

Chain-link string parameters

Page 246

Convert a numerical value to a string
parameter

Page 248

Copy a substring from a string parameter

Page 249

FORMULA string functions

Soft key

Page

Convert a string parameter to a numerical
value

Page 250

Check a string parameter

Page 251

Find the length of a string parameter

Page 252

Compare alphabetic priority

Page 253

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.