![Omron CJ1G-CPU series Programming Manual Download Page 191](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489191.webp)
170
Interrupt Tasks
Section 4-3
3.
CJ1 CPU Units do not support I/O interrupt and external interrupt tasks.
I/O Interrupt Tasks: Tasks 100 to 131
I/O interrupt tasks are disabled by default when cyclic task execution is
started. To enable I/O interrupts, execute the MSKS (SET INTERRUPT
MASK) instruction in a cyclic task for the interrupt number for Interrupt Input
Unit.
Example: The following example shows execution I/O interrupt task 103 when
interrupt input No. 3 of Interrupt Input Unit No. 0 (the leftmost of the two Units
0 and 1) is ON.
Note Do not enable unneeded I/O interrupt tasks. If the interrupt input is triggered
by noise and there isn’t a corresponding interrupt task, a fatal error (task
error) will cause the program to stop.
Cyclic task
I/O interrupt from Interrupt Input
Unit No. 0
Interrupt input number: Only 3 will
be enabled.
The specified I/O in-
terrupt will be en-
abled when the
MSKS instruction is
executed.
Interrupt Input Unit No. 0
Interrupt
Cyclic task
I/O interrupt task 103
#FFF7
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...