Omron CS1G/H-CPUxx-EV1 Programming Manual page 215

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxx-EV1:
Table of Contents

Advertisement

Interrupt Tasks
I/O Interrupt Tasks: Tasks 100 to 131
Cyclic task
Cyclic task
next to the CPU Unit (slots 0 to 4). For CJ1M CPU Units, the Unit must be
connected as one of the three Units next to the CPU Unit (slots 0 to 2).
Units mounted elsewhere cannot be used to generate external interrupts.
3. CJ1 CPU Units for Duplex-CPU Systems do not support I/O interrupt and
external interrupt tasks.
4. The CS1D CPU Units for Duplex-CPU Systems do not support interrupts.
With the CS1D CPU Units, interrupt tasks can be used only as extra cyclic
tasks, i.e., no other type of interrupt task can be used.
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.
I/O interrupt from Interrupt
Input Unit No. 0
Interrupt input number:
Only 3 will be enabled.
The specified I/O
interrupt will be
#FFF7
enabled when the
MSKS instruction
is executed.
Interrupt
I/O interrupt task 103
Section 4-3
Interrupt Input Unit No. 0
179

Advertisement

Table of Contents
loading

Table of Contents