12.1.2.3 Macro Interruption
M720VW
M system
△
L system
△
By inputting a user macro interrupt signal from the PLC, the program being currently executed is interrupted
and other programs can be called instead.
Retract or return operations when tools have been damaged, for instance, and other kinds of restoration
operations to be conducted when trouble has occurred are programmed in the interrupt programs.
There are two types of interrupts, type 1 and type 2, as described below, and they are selected using a
parameter.
[Interrupt type 1] The block being executed is immediately interrupted, and the interrupt program is
run immediately.
[Interrupt type 2] After the block being executed is complete, the interrupt program is executed.
The command format is given below.
M96 Pp1 Hh1 ; or, M96 <File name> Hh1 ;
M96
: Interrupt valid command
Pp1
: Interrupt program number
<File name>
: File name
When designating a file name, enclose the file name in brackets <>.
Hh1
: Interrupt sequence No.
M97 ;
User macro interrupt invalid
M97
: User macro interrupt end command
(a) The user macro interrupt signal is accepted during this period.
(b) The user macro interrupt signal is not accepted during this period.
(c) Machining program Opm:
(d) Interrupt signal
(e) Interrupt program Opi
(f) The modal information is restored to the status applying before interrupt.
M730VW
M750VW
△
△
△
△
User macro interrupt valid
(c)
:
:
M 9 6 P p i ;
:
:
:
(a)
:
:
(d)
:
:
M 9 7 ;
:
:
:
(b)
:
:
:
:
:
M 0 2 ;
M700V Series Specifications Manual
12 Program Support Functions
M720VS
M730VS
M750VS
△
△
△
△
(e)
:
:
:
:
:
:
:
:
M 9 9 ;
(f)
△
△
III - 195