174
Interrupt Tasks Section 4-3
Power OFF Interrupt Task Execution
PLC Setup Settings for Power OFF Interrupt Task (Task Number: 1)
External Interrupt Tasks: Tasks 0 to 255
External interrupt tasks can be received at any time.
Interrupt processing is performed at the CPU Unit in PLCs containing an Inner
Board (CS Series only), Special I/O Units, or CPU Bus Units. Settings don’t
have to be made at the CPU Unit unless the program contains an external
interrupt task for a particular task number.
External interrupts are not supported by CJ1 CPU Units.
Example: The following example shows an external interrupt generated from
a CS1W-SCB@1 Serial Communications Board.
When the Serial Communications Board’s response notification method is set
for interrupt notification (fixed number) or interrupt notification (reception case
Address Name Description Settings Default
setting
Bit 15 at +225 Power OFF
INTERRUPT
TASK
If bit 15 of +225 is ON, then a power OFF interrupt
task will start if power turns OFF.
0: OFF,
1: ON
0
Bits 0 to 7 at
+225
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 5 ms for DC power supplies)
expires.
00 to 0A Hex: 0
to 10 ms (1-ms
units)
00 Hex
Cyclic task
Power
OFF
CPU reset
Power OFF interrupt task 1
Power OFF interrupt task ON/OFF
setting in PC Setup: ON
CPU Unit
Serial Communications Board
Interrupt