beautypg.com

Laurel Electronics LAUREATE SERIES 2 COUNTER-TIMER-SERIAL INPUT METER User Manual

Page 50

background image

50

PROGRAMMING EXAMPLE FOR QUADRATURE RATE:
DISPLAY RATE TO 0.001 FT/SEC FROM A 1024 PULSE/REV QUADRATURE ENCODER

Application: Display rate in feet/sec with 3
decimal points using a 1024 pulse/revolution
quadrature encoder tied to a roller with 1.782
ft circumference. Have 4 display updates per
second.

Solution:

Set Input to “Quadrature Rate.”

Set Gate Time to .22 sec so that the display
update rate becomes .22 sec +30 ms +1
period. Set Time-out to 1 sec, so that pulse
rates under 1 Hz are displayed as 0. Set
both DecPt1 and DecPt2 to 3 places. Under
Setup, select coordinates of 2 points scaling
method. Set both Hi In1 and Hi In2 to 1024.0
(pulses/sec) and both the desired Hi Rd1
and Hi Rd2 to 1.782 (feet/sec). Note: the
duplicate entries are required because the
quadrature meter subtracts counterclockwise
pulses from clockwise pulses.