Skip to content

Socket connection fails on Embedded PC CX5340 but works on IPC 6015 #283

@LanderKetelbuters

Description

@LanderKetelbuters

Hello,

I have a problem building up the Socket connection with an Embedded PC CX5340. It simply cannot connect. On this system runs TC/BSD 14.2.3.5. I run the TwinCAT XAE shell remotely on my host PC. The PLC is connected with my host pc and in the example I changed the remoteNetId and remoteIPV4 to the correct addresses of the PLC. I also made a static route inside the TwinCAT XAE shell for the host PC and set the local address in the example to the same AMSNetId. The AMS port is set to 851.

The ADS driver is running inside a Docker container, but it seems that this is not the problem because it worked in the IPC 6015. The docker container is using the host IP and I can ping both the CX5340 and C6015 inside the Docker container. The firewall is also not blocking the connection. The only difference between the PLC and IPC is that the XAE shell is running on the IPC on windows 10. So I don't need to work remotely on the IPC.

Are there any changes that I need to make for the embedded PC running on TwinCAT BSD? Is it even possible at the moment?
Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions