Omron CQM1H - PROGRAM Programming Manual page 121

Programmable controllers; inner boards
Table of Contents

Advertisement

Pulse I/O Board
Processing
1,2,3...
Differential Phase Mode
Encoder
input A
(Phase A)
Encoder
input B
(Phase B)
Count
1 2 3 4 5 6 7 8 7 6 5 4 3 2
Incremented
1,2,3...
96
Port Mode Setting and Applicable Instructions
In Simple Positioning Mode, CTBL(63) (REGISTER COMPARISON TABLE)
cannot be used, and high-speed counter interrupts cannot be performed. Only
PV reads can be performed.
Instruction
Function
High-speed
Counter Mode
Simple Positioning
Mode
Input Signals and Input Modes
The Input Modes that can be used for high-speed counters 1 and 2 are deter-
mined by the signal types.
1. Differential Phase Mode (Counting Rate = 25 kHz):
Two phase-difference 4x signals (phase A and phase B) and a phase-Z
signal are used for inputs. The count is incremented or decremented ac-
cording to differences in the two phase signals.
2. Pulse/Direction Mode (Counting Rate = 50 kHz):
Phase A is the direction signal and phase B is the count pulse. The counter
increments when the phase-A signal is OFF and decrements when it is
ON.
3. Up/Down Mode (Counting Rate = 50 kHz):
Phase A is the decrementing signal and phase B is the incrementing sig-
nal. The counter decrements when an A-phase pulse is detected and in-
crements when a phase-B pulse is detected.
Encoder
input A
(Direction)
Encoder
input B
(Pulse)
Count
Decremented
Numeric Ranges
The range of values counted by high-speed counters 1 and 2 are determined
by the following two modes.
1. Ring Mode
In Ring Mode, the maximum value of the counting range can be set with
CTBL(63). The counter will go from the maximum count value to 0 when
incrementing, and from 0 to the maximum count value when decrementing;
there are no negative values. The maximum count value + 1 (i.e., the ring
value) is entered as the setting. Settings can range from 1 to 65,000, mak-
ing the counting range 0 to 64,999.
2. Linear Mode
The counting range in Linear Mode is fixed at –8,388,608 to 8,388,607. If
CTBL(63)
Comparison table
PV change
registration
Comparison start/
Comparison start
stop
Enabled
Enabled
Disabled
Enabled (PV
change only)
Pulse/Direction Mode
1
2
3
2
1
Incremented Decremented
Section 2-2
INI(61)
PRV(62)
PV read
Comparison status
read
Range comparison
result read
Enabled
Enabled
Up/Down Mode
Encoder
input A
(Down)
Encoder
input B
(Up)
Count
1
2
3
Incremented Decremented
2
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CQM1H - PROGRAM and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents

Save PDF