News:

  • October 14, 2025, 12:42:14 PM

Login with username, password and session length

Author Topic: Retentive Memory Issues  (Read 6814 times)

PLCwannabe

  • Hero Member
  • *****
  • Posts: 197
Retentive Memory Issues
« on: October 02, 2019, 06:26:42 PM »
 Hello,

  I'm doing a lot of reading and writing to plc, working on an ongoing do-more project. Occasionally, I lose all of my retentive memory (counter acc. values, timer acc. values) etc, even if I haven't been working on those rungs that the counters or timers are on. I then have to reenter everything manually. What can cause this to happen? These values are never read or written to in the C-more, so i know they are not getting cleared by the HMI.  Any suggestions?

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: Retentive Memory Issues
« Reply #1 on: October 03, 2019, 11:00:30 AM »
Does it come with a plastic strip on the battery to prevent discharging?

Mike Nash

  • Hero Member
  • *****
  • Posts: 645
Re: Retentive Memory Issues
« Reply #2 on: October 03, 2019, 12:00:52 PM »
The batteries I have seen have a tab, but it is just to help remove the battery on the Do-mores, the battery is enabled from the factory.

Look at Memory Image Manager, specifically the "Enable Automatic Download" option near the bottom left. It may be overwriting your values.

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: Retentive Memory Issues
« Reply #3 on: October 03, 2019, 02:17:57 PM »
I guess if it was a battery issue anyway, you would get messages in the  system log. However, would the error message be lost as well?
« Last Edit: October 03, 2019, 02:21:00 PM by ATU »

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6126
  • Yes Pinky, Do-more will control the world!
Re: Retentive Memory Issues
« Reply #4 on: October 03, 2019, 02:47:05 PM »
If the issue is due to a failed battery, there would be a message in the system log indicating that the memory was initialized on startup. I'm wondering about the auto download as well.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

PLCwannabe

  • Hero Member
  • *****
  • Posts: 197
Re: Retentive Memory Issues
« Reply #5 on: October 03, 2019, 07:01:00 PM »
I don't think the battery is an issue, as I am using a backup power supply. I am programming from multiple PC's though, so maybe one of the computers is the problem. Does  "enable automatic download" checkbox apply to the do-more software on a certain computer, or does it apply to a certain project?

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: Retentive Memory Issues
« Reply #6 on: October 03, 2019, 07:38:16 PM »
Any Messages in the System Log?

Mike Nash

  • Hero Member
  • *****
  • Posts: 645
Re: Retentive Memory Issues
« Reply #7 on: October 03, 2019, 08:04:59 PM »
Does  "enable automatic download" checkbox apply to the do-more software on a certain computer, or does it apply to a certain project?

That's a very interesting question indeed. I do not know the answer though.

Mike Nash

  • Hero Member
  • *****
  • Posts: 645
Re: Retentive Memory Issues
« Reply #8 on: October 03, 2019, 08:25:25 PM »
So, I just played around with DmSim and opening a project from file vs just uploading from the PLC, and I do see a potential for maybe getting things into an awkward place. The upload-only doesn't appear to know about the memory image settings in the saved file.

PLCwannabe

  • Hero Member
  • *****
  • Posts: 197
Re: Retentive Memory Issues
« Reply #9 on: October 04, 2019, 12:45:12 AM »
No messages in System log. I do sometimes read project from file instead of reading directly from plc, when prompted to do so by the start-up page.

I really have never used the memory image manager. I've always assumed that retentive memory locations will keep their values, even if program changes are made. Does the software perhaps at some point decide that too many changes have been made in the program, lets clear all memory locations to zero?

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: Retentive Memory Issues
« Reply #10 on: October 04, 2019, 06:56:57 AM »
The Memory Image manager is not enabled by default.  Also, the Download (Write) to PLC dialog would show you whether you were updating Memory Image (along with the System Configuration, Program, and/or Documentation).

If you have any regions defined in your Memory Image, then you would see an option in the Download to PLC whether to write some/all of the regions to the PLC.  It is usually UNCHECKED by default, since even if you have regions defined, you may not want to always write them (e.g. Run Mode Edit).  See the first attachment.

The 2nd attachment shows what it looks like when you do enable the Write of the Memory values - you have the option to write specific regions.

Hence, it should be obvious whether you are overwriting memory with the MIM at download time.

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: Retentive Memory Issues
« Reply #11 on: October 04, 2019, 09:51:49 AM »
Is your event log completely empty?

PLCwannabe

  • Hero Member
  • *****
  • Posts: 197
Re: Retentive Memory Issues
« Reply #12 on: October 04, 2019, 09:48:50 PM »
No, it is right full.

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: Retentive Memory Issues
« Reply #13 on: October 07, 2019, 08:08:09 AM »
Have you looked at it directly after one of these memory wipe events?

PLCwannabe

  • Hero Member
  • *****
  • Posts: 197
Re: Retentive Memory Issues
« Reply #14 on: October 08, 2019, 07:51:01 PM »
No I have not.Next time it happens I'll try to check all those logs to narrow down what is actually going on. If I ever figure it out what is happening I'l post it here.