EasyManua.ls Logo

Omron CJ - 08-2008 - Page 503

Omron CJ - 08-2008
733 pages
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...
455
Power OFF Operation Section 10-3
2. Set the Disable Setting for Power OFF Interrupts in A530 to A5A5 Hex to
enable disabling power interruption processing.
Note A530 is normally cleared when power is turned OFF. To prevent this,
the IOM Hold Bit (A50012) must be turned ON and the PLC Setup
must be set to maintain the setting of the IOM Hold Bit at Startup, or
the following type of instruction must be included at the beginning of
the program to set A530 to A5A5 Hex.
3. Disable the Power OFF Interrupt Task in the PLC Setup.
With the above procedure, all instructions between DI(693) and EI(694) (or
END) will be completed (see note 1) before the Power OFF Interrupt is exe-
cuted even if the power interruption occurs while executing the instructions
between DI(693) and EI(694).
Note 1. The protected instructions can be completed only when the time required
to complete execution is less than or equal to the processing time after
power interruption detection (10 ms
power interruption detection delay
time). If the instructions is not completed within this time, they will be inter-
rupted and the above processing will be performed.
2. If the Power OFF Interrupt Task is not disabled in the PLC Setup, the Power
OFF Interrupt Task will be executed, and the CPU Unit will be reset without
executing the protected instructions as soon as the power interruption is
detected.
3. If a power interrupt is detected while DI(693) is being executed, the CPU
Unit will be reset without executing the protected instructions.
4. The processing time after a power interruption is detected is 1 ms when a
CJ1W-PD022 is mounted.
DI
W0.00
Interrupt tasks disabled.
Interrupt tasks enabled.
EI
Instructions that cannot be
interrupted when a power
interruption occurs
Instructions executed here.
Power interruption
confirmed.
MOV
#A5A5
A530
A20011
First Cycle Flag
Set A530 to A5A5 Hex at the
beginning of the program to enable
disabling power interruption
processing.

Table of Contents

Related product manuals