beautypg.com

11 string parameters, String processing functions, String parameters – HEIDENHAIN TNC 620 (81760x-01) User Manual

Page 319: String parameters 9.11

background image

String parameters 9.11

9

TNC 620 | User's Manual

HEIDENHAIN Conversational Programming | 3/2014

319

9.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

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 "Principle and overview of functions", page 272).
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

320

Chain-linking string parameters

320

Converting a numerical value to a

string parameter

321

Copy a substring from a string

parameter

322

Formula string functions

Soft key

Page

Converting a string parameter to a

numerical value

323

Checking a string parameter

324

Finding the length of a string

parameter

325

Compare alphabetic priority

326

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.