PDA

View Full Version : Retaining Memory through download on Basic series



David Grambsch
10-29-2012, 11:50 AM
Is there a method to save retain data through program downloads on the basic controllers like you can with the %MB and MEMORY_RETAIN_PARAM method of the classic controller series?

Erik Gerrits
10-29-2012, 05:05 PM
Nothing as of yet. I am not sure when or if this is in the planning.

David Grambsch
03-05-2013, 01:01 PM
I noticed that using the noinit pragma seems to work:


VAR_GLOBAL RETAIN

var : UINT {flag noinit};
END_VAR


Although then variable will never get initialized.