beautypg.com

Finding the length of a string parameter, String parameters 9.11 – HEIDENHAIN TNC 640 (34059x-05) User Manual

Page 351

background image

String parameters

9.11

9

TNC 640 | User's Manual
HEIDENHAIN Conversational Programming | 1/2015

351

Finding the length of a string parameter

The

STRLEN function returns the length of the text saved in a

selectable string parameter.

Select Q-parameter functions

Select the

FORMULA function

Enter the number of the Q parameter in which
the TNC is to save the ascertained string length.
Confirm with the

ENT key

Shift the soft-key row

Select the function for finding the text length of a
string parameter

Enter the number of the QS parameter whose
length the TNC is to ascertain, and confirm with
the ENT key

Close the parenthetical expression with the

ENT

key and confirm your entry with the

END key

Example: Find the length of QS15

37 Q52 = STRLEN ( SRC_QS15 )