Detailed description
2.7 Program operation mode
Basic logic functions: Mode group, channel, program operation, reset response (K1)
136 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
ASUB with REPOSA
An ASUB with REPOSA can be initiated in the AUTOMATIC status.
Example:
; ASUP program
;
N10 G0 G91
;
N20 Y10
;
N30 X20
;
N40 REPOSA
;
If an ASUP is started during block search after the output of the accumulated part program
blocks, the NCK stops before executing the REPOSA block and the following interface signal
is set:
NST DB21, ... DBX318.0 = 1 (ASUP is stopped)
Note
In the situation described above, the signal: “Asup-Done” is not yet set by PLC function block
FC9.
When an ASUB is completed without REPOS, the signals
"Asub–Done" and
NST DB21, ... DBX318.0 (ASUP is stopped) together in time.
Starting ASUBs in spite of active read-in disable and/or IPO single block (SBL1)
To start ASUPs despite active read-in disable:
DB21, ... DBX6.1 == 1 (read-in disable) or IPO single block (SBL1)
the machine data must be parameterized as follows:
• MD10702 $MN_IGNORE_SINGLEBLOCK_MASK (Note prevention of single-block stop)
• MD11602 $MN_ASUP_START_MASK (Ignore stop conditions for ASUBs)
• MD20116 $MC_IGNORE_INHIBIT_ASUP (execute interrupt program in spite of read-in
disable)
• MD20117 $MC_IGNORE_SINGLEBLOCK_ASUP (Execute interrupt routine in single
block completely)