Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 744

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

0.00
MSKS
N
S
When CIO 0.01 turns ON in the following example, MSKS(690) sets the rising/falling edge designations
for Interrupt Input Unit 0.
0.01
MSKS
N
S
Example for Scheduled Interrupts
1. When W0.00 goes from OFF to ON in the following example, MSKS(690) sets a 15-second time
interval for scheduled interrupt 0, and starts the internal timer. (In this case, the scheduled time
interval units are set to 1 ms.)
2. When W0.01 goes from OFF to ON, the internal timer is stopped for scheduled interrupt 0, which
stops the generation of timer interrupts.
W0.00
W0.01
Scheduled interrupt task number 2
Cyclic task
1. Execution of MSKS(690)
(Interrupt enabled, 15 ms)
CS/CJ/NSJ Series Instructions Reference Manual (W474)
15
14
D100
0
0
0
D100
0: Enabled
1: Masked
15
14
D101
0
0
2
D101
0: Rising edge
1: Falling edge
@MSKS
N
4
C
& 15
@MSKS
N
4
C
& 0
15 ms
15 ms
13
12
11
10
9
8
7
6
1
1
1
1
1
1
0
0
3
F
13
12
11
10
9
8
7
6
0
0
0
1
0
1
0
0
0
5
15 ms
15 ms
2. Execution of MSKS(690)
(Interrupt stopped)
3. Instructions
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
1
0
2
3
707

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Questions and answers

Table of Contents