Author Topic: TwincatViaTCPIP vs TwincatViaAMSrouter  (Read 2004 times)

bobobo

  • Newbie
  • *
  • Posts: 23
    • View Profile
TwincatViaTCPIP vs TwincatViaAMSrouter
« on: November 26, 2024, 05:11:53 PM »
I

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5341
    • View Profile
    • AdvancedHMI
Re: TwincatViaTCPIP vs TwincatViaAMSrouter
« Reply #1 on: November 26, 2024, 07:23:06 PM »
TwinCatViaTcpIp - directly send AMS through the TCP/IP stack. Used when TwinCAT is not installed on the PC that will run AdvancedHMI. Cannot be used if TwinCAT is installed because if a bug in TwinCAT that does not return requests back to the same port it originated from. This driver will automatically create AMS routes.

TwinCatViaAMSRouter - Used when TwinCAT is installed on the PC that runs AdvancedHMI. This requires the manual setting up of AMS routes.

bobobo

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: TwincatViaTCPIP vs TwincatViaAMSrouter
« Reply #2 on: November 27, 2024, 02:25:35 PM »
Thanks for the answer. Unfortunately the question was lost.
I know about the difference about possibility to coexist with Twincat.

We have an application made on AHMI. It is today a very old version. It is 3.99, but I dont know what letter. The TwincatCom.vb file has a filedate of 2015. I am now doing an update.
With the existing application we have performance problems. Especially on one machine where the pc is W11. The AHMI application gets "not responding" for 3-10minutes several times a day.

Now when updating, I would like some advice on which driver to choose. I don't need Twincat, but I have no problem installing it and set up the routing. What I do want to know is if there is any performance or stability difference between the two drivers.

Do you know any issues with AHMI on W11?

bobobo

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: TwincatViaTCPIP vs TwincatViaAMSrouter
« Reply #3 on: December 05, 2024, 04:44:44 AM »
Bump

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5341
    • View Profile
    • AdvancedHMI
Re: TwincatViaTCPIP vs TwincatViaAMSrouter
« Reply #4 on: December 05, 2024, 09:31:16 AM »
I have not used AdvancedHMI on Win11 yet, so I am unaware of any issues. I would doubt AdvancedHMI has any issues since it is based around the Microsoft framework of .NET , but I do not know what to expect from TwinCAT. I find the best way to go is to run AdvancedHMI on a PC without TwinCAT installed and use the TwinCatViaTcpIp driver. That would eliminate any issues created by having TwinCAT on the PC or any issues with the Beckhoff DLL that is required.

bobobo

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: TwincatViaTCPIP vs TwincatViaAMSrouter
« Reply #5 on: December 06, 2024, 04:17:27 AM »
Ok, thanks.

My first step will be to upgrade AHMI to 3.99yB40.
If problem still persist I'll look into it with wireshark. I have already seen with windows performance monitor that during the "hang" the network traffic increase from 20-40kB/s to 1-3MB/s.