K1: Mode group, channel, program operation, reset response
9.10 Asynchronous subroutines (ASUBs), interrupt routines
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
595
9.10.1.4
NC response
The different reactions of the control to an activated interrupt routine in the various operating states are given in
the following table:
Status of NC
ASUB start
Control system reaction
Program is active
Interrupt, (PLC)
1. Fast retraction or stop axes
2. Interrupt the program for the duration of the ASUB
3. Approach of the interruption point, if REPOS in ASUB
4. Continuation of the part program
RESET
Interrupt, (PLC)
The ASUB is executed like a main program. RESET (without
M30
) is
executed at the end of the ASUB. The next control system status
depends on the following machine data:
MD20110 $MC_RESET_MODE_MASK
MD20112 $MC_START_MODE_MASK
References:
Function Manual Basic Functions; Axes, Coordinate Systems, Frames
(K2), Chapter: "Workpiece-related actual-value system"
Program operation
(AUTOMATC or MDA)
+ channel stopped
Interrupt, (PLC)
ASUB is executed. At the end of the ASUB the STOP state is reapplied.
If REPOS in the ASUB:
• The ASUB processing is stopped before the approach block.
• The approach movement can be initiated with the Start key.
Start key
Once the ASUB has been executed, processing of the interrupted
program is resumed.
Manual mode
+ channel stopped
Interrupt, (PLC)
Control system assumes the status "internal program execution mode"
for the addressed channel (not evident externally) and then activates the
ASUB. The selected operating mode remains valid. The original status is
resumed after execution of the ASUB (
M17
).
JOG
AUTO Teach-In
AUTO Teach reference pnt.
Interrupt, (PLC)
Stop processing, evaluate:
MD11602 $MN_ASUP_START_MASK
MD11604 $MN_ASUP_START_PRIO_LEVEL
Internal switchover to "internal program execution mode" if appropriate,
activate ASUB, restore status prior to ASUB start.
Any
LIFTFAST
defined with
SETINT
is not activated in JOG mode.
MDA JOG,
MDA Teach-In,
MDA Teach reference pnt.
Interrupt, (PLC)
Manual mode
+ channel running
Interrupt, (PLC)
The current active motion is stopped. The distancetogo is deleted. The
remaining sequence of operations is the same as for "Manual mode,
channel stopped".
Processing of INITIAL.INI
not possible
The signal "Interrupt request not possible" is generated.
Block search
Alarm that cannot be
removed by NC start.
Digitalizing active
Channel in fault condition