NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
andrew_johnson
Posts: 13
0 Kudos

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.

Member
Wee-Bey
Posts: 173
0 Kudos

Re: Encoder counts with 9514 and Softmotion

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
Member
andrew_johnson
Posts: 13
0 Kudos

Re: Encoder counts with 9514 and Softmotion

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.

Member
swenp
Posts: 36
0 Kudos

Re: Encoder counts with 9514 and Softmotion

Hi Andrew,

 

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

 

RawEncoder.png

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page