![Omron CJ1G-CPU series Programming Manual Download Page 331](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489331.webp)
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.
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...