LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help Connecting a Encoder to a USB-6221

I'm new to NI and I designing a system that has a YET servo controller and a USB-6221. I need to connect the encoder output signal from the YET to the USB-6221 and not sure how.

 

The YET servo controller has three encoder output channels each having two signals. Phase A (A and A-not), Phase B (B and B-not), and Phase C(C and C-not).

 

I believe I need to wire Phase A from the YET to PF 8 (A) on the USB-6221, Phase B from the YET to PF 10 (B) on the USB-6221, and Phase C from the YET to PF 9 (Z) on the USB-6221. Is this correct?

 

Can anyone help me please?

 

 

Thanks,
David
0 Kudos
Message 1 of 4
(3,370 Views)

Hi David,

Welcome to the NI forms. Your connections are correct for the USB-6221 (I assumed you were using the pinout, and not BNC). There are a few ways we can double check this – one way is to create a task in Measurement and Automation Explorer (MAX), as it will tell you which pins to connect your wires to (see ‘MAX Configuration.jpg). We can also bring up the pinout for the device by going to MAX and then right-clicking on our device under the ‘Devices and Interfaces’ folder, and choosing ‘Device Pinout’. This will bring up the NI-DAQmx Device Terminals Help (See ‘NI-DAQmx Device Terminals Help_USB_6221.JPG’).

Hope this helps!

David L.
Systems Engineering
National Instruments
0 Kudos
Message 2 of 4
(3,348 Views)
David,
 
Thank you so much for your time and help.
 
David McLean
0 Kudos
Message 3 of 4
(3,337 Views)
...and if you want also to use the inverted signals (eg noisy environment or long wires) you will need an external differential line receiver like the 26LS32...
0 Kudos
Message 4 of 4
(3,331 Views)