B--63003EN--1/02
11. PROGRAM COMMAND
961
When a program is being executed, another program can be called by
inputting an interrupt signal (UINT) from the machine. This function is
referred to as an interruption type custom macro function. Program an
interrupt command in the following format:
M96 Pffff ;
M97 ;
Enables custom macro interrupt
Disables custom macro interrupt
Use of the interruption type custom macro function allows the user to call
a program during execution of an arbitrary block of another program.
This allows programs to be operated to match situations which vary from
time to time.
(1) When a tool abnormality is detected, processing to handle the
abnormality is started by an external signal.
(2) A sequence of machining operations is interrupted by another ma-
chining operation without the cancellation of the current operation.
(3) At regular intervals, information on current machining is read.
Listed above are examples like adaptive control applications of the
interruption type custom macro function.
Interrupt
signal
(UINT)*
Interrupt
signal
(UINT)*
Interrupt
signal
(UINT)*
M96
Pxxxx;
Nffff;
M97
;
M99 (Pffff);
O xxxx;
Fig 11.6.2 Interruption type custom macro function
11.6.2
Interruption Type
Custom Macro
General