EasyManuals Logo

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 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
Page #765 background imageLoading...
Page #765 background image
727
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Interrupt Control Instructions
3
DI
Example Programming
z 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 tasks are always
enabled at the end of a cyclic task, and
interrupt tasks for any recorded interrupt
causes will be executed at that time.
z 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).
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,
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.
0.00
Disables execution of
all interrupt tasks
(except the power
OFF interrupt).
DI
END
DI
END
DI instruction is valid.
Interrupt tasks for which interrupt
causes were registered during this
interval is executed.
DI instruction is valid.
Task No. 0
Task No. 1
DI
END
EI
END
Power OFF interrupt processing
disabled.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals