Reading Encoder Speed

Reading Encoder Speed
none 0.0 0

Good afternoon,

In my current project, I have a quadrature encoder connected to an iR-PU01-P module. The intent, in this case, is to simply read the speed of the encoder as its attached motor spins; it’s not a positioning application. However, I can’t seem to find a way to do this, in either the iR-PU01-P or Weintek CODESYS Library manuals. Is there a clean way to do this with the iR-PU01-P, or am I trying to use the module incorrectly? Thanks.

Hi @EngIndSys,

With applications that involve pulse counting we usually recommend using our iR-ETN40R. It is possible to read encoder values using the iR-PU01-P, but it can be quite difficult to setup relative to the iR-ETN40R. To review a sample application using the iR-PU01-P, please see the iR Application PU Simple Counter demo project within the “Demo projects” directory.

Thank you, Brendon. I’ve looked at the demo project that you referenced, and it looks like it’s fairly straightforward to read input frequency. However, the demo uses a 24VDC digital input and I have a 5VDC differential encoder connected to the PU01-P encoder inputs.
You’ve mentioned that it’s possible but difficult to read encoder signals with the iR-PU01-P. I don’t mind difficult if you can point me in the right direction with some documentation or another example. On the other hand, if I can only read encoder position and not speed, would my time be better spent coming up with a different sensor and using the provided example?

Hi @EngIndSys,

To clarify, can you please advise what type of communication coupler you are using so that I can determine if we have any applicable demos made with that coupler?

Yes, it’s an iR-ETN.

Hi @EngIndSys,

I have sent you a PM containing some questions about this application. When you have time, please provide any relevant information for our reference by responding to the PM. Thank you!