How can I read or write, via my main code (ST), to the registers present in the DO of my ethercat CoE servo drive? These objects appear in the list of the INITIALIZATION page, and from here I can only access them at startup. How do I access it in run time from my main PLC_PROGRAM?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello to all!
How can I read or write, via my main code (ST), to the registers present in the DO of my ethercat CoE servo drive? These objects appear in the list of the INITIALIZATION page, and from here I can only access them at startup. How do I access it in run time from my main PLC_PROGRAM?
You could use the FBs ETC_CO_SdoWrite and ETC_CO_SdoRead
Last edit: bruno-roth 2024-06-19
ok. tnx!
best regards.