Omron CS1G/H-CPUxxH Instructions Manual page 780

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

Advertisement

Interrupt Control Instructions
Flags
Precautions
Examples
2. Unit numbers are assigned to Interrupt Input Units in the order that they are
mounted, from left to right.
N = 4 or 5
Values 4 and 5 correspond to scheduled interrupts 2 and 3.
When N is 4 or 5, the content of S specifies the time interval to the first sched-
uled interrupt task after MSKS(690) is executed.
The time interval can be set from 0000 to 270F (0 to 9,999). The units for the
scheduled interrupt interval are set in the PLC Setup (00: 10 ms, 01: 1.0 ms),
so the actual range for the time interval is 10 ms to 99.99 s or 1 ms to 9.999 s.
Note Set the time interval to the first scheduled interrupt to 10 ms or longer.
N = 10 or 11 (CJ1M Only)
Values 10 and 11 correspond to interrupts for the high-speed counters and
can be used to clear or retain interrupts for them (for both target or range com-
parison).
Name
Error Flag
ER
There is no limit on the number of interrupt inputs that can be recorded. It is
possible for all of the I/O interrupt inputs to be recorded, but a new interrupt
input will be ignored if that interrupt has already been recorded. Furthermore,
the recorded interrupt isn't cleared until its interrupt task has been completed,
so a new interrupt input will be ignored if it is received while its interrupt task is
being executed.
Only interrupt inputs from regular CS/CJ-series Interrupt Input Units and
C200H Interrupt Input Units are supported for interrupt tasks. Interrupt inputs
from Inner Boards and Special I/O Units are not supported.
Interrupts have different priority levels. A power OFF interrupt is given the
highest priority, followed by I/O interrupts, external interrupts, and finally
scheduled interrupts. Lower numbered I/O interrupts are given priority over a
higher numbered I/O interrupts.
Examples for CS1W-INT01/CJ1W-INT01
When CIO 000000 turns ON in the following example, CLI(691) clears the
recorded interrupts for interrupt inputs 1, 4 to 8, 10, and 12 to 15 in Interrupt
Input Unit 0.
MSKS(690)
Execution of scheduled
interrupt task.
Time to first
scheduled interrupt
Label
ON if N isn't within the specified range of 0 to 5 (0, 1, or 4
to 11 for CJ1M).
ON if S isn't within the specified range of 0000 to 00FF
hex when N is 0 to 3 (for I/O interrupts and C200HS-INT
only).
ON if S isn't 0000 or 0001 hex (for high-speed counter
interrupts and CJ1M built-in interrupt inputs only).
ON if S isn't within the specified range of 0000 to 270F
hex for scheduled interrupts.
OFF in all other cases.
Section 3-20
Operation
759

Advertisement

Table of Contents
loading

Table of Contents