Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Encoder counts with 9514 and Softmotion

Is it possible to get true encoder counts with the property nodes and invoke methods available in SoftMotion? I am working with a 9514 module on a 9074 chassis (and AKD controller), and the only encoder values I can get are same as position values (which are in revolutions).. Yet, we have specified 8000 counts/rev on the axis configuration in our project. I would like get much higher resolution on position than the "revs" provide, and even explore getting ultra-high resolution encoder counts through simulated resolutions.

 

Thanks.

0 Kudos
Message 1 of 4
(5,933 Views)

Which position values are you currently getting? What property node rae you using? Have you tried looking at the Position Capture example?  It is located in Help >> Find Examples >> Hardware Input and Output >> Motion Control >> NI SoftMotion >> Properties and Methods >> Advanced?

Ravi A.
National Instruments | Applications Engineer
0 Kudos
Message 2 of 4
(5,917 Views)

Thank you for the response. I have tried using the Read Encoder property of an Axis, and its data are identical to the Read Data property. They both return values in units of revolutions, but I am looking for a reading in counts. I believe we have the encoder signal properly wired to the 9514, as the servo system is able to move exactly where we tell it to go. That is, the encoder counts are getting into the controller, so I'm not understanding why they are not available as a simple property.

 

I will test with the example you suggest, and see if a continuously scanned capture property can give me instantaneous counts.

0 Kudos
Message 3 of 4
(5,914 Views)

Hi Andrew,

 

you could calculate the raw increments from the read out position in user defined units and the currently configured resolution:

 

RawEncoder.png

0 Kudos
Message 4 of 4
(5,870 Views)