I am using beckhoff example to communicate with TCP/IP, the mais code is: enter image description here
But error is always True and when I get into FB, I saw FB_SocketCloseAll.errId=6
I searched for that error code and I get: enter image description here As there is no port parameter in this function I think my issue is around ADS server or something like that but I don't know how to check if ADS is started and how to make it reachable. Both Labview server and Twincat TCP client are on the same machine this is why I use 127.0.0.1 as string connection. Thanks a lot for your help. JG30
You have to install TF6310 on the target device (the device doing the TCP/IP communication, in other words the PLC). Target port not found means that it can't find the software.