Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read encoder phases in FPGA whith a 9516 and Crio

Hello,
I have the following equipment:
- a CRIO 9033
- a NI9516

I'm using the FPGA interface and the "FPGA Servointerface (9516).vi" from the exemple.
How to read the 4 phases of my encoders (A, A /, B, B /) directly in the FPGA ?
0 Kudos
Message 1 of 5
(2,868 Views)

Hello,

Can you explain to me what is (A, A /, B, B /) ?

You need to know the velocity, the position of the encoder ?

 

Regards,

Kardio

0 Kudos
Message 2 of 5
(2,819 Views)

Hello,

 

This is the 4 outputs of my incremental encoder.
I don't need to know the velocity or the position of the encoder, i need to count the edges.


Note : I am already able to do this task with a NI 9401. But now, i want to do this with my encoder wired only on my NI 9516.

 

Thank you for your time.

0 Kudos
Message 3 of 5
(2,815 Views)

Hello,

 

I'm searching if there is a function to read the edges but I can't find it.

 

I don't have your hardware to try myself. Maybe you could detect the edges by doing yourself the functionality. A function which detects status changes of your Digitals Inputs (See "Digital Input 0 Changed ?" in the picture link below) and doing a counter.

 

You can write in LabVIEW exemples "Edge Counter"  and a old post (http://forums.ni.com/t5/Motion-Control-and-Motor-Drives/Read-simultaneously-NI-9516-both-Encoders/m-...) which can maybe help you.

0 Kudos
Message 4 of 5
(2,801 Views)

Thank you,

 

I do not think that is possible. I will have to keep my current hardware configuration.

0 Kudos
Message 5 of 5
(2,796 Views)