06.08.2013 Views

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

In the NC program, when defining the OEM cycles created with dialogue support, Q parameters are<br />

assigned specified input values. The Q-parameter numbers are automatically generated by the <strong>TNC</strong><br />

(Q1 to Q32). In order to prevent the same Q-parameter numbers being generated for DEF-active and<br />

CALL-active cycles, the difference between Q-parameter numbers can be specified with MP7250.<br />

The input values of the OEM cycles are assigned in ascending order of magnitude to the Q<br />

parameters Q1 to Q14. The input values for the cycle are assigned to Q parameters Q[1 + MP7250]<br />

to Q[14 + MP7250].<br />

Example for MP7250 = 30<br />

Parameter number in OEM-cycle with<br />

CALL-active DEF-active<br />

Cycle parameter 1 Q1 Q31<br />

Cycle parameter 2 Q2 Q32<br />

. . .<br />

. . .<br />

. . .<br />

Cycle parameter 14 Q14 Q44<br />

MP7251 determines whether the values of the Q parameters which are changed in the OEM cycles<br />

by calculation or assignment are globally transferred to the calling program (e.g. in the case of<br />

"nesting" of OEM cycles). With machine parameter MP7251, the range of Q parameters from Q[100<br />

- MP7251] to Q99 is defined as "global".<br />

Example for global local Q parameters:<br />

MP7251 = 40<br />

Q [100 – 40] = Q60=> Q60 to Q99 are global Q parameters and<br />

Q1 to Q59 are local Q parameters<br />

MP7251 = 40 MP7251 < 40<br />

Q1 = local Q60 = global Q1 = local Q60 = local<br />

BEGIN PGM 100 MM<br />

FN0: Q1 = +1 +1 +0 +1 +0<br />

FN0: Q60 = +5 +1 +5 +1 +5<br />

CYCL DEF 69.0 OEMCYCLE 1 +1 +5 +1 +5<br />

CYCL DEF 69.1 Q1 = +2 +2 +5 +2 +5<br />

BEGIN PGM 99999969 MM<br />

DLG–DEF 0/32<br />

FN1: Q1 = Q1 + 10 +12 +5 +12 +5<br />

FN1: Q60 = Q60 + 10 +12 +15 +12 +15<br />

END PGM 99999969 MM<br />

STOP +2 +15 +2 +5<br />

END PGM 100 MM<br />

9-4 <strong>TNC</strong> <strong>360</strong> 1 Introduction 8/95

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!