![Omron CJ1G-CPUxx Instructions Manual Download Page 782](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491782.webp)
761
Interrupt Control Instructions
Section 3-20
CS1-H, CJ1-H, and CJ1M CPU Units and Power OFF Interrupts
When a CS1-H, CJ1-H, and CJ1M CPU Unit is being used, power OFF inter-
rupt processing can be disabled simultaneously when A503 (the Disable Set-
ting for Power OFF Interrupts) is set to A5A5 Hex. Even if a power interruption
is detected after DI(693) has been executed, the CPU Unit will be reset after
the program’s instructions have been executed in order up to EI(694) or the
END(001) instruction in the last task.
If the power OFF interrupt task is enabled, the CPU Unit will be reset after
execution of the power OFF interrupt task. For details, refer to information on
the power OFF interrupt task in the CS/CJ Series Programming Manual.
Flags
Related Flags and Words
The following word is in the Auxiliary Area.
Precautions
All interrupt tasks will remain disabled until EI(694) is executed.
DI(693) cannot be executed from an interrupt task.
DI(693) cannot be executed for more than one cyclic task. To disable more
than one cycle execution task, insert DI(693) in each cyclic task. Any inter-
rupts that occur while one cycle execution task is being executed will be exe-
cuted after the cycle execution task has been completed unless they are
disabled by CLI(691) as shown in the following example.
When using DI(693) to disable Power OFF Interrupt Processing in a CS1-H,
CJ1-H, and CJ1M CPU Unit, it is possible to disable the processing through
the cyclic tasks. (The disabled condition is released after the completion of all
tasks that were started.)
When a CS1-H, CJ1-H, and CJ1M CPU Unit is being used, the power OFF
interrupt task is disabled, and A530 is set to A5A5 Hex, the CPU Unit will be
Name
Label
Operation
Error Flag
ER
ON if DI(693) is executed from an interrupt task.
OFF in all other cases.
Name
Address
Contents
Disable Setting for Power
OFF Interrupts
A530
A5A5 Hex:
Enables the Disable Setting for Power
OFF Interrupts. Power OFF processing
(excluding execution of the Power OFF
interrupt task) is masked between the
DI(694) and EI(694) instructions, so
instructions up to EI(694) are exe-
cuted.
Task No. 0
Task No. 1
Interrupt tasks are executed under
registered conditions.
DI instruction is valid.
DI
END
DI instruction is valid.
DI
END
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...