HEIDENHAIN TNC 640 User Manual page 466

Hide thumbs Also See for TNC 640:
Table of Contents

Advertisement

10
Reading a numerical value of a machine parameter
Store the value of a machine parameter as a numerical value in a Q
parameter:
Select Q parameter function
Press the FORMULA soft key
Enter the number of the Q 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 NNO ENT, whichever applies
Close the parenthesized expression with the ENT
key
Press the END key to conclude entry
Example: Read overlap factor as Q parameter
Parameter settings in the configuration editor
ChannelSettings
CH_NC
CfgGeoCycle
Example
14 QS11 = "CH_NC"
15 QS12 = "CfgGeoCycle"
16 QS13 = "pocketOverlap"
17 Q50 = CFGREAD( KEY_QS11 TAG_QS12 ATR_QS13 )
466
pocketOverlap
Programming Q Parameters | String parameters
Assign string parameter for key
Assign string parameter for entity
Assign string parameter for parameter name
Read out machine parameter
HEIDENHAIN | TNC 640 | Conversational Programming User's Manual | 10/2017

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents