Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

What do I need to connect a quadrature encoder to a M series card

Solved!
Go to solution
I need to add a quadrature encoder to keep track of position of our product. I have not found good clear information on it. I have a PCIe-6259 with a SC-2345 series SCC Module carrier,  I am using LabView 8.5
0 Kudos
Message 1 of 5
(4,264 Views)

Hi Toro,

The SC-2345 Carrier has a 42-position, triple-row screw-terminal block that you can use to connect digital signals to your M Series DAQ card. The pinouts for this terminal block can be seen on page 28 in Figure 2-1 of the SC-2345 Carrier User Manual.

With regards to which pin to connect to, 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.  However, 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 Knowledge Base Document 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 with a DAQmx Channel Property Node.  This process is outlined in the following Knowledge Base 3DGAJHPS: Selecting PFI Lines Used for Quadrature Encoder Measurements in LabVIEW.  

Hope this helps, Mallori M.

Mallori M
National Instruments
Sr Group Manager, Education Services

ni.com/training
0 Kudos
Message 2 of 5
(4,242 Views)

Hi,

 

I am trying to connect a quadrature encoder (just A and B channels) to  SC-2345 connected to a PCIE-6036E.  I am trying to follow your example and I do not find the "position" option in the DAQmx. Please tell me what I am missing.  Can you  please post a simple vi to count Up and Down.

 

Thanks,

 

DS

0 Kudos
Message 3 of 5
(3,923 Views)
Found the example CountDigitalEvents.vi in LV7.1 and seems to work by connecting A to 37 and B to 16 in sc-2345. - DS
0 Kudos
Message 4 of 5
(3,905 Views)
Solution
Accepted by topic author Toro

You are in the right track. Take a look at the knowlegeBase file 3DGAJHPS or do a search for that file.

 

I use counter zero  A+ to PFI8 Pin 37 and B+ PFI10 Pin 45  and you are using the Z+ PF19 of the terminal blocks. Here is ia sample VI .

0 Kudos
Message 5 of 5
(3,886 Views)