Omron CS1G/H-CPUxxH Instructions Manual page 776

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Interrupt Control Instructions
Examples
000000
MSKR
N
S
000001
MSKR
N
S
3-20-3 CLEAR INTERRUPT: CLI(691)
Purpose
Ladder Symbol
Example for CS1W-INT01/CJ1W-INT01
When CIO 000000 turns ON in the following example, MSKR(692) reads the
current mask status of Interrupt Input Unit 2 and stores it in D00100.
15
14
1
1
D00100
0
D00100
F
0: Interrupt enabled
1: Interrupt masked
When CIO 000001 turns ON in the following example, MSKS(690) reads the
rising/falling edge designations for Interrupt Input Unit 0 and stores it in
D00101.
15
14
D00101
0
0
2
D00101
0
0: Rising edge
1: Falling edge
Example for C200H-INT01
When CIO 000000 turns ON in the following example, MSKR(692) reads the
current mask status of Interrupt Input Unit 2. In this case, interrupt inputs 1, 3,
and 5 are enabled.
D
Example for Scheduled Interrupts
When CIO 000100 turns ON in the following example, MSKR(692) reads the
setting for scheduled interrupt 2. In this case, the time interval is set to 1,000
(3E8 hexadecimal) which is equivalent to 10 s if the scheduled time interval
units are set to 10 ms in the PLC Setup.
D
Clears or retains recorded interrupt inputs for I/O interrupts or sets the time to
the first scheduled interrupt for scheduled interrupts.
CLI(691) is not supported by the CS1D CPU Units.
13
12
11
10
9
8
7
6
1
1
0
1
0
1
1
1
5
13
12
11
10
9
8
7
6
0
0
0
0
1
1
0
0
3
CLI(691)
N: Interrupt identifier
N
S: Interrupt data
S
Section 3-20
5
4
3
2
1
0
1
1
0
0
1
0
F
2
5
4
3
2
1
0
0
1
1
0
0
1
1
9
755

Advertisement

Table of Contents
loading

Table of Contents