Mitsubishi Electronics FX5 Universal Remote User Manual


 
1 PROGRAM EXECUTION
1.5 Program Type
31
1
Operation when an interrupt is generated
Operation when an interrupt is generated is explained below.
If an interrupt cause occurs when interrupt is disabled (DI)
The interrupt that was generated is stored, and the stored interrupt program is executed the moment that the status changes
to interrupt enabled. An interrupt is stored only once even if the same interrupt is generated multiple times. Note, however,
that all interrupts cause are discarded when interrupt disable is specified by the IMASK and SIMASK instructions.
When an interrupt cause is generated by a PAUSE status
The interrupt program is executed the moment that the CPU module changes to the RUN status and the status changes to
interrupt enabled. An interrupt is stored only once when the same interrupt is generated multiple times before the CPU
module changes to the RUN status.
When multiple interrupts are generated at the same time while in an interrupt enabled status
Interrupt programs are executed in order starting from program having the highest priority. Interrupt programs also run in order
of priority rank when multiple interrupt programs having the same priority are generated simultaneously.
When an interrupt is generated during standby while executing constant scan
The interrupt program for that interrupt is executed.
When another interrupt is generated during execution of the interrupt program
If an interrupt such as a fixed scan execution type program (including an interrupt which triggers the event execution type
program) is triggered while an interrupt program is being executed, the program operates in accordance with the interrupt
priority.
Main routine program
Not executed because the interrupt program
execution is in disabled status (DI).
Executed as soon as the interrupt program
execution status changes to enabled.
Interrupt Program
Interrupt occurrence Enable Interrupt (EI)
Execution
Executed as soon as PAUSE RUN and
the interrupt program execution status
changes to enabled.
Not executed because the CPU module
is in the STOP status.
Interrupt occurrence Enable Interrupt (EI)
Execution
Main routine program
Interrupt Program
PAUSE RUN
Main routine program
I0 interrupt program
Enable Interrupt (EI)
Simultaneous occurrence of
multiple interrupt factors
Execution
I10 interrupt program
Execution
Wait status
Wait status
I16 interrupt program
Priority
rank
IRET
IRET
IRET
I0 I10
I16
Execution
Higher
Lower