Detailed Description
2.7 Program operation mode
Mode Group, Channel, Program Operation, Reset Response (K1)
2-110 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
REPOS
ASUB sequences may be generated for which there is no unambiguous return to an
interruption point in the block processing sequence. System variable: $P_REPINF can be
used to scan the ASUB to determine whether a REPOS is possible.
System variable: $P_REPINF
Value Meaning
0 Repositioning with REPOS not possible because:
- Not called in ASUB
- ASUB executed from RESET state
- ASUP executed from JOG
1 Repositioning with REPOS possible in ASUB
Acknowledgment signal DB21, ... DBX318.0
Control systems can also be stopped/started from AUTOMATIC mode automatically prior to
the end of the ASUB. In the stopped status, the VDI acknowledgment signal
DB21, ... DBX318.0 ("ASUB is stopped") can be set on the PLC interface.
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 ASUB is started after the accumulated part program blocks have been output, the NCK
will stop before executing the REPOSA block and the following interface signal is set:
DB21, ... DBX318.0 = 1 (ASUB is stopped)
Note
In the situation described above, the signal: "ASUB done" is not yet set by PLC function
block FC9.
Where an ASUB is completed without REPOS, the "ASUB done" and
"ASUB is stopped" signals occur simultaneously.