Application Precautions - Omron SYSMAC CS/CJ Series Programming Manual

Table of Contents

Advertisement

Interrupt Tasks
A40213
Interrupt Task Error (If Interrupt
Task Error Detection is turned ON
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)
Interrupt Task with Maximum Processing Time (A441)
The interrupt task number with maximum processing time is stored in binary
data. Here, 8000 to 80FF Hex correspond to task numbers 00 to FF Hex.
A44115 will turn ON when the first interrupt occurs after the start of operation.
The maximum processing time for subsequent interrupt tasks will be stored in
the rightmost two digits in hexadecimal and will be cleared at the start of oper-
ation.
Interrupt Task Error Flag (Nonfatal Error) (A40213)
If Interrupt Task Error Detection is turned ON in the PLC Setup, the Interrupt
Task Error Flag will turn ON if an interrupt task error occurs.
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).
When trying to refresh I/O for a
large number of words using the
IORF instruction from an interrupt
task while an Special I/O Unit is
being refreshed by cyclic I/O
refreshing.
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 Special 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
177

Advertisement

Table of Contents
loading

Table of Contents