Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting up Incremental Encoders

I have never used an incremental encoders before.

 

I am using A PXI-1050 with a PXI-6624. 

 

I have 4 BEI H25 Industrial Encoder which have:

 

             AB Dual Quad

 

             1000 cycles per turn.

 

 

I need to read speeds of up to 60,000 pulses per second.

 

I have used MAX to set it up as a:

      Counter Input - Edge Counter

      Active Edge = Rising

      Count Direction = Count Up

 

My control loop is running every 25mS

 

My question is what should I set my acquisition mode to be?

 

and what effect will it have on the rest of the inputs / outputs I am going to use?

 

Many Thanks

TimS

 

 

 

 

 

 

 

 

 

 

0 Kudos
Message 1 of 2
(4,074 Views)

Hello,

 

On this page, I see it says:

 

 

400 kHz maximum frequency with 48 VDC voltage range on inputs and outputs

 

 So I see no issue with your 60khz signal.

 

In the datasheet i see you have an A and B signal available, so you can use the DAQ Assistant to perform a frequency measurement. The attached image shows you where to find out which line to connect Phase A of the quadrature encoder to. You can then take the frequency, divide it by the pulses per turn(1000) then divide it by 60 to get RPM. The issue with doing it using a frequency measurement is that you won't be able to detect the direction of rotation.

 

Hope this helps!

 

0 Kudos
Message 2 of 2
(4,023 Views)