Application Precautions - Omron CJ - PROGRAMMING MANUAL 12-2009 Programming Manual

Programmable controllers
Table of Contents

Advertisement

Interrupt Tasks
A40213
Interrupt Task Error
(when Interrupt Task Error
Detection is enabled in the
PLC Setup)
Task Number when
Program Stopped (A294)
4-3-4

Application Precautions

Long Execution Times
with C200H Special I/O
Units or SYSMAC BUS (CS
Series Only)
192
Interrupt Task Error Flag (A42615)/Task Number Generating the Interrupt
Task Error (A42600 to 42611)
If A40213 turns ON, then the following data will be stored in A42615 and
A42600 to A42611.
Interrupt Task Error Description
If an interrupt task executes for more than 10 ms
during C200H Special I/O Unit or SYSMAC BUS
Remote I/O refresh (CS Series only).
If Interrupt Task Error Detection is enabled in the
PLC Setup, the Interrupt Task Error Flag will turn
ON if the following conditions occur for the same
Special I/O Unit.
• There is a conflict between an IORF, FIORF
(CJ1-H-R only), IORD, or IOWR instruction
executed in the interrupt task and an IORF,
FIORF (CJ1-H-R only), IORD, or IOWR
instruction executed in the cyclic task.
• There is a conflict between an IORF, FIORF
(CJ1-H-R only), IORD, or IOWR instruction
executed in the interrupt task and the CPU
Unit's I/O refreshing (END refreshing).
Note When a Special I/O Unit's Cyclic Refreshing is
enabled in the PLC Setup, and an IORF, FIORF
(CJ1-H-R only), IORD, or IOWR instruction is
executed for the same Special I/O Unit, there will
be duplicate refreshing and an Interrupt Task
Error will occur.
The type of task and the current task number when a program stops due to a
program error will be stored in the following locations.
Type
Interrupt task
Cyclic task
Be sure all interrupt tasks (I/O, scheduled, power OFF, and external interrupt
tasks) execute within 10 ms when using C200H Special I/O Units or SYSMAC
BUS Remote I/O.
If an interrupt task executes for more than 10 ms during C200H Special I/O
Unit or SYSMAC BUS remote I/O refreshing, an interrupt task error will occur,
A40206 (Special I/O Unit Error Flag) will turn ON, and I/O refreshing will be
stopped for Special I/O Units. The CPU Unit, however, will continue to oper-
ate.
If Interrupt Task Error Detection is turned ON in the PLC Setup, A40213 (Inter-
rupt Task Error Flag) will turn ON when an interrupt task error occurs, and the
A42615
A42600 to 42611
OFF
The interrupt task number will
be stored in 12 bits of binary
data (interrupt task 0 to 255:
000 to OFF Hex).
ON
The unit number of the Spe-
cial I/O Unit being refreshed
will be stored in 12 bits of
binary data (unit No. 0 to 95:
000 to 05F Hex).
A294
8000 to 80FF Hex (corresponds to inter-
rupt task No. 0 to 255)
0000 to 001F Hex (corresponds to task
No. 0 to 31)
Section 4-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents