External Interrupt - Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Interrupt Tasks
Cyclic task
Cyclic task
PLC Setup Settings

External Interrupt

Tasks: Tasks 0 to 255
Interrupt Task Priority and
Order of Execution
72
Scheduled interrupt 0 (Interrupt No.
14: Reset start)
Interrupt internal: 100 x 10 ms
14
&100
Interrupt
Scheduled interrupt (Interrupt task 2)
Scheduled Interrupt Numbers and Interrupt Task Number
Scheduled
interrupt number
0
Set the Scheduled interrupt interval on the Timings Tab Page of the PLC
Setup to 0.1, 1.0, or 10 ms.
Name
Scheduled interrupt interval
External interrupt tasks can be received at any time. External interrupt pro-
cessing is performed at the CPU Unit in PLCs containing CJ-series Special
I/O Units or CPU Bus Units. Settings don't have to be made in the CPU Unit.
The specified interrupt task must be programmed in the CPU Unit.
Note
If an external interrupt task (0 to 255) has the same number as the scheduled
interrupt task (task), an input interrupt task (140 to 147), or a high-speed
counter task (0 to 255), the interrupt task will be executed for either interrupt
condition (external interrupt or the other interrupt condition). As a rule, task
numbers should not be duplicated.
All interrupt tasks have the same priority, i.e., once execution of any interrupt
task has started, it will be completed through the end of the task even if
another interrupt occurs during execution. For example, execution of an input
interrupt task will not be interrupted to execute the scheduled interrupt task,
i.e., the scheduled interrupt task will be executed only after completing the
input interrupt task.
Scheduled interrupt time unit in PLC
Setup = 10 ms (0.01 s)
Every second
interrupt task
2
Settings
10 ms (default)
1.0 ms
0.1 ms
Section 2-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents