Fanuc Power Mate i-D/H Operator Manual

PROGRAMMING
(Common to Power Mate i–D and –H)
B–63174EN/03
13. CUSTOM MACRO
143
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 P ;
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 operations is interrupted by another operation without
the cancellation of the current operation.
(3) At regular intervals, information on current operation 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;
N;
M97
;
M99 (P);
O xxxx;
Fig.13.11 Interruption type sustom macro function
When M96Pxxxx is specified in a program, subsequent program
operation can be interrupted by an interrupt signal (UINT) input to
execute the program specified by Pxxxx.
When the interrupt signal (UINT, marked by * in Fig.13.11 is input during
execution of the interrupt program or after M97 is specified, it is ignored.
13.11
INTERRUPTION TYPE
CUSTOM MACRO
Format
Explanations

Leave a Reply

Your email address will not be published. Required fields are marked *