310
Peripheral Servicing Priority Mode Section 6-9
Operation
Note 1. DI(693) and IOSP(287) will disable not only interrupts for priority servicing,
but also all other interrupts, including I/O, scheduled, and external inter-
rupts. All interrupts that have been generated will be executed after the cy-
clic task has been executed (after END(001) execution) unless CLI(691) is
executed first to clear the interrupts.
2. Disabling interrupts with DI(693) or IOSP(287) is effective until EI(694) or
IORS(288) is executed, until END(001) is executed, or until PLC operation
is stopped. Program sections can thus not be created that go past the end
of a task or cycle. Use DI(693) and EI(694) or IOSP(287) and IORS(288)
in each cyclic task when necessary to disable interrupts in more than one
cycle or task.
CS1 and CJ1 CPU Units
DI(693) When executed, DI(693) disables all interrupts (except for interrupts for the
power interrupt task), including interrupts for priority servicing, I/O interrupts,
scheduled interrupts, and external interrupts. Interrupts will remain disabled if
DI(693) is executed when they are already disabled.
Symbol
Applicable Program Areas
Condition Flags
EI(694) When executed, EI(694) enables all interrupts (except for interrupts for the
power interrupt task), including interrupts for priority servicing, I/O interrupts,
scheduled interrupts, and external interrupts. Interrupts will remain enabled if
EI(694) is executed when they are already enabled.
Symbol
Time slice for
program execution
Time slice for
program execution
Time slice for
peripheral servicing
Interrupted
Execution
Interrupted
Execution
Execution
I/O refresh
Normal peripheral
servicing
Peripheral
servicing
Peripheral
servicing
Program section
requiring data
concurrence
DI(693) executed.
EI(694) executed.
Area Applicability
Block programming areas Yes
Step programming areas Yes
Subroutine programs Yes
Interrupt tasks No
Flag Label Operation
Error Flag ER Turns ON if DI(693) is executed in an interrupt task, and
OFF otherwise
(@)DI(693)
EI(694)
EI(694) requires no execution condition.