I have a 12.3.1 system where I am trying to restore parameter values after a download to their pre-download value. I have configured the module properties to "restore after download" and "restore critical and user defined values". I then created two parameters. One parameter is outside the composite (TEST1) and one parameter is inside the composite (TEST2). Both are boolean input parameters and have the box checked "restore parameter value after restart".
Testing:
1.) The parameter outside the composite (at the module level --- TEST1) behaved as expected: I changed the value online from its configured value (true) to a value of False. I redownloaded and the parameter retained its value of False.
2.) The parameter inside the composite (in my opinion, still at the module level since it is an INPUT parameter, and not an internal parameter --- TEST2) did not behave as expected: I changed the value online from its configured value (true) to a value of False. I redownloaded and the parameter went back to its original configured value (True).
BOL > Controller considerations > Preserving configuration and controller data during power loss article states the following:"User-defined, module-level parameters and unit parameter definitions of the following types support the restore parameter values feature:"
I searched SMS and did not find an answer to the following question:
Can parameters that are inside composites be designated to "restore parameter value after restart" and this actually work? Or do you read the BOL statement as restricting this feature to only user-defined parameters that are created at the module level, and does not apply to composite level parameters?
In reply to Jason.Brumfield:
In reply to Matt Stoner:
Thanks for the thorough answer. The approach to defining MODULE level parameters makes sense. One last question: when checking the "restore parameter value" checkbox does this apply for both cold restart AND module download behavior? so what I mean is: if i check a parameter to be restored, this parameter value will be saved upon download and populated after the download -AND- it will be saved in the controller flash memory to be populated after a cold restart download? I guess I'm asking about how the module level parameter checkbox interacts with the checkbox and the dropdown shown on the module properties
In reply to Alex Lutz: