Detailed Description
2.7 Program operation mode
Mode Group, Channel, Program Operation, Reset Response (K1)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-103
Interrupt routines/ASUBs
Term
Identical functionality is identified by the terms ASUB and Interrupt routines. For the
purposes of simplification, only the term interrupt routine will be used from now on.
• Interrupt routines are normal part programs, which are started by interrupt events
(interrupt inputs, process or machine status) related to the machining process or the
relevant machine status. Any part program block currently being executed will be
interrupted by the routine if it is not specifically declared to be locked against interruption.
It is possible to continue the subroutine at the point of interruption at a later stage.
• Where several interrupt routines exist, they have to be given different levels of priority so
that incoming activation signals arriving at the same time can be placed in a certain order.
• Interrupt routines can be activated from the PLC program by means of a "Function call".
Note
Interrupt routines can be called if the mode group is in program operation mode, i.e., in
cases where part program blocks are being processed in either AUTOMATIC or in
MDA mode. This restriction is reduced in "Calling the ASUB outside program operation".