Dialog block with dlg-def or dlg-call, 1 dialog block with dlg-def or dlg-call – HEIDENHAIN TNC 306 Technical Manual User Manual
Page 458

3/97
TNC 406/TNC 306
1 Creating user cycles
9-3
1.1 Dialog block with DLG-DEF or DLG-CALL
Programming a user cycle and, by the same token, the dialog block, is only possible if the program
number is in the range 99 9 99 9 68.H to 999 9 99 99.H (TNC 306) and 999 999 30.H to 99 9999
99.H (TNC 406).
Each of these program numbers is permanently assigned to a cycle number (e.g. program number
99 999 968.H represents user cycle 68).
Programming the dialog block is initiated with the key "LBL SET" and then "NO ENT".
DLG-DEF
If a user cycle is to be active in the NC program immediately upon being defined, a "DEF-active" user
cycle is programmed with the "ENT" key, e.g. cycle for coordinate transformation.
DLG-CALL
If a user cycle is to be activated later in the NC program via CYCL CALL or M99, a "CALL-active" user
cycle is programmed with the "NO ENT" key, e.g. for a fixed cycle.
Up to 15 dialog numbers can then be input. The first dialog number is always assigned to the
designation of the user cycle. The remaining numbers are assigned to the Q parameters in
ascending order.
If fewer than 15 dialogs are to be programmed, the dialog block can end with "END". See also
MP7250 in the following description of the relevant machine parameters.
Example:
0 BEGIN PGM 99999968 MM
1 DLG-DEF 0/2/8/99
.
.
.
15 END PGM 99999968 MM
Machine parameter MP7240 can be used to inhibit program input in the case that the program
number is the same as the user cycle number.
If MP7240 = 0, no program with the program number of a user cycle which is stored in EPROM can
be input or read into the NC program memory.
If MP7240 = 1, the program number range of the user cycles can also be used when the user cycles
are stored in the PLC EPROM. If a user cycle is generated in the NC program memory and if at the
same time there is a user cycle with the same number in the PLC EPROM, then the user cycle in
the NC program memory will be executed at a cycle call.