Copying A Substring From 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

Copying a substring from a string parameter

The SUBSTR function copies a definable range from a string
parameter.
Show the soft-key row with special functions
Open the function menu
Press the String functions soft key
Press the STRING FORMULA soft key
Enter the number of the string parameter in which
the control is to save the character string. Confirm
with the ENT key.
Select the function for copying a substring
Enter the number of the QS parameter from which
the substring is to be copied. Confirm with the
ENT key
Enter the number of the place starting from which
to copy the substring, and confirm with the ENT
key
Enter the number of characters to be copied, and
confirm with the ENT key
Close the parenthetical expression with the ENT
key and confirm your entry with the END key
The first character of a text string starts internally at the
0-position
Example: A four-character substring (LEN4) is read from the string
parameter QS10 beginning with the third character (BEG2)
37 QS13 = SUBSTR ( SRC_QS10 BEG2 LEN4 )
HEIDENHAIN | TNC 620 | Klartext Programming User's Manual | 01/2022
9
315

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 620 eTnc 620 programming station

Table of Contents