How to Resolve Error 17413 (0x4405) While Configuring an Axis with DriveManager1 in TwinCAT

When configuring an axis using DriveManager1 in TwinCAT3.1.4026, error 17413 (0x4405) occurs.

 ams command >> Init10\IO: Create TComObj PREOP: Encoder

Enc created >> AdsError: 17413 (0x4405, Unknown error 17413)



Here is the translation of the provided content into English, ensuring accuracy, fluency, and conformity with the language used by electrical engineers in the United States:

The reason is as follows:

According to the error description, it was found that the "Encoder Mask (maximum encoder value)" parameter in the Enc's settings was modified to 0x00000000, which caused the error.


After testing, it was discovered that when using DriveManager1 (package version 2.14.34) and connecting axis variables via the Change Link button in the ProcessData/OperationMode tab, the Encoder Mask (maximum encoder value) is mistakenly modified to 0x00000000, resulting in an error.


Before use Change Link:



After use Change Link


Therefore, it is recommended to bind axis variables through the Settings tab of the Axis or to re-write the value of the Encoder Mask (maximum encoder value).


Like my work? Consider a donation! 👇