beautypg.com

Assigning string parameters, 9 str ing par a met e rs – HEIDENHAIN iTNC 530 (34049x-08) ISO programming User Manual

Page 298

background image

298

Programming: Q parameters

9.9 Str

ing par

a

met

e

rs

Assigning string parameters

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

command to do so.

Show the soft-key row with special functions

Select the menu for defining various plain-language

functions

Select string functions

Select the DECLARE STRING function

Example NC block:

FORMULA string functions

Soft key

Page

Convert a string parameter to a

numerical value

Page 304

Check a string parameter

Page 305

Find the length of a string parameter

Page 306

Compare alphabetic priority

Page 307

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.

N37 DECLARE STRING QS10 = "WORKPIECE"