HEIDENHAIN TNC 320 User Manual page 365

Compact contouring control
Hide thumbs Also See for TNC 320:
Table of Contents

Advertisement

Assign string parameters
You have to assign a string variable before you use it. Use the
DECLARE STRING command to do so.
Show the soft-key row with special functions
Open the function menu
Press the String functions soft key
Press the DECLARE STRING soft key
Example NC block
37 DECLARE STRING QS10 = "WORKPIECE"
Chain-linking string parameters
With the concatenation operator (string parameter || string
parameter) you can make a chain of two or more string parameters.
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 TNC is to save the concatenated string.
Confirm with the ENT key
Enter the number of the string parameter in which
the
first
key: The TNC displays the concatenation symbol
||
Press the ENT key
Enter the number of the string parameter in which
the
second
ENT key
Repeat the process until you have selected all the
required substrings. Conclude with the END key
Example: QS10 is to include the complete text of QS12, QS13
and QS14
37 QS10 = QS12 || QS13 || QS14
Parameter contents:
QS12: Workpiece
QS13: Status:
QS14: Scrap
QS10: Workpiece Status: Scrap
HEIDENHAIN | TNC 320 | Conversational Programming User's Manual | 9/2016
substring is saved. Confirm with the ENT
substring is saved. Confirm with the
String parameters 9.11
9
365

Advertisement

Table of Contents
loading

Table of Contents