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 #138 background imageLoading...
Page #138 background image
7 High-speed Counters
7-28
CJ2M CPU Unit Pulse I/O Module User’s Manual
Additional Information
The range comparison table can be used without starting an interrupt task when the comparison
condition is met. The range comparison function can be useful when you just want to know
whether or not the high-speed counter PV is within a particular range.
Use the Range Comparison Condition In-range Flags (bits 00 to 07 in A274, A275, A320, and
A312 or words A10128 to A10135) to determine whether the high-speed counter PV is within a
registered range.
The CTBL(882) instruction compares the PV of a high-speed counter (0 to 3) to target values or ranges
and executes the corresponding interrupt task (0 to 255) when the specified condition is met.
7-3-3 High-speed Counter Interrupt Instructions
REGISTER COMPARISON TABLE Instruction: CTBL(882)
Operand Setting
P Port specifier #0000 High-speed counter 0
#0001 High-speed counter 1
#0002 High-speed counter 2
#0003 High-speed counter 3
C Control data #0000 Registers a target value comparison table and starts compari-
son.
#0001 Registers a fixed-length range comparison table (8 ranges) and
starts the comparison operation.
#0002 Registers a target-value comparison table.
#0003 Registers a fixed-length range comparison table (8 ranges).
#0004 Registers a variable-length comparison table (1 to 32 ranges)
and starts comparison.
#0005 Registers a variable-length comparison table (1 to 32 ranges).
TB First compari-
son table word
Specifies the first word address of the comparison table, which is described
below.
@CTBL
P
C
TB
Execution condition
P: Port Specifier
C: Control Data
TB: First comparison table word

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