Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Unable to scan

sgronchi
2022-05-24
2022-06-15
  • sgronchi - 2022-05-24

    I have a Topcon A8 in which I manually installed the Edge Gateway 4.0.1.0 (because of SP16) from .deb file (since it does not have dpkg).
    It is configured to bind on ports 11217 and 11741 (because the default gateway already binds on 1217 and 11743).

    The Edge Gateway connects successfully on Automation Server, but one cannot see the actual PLC runtime listed after a scan.

    stracing it shows EADDRNOTAVAIL in binding on 127.0.0.1:4965 and 127.0.0.1:4966, reflected on messages "CommDrvTCP: 'Bind' failed on signaling socket with error" in the log file.

     
  • sgronchi - 2022-05-25

    Also on Automation Server web page the Edge Gateway on A8 reports itself running on port 1217 instead of 11217 (verified with netstat, it would fail the bind otherwise).

     
  • eschwellinger

    eschwellinger - 2022-06-15

    probably there is allready a gateway running on the A8.
    This should be removed (ask the plc manufacturer)
    check the plclog on startup.

     

    Last edit: eschwellinger 2022-06-15
  • sgronchi - 2022-06-15

    Sorry, I forgot to say that the resolution was much more mundane.
    The loopback interface on Topcon devices is off by default. Both the running gateway AND the edge gateway can run in parallel without interference if it is enabled.

    Anyway, they plan to integrate the CmpEdgeGateway component in the next releases of the runtime, so the problem would solve by itself ;-)

     

Log in to post a comment.