![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030888.webp)
848
Interrupt Control Instructions
Section 3-20
■
Reading the Up/Down Differentiation Settings of I/O Interrupt Tasks
(CS1W-INT01, CJ1W-INT01, and CJ1M CPU Unit Built-in Inputs Only)
Inputs to a CS1W-INT01/CJ1W-INT01 Interrupt Input Unit (16 inputs/Unit)
Inputs to a CJ1M CPU Unit’s Built-in Inputs (4 inputs/Unit)
■
Reading the Set Value of a Scheduled Interrupt Task’s Internal Timer
■
Reading the Present Value of a Scheduled Interrupt Task’s Internal Timer
(CJ1M CPU Units Only)
Operand
Contents
N
Specify the Interrupt Input Unit’s unit number.
2: Unit number 0 (interrupt tasks 100 to 115)
3: Unit number 1 (interrupt tasks 116 to 131)
D
Range: 0000 to FFFF hex.
Bits 0 to 15 correspond to each interrupt task. The meaning of the
individual flags is as follows:
0: Up-differentiation (Detect rising edge.)
1: Down-differentiation (Detect falling edge.)
Operand
Contents
N
Specify the interrupt input number.
10: Interrupt input 0 (interrupt task 140)
11: Interrupt input 1 (interrupt task 141)
12: Interrupt input 2 (interrupt task 142)
13: Interrupt input 3 (interrupt task 143)
D
0000 hex: Up-differentiation (Detect rising edge.)
0001 hex: Down-differentiation (Detect falling edge.)
Operand
Contents
N
Specify the scheduled interrupt number.
4: Interrupt task 0 (interrupt task 2)
5: Interrupt task 1 (interrupt task 3)
Note Only scheduled interrupt 0 can be used with the CJ1M-CPU11/21.
C
Scheduled interrupt
time units (Set in the
PLC Setup.)
Scheduled interrupt set time
Any time unit setting
0 decimal (0000 hex):
Interrupt disabled. (Internal timer stopped.)
10 ms
1 to 9,999 decimal (0001 to 270F hex):
Interrupt enabled. (Internal timer started with
interrupt interval between 10 and 99,990 ms.)
1 ms
1 to 9,999 decimal (0001 to 270F hex):
Interrupt enabled. (Internal timer started with
interrupt interval between 1 and 9,999 ms.)
0.1 ms
1 to 9,999 decimal (0001 to 270F hex):
Interrupt enabled. (Internal timer started with
interrupt interval between 0.1 and 999.9 ms.)
Operand
Contents
N
Specify the scheduled interrupt number.
14: Scheduled interrupt 0 (interrupt task 2)
15: Scheduled interrupt 1 (interrupt task 3)
Note Only scheduled interrupt 0 can be used with the CJ1M-CPU11/21.
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...