EasyManua.ls 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 #119 background imageLoading...
Page #119 background image
90
COUNTER FREQUENCY CONVERT: PRV2(883) Section 5-3
Counter input method: 4× differential phase mode
Conversion result = 00000000 to 00030D40 hex (0 to 200,000)
(If a frequency higher than 200 kHz has been input, the output will re-
main at the maximum value of 00030D40 hex.)
2. Frequency Calculation Method
When the CPU Unit is a CJ1M CPU Unit with version number 3.0 or later,
there are two ways to calculate the frequency of pulses input to high-speed
counter 0.
a) Standard Calculation Method (Earlier Method)
When C1 = 0@00, the count is calculated by counting each pulse re-
gardless of the frequency. At high frequencies, the rising or falling edg-
es of some pulses will be corrupted, resulting in errors (about 1% error
max. at 100 kHz).
b) High-frequency Calculation Method
In this case, the counting method is switched at high and low frequen-
cies. (Supported by CJM1 CPU Unit Ver. 3.0 or later only)
High-frequency counting
At high frequencies (above 1 kHz), the function counts the number of
pulses within a fixed interval (the sampling time) and calculates the fre-
quency from that count. One of the following three sampling times can
be selected by the third digit of C1.
Low-frequency counting
At frequencies below 1 kHz, the Standard Calculation Method is used,
regardless of the sampling time setting.
Converting Counter PV to Total Number of Revolutions (C1 = 0001 hex)
If C1 is 0001 hex, PRV2(883) calculates the cumulative number of revolutions
from the counter PV and pulses/revolution setting.
Conversion result = Counter PV
÷ Pulses/revolution
Flags
Sampling time Value of C1 Description
10 ms 0@10 hex Counts the number of pulses every 10 ms.
The error is 10% max. at 1 kHz.
100 ms 0@20 hex Counts the number of pulses every 100 ms.
The error is 1% max. at 1 kHz.
1 s 0@30 hex Counts the number of pulses every 1 s. The
error is 0.1% max. at 1 kHz.
Name Label Operation
Error Flag ER ON if high-speed counter 0 is disabled in the settings.
ON if C1 is not in a specified value (0000 or 0001).
ON if the pulses/revolution setting in C2 is 0000.

Table of Contents

Other manuals for Omron CJ1M-CPU22

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
CPU ModelCJ1M-CPU22
Program Memory10K steps
Data Memory32K words
Power Supply24 VDC
Operating Temperature0 to 55 °C
Number of Timers/Counters256
Ethernet PortNo
Communication PortsRS-232C
Execution Speed (LD instruction)0.1 μs
High-speed Counter2 channels
Weight500g

Summary

PRECAUTIONS

Safety Precautions

Critical safety measures to prevent injury or damage when using PLC and PLC Units.

SECTION 3 I/O Specifications and Wiring

3-1 I/O Specifications

Provides detailed specifications for all built-in inputs and outputs.

3-2 Wiring

Explains connector pin assignments and wiring methods for system connections.

SECTION 4 Data Area Allocation and PLC Setup Settings

4-2 PLC Setup Settings

Explains the configuration settings required in CX-Programmer for built-in I/O.

SECTION 5 High-speed Counter/Pulse Output Instructions

5-5 SPEED OUTPUT: SPED(885)

Details the SPED(885) instruction for setting output frequency and starting pulse output.

5-7 PULSE OUTPUT: PLS2(887)

Details the PLS2(887) instruction for outputting pulses with acceleration/deceleration.

5-8 ACCELERATION CONTROL: ACC(888)

Explains ACC(888) for controlling pulse output with specified acceleration/deceleration rates.

5-9 ORIGIN SEARCH: ORG(889)

Describes the ORG(889) instruction for performing origin search or origin return operations.

SECTION 6 Built-in I/O Function Descriptions

6-3 Origin Search and Origin Return Functions

Explains the detailed application of origin search and origin return functions.

Related product manuals