beautypg.com

12 string parameters, Working with string parameters, Assigning string parameters – HEIDENHAIN TNC 320 (340 551-01) User Manual

Page 363

background image

HEIDENHAIN TNC 320

363

1

0

.1

2

S

tr

in

g

P

a

ra

m

e

te

rs

10.12 String Parameters

Working with string parameters

You need string processing mainly to be able to read value from tables
and configuration data.

You can assign a linear sequence of characters (letters, numbers,
special characters and spaces) to a string parameter. You can also
check and process the assigned or imported values.

Assigning string parameters

You have to assign a string variable before you use it. Use the
DECLARE STRING command to do so.

8

To select the TNC special functions, press the

SPECIAL FUNCTIONS soft key

8

Select the DECLARE function

8

Select the STRING soft-key

Example NC block:

37

DECLARE STRING QS10 = "TEXT"