![background image](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489192.webp)
171
Interrupt Tasks
Section 4-3
Interrupt Input Unit
Numbers, Input
Numbers, and I/O
Interrupt Task Numbers
Note For CS-series PLCs, Interrupt Input Unit numbers are in order from 0 to 1
starting on the left side of the CPU Rack. For CJ-series PLCs, Interrupt Input
Unit numbers are in order from 0 to 1 starting from the CPU Unit.
Operand S (the Second Operand) of MSKS: The bits of FFF7 Hex corre-
spond to the interrupt inputs of the Interrupt Input Unit. Interrupt input num-
bers 0 to 15 correspond to bits 0 to 15.
Scheduled Interrupt Tasks: Tasks 2 and 3
Scheduled interrupt tasks are disabled in the default PLC Setup at the start of
cyclic task execution. Perform the following steps to enable scheduled inter-
rupt tasks.
1,2,3...
1.
Execute the MSKS (SET INTERRUPT MASK) instruction from a cyclic
task and set the time (cycle) for the specified scheduled interrupt.
2.
Set the scheduled interrupt time unit in PLC Setup.
Note The interrupt time setting affects the cyclic task in that the shorter the interrupt
time, the more frequently the task executes and the longer the cycle time.
Interrupt Input Unit No.
(See note.)
Input No.
I/O interrupt task
0
0 to 15
100 to 115
1
0 to 15
116 to 131
1
0
1
0
Unit No.
→
CPU Unit
Interrupt Input Unit
CS-series PLCs
CJ-series PLCs
←
Unit No.
CPU Unit
Interrupt Input Unit
1
1
1
1
0
1
1
1
F Hex
7 Hex
F Hex
F Hex
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...