EasyManuals Logo

Mitsubishi MELSEC QCPU User Manual

Mitsubishi MELSEC QCPU
285 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #258 background imageLoading...
Page #258 background image
6 - 107 6 - 107
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
IMASK
(1) Enables or disables the execution of the interrupt program marked by the designated interrupt
pointer by use of the bit pattern in the three points from the device designated by
S
.
• 1 (ON) .........Interrupt program execution enabled
• 0 (OFF)........Interrupt program execution disabled
(2) The interrupt pointer numbers corresponding to the individual bits are as shown below:
b15
I15 I14
b0
I13 I12 I11 I10 I9 I8 I7 I6 I5 I4 I3 I2 I1 I0
b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1
I31 I30 I29 I28 I27 I26 I25 I24 I23 I22 I21 I20 I19 I18 I17 I16
I47 I46 I45 I44 I43 I42 I41 I40 I39 I38 I37 I36 I35 I34 I33 I32
+ 1
+ 2
S
S
S
(3) When the power is turned ON, or when the CPU module has been reset, interrupt programs
from I0 to I31 are in the execution enabled state, and interrupt programs from I32 to I47 are in
the execution disabled state.
(4) The statuses of the
S
,
S
+1, and
S
+2 devices are stored from SD715 to SD717 (the IMASK
instruction mask pattern storage area).
POINTS
(1) An interrupt pointer occupies 1 step.
X1C
55
53
50
Y10
Y30
X5
Stored at step 50
IRET
T10
(2) Refer to the QnACPU Programming Manual (Fundamentals) for interrupt conditions.
(3) The DI state (interrupt disabled) is active during the execution of an interrupt program.
Do not insert EI instructions in interrupt programs to attempt the execution of multiple
interrupts, with interrupt programs running inside interrupt programs.
(4) If there are EI and DI instructions within a master control, these instructions will be
executed regardless of the execution/non-execution status of the MC instruction.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC QCPU and is the answer not in the manual?

Mitsubishi MELSEC QCPU Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC QCPU
CategoryController
LanguageEnglish

Related product manuals