EasyManuals Logo

Omron CJ1M-CPU21 User Manual

Omron CJ1M-CPU21
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 #160 background imageLoading...
Page #160 background image
131
Built-in Inputs Section 6-1
Procedure
Select high-speed counter 1 and/or 2.
Select the pulse input method, reset
method, and counting range.
Select the kind of interrupt (if any).
Wire inputs.
PLC Setup settings
Ladder program
Pulse input methods: Differential phase (4x), Pulse +
direction, Up/Down, or Increment
Reset methods: Phase-Z + Software reset or Software
reset
Counting ranges: Linear mode or Ring mode
No interrupt
Target value comparison interrupt
Range comparison interrupt
For high-speed counter 0, connect IN3, IN8, and
IN9. For high-speed counter 1, connect IN2, IN6,
and IN7.
Enable high-speed counter 0 and/or 1.
High-speed Counter 0 (1) Enable/Disable:
Bits 12 to 15 of Programming Console address 50 (53).
1 Hex: Enable the high-speed counter (60 kHz.)
2 Hex: Enable the high-speed counter (100 kHz.)
Set the pulse input method(s).
High-speed Counter 0 (1) Pulse Input Mode:
Bits 00 to 03 of Programming Console address 50 (53).
0 Hex: Differential phase (4x)
1 Hex: Pulse + direction
2 Hex: Up/Down
3 Hex: Increment
Set the reset method(s).
High-speed Counter 0 (1) Reset Method:
Bits 04 to 07 of Programming Console address 50 (53).
0 Hex: Phase-Z + Software reset
1 Hex: Software reset
Set the counting range(s).
High-speed Counter 0 (1) Counting Mode:
Bits 04 to 07 of Programming Console address 50 (53).
0 Hex: Linear mode
1 Hex: Ring mode
Program the interrupt task (with any interrupt number between 0
and 255) to be executed when using a target value comparison
or range comparison interrupts.
When performing target value comparisons, execute the
CTBL(882) instruction with C=0000 Hex to register a target
value comparison table and start the comparison.
When performing range value comparisons, execute the
CTBL(882) instruction with C=0001 Hex to register a range
comparison table and start the comparison.
To register a target value comparison table without starting the
comparison, execute the CTBL(882) instruction with C=0002
Hex.
To register a range comparison table without starting the
comparison, execute the CTBL(882) instruction with C=0003
Hex.
The INI(880) instruction can be used to change the PV.
The INI(880) instruction can be used to start comparison with
the registered target value comparison table or range
comparison table.
The PRV(881) instruction can be used to read the high-speed
counter PVs, read the status of the high-speed counter
comparison operation, or read the range-comparison results.
The High-speed Counter Gate Bit (A53108 and A53109) can be
turned ON to stop counting pulses input to high speed counter 0
and 1.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Omron CJ1M-CPU21 Specifications

General IconGeneral
BrandOmron
ModelCJ1M-CPU21
CategoryI/O Systems
LanguageEnglish

Related product manuals