Is it Possible to Read a Non-Quadrature Encoder with an NI Motion Controller?Hardware: Motion Control>>Controllers>>PCI-7344, Motion Control>>Controllers>>PXI-7344, Motion Control>>Controllers>>PXI-7334, Motion Control>>Controllers>>PCI-7342, Motion Control>>Controllers>>PXI-7350, Motion Control>>Controllers>>PCI-7332, Motion Control>>Controllers>>PCI-7346, Motion Control>>Controllers>>PCI-7352, Motion Control>>Controllers>>PCI-7354, Motion Control>>Controllers>>PCI-7356, Motion Control>>Controllers>>PCI-7358
Problem: Is it possible to use the encoder inputs on my NI motion controller to read pulses from a non-quadrature encoder? Solution: The encoder inputs on the NI motion controllers utilize an algorithm that requires two pulse trains that are out of phase, such as those shown below: ![]() If a pulse is wired to only Channel A on the motion controller, the count will increment on each rising edge and decrement on each falling edge, so it will never increase above a value of 1.
Related Links: KnowledgeBase 2URDMLJT: What Are Possible Phase Differences Between Phase A & B on Encoder with NI 7344/7334? KnowledgeBase 2OQEKRNQ: What Happens If I Miss-wire My Encoders to the Motion Controller? Developer Zone: Quadrature Encoder Fundamentals Attachments:
Report Date: 09/08/2008 Last Updated: 09/11/2008 Document ID: 4P7ERKOB |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

