Omron CPM1 Programming Manual page 91

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

Processing
ON
Phase A
OFF
ON
Phase B
OFF
Count
Two types of signals can be input from a pulse encoder. The count mode used for
the high-speed counter will depend on the signal type. The count mode and re-
set mode are set in DM 6642; these settings become effective when the power is
turned on or PC operation is started.
Up/Down Mode:
Phase-A difference 4× two-phase signal (phase-A and phase-B) and a
phase-Z signal are used for inputs. The count is incremented or decrem-
ented according to differences in the 2-phase signals.
Incrementing Mode:
One single-phase pulse signal and a count reset signal are used for inputs.
The count is incremented according to the single-phase signal.
Up/Down Mode
1 2 3 4 5 6 7 8 7 6 5 4 3 2 1 0 --1 --2
Incremented
Decremented
Note One of the reset methods described below should always be used to reset the
counter when restarting it. The counter will be automatically reset when program
execution is started or stopped.
The following signal transitions are handled as forward (incrementing) pulses:
Phase-A leading edge to phase-B leading edge to phase-A trailing edge to
phase-B trailing edge. The following signal transitions are handled as reverse
(decrementing) pulses: Phase-B leading edge to phase-A leading edge to
phase-B trailing edge to phase-A trailing edge.
The Up/Down Mode always uses a 4× phase-difference input. The number of
counts for each encoder revolution would be 4 times the resolution of the count-
er. Select the encoder based on the countable ranges.
Reset Methods
Either of the two methods described below may be selected for resetting the PV
of the count (i.e., setting it to 0).
Phase-Z signal + software reset:
The PV is reset when the phase-Z signal (reset input) is turned ON while the
High-speed Counter Reset Bit (SR 25200) is ON.
Software reset:
The PV is reset when the High-speed Counter Reset Bit (SR 25200) is
turned ON.
Incrementing Mode
ON
Pulse
input
OFF
Count
1
2
3
Incremented only
Section
2-3
4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Srm-v2Cpm1aCpm2aSrm1Cpm2c

Table of Contents