CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Thu Feb 27, 2020 6:18 pm

All times are UTC+01:00

Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Oct 25, 2018 4:22 am 

Joined: Fri May 11, 2018 1:18 am
Posts: 13

i am looking for information about persistent variables. I made a program which declare some persistent variables. Everything work fine and when the device shutdown and restart, the variable are indeed persistent in the right way. When i change the program (not the PersistentVars) and upload the new program to the device, the persistent variables are not restored as expected : not always, depending on the modification i made to the programe.
I had try a lot a things but do not understand why when i made a change to the program, sometime the persistent variables restart from 0 (persistent lost) and sometime the persistent variables keep its latest value.

Does someone can help me understand if this behaviour is correct or not ?

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+01:00

Who is online

Users browsing this forum: Andreas Kehrer and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited