Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Read absolute encoder in cRIO 9076

Solved!
Go to solution

Hi

 

I am trying to use cRIO 9076 and NI 9401 to read an absolute encoder (http://www.gpi-encoders.com/PDF/A58.pdf).  I am hoping that this is feasible.  Can someone please advise if there is any example or tutorial that explains how I can process the digitial input data to get a numeric position output?    Thanks.

0 Kudos
Message 1 of 6
(7,133 Views)
Solution
Accepted by topic author ExcelX

Hello:

 

Are you using the A58-12 encoder? (That's the only one that looks like it will work with the 9401). If so, it returns data using the SSI serial protocol.

 

You'll need to configure a clock output and SSI data input line on the 9401. For reading the data, there is an FPGA SSI example on the community linked from this KnowledgeBase Article.

 

Hope that helps out!

Caleb Harris

National Instruments | Mechanical Engineer | http://www.ni.com/support
Message 2 of 6
(7,128 Views)

Thank you.  Can you please advise why you think only A58-12 will work with NI 9401 while others will not?  Thanks again.

0 Kudos
Message 3 of 6
(7,112 Views)

The 9401 is limited to a total of 8 digital inputs. It appears that the other devices return each bit as a digital output, and they all appear to require more than 8 digital inputs. The A58-12 (because it uses SSI) is the only device in the manual that requires fewer than 8 digital inputs/outputs.

Caleb Harris

National Instruments | Mechanical Engineer | http://www.ni.com/support
Message 4 of 6
(7,101 Views)

Accoridng pages pages 4 & 5 of the user manual, all four sensors (12,14,15,16) support the SSI output interface.  Can you please take a look and advise?  Thanks

0 Kudos
Message 5 of 6
(7,093 Views)

Ah, my fault; I missed that. Which model are you using, then? I think the external wiring connections will be the same, but the timing requirements may change slightly. The instructions above should still work.

Caleb Harris

National Instruments | Mechanical Engineer | http://www.ni.com/support
0 Kudos
Message 6 of 6
(7,077 Views)