LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Wiring quadrature encoder to a PCI-6259

Hello all. I am wondering how i can wire a quadrature encoder to a PCI-6259 board. Does anyone know how to do this?. Any help is greatly appreciated.
 
Thanks
Mike
0 Kudos
Message 1 of 6
(4,306 Views)
To start with, you'll need to refer to the device's pinouts.  Offhand I don't recall which pins are the defaults for the A,B,Z channels but I do know that you can wire them to any of the 16 PFI pins and configure in software using a DAQmx property node.  I think it's a channel property node at something like Counter Input-->Position-->A Channel-->Input Terminal (and similar for B, Z).
 
-Kevin P.
ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 6
(4,286 Views)
Hello Mike,

Kevin is right when he states that any of the PFI lines can be used to connect the A, B, and Z lines of your quadrature encoder to your NI PCI-6259.  When you configure a Counter Input >> Angular Encoder DAQmx Task, there are three lines used by default for these connections, as described in the following Knowledgebase:

KB 3DG87CPS: Default M-Series PFI Lines for Angular Encoder Measurements

You can change which PFI lines are used by selecting the PFI lines for the A, B, and Z lines using the DAQmx Channel Property Node.  This process is outlined in the following Knowledgebase:

KB 3DGAJHPS: Selecting PFI Lines Used for Quadrature Encoder Measurements in LabVIEW

Hope this helps!

Travis G.

0 Kudos
Message 3 of 6
(4,270 Views)

tHANKS FOR ALL YOUR HELP. I HAVE ONE MORE QUICK QUESTION. ON MY DEVICE I HAVE THESE WIRES:

ENCODER A+

ENCODER INDEX +

ENCODER B+

ENCODER A-

ENCODER INDEX -

ENCODER B-

WHICH WIRES DO I NEED TO WIRE TO THE 6259 CARD. IS IT JUST A+ AND B+? Thanks again for your help.

0 Kudos
Message 4 of 6
(4,252 Views)
Hello Mike,

You'll want to connect all the negative lines to any digital ground pins of your NI PCI 6259 to make sure that all of the signals are referenced to the same ground.  You'll then want to wire the A, B, and index (Z) lines up to the PFI lines specified in the above documentation.  Good luck with your application!

Regards,
Travis G.
0 Kudos
Message 5 of 6
(4,226 Views)
Having a designation of A+ and A- may mean that the encoder signals
are differential and not ground referenced. If that is the case, use
a 26LS32 or MC3486 to convert to ground referenced TTL.

On Mon, 13 Feb 2006 12:13:18 -0600 (CST), GRMAN <x@no.email> wrote:

>ENCODER A+
>ENCODER INDEX +
>ENCODER B+
>ENCODER A-
>ENCODER INDEX -
>ENCODER B-
>WHICH WIRES DO I NEED TO WIRE TO THE 6259 CARD. IS IT JUST A+ AND B+? Thanks again for your help.

0 Kudos
Message 6 of 6
(4,214 Views)