Mitsubishi Electric MELDAS C6 Programming Manual page 256

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

13. Program Support Functions
Calling method
User macro interrupt is classified into the following two types depending on the way an interrupt
program is called. These two types of interrupt are selected by parameter "#1229 set01/bit0".
Both types of interrupt are included in calculation of the nest level. The subprograms and user
macros called in the interrupt program are also included in calculation of the nest level.
a. Subprogram type interrupt
b. Macro type interrupt
Subprogram type interrupt
Macro type interrupt
Acceptance of user macro interrupt signal (UIT)
A user macro interrupt signal (UIT) is accepted in the following two modes: These two modes are
selected by a parameter "#1112 S_TRG".
a. Status trigger mode
b. Edge trigger mode
Status trigger mode
Edge trigger mode
User macro interrupt signal (UIT)
(Status trigger mode)
(Edge trigger mode)
The user macro interrupt program is called as a subprogram.
As with calling by M98, the local variable level remains
unchanged before and after an interrupt.
The user macro interrupt program is called as a user macro. As
with calling by G65, the local variable level changes before and
after an interrupt.
No arguments in the main program can be passed to the
interrupt program.
The user macro interrupt signal (UIT) is accepted as valid when
it is on.
If the interrupt signal (UIT) is ON when the user macro interrupt
function is enabled by M96, the interrupt program is activated.
By keeping the interrupt signal (UIT) ON, the interrupt program
can be executed repeatedly.
The user macro interrupt signal (UIT) is accepted as valid at its
rising edge, that is, at the instance it turns on.
This mode is useful to execute an interrupt program once.
ON
OFF
User macro interrupt
Accepting user macro interrupt signal (UIT)
248
13.10 Macro interrupt

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64Meldas c64t

Table of Contents