75 q – HEIDENHAIN TNC 360 User Manual User Manual
Page 140
Advertising

TNC 360
7-6
7
Programming with Q Parameters
7.2
Describing Contours Through Mathematical Functions
ENT
Programming example for fundamental operations
Assign the value 10 to parameter Q5, and assign the product of Q5 and 7
to parameter Q12.
FN 0 : ASSIGN
Select Q parameter function FN 0.
PARAMETER NUMBER FOR RESULT?
Enter parameter number, e.g. Q5.
FIRST VALUE / PARAMETER?
Assign numerical value to Q5.
FN 0 : ASSIGN
Select Q parameter function FN 0 again.
FN3: MULTIPLICATION
Select Q parameter function FN3.
PARAMETER NUMBER FOR RESULT?
Enter parameter number, for example Q12.
FIRST VALUE / PARAMETER?
Enter Q5 (=10).
SECOND VALUE / PARAMETER?
Enter the value 7.
Resulting NC blocks: FN0: Q5 = +10
FN3: Q12 = +Q5 ❊+7
3
GOTO
ENT
7
5
Q
Q
DEF
Q
DEF
5
ENT
1
0
ENT
ENT
1
2
ENT
ENT
ENT
Advertising