Input Interrupt Settings And Operation - Omron CP1L-EL20DR-D Operation Manual

Sysmac cp series cp1l-el/em cpu unit
Table of Contents

Advertisement

Interrupt Functions
Writing the Interrupt
Task's Program
Input Interrupt
Settings and
Operation
Settings
1,2,3...
382
MSKS(690) Operands
Input interrupt
Interrupt
number
task
number
Input interrupt 0
140
Input interrupt 1
141
Input interrupt 2
142
Input interrupt 3
143
Input interrupt 4
144
Input interrupt 5
145
Create programs for interrupt tasks 140 to 145, which are executed by the cor-
responding input interrupt. Always put an END(001) instruction at the last
address of the program.
This example shows how to execute interrupt task 140 when input CIO 0.04
goes ON.
1. Connect an input device to input CIO 0.04.
2. Use the CX-Programmer to set input 0 as an input interrupt in the PLC Set-
up.
3. Use the CX-Programmer to create the program to use for interrupt pro-
cessing and allocate the program to interrupt task 140.
4. Use the CX-Programmer to write MSKS(690) in the program.
W0.00
(Execution condition)
MSKS(690)
110
#0
MSKS(690)
100
#0
1. Up-differentiation or
Down-differentiation
N
S
Input
Execution
interrupt
condition
number
110 (or 10)
#0: Up-dif-
ferentiated
111 (or 11)
#1: Down-
112 (or 12)
differenti-
113 (or 13)
ated
114
115
1. Specifies input interrupt 0.
2. Specifies up-differentiated input interrupt.
3. Specifies input interrupt 0.
4. Enables the input interrupt.
Section 8-1
2. Enabling/Disabling
the input interrupt
N
S
Input
Enable/
interrupt
Disable
number
100 (or 6)
#0: Enable
interrupt
101 (or 7)
#1: Disable
102 (or 8)
interrupt
103 (or 9)
104
105

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents