Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: eman5oh on November 06, 2017, 01:37:42 PM

Title: 2.1.4 Dynamic Data Fix
Post by: eman5oh on November 06, 2017, 01:37:42 PM
I have read the critical issues fix posted for dynamic data type bug and was wondering if using user structures for programs would be affected by this bug? If so what happens when the bug is encountered?
Title: Re: 2.1.4 Dynamic Data Fix
Post by: franji1 on November 06, 2017, 02:04:24 PM
If you NEVER changed the User Data Type size/layout once you created their data-blocks or heap-items, your existing projects are fine (but you need to get 2.1.4 for any future tweaks).
Title: Re: 2.1.4 Dynamic Data Fix
Post by: eman5oh on November 06, 2017, 03:19:24 PM
If I have a PLC that is having an issue will simply writing the project back to the PLC with 2.1.4 fix the issue? If that is true is there a way to force a write to the PLC even if the DoMore does not see any changes?
Title: Re: 2.1.4 Dynamic Data Fix
Post by: franji1 on November 06, 2017, 04:53:27 PM
If I have a PLC that is having an issue will simply writing the project back to the PLC with 2.1.4 fix the issue? If that is true is there a way to force a write to the PLC even if the DoMore does not see any changes?
Yes, just go into the System Configuration dialog and hit OK - that should "tweak" the SysConfig and at least enable the Write to PLC button.  If THAT doesn't work, add a contact, then delete the contact, and hit Accept.  THAT should enable the Write to PLC button.

THEN in the Download Project to PLC dialog, MAKE SURE YOU CHECK the Force download of Program, System Configuration, and Documentation Database checkbox.

You may still have an issue with the content of any existing data-blocks or heap-items.  Use the Data View to re-initialize any of these elements.
Title: Re: 2.1.4 Dynamic Data Fix
Post by: BobO on November 06, 2017, 05:14:30 PM
Yes, just go into the System Configuration dialog and hit OK - that should "tweak" the SysConfig and at least enable the Write to PLC button.  If THAT doesn't work, add a contact, then delete the contact, and hit Accept.  THAT should enable the Write to PLC button.

SysConfig does a memcmp. If it doesn't enable the write nothing changed.