HEIDENHAIN TNC 335 Technical Manual User Manual
Page 556
9-4
TNC 360
1 Introduction
8/95
In the NC program, when defining the OEM cycles created with dialogue support, Q parameters are
assigned specified input values. The Q-parameter numbers are automatically generated by the TNC
(Q1 to Q32). In order to prevent the same Q-parameter numbers being generated for DEF-active and
CALL-active cycles, the difference between Q-parameter numbers can be specified with MP7250.
The input values of the OEM cycles are assigned in ascending order of magnitude to the Q
parameters Q1 to Q14. The input values for the cycle are assigned to Q parameters Q[1 + MP7250]
to Q[14 + MP7250].
Example for MP7250 = 30
Parameter number in OEM-cycle with
CALL-active
DEF-active
Cycle parameter 1
Q1
Q31
Cycle parameter 2
Q2
Q32
.
.
.
.
.
.
.
.
.
Cycle parameter 14
Q14
Q44
MP7251 determines whether the values of the Q parameters which are changed in the OEM cycles
by calculation or assignment are globally transferred to the calling program (e.g. in the case of
"nesting" of OEM cycles). With machine parameter MP7251, the range of Q parameters from Q[100
- MP7251] to Q99 is defined as "global".
Example for global local Q parameters:
MP7251 = 40
Q [100 – 40] = Q60 =>
Q60 to Q99 are global Q parameters and
Q1 to Q59 are local Q parameters
MP7251 = 40
MP7251 < 40
Q1 = local
Q60 = global Q1 = local
Q60 = local
BEGIN PGM 100 MM
FN0: Q1 = +1
+1
+0
+1
+0
FN0: Q60 = +5
+1
+5
+1
+5
CYCL DEF 69.0 OEMCYCLE 1
+1
+5
+1
+5
CYCL DEF 69.1 Q1 = +2
+2
+5
+2
+5
BEGIN PGM 99999969 MM
DLG–DEF 0/32
FN1: Q1 = Q1 + 10
+12
+5
+12
+5
FN1: Q60 = Q60 + 10
+12
+15
+12
+15
END PGM 99999969 MM
STOP
+2
+15
+2
+5
END PGM 100 MM