beautypg.com

HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 284

background image


01.98

TNC 407/TNC 415/TNC 425

7 M-functions

4-159

The evaluation of the M-function must be programmed in the PLC. When transferring an M-Function to
the PLC the code for the M-function is stored in Word W260 and the strobe-marker M2045 is set.

The execution of the M-function must be signalled to the NC by setting the markers M2482. The
next NC-block is only processed when the signal is acknowledged and the marker M2045 (strobe
signal for M-function) is reset by the NC. The M-functions M00 to M99 can also be decoded and
transferred to the markers M1900 to M1999. This function is activated by the marker M2496. The
decoded output is retained for reasons of compatibility. However, HEIDENHAIN recommends
M-code evaluation using Word W260.

Address

Function

Set

Reset

W260

Code for M-function

NC

Marker

Function Set

Reset

M2045

Strobe signal for M-function

NC

NC

M2482

Acknowledgement of M-function

PLC

PLC

M2496

Enable-marker for the decoded M-code-

PLC

PLC

transfer to markers M1900 to M1999

M1900

Miscellaneous function M00

NC

NC

M1901

Miscellaneous function M01

NC

NC

M1902

Miscellaneous function M02

NC

NC

.

.

.

.

.

.

M1999

Miscellaneous function M99

NC

NC

All M-functions over 99 are not transferred to the PLC but have a specific significance for the NC to
activate functions (see User's Manual).