Jump to content

M91 with shaft encoder

Recommended Posts

Hi everyone. Its the first time i am using a shaft encoder and having problems with getting the value accurate each time. My scenario is I've got a motor pushing a part, the part then hits a sensor witch zeros the encoder input and then the motor stops when the value is greater or equal to the set value. The only problem is it doesn't stop on the same value every time. The motor is on a drive.

Link to comment
Share on other sites

  • MVP 2023

You're running into a physical system repeat-ability problem. The time between when the sensor responds and PLC scans the input and the motor actually stopping will have a variance to it.

What kind of accuracy are you trying to hold? How fast does the motor move the part? What is the resolution of the encoder?

You'll probably need to write some code to slow down the motor when you get close to the setpoint and "creep" the part to it's final position.

Joe T.

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...