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

Retains are not saved

Wizard
2007-03-14
2007-03-16
  • Wizard - 2007-03-14

    Hello all!

    I need to solve a prolem with retains. I have a program with retains using. During compilation I see that all retains go to retain memory. In my controller I can find a file with name retain.bin. But the value of my retain variable is 0. And file retain.bin in my controller is empty but has a size as size of the allocated memory.

    Does anybody can help me?

     
  • t.lundahl - 2007-03-16

    Hello Wizard,

    Couldn't you make your magic to work on that?

    We had a problem like yours, with a Kontron IPC.

    We had to do the following into RTS3S.CFG file:

    MapPhysical0=ShmRetain under [PLC].

    And then do a registrysave.

    Best regards

    TorbjΓΆrn

     
  • Wizard - 2007-03-16

    Thank you but I have already fixed this problem!

     

Log in to post a comment.