Interrupt Program - Mitsubishi Electric MELSEC iQ-F FX5 User Manual

Hide thumbs Also See for MELSEC iQ-F FX5:
Table of Contents

Advertisement

Interrupt program

This is the program from interrupt pointer (I) up to the IRET instruction.
Main routine program
I0 interrupt program
I29 interrupt program
When an interrupt is generated, the interrupt program corresponding to that interrupt pointer number is executed. Note,
however, that interrupt enabled status must be set with the EI instruction before executing the interrupt program.
Main routine program
I0 interrupt program
I29 interrupt program
• Only one interrupt program can be created with one interrupt pointer number.
• Interrupt pointers need not be programmed starting with the smallest number.
• Interrupt programs can also be managed as separate programs by turning them into standby type
programs. (Page 28 Stand-by type program)
1 PROGRAM EXECUTION
30
1.5 Program Type
El
Y10
Y11
FEND
I0
Y12
IRET
I29
Y13
IRET
END
Interrupt pointer
Interrupt
occurs for I0
Execution
Execution
IRET
Indicates the end of the main routine program.
Interrupt
occurs for I29
Execution
Execution
Execution
IRET
Time

Advertisement

Table of Contents
loading

Table of Contents