Retain data shall be saved automatically during a warm start
Hello everyone,
I have found out that the retain data is saved automatically during a cold start. After a power failure, the AXC 2152 performs a warm start.
Therefore, my retain data should also be saved automatically during a warm start (as it can also be done manually in the WBM or in Plcnext Engineer).
Do you have any suggestions on how I can solve this problem?
Comments
Hello Andrey,
In my case, the data is saved after a warm start.
-PLCnext Engineer 2024.6
-AXC F 2152 2024.6.0
Maybe this will help you: Known issues
Thanks for the hint, but I would like to save the retain data as a file in the retaining folder (as it is also possible in Plcnext Engineer).
I have already found a solution. I created a new library with the Plcnext toolchain and use the API:
https://api.plcnext.help/api_docs_2022-6/classArp_1_1Plc_1_1Retain_1_1Services_1_1IRetainManagerService.html
Then I created a warm start event task that will execute the library.