Program Interrupt Function (M96, M97) - Siemens SINUMERIK 802D sl Programming Manual

Iso milling
Hide thumbs Also See for SINUMERIK 802D sl:
Table of Contents

Advertisement

04.07
Explanation
Multistage skip is caused by specifying P1, P2, P3, or P4 in a G31 block.
The digital inputs are assigned to addresses P1 -- P4 through machine data as
follows:
P1: $MN_EXTERN_MEAS_G31_P_SIGNAL[0]
P2: $MN_EXTERN_MEAS_G31_P_SIGNAL[1]
P3: $MN_EXTERN_MEAS_G31_P_SIGNAL[2]
P4: $MN_EXTERN_MEAS_G31_P_SIGNAL[3]
For an explanation of selecting (P1, P2, P3, or P4), refer to the manual supplied by
the machine tool builder.
4.9.3

Program interrupt function (M96, M97)

By activating an external interrupt signal from the machine, another program can
be called while a program is being executed. This function is referred to as pro-
gram interrupt function. It is emulated using the Siemens syntax SETINT(1) <pro-
gram name> [PRIO=1].
Program an interrupt command in the following format:
Format
M96 Pxxxx;
M97;
M97 and M96 P_ should be specified in a block without other commands. If other
commands such as axis move commands are specified with M97 or M96 P_ in the
same block, an alarm occurs.
Programming format
Start of interruption (M96)
By specifying "M96P · · · ;", if the program interrupt signal goes ON during the
execution of the program before the execution of M97, the program presently
executed is interrupted (axis move is decelerated and stopped), and the program
jumps to the one specified by P.
© Siemens AG 2007 All rights reserved
SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D ISO Milling (PGM) -- 04.07 Edition
Enables program interrupt
Disables program interrupt
Enhanced Level Commands
4.9 Automating support functions
4-151

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents