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

Not able to connect to Codesys Gateway on locl machine...

tobiaspe
2021-03-12
2021-03-12
  • tobiaspe - 2021-03-12

    Hi all, 100% newbie on Factory I/O and Codesys here.

    We are trying to create a very visually appealing demo setup using Factory IO scenes.

    When trying to run the Codesys for OPC UA demos by Factory IO I run into issues I have not been able to solve.

    I have downloaded Codeys v3.5 and patched it with patch 40 (or at least the latest).

    I have pasted all relevant variable and the ST program from the Factory IO tutorial, but never managed to download it to the simulated local PLC. I am not able to find the local gateway at all.

    Looking at my systems tray, both the local gateway and the local PLC seems to run just fine.

    I am till not able to connect to the gateway, and it even seems to be showing that in the UI tree.

    Any ideas on how to proceed - please advise.

     
  • i-campbell

    i-campbell - 2021-03-12

    Hello. There is somehow an unwritten "how to use a sample project" that everyone somehow knows. I don't know why this procedure is not more prominent. Probably because you only need to learn it once.
    1. Right click the red squigly underlined device and select "Update device". Choose the latest version of your device and the button "update device".
    2. Menu >> Project >> Project Environment. "set all to newest" button. "OK" button.

    Your project is now up to date.

    1. Double click the device (which is no longer red squigly underlined) to open his editor. The Communication Settings tab is now open. Choose your device from a gateway.
    2. Press the Login button.
     
    • tobiaspe - 2021-03-12

      Thanks a lot for getting back to me on this issue.

      I did the steps you suggested and the red line readily disappeared.

      When trying to connect to to the local gateway I still get a connection
      error, just as before though.

      [image: Screenshot (319).png]

      Den fre 12 mars 2021 kl 11:27 skrev i-campbell forge@codesys.com:

      Hello. There is somehow an unwritten "how to use a sample project" that
      everyone somehow knows. I don't know why this procedure is not more
      prominent. Probably because you only need to learn it once.
      1. Right click the red squigly underlined device and select "Update
      device". Choose the latest version of your device and the button "update
      device".
      2. Menu >> Project >> Project Environment. "set all to newest" button.
      "OK" button.

      Your project is now up to date.

      1. Double click the device (which is no longer red squigly underlined)
        to open his editor. The Communication Settings tab is now open. Choose your
        device from a gateway.
      2. Press the Login button.

      Not able to connect to Codesys Gateway on locl machine...
      https://forge.codesys.com/forge/talk/Engineering/thread/39e5aa090a/?limit=25#c7ca


      Sent from forge.codesys.com because you indicated interest in
      https://forge.codesys.com/forge/talk/Engineering/

      To unsubscribe from further messages, please visit
      https://forge.codesys.com/auth/subscriptions/

       

Log in to post a comment.