![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262498.webp)
Appendices
A-38
CP2E CPU Unit Software User’s Manual(W614)
A-1-17
Interrupt Control Instructions
Instruction
Mnemonic
Variations
Symbol/Operand
Function
SET INTER-
RUPT MASK
MSKS
@
Sets up interrupt processing for I/O interrupts or scheduled inter-
rupts. Both I/O interrupt tasks and scheduled interrupt tasks are
masked (disabled) when the PC is first turned on. MSKS(690) can
be used to unmask or mask I/O interrupts and set the time inter-
vals for scheduled interrupts.
CLEAR
INTERRUPT
CLI
@
Clears or retains recorded interrupt inputs for I/O interrupts or sets
the time to the first scheduled interrupt for scheduled interrupts.
DISABLE
INTERRUPTS
DI
@
Disables execution of all interrupt tasks.
ENABLE
INTERRUPTS
EI
---
Enables execution of all interrupt tasks that were disabled with
DI(69
3
).
MSKS(690)
N
C
N
: Interrupt number
C
: Control data
S
et
s
ched
u
led interr
u
pt
time interv
a
l.
M
as
k (1) or
u
nm
as
k (0)
interr
u
pt inp
u
t
s
2 to 9.
(IN8
a
nd IN9 c
a
n only
b
e
us
ed in CP2E-N20/30/40/
60D
-
.)
Time interv
a
l
S
ched
u
led
interr
u
pt
I/O
interr
u
pt
CLI(691)
N
C
N
: Interrupt number
C
: Control data
Recorded interr
u
pt cle
a
red Recorded
interr
u
pt ret
a
ined
M
S
K
S
(690)
N = 102 to 109 (108
a
nd 109 c
a
n only
b
e
us
ed in CP2E-N20/30/40/
60D
-
.)
N = 4
Time to fir
s
t
s
ched
u
led interr
u
pt
Exec
u
tion of
s
ched
u
led
interr
u
pt t
as
k.
Intern
a
l
s
t
a
t
us
Interr
u
pt
inp
u
t n
Interr
u
pt
inp
u
t n
Intern
a
l
s
t
a
t
us
DI(693)
EI(694)
Disables execution of all
interrupt tasks.
Enables execution of all
disabled interrupt tasks.
DI
EI
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......