Converting a string parameter to a numerical value, Programming: q parameters 9.10 string parameters – HEIDENHAIN TNC 620 (81760x-02) ISO programming User Manual

Page 330

Advertising
background image

Programming: Q parameters

9.10

String parameters

9

330

TNC 620 | User's ManualDIN/ISO Programming | 2/2015

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.

The QS parameter must contain only one numerical

value. Otherwise the TNC will output an error

message.

Select Q-parameter functions

Select the

FORMULA function

Enter the number of the parameter in which the

TNC is to save the numerical value. Confirm with
the

ENT key

Shift the soft-key row

Select the function for converting a string

parameter to a numerical value
Enter the number of the QS parameter to be
converted, and confirm with the

ENT key

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

N37 Q82 = TONUMB ( SRC_QS11 )

Advertising