Interrupt Program - Mitsubishi Electric FX5 User Manual

Melsec iq-f series
Hide thumbs Also See for FX5:
Table of Contents

Advertisement

Interrupt program

This is the program from interrupt pointer (I) up to the IRET instruction.
Main routine program
I0
I0 interrupt program
I29
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 31 Stand-by type program)
El
Y10
Y11
Indicates the end of the main routine program.
FEND
Y12
IRET
Y13
IRET
END
Interrupt pointer
Interrupt
occurs for I0
Execution
Execution
Execution
IRET
Interrupt
occurs for I29
Execution
Execution
IRET
Time
1 PROGRAM EXECUTION
1.5 Program Type
1
33

Advertisement

Table of Contents
loading

Table of Contents