EasyManuals Logo

Omron SYSMAC CP Series User Manual

Omron SYSMAC CP Series
578 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
Page #498 background imageLoading...
Page #498 background image
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(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 9.
(IN8 and IN9 can only be
used in CP2E-N20/30/40/
60D-.)
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 109 (108 and 109 can only be used in CP2E-N20/30/40/
60D
-.)
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

Other manuals for Omron SYSMAC CP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CP Series and is the answer not in the manual?

Omron SYSMAC CP Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals