![Omron CJ1G-CPUxx Instructions Manual Download Page 770](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491770.webp)
749
Interrupt Control Instructions
Section 3-20
Flags
The following table shows relevant flags in the Auxiliary Area.
Precautions
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.
Mount the Interrupt Input Unit in the CPU Rack. If a CJ1-H CPU Unit is being
used, mount the Unit in slots 0 to 4, and if a CJ1M CPU Unit is being used,
slots 0 to 2. It will not be possible to start the I/O interrupt task unless the
Interrupt Input Unit is mounted in one of these slots.
Words are allocated to Interrupt Input Units in the order that they are mounted
from left to right.
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.
Be sure that the interrupt task doesn’t require more than 10 ms if a C200H
Special I/O Unit or SYSMAC BUS Remote I/O Slave Rack is connected. If an
interrupt task longer than 10 ms is executed during I/O refreshing with the
Special I/O Unit or Slave Rack, a non-fatal will occur and the Interrupt Task
Error Flag (A40213) will be turned ON.
When IORF(097) is being executed within an interrupt task to refresh I/O in a
Special I/O Unit, cyclic refreshing with that Special I/O Unit must be disabled
Name
Label
Operation
Error Flag
ER
ON if N isn’t within the specified range of 0 to 5 (0 to 15 for
CJ1M Built-in Interrupt Inputs).
ON if S isn’t within the specified range of 0000 to 00FF
hex when N is 0 to 3 (when using a C200HS-INT01 and
specifying I/O Interrupt Processing).
ON if S isn’t within the specified range of 0000 to 0003
hex (when using a CJ1M Built-in Interrupt Input and spec-
ifying I/O Interrupt Processing).
ON if S isn’t within the specified range of 0000 to 270F
hex when N is 4 or 5 (0005 to 270F hex for a CJ1M Built-
in Interrupt Input with a unit of 0.1 ms).
ON if the instruction was executed in an interrupt task.
OFF in all other cases.
Equals Flag
=
OFF
Negative Flag
N
OFF
Name
Address
Operation
Interrupt Task Error
Flag
A40213
ON in the following cases:
1) An interrupt task longer than 10 ms was exe-
cuted during I/O refreshing with a C200H Special
I/O Unit or Remote I/O Slave Rack. (CS Series
only)
2) IORF(097) was executed in an interrupt task
without disabling Special I/O cyclic refreshing.
Interrupt Task Error
Cause Flag
A42615
Indicates whether Interrupt Task Error 1 or 2
occurred.
Interrupt Task Error
Task Number
A42600 to
A42611
For error 1:
Indicates the interrupt task number.
For error 2:
Indicates the unit number of the Special I/O Unit
where the multiple I/O refreshing occurred.
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...