beautypg.com

Converting a string parameter to a numerical value, 9 str ing p a ra met e rs – HEIDENHAIN iTNC 530 (606 42x-02) ISO programming User Manual

Page 304

background image

304

Programming: Q-Parameters

9.9 Str

ing P

a

ra

met

e

rs

Converting a string parameter to a numerical
value

The TONUMB function converts a string parameter to a numerical value.
The value to be converted should be only numerical.

U

Select Q-parameter functions

U

Select the FORMULA function

U

Enter the number of the string parameter in which the

TNC is to save the numerical value. Confirm with the
ENT key

U

Shift the soft-key row

U

Select the function for converting a string parameter

to a numerical value

U

Enter the number of the Q parameter to be converted,

and confirm with the ENT key

U

Close the parenthetical expression with the ENT key

and confirm your entry with the END key

Example: Convert string parameter QS11 to a numerical
parameter Q82

The QS parameter must contain only one numerical value.
Otherwise the TNC will output an error message.

N37 Q82 = TONUMB ( SRC_QS11 )