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

Cp1e cpu unit software
Table of Contents

Advertisement

Appendices
A-1-17
Interrupt Control Instructions
Instruction
Mnemonic
SET INTER-
MSKS
RUPT MASK
CLEAR
CLI
INTERRUPT
DISABLE
DI
INTERRUPTS
ENABLE
EI
INTERRUPTS
A-36
Variations
Symbol/Operand
@
MSKS(690)
N
C
N: Interrupt number
C: Control data
@
CLI(691)
N
C
N: Interrupt number
C: Control data
@
DI(693)
---
EI(694)
Function
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.
I/O
interrupt
Time interval
Scheduled
interrupt
Clears or retains recorded interrupt inputs for I/O interrupts or sets
the time to the first scheduled interrupt for scheduled interrupts.
N = 102 to 107
Interrupt
Interrupt
input n
input n
Internal
Internal
status
status
Recorded interrupt cleared
N = 4
MSKS(690)
Execution of scheduled
interrupt task.
Time to first
scheduled interrupt
Disables execution of all interrupt tasks.
Enables execution of all interrupt tasks that were disabled with
DI(693).
DI
Disables execution of all
interrupt tasks.
EI
Enables execution of all
disabled interrupt tasks.
CP1E CPU Unit Software User's Manual(W480)
Mask (1) or unmask (0)
interrupt inputs 2 to 7.
Set scheduled interrupt
time interval.
Recorded interrupt retained

Advertisement

Table of Contents
loading

Table of Contents