EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #746 background imageLoading...
Page #746 background image
3. Instructions
708
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Interrupt Control Instructions
Interrupt Control Instructions
The CS/CJ-series CPU Units support the following interrupts.
Outline of Interrupt Control Instructions
z SET INTERRUPT MASK: MSKS(690)
I/O interrupts, input interrupts, and scheduled interrupts are masked (disabled) when the PLC enters
RUN mode. MSKS(690) can be used to unmask or mask interrupt inputs for I/O interrupts/input
interrupts and to start/stop the internal timers for scheduled interrupts.
z CLEAR INTERRUPT: CLI(691)
CLI(691) clears or retains recorded interrupt inputs for I/O interrupts/input interrupts or sets the time to
the first scheduled interrupt for scheduled interrupts. It also clears or retains causes of high-speed
counter interrupts for CJ1M and CJ2M CPU Units.
z READ INTERRUPT MASK: MSKR(692)
MSKR(692) reads the current interrupt processing settings that were set with MSKS(690).
z DISABLE INTERRUPTS: DI(693)
Temporarily disables execution of all interrupt tasks except the power OFF interrupt. All interrupt causes
that occur while interrupts are disabled will be recorded.
z ENABLE INTERRUPTS: EI(694)
Enables execution of all interrupt tasks (excluding power OFF interrupt task) that were disabled with
DI(693). If interrupt causes were recorded while interrupts were disabled, the corresponding interrupt
tasks are executed.
Type Execution condition Setting procedure
I/O Interrupts Interrupt input from the Interrupt Input Unit on the
CPU Rack turns ON/OFF.
Use the MSKS instruction to assign inputs from Interrupt Input Units
on the CPU Rack.
Scheduled
Interrupts
Scheduled (fixed intervals) Use the MSKS instruction to set the interrupt interval. See Scheduled
Interrupt Time Units in PLC Setup.
Power OFF
Interrupt
When power turns OFF (After the default power
OFF detection time + power OFF detection delay
time)
See Power OFF Interrupt Task and Power OFF Detection Delay Time
in PLC Setup.
External Interrupts When requested by an Special I/O Unit or CPU Bus
Unit on the CPU Rack or by an Inner Board (CS
Series only)
The interrupt conditions and interrupt task numbers are specified in
the settings for Special I/O Units, CPU Bus Units, and Inner Boards
that support interrupts. MSKS(690) is not used.
Input Interrupts When interrupt inputs built into the CPU Unit turn
ON or OFF (CJ2M-CPU@@ with CJ2M-MD21@
Pulse I/O Module mounted or CJ1M-CPU2@ Only)
Use the MSKS(690) instruction to assign built-in inputs as interrupt
inputs.
High-speed
Counter Interrupts
When high-speed counter inputs built into the CPU
Unit meet conditions for target-value comparison or
range comparison (CJ2M-CPU@@ with CJ2M-
MD21@ Pulse I/O Module mounted or CJ1M-
CPU2@ Only)
Use the CTBL (COMPARISON TABLE LOAD) instruction to specify
the target value and interrupt task number. MSKS(690) cannot be
used.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals