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.
"The requirement for full functionality is an appropriate memory range on the controller (NVRam, UPS)."
Not sure if that's possible
You need these settings in your config file
the address and size should match your actual NVRAM.
Log in to post a comment.