Programming Q Parameters | String parameters
10
454
HEIDENHAIN | TNC 620 | Conversational Programming User's Manual | 10/2017
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.
Press the STRING FORMULA soft key
Enter the number of the string parameter
in which the control is to save the machine
parameter
Press the ENT key
Select the CFGREAD function
Enter the numbers of the string parameters for
key, entity, and attribute
Press the ENT key
Enter the number for the index, or skip the dialog
with NNOENT, whichever applies
Close the parenthesized expression with the ENT
key
Press the END key to conclude entry
Example: Read as a string the axis designation of the fourth
axis
Parameter settings in the configuration editor
DisplaySettings
CfgDisplayData
axisDisplayOrder
[0] to [5]
Example
14 QS11 = ""
Assign string parameter for key
15 QS12 = "CfgDisplaydata"
Assign string parameter for entity
16 QS13 = "axisDisplay"
Assign string parameter for parameter name
17 QS1 =
CFGREAD(KEY_QS11TAG_QS12ATR_QS13IDX3)
Read out machine parameter