Interrupt Control Instructions - Omron CS1G/H-CPUxx-EV1 Programming Manual

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxx-EV1:
Table of Contents

Advertisement

Interrupt Control Instructions

Instruction
Symbol/Operand
Mnemonic
Code
GLOBAL SUB-
GSBS(750)
ROUTINE CALL
(CS1-H, CJ1-H,
CJ1M, or CS1D
only)
N: Subroutine
GSBS
number
750
GLOBAL SUB-
ROUTINE ENTRY
GSBN(751)
(CS1-H, CJ1-H,
CJ1M, or CS1D
only)
N: Subroutine
GSBN
number
751
GLOBAL SUB-
GRET(752)
ROUTINE
RETURN (CS1-H,
CJ1-H, CJ1M, or
CS1D only)
GRET
752
3-18 Interrupt Control Instructions
Instruction
Symbol/Operand
Mnemonic
Code
SET INTERRUPT
MSKS(690)
MASK
(Not supported
by CS1D CPU
Units for Duplex-
CPU Systems.)
MSKS
N: Interrupt
@MSKS
identifier
690
S: Interrupt data
READ
MSKR(692)
INTERRUPT
MASK
(Not supported
by CS1D CPU
Units for Duplex-
CPU Systems.)
N: Interrupt
MSKR
identifier
@MSKR
D: Destination
692
word
128
Calls the subroutine with the specified subroutine number and exe-
cutes that program.
N
Indicates the beginning of the subroutine program with the specified
subroutine number.
N
Indicates the end of a subroutine program.
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
N
unmask or mask I/O interrupts and set the time intervals for
S
scheduled interrupts.
Reads the current interrupt processing settings that were set with
MSKS(690).
N
D
Function
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.
Section 3-18
Location
Execution condition
Output
Not required
Output
Not required
Output
Not required
Location
Execution condition
Output
Required
Output
Required

Advertisement

Table of Contents
loading

Table of Contents