Fanuc Series 15i/150i-MA (Programming) Operators Manual

B-63324EN/03 PROGRAMMING 17.CUSTOM MACRO
- 667 -
When the interrupt signal (UINT, marked by * in Fig. 17.14(a) is input
during execution of the interrupt program or after M97 is specified, it is
ignored.
17.14.1 Specification Method
Explanations
- Interrupt conditions
A custom macro interrupt is available only during program execution.
It is enabled under the following conditions
- When memory operation, DNC operation, or MDI operation is
selected
- When STL (start lamp) is on
- When a custom macro interrupt is not currently being processed
- Specification
Generally, the custom macro interrupt function is used by specifying
M96 to enable the interrupt signal (UINT) and M97 to disable the
signal. Once M96 is specified, a custom macro interrupt can be
initiated by the input of the interrupt signal (UINT) until M97 is
specified or the NC is reset. After M97 is specified or the NC is reset,
no custom macro interrupts are initiated even when the interrupt signal
(UINT) is input. The interrupt signal (UINT) is ignored until another
M96 command is specified.
Fig. 17.14.1 M96 and M97, and Interval of the Interrupt Signal (UINT)
The interrupt signal (UINT) becomes valid after M96 is specified.
Even when the signal is input in M97 mode, it is ignored. When the
signal input in M97 mode is kept on until M96 is specified, a custom
macro interrupt is initiated as soon as M96 is specified (only when the
status-triggered scheme is employed); when the edge-triggered scheme
is employed, the custom macro interrupt is not initiated even when
M96 is specified.
Interrupt signal
(UINT)
Effective interrupt
input signal
When UINT is kept on
1
0
M96 M97 M96

Leave a Reply

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