This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Folks,
I want a default value (of 3, for instance) for my object subitem, but 0 seems to always be the default value. I tried changing the <DefaultData> section of my ESI file, but that does not work. I also hardcoded the value of "3" on my code as I initialize my object structure, but that does not work either.
I am using TwinCAT 2.11 and TwinCAT 3.1 for testing.
Where exactly is the procedure to set the default / initial value for my object subitem?