3. Instructions
710
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Related Memory Area Words
Related PLC Setup Settings
z Scheduled Interrupts
z Power OFF Interrupt
Name Address Operation
Maximum Interrupt
Task Processing Time
A440 The maximum processing time for an interrupt task is stored in binary data in 0.1-ms units and is cleared
at the start of operation.
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.
A441.15 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 operation.
Interrupt Task Error
Flag
Duplicate Refresh
Error Flag
A402.13 ON in the following cases:
1. An interrupt task longer than 10 ms was executed during I/O refreshing with a C200H Special I/O
Unit or Remote I/O Slave Rack. (CS Series only)
2. Interrupt Task Error Detection is enabled in the PLC Setup, and one of the following conditions
occurs for the same Special I/O Unit.
• There is a conflict between an IORF(097), FIORF(225), IORD(222), or IOWR(223) instruction exe-
cuted in the interrupt task and an IORF(097), FIORF(225), IORD(222), or IOWR(223) instruction exe-
cuted in the cyclic task.
• There is a conflict between an IORF(097), FIORF(225), IORD(222), or IOWR(223) instruction exe-
cuted 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(097),
FIORF(225) (CJ1-H-R and CJ2 only), IORD(222), or IOWR(223) instruction is executed for the
same Special I/O Unit, there will be duplicate refreshing and an Interrupt Task Error will occur.
Interrupt Task Error
Cause Flag
A426.15 Indicates whether Interrupt Task Error 1 or 2 occurred.
Interrupt Task Error
Task Number
A426.00 to
A426.11
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.
Name Description Settings
Scheduled Interrupt
Interval
Specify the time unit to use to specify the scheduled interrupt time. The scheduled interrupt time is
set using MSKS(690).
10 ms (default)
1.0 ms
0.1 ms
Name Description Settings
Power OFF Interrupt
Ta sk
If the Power OFF Interrupt Task setting is turned ON, then a power OFF interrupt task will start if
power turns OFF.
OFF (default)
ON
Power OFF Detection
Delay Time
Power OFF is recognized when this time plus the default power OFF detection time (10 to 25 ms for
AC power supplies and 2 to 25 ms for DC power supplies) expires.
0 to 10 ms
(1-ms units)