beautypg.com

Reading the alphabetic order – HEIDENHAIN TNC 320 (340 551-02) User Manual

Page 387

background image

HEIDENHAIN TNC 320

387

1

0

.1

1

S

tr

in

g

P

a

ra

m

e

te

rs

Reading the alphabetic order

With the STRCOMP function you can compare string parameters for
alphabetic priority.

8

Select Q parameter functions.

8

Select the FORMULA function.

8

Enter the number of the Q parameter in which the

TNC is to save the result of comparison. Confirm with
the ENT key.

8

Shift the soft-key row.

8

Select the function for comparing string parameters.

8

Enter the number of the first QS parameter to be

compared, and confirm with the ENT key.

8

Enter the number of the second QS parameter to be

compared, and confirm with the ENT key.

8

Close the parenthetical expression with the ENT key

and confirm your entry with the END key.

Example: QS12 and QS14 are compared for alphabetic priority

The TNC returns the following results:

„

0

: The compared QS parameters are identical

„

+1

: The first QS parameter precedes the second QS

parameter alphabetically.

„

–1

: The first QS parameter follows the second QS

parameter alphabetically.

37 Q52 = STRCOMP ( SRC_QS12 SEA_QS14 )