beautypg.com

10 string parameters, String processing functions – HEIDENHAIN iTNC 530 (606 42x-02) User Manual

Page 342

background image

342

Programming: Q-Parameters

9.1

0

Str

ing P

a

ra

met

e

rs

9.10 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 FN
16: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 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 304).

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

STRING FORMULA functions

Soft key

Page

Assigning string parameters

Page 343

Chain-linking string parameters

Page 343

Converting a numerical value to a string
parameter

Page 345

Copying a substring from a string
parameter

Page 346

Copying system data to a string
parameter

Page 347

FORMULA string functions

Soft key

Page

Converting a string parameter to a
numerical value

Page 349

Checking a string parameter

Page 350

Finding the length of a string parameter

Page 351

Comparing alphabetic priority

Page 352

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.