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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...