News:

  • September 29, 2026, 03:16:14 AM

Login with username, password and session length

Author Topic: Communications Error when Connecting to PLC  (Read 6869 times)

RBPLC

  • Hero Member
  • *****
  • Posts: 586
Communications Error when Connecting to PLC
« 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.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3847
    • Host Engineering
Re: Communications Error when Connecting to PLC
« Reply #1 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).