Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 754

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

Sample program
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. Any interrupts that occur while
one cycle execution task is being executed
will be executed 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
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).
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 are executed under
registered conditions.
Task No. 1
DI
DI instruction is valid.
END
DI
END
EI
END
3. Instructions
3
717

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents