Encoder Count Rate
- squan09
- Offline
- Senior Member
-
- Posts: 47
- Thank you received: 0
I was also wondering how fast can the Mesa cards count encoder pulses. Will the cards ever be the limiting factor or will it generally be the computer that limits my ability to count encoder pulses? Thanks for any help.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Offline
- Platinum Member
-
- Posts: 4987
- Thank you received: 1455
Please Log in or Create an account to join the conversation.
- squan09
- Offline
- Senior Member
-
- Posts: 47
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- jmelson
- Offline
- Moderator
-
- Posts: 817
- Thank you received: 157
This is for SOFTWARE encoder counters, not hardware. You must be looking at docs for the software encoder counter HAL component.Thanks for the info. The encoder documentation says that, "The limit is in the range of 10KHz to 50KHz, depending on the computer speed and other factors." Wouldn't that make the computer the limiting factor?
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Offline
- Platinum Member
-
- Posts: 4987
- Thank you received: 1455
Please Log in or Create an account to join the conversation.
- squan09
- Offline
- Senior Member
-
- Posts: 47
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Offline
- Platinum Member
-
- Posts: 4987
- Thank you received: 1455
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23288
- Thank you received: 4936
Actually, the 5i25 counts the encoder pulses and generates the steps. Not that it matters, except it explains the HAL pin names.That makes sense. I did not realize that the 7I77 is counting and reporting position
Close. Rather than using a software encoder and consuming the data from the encoder.N.position pin you instead use the hm2_5i25.0.encoder.N.position pin.I assume that means encoder.N.phase are not used and encoder.N.position or counts reads the position count from the card. Does that sound about right?
There are a few other pins all useful, but you will note that there are no pins for the A, B and Z phases. That all happens in hardware.
linuxcnc.org/docs/devel/html/man/man9/hostmot2.9.html#encoder
Please Log in or Create an account to join the conversation.
- squan09
- Offline
- Senior Member
-
- Posts: 47
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Offline
- Platinum Member
-
- Posts: 4987
- Thank you received: 1455
If you wan steppers with encoder feedback you might be better off skipping the 7i76 and using a 7i85S and a smart serial card for extra IO.
Please Log in or Create an account to join the conversation.