EasyManuals Logo
Home>Omron>Controller>CJ2M-CPU Series

Omron CJ2M-CPU Series User Manual

Omron CJ2M-CPU Series
278 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 #105 background imageLoading...
Page #105 background image
6-11
6 Interrupts
CJ2M CPU Unit Pulse I/O Module User’s Manual
6-2 Interrupt Inputs
6
6-2-6 Creating Ladder Programs
Execute the MSKS(690) instruction from the ladder program in a cyclic task to use interrupt inputs.
MSKS(690) has the following two functions and two of this instruction are normally used in combina-
tion.
(1) Specifying whether to detect ON or OFF signals.
(2) Enabling interrupts.
• Enabling interrupt inputs in Direct Mode
• Enabling the interrupt input counter in Increment or Decrement Counting Mode
The MSKS(690) instruction must be executed only once to make the settings, so in general execute
MSKS(690) in just one cycle using the upwardly differentiated variation of the instruction.
The first MSKS(690) instruction can be omitted. If it is omitted, the edge setting that is set in the PLC
Setup will be used.
(1) Specifying Whether to Detect ON or OFF Signals
Executing MSKS(690) in a Cyclic Task
Specifying MSKS(690) Operands (N and C)
Pulse I/O
Module
No.
Terminal
symbol
Correspond-
ing bit
address
Function
Interrupt
task number
Operand N Operand C
Interrupt identi-
fier
Specifying to
detect ON or
OFF
0 (on the
right)
IN00 CIO 2960.00 Interrupt input 0 140 110 #0000: Detect
ON
#0001: Detect
OFF
IN01 CIO 2960.01 Interrupt input 1 141 111
IN02 CIO 2960.02 Interrupt input 2 142 112
IN03 CIO 2960.03 Interrupt input 3 143 113
1 (on the
left)
IN10 CIO 2962.00 Interrupt input 4 144 114
IN11 CIO 2962.01 Interrupt input 5 145 115
IN12 CIO 2962.02 Interrupt input 6 146 116
IN13 CIO 2962.03 Interrupt input 7 147 117
@MSKS
N
C
C
@MSKS
N
Execution condition
(1) Specifying whether to detect ON or
OFF signals.
(2) Enables the interrupt input.

Table of Contents

Other manuals for Omron CJ2M-CPU Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ2M-CPU Series and is the answer not in the manual?

Omron CJ2M-CPU Series Specifications

General IconGeneral
BrandOmron
ModelCJ2M-CPU Series
CategoryController
LanguageEnglish

Related product manuals