Omron CS1G/H-CPUxxH Instructions Manual page 770

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

Advertisement

Interrupt Control Instructions
Flags
Precautions
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
The following table shows relevant flags in the Auxiliary Area.
Name
Address
Interrupt Task Error
A40213
Flag
Interrupt Task Error
A42615
Cause Flag
Interrupt Task Error
A42600 to
Task Number
A42611
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
Operation
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.
OFF
OFF
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.
Indicates whether Interrupt Task Error 1 or 2
occurred.
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.
Section 3-20
Operation
749

Advertisement

Table of Contents
loading

Table of Contents