EasyManua.ls Logo

Omron CJ - PROGRAMMING MANUAL 12-2009 - Application Precautions

Omron CJ - PROGRAMMING MANUAL 12-2009
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
192
Interrupt Tasks Section 4-3
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.
Task Number when
Program Stopped (A294)
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.
4-3-4 Application Precautions
Long Execution Times
with C200H Special I/O
Units or SYSMAC BUS (CS
Series Only)
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
A40213 Interrupt Task Error Description A42615 A42600 to 42611
Interrupt Task Error
(when Interrupt Task Error
Detection is enabled in the
PLC Setup)
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).
OFF The interrupt task number will
be stored in 12 bits of binary
data (interrupt task 0 to 255:
000 to OFF Hex).
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.
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).
Type A294
Interrupt task 8000 to 80FF Hex (corresponds to inter-
rupt task No. 0 to 255)
Cyclic task 0000 to 001F Hex (corresponds to task
No. 0 to 31)

Table of Contents

Related product manuals