
113
Program Example 2 for Sampling Mode
Section 9-8
The value in the parentheses is for counter 2.
Encoder input is given in the positive (+) pulse direction.
BCD data is used in the system.
Internal control input IN1 is used.
Switch Settings
The unit number of the High-speed Counter Unit is set to 1.
Wiring
The incremental encoder output is connected to counter 1 input B. Nothing is
connected to counter 1 input A. The forward direction is used.
DM Settings
Encoder input
Internal control input IN1
Word n bit 01 (10)
Counting
Word n+6 bit 00 (08)
Present counter value
Number of revolutions
conversion value
(DM 0004 and 0005)
Sampling
time
1
2
Sampling
time
Number of revolutions
conversion
rpm =
Number of pulses/s x 60
Number of pulses/revolution
(rpm) = P x
60
200 = P x
3
10
DM 1100
DM 1101
Sampling mode, BCD data, pulse and direction
inputs, and internal control input IN1
Summary of Contents for C200H-CT021
Page 1: ...C200H CT021 High speed Counter Unit Operation Manual Revised December 2000 ...
Page 2: ...iv ...
Page 4: ...vi ...