Macro Interrupt ; M96, M97 - Mitsubishi Electric MELDAS C6 Programming Manual

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

13. Program Support Functions

13.10 Macro interrupt ; M96, M97

Function and purpose
A user macro interrupt signal (UIT) is input from the machine to interrupt the program being
currently executed and instead call another program and execute it. This is called the user macro
interrupt function.
Use of this function allows the program to operate flexibly enough to meet varying conditions.
For setting the parameters of the function, refer to the Operation manual and the machine
parameters in Appendix 1.
Command format
M96 P__ H__ ;
M97 ;
P
H
The user macro interrupt function is enabled and disabled by the M96 and M97 commands
programmed to make the user macro interrupt signal (UIT) valid or invalid. That is, if an interrupt
signal (UIT) is input from the machine side in a user macro interrupt enable period from when M96
is issued to when M97 is issued or the NC is reset, a user macro interrupt is caused to execute the
program specified by P__ instead of the one being executed currently.
Another interrupt signal (UIT) is ignored while one user macro interrupt is being in service. It is also
ignored in a user macro interrupt disable state such as after an M97 command is issued or the
system is reset.
M96 and M97 are processed internally as user macro interrupt control M codes.
Interrupt enable conditions
A user macro interrupt is enabled only during execution of a program. The requirements for the
user macro interrupt are as follows :
(1) An automatic operation mode memory, or MDI has been selected.
(2) The system is running in automatic mode.
(3) No other macro interrupt is being processed.
(Note 1) A macro interrupt is disabled in manual operation mode (JOG, STEP, HANDLE, etc.)
User macro interrupt enable
User macro interrupt disable
:Interrupt program number
:Interrupt sequence number
244
13.10 Macro interrupt

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64Meldas c64t

Table of Contents