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

Retain Persistent Variable For UNIPI Board IDEA of Solution

lefrank01
2017-08-24
2017-08-24
  • lefrank01 - 2017-08-24

    Hi,

    On UNIPI board, we have EEPROM that Can be used to store value.

    Is there anyone who know how write and read the EEPROM using CODESYS. This is the best way to fix the RETAIN PERSISTENT issue at the moment.

     
  • teichhei - 2017-08-24

    I solved it by saving the retain data to file on change, but obviously that's an issue if it changes too often, like every few seconds or worse.
    Then load it on startup.

    Sent from my SM-G935F using Tapatalk

     

Log in to post a comment.