Omron CJ - INSTRUCTIONS Reference Manual page 765

Table of Contents

Advertisement

Example Programming
0.00
When execution of all interrupts other than power OFF interrupt tasks is prohibited
by this instruction
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.
However,
interrupt
enabled at the end of a cyclic task, and
interrupt tasks for any recorded interrupt
causes will be executed at that time.
When using DI(693) to disable Power
OFF Interrupt Processing
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.)
Note When a CS1D CPU Unit for Single-CPU System or a CJ2, CS1-H, CJ1-H, or 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 reset after exe-
cution of EI(694) in the event that a power interruption is detected during execution of the instructions
between DI(693) and EI(694).
CS/CJ/NSJ Series Instructions Reference Manual (W474)
When CIO 0.00 is ON in the following example, DI(693)
disables all interrupt tasks other than the power OFF
interrupt task.
Note With CS1D CPU Units for Single-CPU Systems or CJ2,
Disables execution of
all interrupt tasks
(except the power
OFF interrupt).
tasks
are
always
CS1-H, CJ1-H, or CJ1M CPU Units:
Power OFF interrupt processing can be disabled at the
same time if the power OFF interrupt task is disabled.
Task No. 0
DI
DI instruction is valid.
END
Interrupt tasks for which interrupt
causes were registered during this
Task No. 1
interval is executed.
DI
DI instruction is valid.
END
DI
END
Power OFF interrupt processing
disabled.
EI
END
3. Instructions
3
727

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF