Jump to content

Problem Configurating M91 Incremental Shaft Encoder


Recommended Posts

Good Day Everybody

Recently i acquired the plc-m91-2-T1 and i need it for an application where i use a shaft encoder with 2000 pulses per rev (PPR)

At first i tried to add both of the channels (input 0 for channel 1 and input 2 for channel 2) as shown in my program (attached) and it almost made it well for one direction (it counted 1900 of 2000 pulses) so i thought it was the speed of the counter so i reduced the pulses to 250 with a FlipFlop JK Circuit.

Any ideas or suggestions of how can i use the shaft encoder easier? Also i need it for both directions.

Also i wanna know if there is any support in Spanish.

Link to comment
Share on other sites

  • MVP 2023

I've attached an M91 program with the on-board HSC configured to x4 mode. Connect your channels to I0 and I1 - the counts will magically appear in MI 0 and will count in both directions. You don't have to do anything, and one revolution of your encoder will result in 8000 counts.

Read the Help on configuring the High Speed Counter inputs.

The problem will be that your 2000 PPM encoder will fill up the MI pretty quickly - it can only hold 32,767 counts. You're really better off with a V130-33-T2 - it supports long integers.

Joe T.

M91 with HSC.U90

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.