K1: Mode group, channel, program operation, reset response
9.10 Asynchronous subroutines (ASUBs), interrupt routines
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
591
9.10
Asynchronous subroutines (ASUBs), interrupt routines
9.10.1
Function
9.10.1.1
General functionality
interrupt routines
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.
Definition of interrupt routines
The command
SETINT
or an interrupt signal via the PI service "ASUB" must be assigned to a part program,
which is supposed to act as interrupt routine. This turns the part program into an interrupt routine.
Note
The terms "asynchronous subroutines (ASUB)" and "interrupt routines" used alternatively in
the description below refer to the same functionality.
0DLQSURJUDPVXESURJUDP
,QWHUUXSWURXWLQH
5HWXUQSRVVLEOH
$%+(%B=
15
1;<
0
%ORFNEHLQJ
SURFHVVHG
DURXWLQHWRDQHYHQW
DQGVZLWFKLWUHDG\$VVLJQ
(YHQW
LQSXWVZLWFKHG
16(7,17
1
1
1
1
1
1
1
1
1
1
10