Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Saving data in powerfail

  • jauer

    jauer - 2021-09-24

    Hello everyone,

    IΒ΄m developing a hardware-project with CODESYS implementation and I need to ensure that the data on my PLC-hardware is saved in the case of a powerfail. I know that this works with a FRAM or a UPS and I have implemented both on my hardware. I want to use a real-time Linux OS and I have an ARM processor so I use the "CODESYS Control for Linux ARM" Runtime.

    My question is how IΒ΄m able to adjust that the persistent variables are saved on the FRAM? Do I only have to adjust it in Linux and the Runtime communicates with it or do I have to adjust something in the Runtime settings so that persistent variables are getting a own address?

    Thank you for your answers.

  • i-campbell

    i-campbell - 2021-09-24

    You need these settings in your config file


    the address and size should match your actual NVRAM.


Log in to post a comment.