Mp7250, Plc run, Mp7251 – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual
Page 701
![background image](https://www.manualsdir.com/files/815340/content/doc701.png)
In the NC program, when defining the OEM-cycles created with dialog support, Q parameters are
assigned specified input values. The Q-parameter numbers are automatically generated by the TNC.
In order to prevent the same Q-parameter numbers being generated for "DLG-DEF" cycles and "DLG-
CALL" cycles, the difference between Q-parameter numbers can be specified for "DLG-CALL" and
"DLG-DEF" blocks.
In the case of a "DLG-CALL" block, the input values of the OEM-cycles are assigned in ascending
order of magnitude to the Q parameters Q1 to Q14. For the "DLG-DEF" block, the input values are
assigned to Q parameters Q[1 + MP7250] to Q[14 + MP7250].
Example for MP7250 = 30
Parameter number in OEM-cycle with
DLG-CALL
DLG-DEF
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 called 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".
The operation of global and local Q parameters may be shown by reference to following example:
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
Q60=global
Q1
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