beautypg.com

1 entering miscellaneous functions m and stop, Fundamentals, K ("fundamentals – HEIDENHAIN TNC 640 (34059x-04) ISO programming User Manual

Page 328: Entering miscellaneous functions m and stop

background image

Programming: Miscellaneous functions

10.1 Entering miscellaneous functions M and STOP

10

328

TNC 640 | User's Manual for DIN/ISO Programming | 3/2014

10.1

Entering miscellaneous functions M
and STOP

Fundamentals

With the TNC's miscellaneous functions—also called M functions

—you can affect

the program run, e.g., a program interruption
the machine functions, such as switching spindle rotation and

coolant supply on and off
the path behavior of the tool

The machine tool builder may add some M functions

that are not described in this User's Manual. Refer to

your machine manual.

You can enter up to four M functions at the end of a positioning

block or in a separate block. The TNC then shows the dialog:

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 Manual Operation and El. Handwheel modes of operation,
the M functions are entered with the

M soft key.

Please note that some M functions become effective

at the start of a positioning block, and others at the

end, regardless of their position in the NC block.
M functions come into effect in the block in which

they are called.
Some M functions are effective only in the block in

which they are programmed. Unless the M function

is only effective blockwise, either you must cancel it

in a subsequent block with a separate M function, or

it is automatically canceled by the TNC at the end of

the program.

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 a miscellaneous function

M

Example NC blocks

N87 G36 M6