7 Programming: Miscellaneous functions
134
7.1 Entering Miscellaneous Functions
M and STOP
With the TNC's miscellaneous functions - also called M functions -
you can affect:
■
Program run, e.g., a program interruption
■
Machine functions, such as switching spindle rotation and coolant
supply on and off
■
Contouring behavior of the tool
The machine tool builder may add some M functions
that are not described in this User's Manual. Your
machine manual provides more detailed information.
M functions are always entered at the end of a positioning block.
The TNC then displays the following dialog question:
Miscellaneous function M ?
You usually enter only the number of the M function in the
programming dialog. Some M functions can be programmed with
additional parameters. In this case, the dialog is continued for the
parameter input.
In the operating modes Manual and Electronic Handwheel, you
enter the miscellaneous functions with the soft key M.
Please note that some F functions become effective at the start of
a positioning block, and others at the end.
M functions come into effect in the block in which they are called.
Unless the M function is only effective blockwise, it is canceled in a
subsequent block or at the end of the program. Some M functions
are effective only in the block in which they are called.
Entering an M function in a STOP block
If you program a STOP block, the program run or test run is
interrupted at the block, for example for tool inspection. You can
also enter an M function in a STOP block:
ú
To program an interruption of program run,
press the STOP key.
ú
Enter miscellaneous function M
Example NC block
87 STOP M6
7.1 Entering Miscellaneous Functions M and STOP
Hkap7.pm6 30.06.2006, 07:03134
www.EngineeringBooksPdf.com