Finding The Length Of A String Parameter - HEIDENHAIN TNC 620 User Manual

Klartext programming
Hide thumbs Also See for TNC 620:
Table of Contents

Advertisement

Programming Q parameters | String parameters

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 function
Press the FORMULA soft key
Enter the number of the Q parameter in which the
control 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 from which
the control is to ascertain the length, 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 )
If the selected string parameter is not defined the control
returns the result -1.
HEIDENHAIN | TNC 620 | Klartext Programming User's Manual | 01/2022
9
319

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 620 eTnc 620 programming station

Table of Contents