Interrupt Control Instructions - Omron SYSMAC CS Series Programming Manual

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Interrupt Control Instructions

3-17 Interrupt Control Instructions

Instruction
Symbol/Operand
Mnemonic
Code
SET INTERRUPT
MASK
MSKS(690)
MSKS
@MSKS
690
N: Interrupt
identifier
S: Interrupt data
READ INTER-
MSKR(692)
RUPT MASK
MSKR
@MSKR
692
N: Interrupt
identifier
D: Destination
word
CLEAR
CLI(691)
INTERRUPT
CLI
@CLI
691
N: Interrupt
identifier
S: Interrupt data
Sets up interrupt processing for I/O interrupts or scheduled interrupts. 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
N
interrupts and set the time intervals for scheduled interrupts.
S
(I/O Interrupts are supported by CS-series PCs only.)
Reads the current interrupt processing settings that were set with MSKS(690).
N
D
Clears or retains recorded interrupt inputs for I/O interrupts or sets the time to
the first scheduled interrupt for scheduled interrupts.
N = 0 to 3
N
S
Interrupt
input n
Internal
status
Recorded interrupt cleared
N = 4 to 5
MSKS(690)
Time to first
scheduled interrupt
Function
Interrupt Input Unit 0 to 3
I/O
interrupt
Mask (1) or unmask (0)
interrupt inputs 0 to 7.
Time interval
Scheduled
interrupt
Set scheduled interrupt
time interval.
Interrupt
input n
Internal
status
Recorded interrupt retained
Execution of scheduled
interrupt task.
Section 3-17
Location
Execution
condition
Output
Required
Output
Required
Output
Required
113

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1g/h-cpu-ev1 seriesCj1g-cpu seriesSysmac cj series

Table of Contents