Omron CS1G/H-CPUxxH Instructions Manual page 771

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

Advertisement

Interrupt Control Instructions
Examples
000000
MSKS
N
S
000001
MSKS
N
S
3-20-2 READ INTERRUPT MASK: MSKR(692)
Purpose
Ladder Symbol
750
in the PLC Setup. If cyclic refreshing with the Special I/O Unit isn't disabled,
IORF(097) might be executed during cyclic refreshing resulting in a non-fatal
Duplicate Refresh Error and turning ON the Interrupt Task Error Flag
(A40213).
Examples for CS1W-INT01/CJ1W-INT01
When CIO 000000 turns ON in the following example, MSKS(690) unmasks
(enables) interrupt inputs in Interrupt Input Unit 0.
15
14
D00100
0
0
0
D00100
3
0: Enabled
1: Masked
When CIO 000001 turns ON in the following example, MSKS(690) sets the
rising/falling edge designations for Interrupt Input Unit 0.
15
14
D00101
0
0
2
D00101
0
0: Rising edge
1: Falling edge
Example for C200HS-INT01
When CIO 000000 turns ON in the following example, MSKS(690) unmasks
(enables) interrupt inputs 1, 3, and 5 in Interrupt Input Unit 2.
Example for Scheduled Interrupts
When CIO 000001 is ON in the following example, MSKS(690) sets a 10-sec-
ond time interval for scheduled interrupt 2. (In this case, the scheduled time
interval units are set to 10 ms in the PLC Setup.)
Reads the current interrupt processing settings that were set with
MSKS(690).
MSKR(692) is not supported by the CS1D CPU Units.
13
12
11
10
9
8
7
6
1
1
1
1
1
1
0
0
F
13
12
11
10
9
8
7
6
0
0
0
1
0
1
0
0
5
MSKR(692)
N
N: Interrupt identifier
D: Destination word
D
Section 3-20
5
4
3
2
1
0
1
0
0
1
1
1
2
7
5
4
3
2
1
0
0
0
0
0
1
0
0
2

Advertisement

Table of Contents
loading

Table of Contents