Interrupt Task Priority - Omron CJ - PROGRAMMING MANUAL 08-2008 Programming Manual

Programmable controllers
Hide thumbs Also See for CJ - PROGRAMMING MANUAL 08-2008:
Table of Contents

Advertisement

Interrupt Tasks
CPU Unit
Cyclic task
Interrupt task
I/O memory
Note
4-3-2

Interrupt Task Priority

Cyclic task
188
Specifies exter-
Serial Communications Board
nal interrupt task
number and re-
quests interrupt
processing.
1. When the response notification method is set for interrupt notification (fixed
number), the Board requests execution of the interrupt task with the preset
task number.
2. When the response notification method is set for interrupt notification (re-
ception case number), the external interrupt task number is calculated with
the specified formula and the Board requests execution of the interrupt
task with that task number.
3. If an external interrupt task (0 to 255) has the same number as a power
OFF task (task 1), scheduled interrupt task (task 2 or 3), or I/O interrupt
task (100 to 131), the interrupt task will be executed for either interrupt con-
dition (external interrupt or the other interrupt condition). As a rule, task
numbers should not be duplicated.
Execution of another interrupt task will be ended to allow the power OFF inter-
rupt task to execute. The CPU will reset but the terminated interrupt task will
not be executed following execution of the power OFF interrupt task.
Interrupt during Interrupt Task Execution
If an interrupt occurs while another interrupt task is being executed, the task
for the interrupt will not be executed until the original interrupt finishes execut-
ing.
Interrupt task A
Interrupt task A will continue
until it finishes executing.
Data
Interrupt during
Interrupt task B
execution
Section 4-3

Advertisement

Table of Contents
loading

Table of Contents