Join us today!

Notifications
Clear all

Twincat2 - Windows11 - Timeout problem

3 Posts
1 Users
0 Reactions
2,006 Views
Posts: 3
Topic starter
(@klaus11)
Active Member
Joined: 9 months ago
[#1392]

Hi!

I just updated from Windows10 to Windows11 with twincat Engineering x64 2.11.2314. 
I have the following problem:
I open Twincat System Manager. There I can make an broadcast search to find my CX9001 CPU. I connect and add it to route. The user and password is checked correctly. After that step, I click on the route and get a yellow TIMEOUT. 
I think the connection to my CX9001 is working, but not the route back to my client.
I tried deleting all routes with cerhost in the registry from CX9001.

Tried another VMWARE with win10 works again!

Has anyone information about that problem in Windows11 ? Thinking of defender could be the problem.

Thanks,
Klaus


Reply
2 Replies
Posts: 3
Topic starter
(@klaus11)
Active Member
Joined: 9 months ago

For Windows 11, the route to the client PC must be manually created on the CX9001, otherwise a RST (Reset) will occur, visible in Wireshark (the CX9001 blocks the connection).

Steps:

  • Assign a static IP to the local PC using MAC address binding in the router
    (in my case: 192.168.1.30)

  • Connect to the CX9001 via CERHOST.exe

  • Open Start → Run → regedit

  • Navigate to:

     
    HKEY_LOCAL_MACHINE\Software\Beckhoff\TwinCAT\Remote

Add the following entries:

  • New Key: use the PC name (in my case: BUEROPC)

  • Under that key, add the following New DWORD values:

    • Flags = 0 (Decimal)

    • Timeout = 0 (Decimal)

    • TransportType = 1 (Decimal)

  • Add the following New String values:

    • AmsNetId = 192.168.1.30.1.1

    • Address = 192.168.1.30

See screenshot (regedit_win11) – note that the AmsNetId may appear differently than entered due to formatting.


Final Steps:

  • Perform a Start / Suspend on the CX9001 to restart the controller.

  • In TwinCAT (on the Engineering PC), run a Broadcast Search to find the CX9001

  • Important: when adding the route in TwinCAT, use the IP address (not the name)


Reply
Posts: 3
Topic starter
(@klaus11)
Active Member
Joined: 9 months ago

here screenshot from cerhost regedit:

regedit win11

Reply
Share: