beautypg.com

String processing functions, Concatenation of string parameters – HEIDENHAIN TNC 320 (340 551-01) User Manual

Page 364

background image

364

10 Programming: Q Parameters

1

0

.1

2

S

tr

in

g

P

a

ra

m

e

te

rs

String processing functions

The STRING FORMULA or FORMULA functions contain various
functions for processing the string parameters.

Use the STRING FORMULA function if you want to receive a string
parameter (e.g. QS10) as a result.

8

Select a Q parameter function: Press the Q key (in the

numerical keypad at right). The Q parameter functions
are displayed in a soft-key row.

8

Shift the soft-key row.

8

Select STRING FORMULA function

8

Enter the value for the string parameter in which the

result is stored

8

Press the enter key

8

Select the soft key for desired function

8

Press the enter key

8

Select the soft key for desired function

Use the FORMULA function if you want to receive a numerical value
(e.g. Q10) as a result.

Concatenation of string parameters

With the concatenation operator (string parameter II string parameter)
you can make a chain of two or more string parameters.

Example: Concatenation of two or more string parameters

The string parameter for a result must also be assigned
beforehand. Use the DECLARE STRING function without
entering a string.

37

QS10 = QS12 || QS13 || QS14