Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Real-time Softmotion Read function blocks

I know this is probably a very simple question, but I have not been able to find an answer.

 

I have wired up a drive and encoder to the NI 9512. I am now trying to communicate with the stepper motor using the SoftMotion toolkit. I am able to send commands to the motor, but am not getting any feedback from the encoder. I double-checked the wiring today and it all checks out; A, B, Index, A not, B not, Index not, +5V out, and COM.

 

I am using the Express VI Encoder Read to obtain feedback from the system but the system keeps returning a 0 for counts. If I use Express VI Data Read to obtain feedback I am able to get the count information back. So where is the feedback coming from when using the Data Read instead of Encoder Read? I am using an open-loop system.

 

Does anyone have any suggestions as to why I am not getting feedback from the encoder? Maybe a setup issue?

0 Kudos
Message 1 of 2
(2,182 Views)

Hello! Would you be able to go into your setup, such as drives and motors you are using? 

Additionally, is this an absolute or quadrature encoder? 

0 Kudos
Message 2 of 2
(2,150 Views)