EasyManua.ls Logo

Omron CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
3. Instructions
720
CS/CJ/NSJ Series Instructions Reference Manual (W474)
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
z 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.
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.
MSKR
0
D100
0.00
N
D
1111
15 14 13 12
0101
11 10 9 8
1111
7654
0010
3210
F5 F2
D100
0: Interrupt enabled
1: Interrupt masked
MSKR
2
D101
0.01
N
D
0000
15 14 13 12
0011
11 10 9 8
0001
7654
1001
3210
0319
D101
0: Upward differentiation
1: Downward differentiation

Table of Contents

Related product manuals