3. Instructions
Note 1 The CJ1M-CPU11/21 supports only one scheduled interrupt task, interrupt task 2 for scheduled interrupt
0.
2 The time unit for the scheduled interrupt set time and PV is set as the Schedule Interrupt Interval in the
PLC Setup (default:10 ms).
3 MSKR(692) can be executed in the main program or in interrupt tasks.
Example Programming
Specifying I/O Interrupts for the CS1W-INT01 or CJ1W-INT01
When CIO 0.00 turns ON in the following example, MSKR(692) reads the current mask status of
Interrupt Input Unit 0 and stores it in D100.
0.00
MSKR
N
D
When CIO 0.01 turns ON in the following example, MSKS(690) reads the upward/downward
differentiation for Interrupt Input Unit 0 and stores it in D101.
0.01
MSKR
N
D
720
15
14
13
1
1
1
D100
0
D100
F
0: Interrupt enabled
1: Interrupt masked
15
14
13
D101
0
0
0
2
D101
0
0: Upward differentiation
1: Downward differentiation
12
11
10
9
8
7
6
5
1
0
1
0
1
1
1
1
5
F
12
11
10
9
8
7
6
5
0
0
0
1
1
0
0
0
3
1
CS/CJ/NSJ Series Instructions Reference Manual (W474)
4
3
2
1
0
1
0
0
1
0
2
4
3
2
1
0
1
1
0
0
1
9
Need help?
Do you have a question about the CJ - INSTRUCTIONS and is the answer not in the manual?