Enhanced Level Commands
4.9 Automating support functions
04.07
4-152
© Siemens AG 2007 All rights reserved
SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D ISO Milling (PGM) -- 04.07 Edition
Example
G291;
:
M96 P200;
:
:
:
:
M97;
:
:
N100···;
:
PINT is input
If P c ommand is specified
200.mpf;
:
:
:
:
:
M99 (P100) ;
Fig. 4-29
S While the interrupt program, where jump has been made in response to the in-
put of the interrupt signal during the execution of a program in the M96 mode, is
executed, another interrupt signal is invalid.
S It is possible to specify the sequence number of the block where the interrupt
program should start by using a Q command in the M96 P_ block.
End of interruption (M97)
The program interrupt function is canceled by specifying “M97;”.
Supplements to the program interrupt function
S The behaviour of the program interrupt function can b e determined by setting
the relevant bits of the following machine data:
$MN_EXTERN_INTERRUPT_BITS_M96:
Bit 0 = 0: No interrupt function possible.
M96/M97 are treated as standard M functions
Bit 0 = 1: Activation of program interrupt function possible
Bit 1 = 0: Part program execution is continued with the
end position of the NC block subsequent to the
interruption block.
Bit 1 = 1: Part program execution is continued from the
interruption position
Bit 2 = 0: NC block execution is interrupted immediatly and
the subprogram is called.
Bit 2 = 1: The subprogram is called after completion of the
currently executed NC block.
Bit 3 = 0: Machining cycle is interrupted if an interrupt
signal occurs.
Bit 3 = 1: Machining cycle is c ompleted prior to subprogram
call.