Siemens SINUMERIK 802D sl Programming Manual page 169

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

Advertisement

04.07
are set as defaults. To activate the function, bit 0 must be set in machine data
10808: $MN_EXTERN_INTERRUPT_BITS_M96. These M functions will not be
output to the PLC in this case. If bit 0 is not set, the M functions will be interpreted
as conventional auxiliary functions.
On completion of the "Interrupt" program, the end position of the parts program
block that follows the interruption block is approached. If processing of the parts
program has to continue starting from the interruption point, there must be a
REPOS instruction at the end of the "Interrupt" program, e.g. REPOSA.
For this purpose the interrupt program must be written in Siemens mode.
The M functions for activating and deactivating an interrupt program must be in a
block of their own. If further addresses other than "M" and "P" are programmed in
the block, alarm 12080 (syntax error) is output.
Note about machining cycles
For ISO dialect original, you can set whether a machining cycle will be interrupted
by an interrupt routine immediately or not until the end. The shell cycles must
evaluate machine data
10808: $MN_INTERRUPT_BITS_M96 bit 3 for that purpose. If bit=1, the interrupt
must be disabled at the beginning of the cycle with DISABLE(1) and reactivated at
the end of the cycle with ENABLE(1) to avoid interrupting the machining cycle.
Because the interrupt program is only started on a 0/1 signal transition, the
interrupt input must be monitored with a disabled interrupt during the cycle runtime
with a synchronized action in the shell cycle. If the interrupt signal switches from 0
to 1, the interrupt signal after the ENABLE(1) must be set once again at the end of
the shell cycle, so that the interrupt program will then start. To permit writing to the
interrupt input in the shell cycle, the machine data
10361: $MN_FASTO_DIG_SHORT_CIRCUIT[1] must be parameterized.
Machine data
MD $MN_EXTERN_INTERRUPT_BITS_M96:
Bit 0:
= 0: Interrupt program is not possible, M96/M97 are conventional
= 1: Activation of an interrupt program with M96/M97 permitted
Bit 1:
= 0: Execution of parts program continues from the final position
= 1: Continue parts program as from interruption position
Bit 2:
= 0: The interrupt signal interrupts the current block immediately and
= 1: The interrupt routine is not started until the block has been
Bit 3:
= 0: The machining cycle is interrupted on an interrupt signal
© Siemens AG 2007 All rights reserved
SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D ISO Milling (PGM) -- 04.07 Edition
4.12 Interrupt programm with M96 / M97 (ASUB)
M functions
of the next block after the interruption block
(evaluated in interrupt program (ASUB), return with/without
REPOSL)
starts the interrupt routine
completed.
Enhanced Level Commands
4-169

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents