Copying A Substring From A String Parameter - HEIDENHAIN iTNC 530 User Manual

Hide thumbs Also See for iTNC 530:
Table of Contents

Advertisement

Copying a substring from a string parameter

With the SUBSTR function you can copy a definable range from a string
parameter.
U
Select Q-parameter functions
U
Select the STRING FORMULA function
U
Enter the number of the string parameter in which the
TNC is to save the copied string. Confirm with the
ENT key
U
Select the function for cutting out a substring
U
Enter the number of the QS parameter from which the
substring is to be copied. Confirm with the ENT key
U
Enter the number of the place starting from which to
copy the substring, and confirm with the ENT key
U
Enter the number of characters to be copied, and
confirm with the ENT key
U
Close the parenthetical expression with the ENT key
and confirm your entry with the END key
Remember that the first character of a text sequence
starts internally with the zeroth place.
Example: A four-character substring (LEN4) is read from the
string parameter QS10 beginning with the third character (BEG2)
N37 QS13 = SUBSTR ( SRC_QS10 BEG2 LEN4 )
HEIDENHAIN iTNC 530
301

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents