Omron CJ - PROGRAMMING MANUAL 12-2009 Programming Manual page 229

Programmable controllers
Table of Contents

Advertisement

Interrupt Tasks
PLC Setup
Programming
Name
Console
address
Word +225,
Power OFF
bit 15
INTERRUPT
TASK
Word +225,
Power OFF
bits 0 to 7
Detection
Delay Time
External Interrupt Tasks: Tasks 0 to 255
When using the CX-Programmer, make the settings on the Timings Tab Page.
The following table shows the corresponding settings when using a Program-
ming Console.
Description
If bit 15 of +225 is ON, then a power OFF interrupt
task will start if power turns OFF.
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.
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
number), the Board will request execution of an external interrupt task in the
CPU Unit after it receives data from its serial port and writes that data into the
CPU Unit's I/O memory.
Settings
0: OFF,
1: ON
00 to 0A Hex: 0
to 10 ms (1-ms
units)
CPU Unit
Serial Communications Board
Interrupt
Section 4-3
Default
setting
0
00 Hex
189

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents