Fnc 03 - Iret / Interrupt Return - Mitsubishi FX3G Series Programming Manual

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

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
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
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
Series
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.
/FX
3U
Operation Condition
This instruction is the independent type, and
Continuous
Operation
does not require drive contact.
Description
Word Devices
Special
System User
Unit
C D R U \G
V
Z Modify K H
There are no applicable devices.
Description
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
Data type
Others
Con-
Real
Charac-
Index
stant
Number
ter String
E
" "
Reference
Section 36.3 and
Section 36.4
Section 36.5
Section 36.6
1
2
3
4
Pointer
P
5
6
7
8
9
10
227

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents