Schneider setting position of servo with Codesys

206 views Asked by At

I am trying to set to position of a Schneider LXM52 servo with a PacDrive using Codesys. I have tried using the SetPosition function block but that is not setting the position in the drive through a power cycle of the drive. Any thoughts?

1

There are 1 answers

0
Spencer Hepworth On BEST ANSWER

Using FC_SetposSingle or its equvilent will not persist through a power cycle. You need to use FB_WriteDriveEncoder. the Function Block is found in the standard PDL library.