![Omron CJ1G-CPUxx Instructions Manual Download Page 99](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491099.webp)
78
Instruction Functions
Section 2-2
2-2-18 Interrupt Control Instructions
GLOBAL SUB-
ROUTINE CALL
(CS1-H, CJ1-H,
CJ1M, or CS1D
only)
GSBS
750
Calls the subroutine with the specified subroutine number and exe-
cutes that program.
Output
Not required
GLOBAL SUB-
ROUTINE ENTRY
(CS1-H, CJ1-H,
CJ1M, or CS1D
only)
GSBN
751
Indicates the beginning of the subroutine program with the specified
subroutine number.
Output
Not required
GLOBAL SUB-
ROUTINE
RETURN (CS1-H,
CJ1-H, CJ1M, or
CS1D only)
GRET
752
Indicates the end of a subroutine program.
Output
Not required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
SET INTERRUPT
MASK (Not sup-
ported by CS1D.)
MSKS
@MSKS
690
Output
Required
READ
INTERRUPT
MASK (Not sup-
ported by CS1D.)
MSKR
@MSKR
692
Reads the current interrupt processing settings that were set with
MSKS(690).
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
N: Subroutine
number
GSBS(750)
N
N: Subroutine
number
GSBN(751)
N
GRET(752)
N: Interrupt
identifier
S: Interrupt data
MSKS(690)
N
S
Interrupt Input Unit 0 to 3
Mask (1) or unmask (0)
interrupt inputs 0 to 7.
I/O
interrupt
Time interval
Set scheduled interrupt
time interval.
Scheduled
interrupt
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 interrupts and set the time intervals for
scheduled interrupts.
N: Interrupt
identifier
D: Destination
word
MSKR(692)
N
D
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...