Even is I check "Enable diagnosis for devices", I have not access to Modbus_TCP_Slave.xEnable in my code.
This cause me to always get 1 as return value when using UpdateCommunicationSettings trying to update the ip address during execution.
I also tried the method used here without success: https://faq.codesys.com/display/CDSFAQ/Modbus+TCP+Slave%3A+Dynamic+Setting+of+the+IP+Address
V.3.5.16.30
Log in to post a comment.
Even is I check "Enable diagnosis for devices", I have not access to Modbus_TCP_Slave.xEnable in my code.
This cause me to always get 1 as return value when using UpdateCommunicationSettings trying to update the ip address during execution.
I also tried the method used here without success: https://faq.codesys.com/display/CDSFAQ/Modbus+TCP+Slave%3A+Dynamic+Setting+of+the+IP+Address
V.3.5.16.30
Last edit: thierryp 2021-02-08