SEM1041 error after upgrade to PLCnext Engineer 2025 – TCP_SOCKET type missing

Hi all,
After upgrading my project from PLCnext Engineer 2024 to version 2025 , I’m getting consistent SEM1041 errors referring to TCP_SOCKET, TCP_SEND, and TCP_RECEIVE.
What’s strange:

  • I don’t use these types anywhere in my project.
  • I’ve removed all libraries that might reference them.
  • The errors aren’t clickable and Ctrl+Shift+F doesn’t find any trace of these types.
  • So far, I found out that:
    These TCP types were part of the extended standard library in older versions. (Components , programming, extended). This folder is now gone.
  • In 2025, they appear to be removed or hidden, but references might still exist in the internal symbol table or old FBs?

Has anyone else run into this issue after upgrading? Is this a known/expected migration behavior?
Any insights would be appreciated.
Thanks in advance!

Hi Arne,
Imo it’s still an issue with an old library (even though you’ve removed all libraries that might reference them). You can try to remove the remaining references one by one and check if the errors disappear.
The errors aren’t clickable because the code that calls the TCP_SOCKET FBs etc. is located within a read-protected library.

BR
DivisionByZero

I had to upgrade to the newest Modbus libraries from the store and then add the library ‚PLCNext_controller‘ to my project to eliminate any errors.