String parameters 9.11
9
TNC 320 | User's Manual
HEIDENHAIN Conversational Programming | 3/2014
325
Reading a numerical value of a machine parameter
In order to store the value of a machine parameter as a numerical
value in a Q parameter:
Select Q-parameter functions
Select the FORMULA function
Enter the number of the Q 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 NO ENT, whichever applies
Close the parenthetical expression with the
ENT
key and confirm your entry with the
END
key
Example: Read overlap factor as Q parameter
Parameter settings in the configuration editor
ChannelSettings
CH_NC
CfgGeoCycle
pocketOverlap
14 DECLARE STRINGQS11 = "CH_NC"
Assign string parameter for key
15 DECLARE STRINGQS12 = "CFGGEOCYCLE"
Assign string parameter for entity
16 DECLARE STRINGQS13 = "POCKETOVERLAP"
Assign string parameter for parameter name
17 Q50 = CFGREAD( KEY_QS11 TAG_QS12 ATR_QS13 )
Read out machine parameter
Содержание TNC 320
Страница 4: ...Controls of the TNC 4 TNC 320 User s Manual HEIDENHAIN Conversational Programming 3 2014 ...
Страница 5: ...Fundamentals ...
Страница 16: ...Contents 16 TNC 320 User s Manual HEIDENHAIN Conversational Programming 3 2014 ...
Страница 43: ...1 First Steps with the TNC 320 ...
Страница 63: ...2 Introduction ...
Страница 81: ...3 Programming Fundamentals file management ...
Страница 124: ......
Страница 125: ...4 Programming Programming aids ...
Страница 152: ......
Страница 153: ...5 Programming Tools ...
Страница 180: ......
Страница 181: ...6 Programming Programming contours ...
Страница 232: ......
Страница 233: ...7 Programming Data transfer from DXF files or plain language contours ...
Страница 251: ...8 Programming Subprograms and program section repeats ...
Страница 267: ...9 Programming Q Parameters ...
Страница 337: ...10 Programming Miscellaneous functions ...
Страница 357: ...11 Programming Special functions ...
Страница 379: ...12 Programming Multiple Axis Machining ...
Страница 406: ......
Страница 407: ...13 Manual operation and setup ...
Страница 462: ......
Страница 463: ...14 Positioning with Manual Data Input ...
Страница 468: ......
Страница 469: ...15 Test run and program run ...
Страница 497: ...16 MOD functions ...
Страница 525: ...17 Tables and overviews ...