Interrupt Control Instructions - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Instruction Functions
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

2-2-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
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
84
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.
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.
Section 2-2
Location
Page
Execution
condition
Output
825
Not required
Output
833
Not required
Output
836
Not required
Location
Page
Execution
condition
Output
840
Required
Output
847
Required

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents