EasyManua.ls Logo

Omron CP1E CPU UNIT SOFTWARE - A-1-17 Interrupt Control Instructions

Omron CP1E CPU UNIT SOFTWARE
450 pages
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...
Appendices
A-36
CP1E CPU Unit Software User’s Manual(W480)
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(693).
MSKS(690)
N
C
N: Interrupt number
C: Control data
Set scheduled interrupt
time interval.
Mask (1) or unmask (0)
interrupt inputs 2 to 7.
Time interval
Scheduled
interrupt
I/O
interrupt
CLI(691)
N
C
N: Interrupt number
C: Control data
Recorded interrupt cleared Recorded interrupt retained
MSKS(690)
N = 102 to 107
N = 4
Time to first
scheduled interrupt
Execution of scheduled
interrupt task.
Internal
status
Interrupt
input n
Interrupt
input n
Internal
status
DI(693)
EI(694)
Disables execution of all
interrupt tasks.
Enables execution of all
disabled interrupt tasks.
DI
EI

Table of Contents

Related product manuals