Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: RBPLC on November 04, 2023, 09:08:15 AM

Title: Communications Error when Connecting to PLC
Post by: RBPLC on November 04, 2023, 09:08:15 AM
What is the most likely cause of the attached error message? I get about 20 of these warnings when connecting to a project about reading from memory locations. These locations are all memory blocks of UDTs.
Title: Re: Communications Error when Connecting to PLC
Post by: franji1 on November 06, 2023, 09:28:07 AM
You have enabled the option to read the image data whenever you connect.

You probably have memory images of UDTs where you changed the definition of the UDT after defining the Region?

Or you change the retentive range of the block, but did not update the region.

Probably some difference between the definition of the region on disk vs. the definition of the UDT or the Data Block itself.

You may just want to re-visit your regions to make sure they are up-to-date.  If you do that, those error messages should go away.  If not, there's still some issue.  To do that, try writing the region data to an empty PLC you can start from scratch.  Do NOT go to RUN mode.  Look at all the regions online in the Memory View.  Make sure they all look perfect.  Delete any regions you don't need.  Then update all the region data on disk via the Memory Image Manager (definitely make backups before starting all this).