Menu

Nettoplcsim cannot connect to Delta HMI (TCP read error 22)

Help
2024-09-12
2024-12-30
  • Abu Akhyaar

    Abu Akhyaar - 2024-09-12

    Hi guys,
    I am using S7-1200 PLC trying to connect with Dopsoft HMI using NetToPLCSim to do an online simulation on the HMI, however there is a TCP read error 22 during simulation. The TIA Portal is on vmware and I am using TIA v 16. I think I've followed most of the recommended steps:
    https://sourceforge.net/p/nettoplcsim/discussion/912717/thread/89875ba2e0/?limit=25#e8cf

    1. PUT/GET box ticked
    2. HMI connected to vmware network IP
    3. PING vmware network IP and received data
    4. Some suggest to check if port 102 is blocked by firewall (idk how to), so I allow the access for it on firewall, and I also assume the port is OK since on NetToPLCSim it shows "Port 102 OK"
    5. PG/PC is also set to S7Online > PLCSIM.TCPIP.1

    I need yall helppp

     
    • Thomas Wiens

      Thomas Wiens - 2024-09-12

      Hi,
      try to ping the VM with TIA and Plcsim/Nettoplcsim (192.168.0.66) from the PC where your Delta HMI is running on.

      If ping works, you can try if you are able to connect on TCP port 102, also from the PC where Delta HMI is running on.

      Open a Windows Powershell command window, then enter:
      tnc 192.168.0.66 -port 102

      If the TCP connect was successful, you should see a line with:
      TcpTestSucceeded : True

      in it. Try to stop the Nettoplcsim server and start the same command again, you should get a Timeout warning, and TcpTestSucceeded : False as result.

       

      Last edit: Thomas Wiens 2024-09-12
  • Tekin

    Tekin - 2024-12-30

    Hello, I have the same problem. I could not communicate with Delta dopsoft and Tia portal plcsim. I made the above settings. I am using Tia portal V14sp1, plc sim, dopsopft V4. Please help.

     
    • Thomas Wiens

      Thomas Wiens - 2024-12-30

      Did you try the powershell commands I've mentioned above, to see if the basic network setup is correct?

       

Log in to post a comment.

MongoDB Logo MongoDB