6 – 284 HEIDENHAIN Technical Manual TNC 426, TNC 430
Status of
Mfunctions
7
77
7 With Module 9060 you can ascertain the status of M functions M100 to
M199.
7
77
7 With Module 9061 the status of the non-modal M functions M94, M142,
M143 and M146 can be ascertained.
Module 9060 Status of M functions
Module 9060 can determine whether an M function between M100 and M199
is active.
Call:
PS B/W/D/K <Number of the M function (100 to 199)>
CM 9060
PL B/W/D <Status>
0: M function inactive
1: M function active
Error recognition:
Module 9061 Status of non-modal M functions
With module 9061 the status of the non-modal M functions M94, M142,
M143 and M146 can be interrogated. The status of the interrogated
M function is then set until the module is called again, even if the NC program
has finished.
Call:
PS B/W/D/K <Number of the M function (90 to 199)>
CM 9061
PL B/W/D <Status>
0: M function was not active
1: M function was active
Error recognition:
Program stop with
M functions
In the PROGRAM RUN, SINGLE BLOCK and the PROGRAM RUN, FULL
SEQUENCE operating modes the next NC block is not run until you have
reported execution of the M function:
7
77
7 Set M4092 in order to report the execution of the M function.
For special machines you can deselect the program stop (See "Special
Functions for Laser Cutting Machines” on page 6 – 452).
7
77
7 Select the program stop with MP7440, bit 2.
Marker Value Meaning
M4203 0 Status was found
1 Error code in W1022
W1022 1 Invalid number of M function
Marker Value Meaning
M4203 0 Status was found
1 Error code in W1022
W1022 1 Invalid number of M function