EasyManuals Logo

Omron CJ1M-CPU22 User Manual

Omron CJ1M-CPU22
267 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 #157 background imageLoading...
Page #157 background image
128
Built-in Inputs Section 6-1
Procedure
Note Use the MSKS(690) instruction to select the interrupt mode (direct mode or
counter mode.)
Restrictions on Interrupt
Inputs (Counter Mode)
Interrupt inputs 0 to 3 cannot be used when built-in inputs IN0 to IN3 are
being used as general-purpose inputs or quick-response inputs.
Interrupt input 3 cannot be used when high-speed counter input 0 is being
used and the high-speed counter 0 reset method is set to Phase-Z signal
+ Software reset.
Interrupt input 2 cannot be used when high-speed counter input 1 is being
used and the high-speed counter 1 reset method is set to Phase-Z signal
+ Software reset.
Interrupt inputs 0 and 1 cannot be used when the origin search function is
enabled for pulse output 0 (enabled in the PLC Setup).
Interrupt inputs 2 and 3 cannot be used when the origin search function is
enabled for pulse output 1 (enabled in the PLC Setup).
Select interrupt inputs.
Wire inputs.
PLC Setup settings
Auxiliary Area settings
Ladder program
IN0 to IN3 (CIO 2960 bits 00 to 03)
Connect to the selected terminals between IN0 and IN3.
When IN0 to IN3 are used as interrupt inputs in counter
mode, make the necessary "input operation settings"
for IN0 to IN3 in Programming Console address 60.
IN0: Set the rightmost digit (bits 00 to 03) to 1 hex.
IN1: Set the second digit (bits 04 to 07) to 1 hex.
IN2: Set the third digit (bits 08 to 11) to 1 hex.
IN3: Set the leftmost digit (bits 12 to 15) to 1 hex.
Set the desired counter SVs in A532 to A535.
Program the corresponding interrupt tasks. Interrupt
tasks 140 to 143 correspond to inputs IN0 to IN3).
Use the MSKS(690) instruction to specify whether up or
down differentiated pulses will be counted.
Use control data (N) settings 10 to 13 to set up/down
differentiation for inputs IN0 to IN3. Set S=0 to specify
up differentiation or S=1 to specify down differentiation.
Use the MSKS(690) instruction to enable the interrupt
inputs in counter mode.
Use control data (N) settings 6 to 9 to specify interrupt
inputs IN0 to IN3. Set S=2 to start a decrementing
counter and enable the interrupts. Set S=3 to start an
incrementing counter and enable the interrupts.

Table of Contents

Other manuals for Omron CJ1M-CPU22

Questions and Answers:

Question and Answer IconNeed help?

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

Omron CJ1M-CPU22 Specifications

General IconGeneral
BrandOmron
ModelCJ1M-CPU22
CategoryController
LanguageEnglish

Related product manuals