EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - External Interrupt

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
72
Interrupt Tasks Section 2-3
Scheduled Interrupt Numbers and Interrupt Task Number
PLC Setup Settings Set the Scheduled interrupt interval on the Timings Tab Page of the PLC
Setup to 0.1, 1.0, or 10 ms.
External Interrupt
Tasks: Tasks 0 to 255
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.
Interrupt Task Priority and
Order of Execution
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.
&100
14
Cyclic task
Cyclic task
Scheduled interrupt 0 (Interrupt No.
14: Reset start)
Interrupt internal: 100 x 10 ms
Scheduled interrupt time unit in PLC
Setup = 10 ms (0.01 s)
Every second
Interrupt
Scheduled interrupt (Interrupt task 2)
Scheduled
interrupt number
interrupt task
02
Name Settings
Scheduled interrupt interval 10 ms (default)
1.0 ms
0.1 ms

Table of Contents

Related product manuals