Omron SYSMAC CS Series Instruction & Reference Manual page 678

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

3. Instructions
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 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.
 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).
644
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 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
CS/CJ/NSJ Series Instructions Reference Manual (W474)

Advertisement

Table of Contents
loading

Table of Contents