760
Interrupt Control Instructions
Section 3-20
Example for C200HS-INT01
When CIO 000000 turns ON in the following example, CLI(691) clears the
recorded interrupts for interrupt inputs 3 and 6 in Interrupt Input Unit 2.
Example for Setting Time to First Scheduled Interrupt
When CIO 000000 turns ON in the following example, CLI(691) sets the time
to the first execution of scheduled interrupt 2 to 50 seconds.
(In this case, the scheduled time interval units are set to 10 ms in the PLC
Setup.)
3-20-4 DISABLE INTERRUPTS: DI(693)
Purpose
Disables execution of all interrupt tasks except the power OFF interrupt.
When a CS1-H, CJ1-H, and CJ1M CPU Unit is being used and the power
OFF interrupt task is disabled, it is possible to disable power OFF interrupt
processing simultaneously.
Ladder Symbol
Variations
Applicable Program Areas
Description
DI(693) is executed from the main program to temporarily disable all interrupt
tasks except the power OFF interrupt (I/O interrupts, scheduled interrupts,
and external interrupts).
All interrupt tasks will be disabled until they are enabled again by execution of
EI(694).
CL1
0
D00100
000000
N
S
1
1
1
1
15
14
13
12
0
1
0
1
11
10
9
8
1
1
1
1
7
6
5
4
0
0
1
0
3
2
1
0
F
5
F
2
D00100
0: Recorded interrupt input retained
1: Recorded interrupt input cleared
DI(693)
Variations
Executed Each Cycle for ON Condition
DI(693)
Executed Once for Upward Differentiation
@DI(693)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Not supported
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
Not allowed
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...