Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: willpoll on November 24, 2021, 10:17:42 AM

Title: ROM or persistent memory space
Post by: willpoll on November 24, 2021, 10:17:42 AM
Hi all:

Is there any user ROM or at least boot persistent memory on the H2-DM1E?  Do N,V, or R register values typically persist through restarts and power cycles?

I'd like to be able to write setpoints to a protected space and then ensure they get reloaded on 1st scan rather than risk having some unknown number upon restart.

Thanks!
Title: Re: ROM or persistent memory space
Post by: franji1 on November 24, 2021, 10:21:10 AM
In all Do-more PLCs, the Image Register RAM is battery backed, so any elements/ranges marked as "retentive" will retain their values after a power loss.  Non-retentive values will be 0 after power returns.

It's a 10 year battery, so it will need to be replaced at some point (when you have power applied - there's no short term super-cap  ;D).
Title: Re: ROM or persistent memory space
Post by: franji1 on November 24, 2021, 10:26:49 AM
Here's a screen shot of the default Memory Configuration.  Most blocks and heap items are fully retentive, but you can make a sub-range of a block be retentive or not.  For example, I/O is NOT retentive (X, Y, WX, WY, RX, RY) since even after a power cycle the PLC reads the latest inputs and in RUN mode the logic determines the desired output state after the 1st scan.
Title: Re: ROM or persistent memory space
Post by: willpoll on November 24, 2021, 10:29:58 AM
That works.  Thanks Franji1!