Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Bolt on October 09, 2018, 04:43:49 PM

Title: BRX High Speed Counter resets with power interuption
Post by: Bolt on October 09, 2018, 04:43:49 PM
I have BX-DM1E-36ER-3-D running a high speed counter.  How do I get it to survive a power loss scenario without resetting the count?  I suppose I could do a bottom of scan instruction to copy the value to a register, and a first scan instruction to move the value back into the counter, but that seams clunky?
Title: Re: BRX High Speed Counter resets with power interuption
Post by: pbw on October 09, 2018, 04:53:58 PM
Enable retentive accumulator.
Title: Re: BRX High Speed Counter resets with power interuption
Post by: ADC Product Engineer on October 10, 2018, 08:38:48 AM
As PBW said, at the bottom of the page where you set up the high speed counter, there is a checkbox for retentive.
Title: Re: BRX High Speed Counter resets with power interuption
Post by: Bolt on October 10, 2018, 10:50:46 AM
Yes, I found that.  I knew there was a simpler way.  Thanks!