112
Program Example 2 for Sampling Mode
Section 9-8
DM Settings
Program Example
9-8
Program Example 2 for Sampling Mode
Note
After writing a program, make sure that the program works properly.
System Configuration
Speed Measurement (Tachometer)
Operation
Pulses from the incremental encoder coupled to the rotating axis are mea-
sured at fixed intervals and the PC converts these measurements to rotational
speed (rpm).
DM 1100
DM 1101
Sampling mode, BCD data, offset phase pulse
inputs x 4, and external control inputs
MOV(21)
#3000
111
25315
11001
DIFD(14)03000
MOV(21)
112
DM0000
MOV(21)
113
DM0001
11600
03000
(1 scan ON)
Sets sampling time to 3 s.
(Counting)
Sets sampling time data.
Detects completion of measurement
when Counting Flag goes OFF.
Present counter value is stored in DM
0000 and 0001 after measurement is
completed.
C200H-CT021 High-speed Counter Unit
Encoder input A
Encoder
Conversion Adapter
Incremental encoder
(Resolution: 200 pulses/revolution)
Use an Encoder Conversion Adapter to
connect line driver outputs from an encoder
with open collector outputs.
Motor
C200HX
Содержание C200H-CT021
Страница 1: ...C200H CT021 High speed Counter Unit Operation Manual Revised December 2000 ...
Страница 2: ...iv ...
Страница 4: ...vi ...