FT1A S
MART
A
XIS
U
SER
’
S
M
ANUAL
FT9Y-B1382
16-1
16: I
NTERRUPT
C
ONTROL
I
NSTRUCTIONS
Introduction
The DI or EI instruction disables or enables interrupt inputs and timer interrupt individually.
DI (Disable Interrupt)
EI (Enable Interrupt)
Applicable CPU Modules
Valid Devices
Interrupt inputs I0 through I7 and timer interrupt selected in the Function Area Settings are normally enabled when the CPU starts. When the DI
instruction is executed, interrupt inputs and timer interrupt designated as source device S1 are disabled even if the interrupt condition is met in the
user program area subsequent to the DI instruction. When the EI instruction is executed, disabled interrupt inputs and timer interrupt designated as
source device S1 are enabled again in the user program area subsequent to the EI instruction. Different interrupts can be selected for the DI and EI
instructions to disable and enable interrupt inputs selectively. For Interrupt Input and Timer Interrupt, see pages 5-34 and 5-36 (Basic Vol.).
Make sure that interrupt inputs and timer interrupt designated as source device S1 are selected in the Function Area Settings. Otherwise, when the
DI or EI instruction is executed, a user program execution error will result, turning on special internal relay M8004 and the ERR LED on the CPU
module.
The DI and EI instructions cannot be used in an interrupt program. If used, a user program execution error will result, turning on special internal
relay M8004 and the ERR LED on the CPU module. For details about the user program execution errors, see Chapter 4 “User Program Execution
Errors” on page 4-21.
Special Internal Relays M8070-M8075 and M8144: Interrupt Status
Special internal relays M8070 through M8075 and M8144 are provided to indicate whether interrupt inputs and timer interrupt are
enabled or disabled.
When input is on, interrupt inputs and timer interrupt designated by source device S1 are disabled.
DI
S1
**
When input is on, interrupt inputs and timer interrupt designated by source device S1 are enabled.
EI
S1
**
FT1A-12
FT1A-24
FT1A-40
FT1A-48
FT1A-Touch
X
X
X
X
X
Device
Function
I
Q
M
R
T
C
D
Constant
Repeat
S1 (Source 1)
Interrupt inputs and timer interrupt
—
—
—
—
—
—
—
1-127
—
Interrupt
Interrupt Enabled
Interrupt Disabled
Interrupt Input I0
M8070 ON
M8070 OFF
Interrupt Input I2
M8071 ON
M8071 OFF
Interrupt Input I3
M8072 ON
M8072 OFF
Interrupt Input I5
M8073 ON
M8073 OFF
Interrupt Input I6
M8074 ON
M8074 OFF
Interrupt Input I7
M8075 ON
M8075 OFF
Timer Interrupt
M8144 ON
M8144 OFF
Summary of Contents for microsmart pentra
Page 1: ...FT1A SERIES FC9Y B1382 Ladder Programming Manual ...
Page 6: ...Preface 5 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 104: ...7 DATA COMPARISON INSTRUCTIONS 7 10 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 122: ...8 BINARY ARITHMETIC INSTRUCTIONS 8 18 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 138: ...10 SHIFT ROTATE INSTRUCTIONS 10 12 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 162: ...11 DATA CONVERSION INSTRUCTIONS 11 24 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 188: ...12 CALENDAR COMPARISON INSTRUCTIONS 12 26 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 198: ...15 REFRESH INSTRUCTIONS 15 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 202: ...16 INTERRUPT CONTROL INSTRUCTIONS 16 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 266: ...20 DUAL TEACHING TIMER INSTRUCTIONS 20 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 318: ...25 USER COMMUNICATION INSTRUCTIONS 25 22 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...