beautypg.com

HEIDENHAIN TNC 335 Technical Manual User Manual

Page 235

background image


4-138

TNC 360

7 M Functions

8/95

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 signaled 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.

Set

Reset

W260

Code for M function

NC

Set

Reset

M2045

Strobe signal for M function

NC

NC

M2482

Acknowledgment of M function, acknowledgment of

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