Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
I'm trying to connect an external encoder to control the position loop of a servo. Can someone give me some help on how to connect the correct function blocks? My mechanical has a large backlash where the servo motor is connected. I want to do positioning on an external encoder connected to output movement of the mechanical system. Then backlash error can be controlled using an output gear connected to the encoder on backlash free gears with small pitch teeth.
So far I got the encoder into a SMC_Encoder block which gives me a AXIS_REF put I don't know how to connect the encoder with other motion blocks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Originally created by: JZ77
I'm trying to connect an external encoder to control the position loop of a servo. Can someone give me some help on how to connect the correct function blocks? My mechanical has a large backlash where the servo motor is connected. I want to do positioning on an external encoder connected to output movement of the mechanical system. Then backlash error can be controlled using an output gear connected to the encoder on backlash free gears with small pitch teeth.
So far I got the encoder into a SMC_Encoder block which gives me a AXIS_REF put I don't know how to connect the encoder with other motion blocks.