HEIDENHAIN TNC 620 User Manual page 356

Conversational programming cnc control; nc software 817600-03; 817601-03; 817605-03
Hide thumbs Also See for TNC 620:
Table of Contents

Advertisement

9
Programming: Q Parameters
9.11
String parameters
Reading a string of a machine parameter
In order to store the content of a machine parameter as a string in
a QS parameter:
Press the Q key.
Select the STRING FORMULA function
Enter the number of the string parameter in
which the TNC is to save the machine parameter.
Confirm with the ENT key
Select the CFGREAD function
Enter the numbers of the string parameters for
the key, entity and attribute, then confirm with the
ENT key
Enter the number for the index, or skip the dialog
with NNO ENT, whichever applies
Close the parenthetical expression with the ENT
key and confirm your entry with the END key
Example: Read as a string the axis designation of the fourth
axis
Parameter settings in the configuration editor
DisplaySettings
CfgDisplayData
axisDisplayOrder
14 DECLARE STRINGQS11 = ""
15 DECLARE STRINGQS12 = "CFGDISPLAYDATA"
16 DECLARE STRINGQS13 = "AXISDISPLAYORDER"
17 QS1 =
CFGREAD( KEY_QS11 TAG_QS12 ATR_QS13 IDX3 )
356
[0] to [5]
Assign string parameter for key
Assign string parameter for entity
Assign string parameter for parameter name
Read out machine parameter
HEIDENHAIN | TNC 620 | Conversational Programming User's Manual | 10/2015

Advertisement

Table of Contents
loading

Table of Contents