Fundamentals – HEIDENHAIN iTNC 530 (340 422) ISO programming User Manual

Page 194

Advertising
background image

194

7 Programming: Miscellaneous Functions

7.

1 En

te

ri

ng M

is

c

e

llaneo

u

s

F

u

nc

tion

s M

an

d G

38 (S

T

O

P

)

7.1

Entering Miscellaneous
Functions M and G38 (STOP)

Fundamentals

With the TNC’s miscellaneous functions—also called M functions—
you can influence:

n

Program run, e.g., a program interruption

n

Machine functions, such as switching spindle rotation and coolant
supply on and off

n

Contouring behavior of the tool

You can enter up to two M functions at the end of a positioning block.
The TNC displays the following dialog question:

Miscellaneous function M?

You usually enter only the number of the M function. 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 Electronic 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.

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 G38 block

If you program a G38 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:

U

U

U

U

To program an interruption of program run, press the

STOP key.

U

U

U

U

Enter miscellaneous function M.

Example NC blocks

The machine tool builder may add some M functions that
are not described in this User’s Manual. Refer to your
machine manual.

87 G38 M6

Advertising