K1: Mode group, channel, program operation, reset response
9.10 Asynchronous subroutines (ASUBs), interrupt routines
Basic Functions
598
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Application example:
In case of a single-slide turning machine a stock removal cycle is started as ASUB in the mode type JOG and
with this a shaft several meters long is processed. During processing it is necessary to change the cutting edge
of the tool. The machine operator stops the ASUB and jogs away for changing the cutting edge of the tool. After
changing the cutting edge, he activates the START key. The interruption point is approached through REPOS.
Thereafter, the ASUB is continued.
Effectiveness of MD11602
Priorities are assigned to the interrupt routines, which define the ranking during the processing (see also
"Programming"). There are priorities from 1 to 128. Priority 1 corresponds to the highest priority.
Starting from which priority the ASUB start conditions parameterized with MD11602 $MN_ASUP_START_MASK
are to be effective, is determined with the machine data:
MD11604 $MN_ASUP_START_PRIO_LEVEL
MD11602 is considered from the priority given here till the highest priority.
Behavior when the read-in disable is set
Via the following channel-specific machine data it can be set for each interrupt signal, whether the assigned
interrupt routines are processed without interruption despite a set read-in disable (DB21, ... DBX6.1 = 1), or
whether the read-in disable is to be made active:
MD20116 $MC_IGNORE_INHIBIT_ASUP
Note
The function "Jogging during interruption of a JOG ASUB" acts only for those ASUB, which
have been activated from the program status "cancelled" (channel status reset).
The function does not work in multi-channel systems without MD11600 $MN_BAG_MASK
Bit1=1.
Bit
Value
Description
In case of a set read-in disable:
0
• after an activation the interrupt routine is assigned to the interrupt signal 1:
0
the read-in disable is effective.
1
the read-in disable is suppressed.
1
• after an activation the interrupt routine is assigned to the interrupt signal 2:
0
the read-in disable is effective.
1
the read-in disable is suppressed.
2
• after an activation the interrupt routine is assigned to the interrupt signal 3:
0
the read-in disable is effective.
1
the read-in disable is suppressed.
…