Omron CJ - REFERENCE MANUAL 10-2009 Reference Manual page 132

Table of Contents

Advertisement

2. Summary of Instructions
Instruction
Symbol/Operand
Mnemonic
Code
GLOBAL SUB-
GSBN(751)
ROUTINE ENTRY
(CJ2, CS1-H,
CJ1-H, CJ1M, or
CS1D only)
N: Subroutine
GSBN
number
751
GLOBAL SUB-
GRET(752)
ROUTINE
RETURN (CJ2,
CS1-H, CJ1-H,
CJ1M, or CS1D
only)
GRET
752
2-2-19 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
@MSKS
identifier
690
C: Control data
READ
MSKR(692)
INTERRUPT
MASK
(Not supported
by CS1D CPU
Units for Duplex-
N: Interrupt
CPU Systems.)
MSKR
identifier
D: Destination
@MSKR
word
692
94
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.
N
MSKS(690) can be used to unmask or mask I/O interrupts and
C
set the time intervals for scheduled interrupts.
I/O
interrupt
Scheduled
interrupt
Reads the current interrupt processing settings that were set with
MSKS(690).
N
D
Function
Function
Interrupt Input Unit 0 to 3
Mask (1) or unmask (0)
interrupt inputs 0 to 7.
Time interval
Set scheduled
interrupt time interval.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Location
Page
Execution
condition
Output
697
Not required
Output
697
Not required
Location
Page
Execution
condition
Output
703
Required
Output
708
Required

Advertisement

Table of Contents
loading

Table of Contents