Fnc 03 - Iret / Interrupt Return - Mitsubishi Electric FX3G SERIES Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
8.4
FNC 03 – IRET / Interrupt Return
Outline
This instruction returns the program execution from an interrupt routine to the main program.
1. Instruction format
FNC 03
IRET
2. Set data
Operand type
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
Explanation of function and operation
When an interrupt (input, timer or counter) is generated while the main program is executed, the program execution
jumps to an interrupt (I) routine.
IRET instruction returns the program execution to the main routine.
The table below shows three types of jump to an interrupt routine.
1. Types of interrupt function
Function
Input interrupt
Timer interrupt
*1
Counter interrupt
*1.
This function is supported only in FX
232
Mnemonic
Independent Inst.
1 step
IRET
There is no set data.
Digit Specification
Interrupt No.
Executes the interrupt processing when an input (X) signal turns ON or
I00* to I50*
OFF.
Executes the interrupt processing at a specified time interval (constant
I6** to I8**
cycle).
Executes the interrupt processing when a high-speed counter reaches
I010 to I060
it's set value.
3U
Operation Condition
This instruction is the independent type, and
Continuous
Operation
does not require drive contact.
Description
Word Devices
Special
System User
Unit
There are no applicable devices.
Description
/FX
PLCs.
3UC
→ For the interrupt function, refer to Chapter 36.
8 Program Flow – FNC 00 to FNC 09
8.4 FNC 03 – IRET / Interrupt Return
Others
Con-
Real
Index
stant
Number
V
Z Modify K H
E
Data type
Charac-
Pointer
ter String
" "
P
Reference
Section 36.3 and
Section 36.4
Section 36.5
Section 36.6

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents