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
MASK
MSKS(690)
(Not supported
by CS1D CPU
Units for Duplex-
CPU Systems.)
MSKS
N: Interrupt number
@MSKS
C: Control data
690
READ
MSKR(692)
INTERRUPT
MASK
(Not supported
by CS1D CPU
Units for Duplex-
CPU Systems.)
N: Interrupt number
MSKR
D: Destination word
@MSKR
692
132
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
C
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
Need help?
Do you have a question about the CJ - PROGRAMMING MANUAL 08-2008 and is the answer not in the manual?
Questions and answers