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

Edge Gateway online, but PLC is not online

fgarcia
2023-11-21
2024-01-10
  • fgarcia - 2023-11-21

    Hello,

    Up until yesterday (2023/11/20) I was able to connect to the PLC remotely with no issues through Edge Gateway. However, today I can see the Edge Gateway online but I can find the PLC even if I do a network scan.

    Following the same path as janber0206 @ https://forge.codesys.com/forge/talk/automation_server/thread/e78b11d7e9/, I looked into certificates and found that one of the Trusted publisher certificates has expired earlier today (2023/11/21). Please see image.

    Questions are:

    1. Does it affect the connection to the PLC through Edge Gateway?
    2. How do I fix it?

    Thank you very much in advance!

     
  • fgarcia - 2024-01-09

    Hello,

    I couldn't figure what/where the issue was, so I deleted everything from automation server and reinstalled the edge gateway and did the process again. It worked for about a month and then it stopped working again. It presents the same symptom, edge gateway is online but I can't connect to the PLC.

    Any idea of what could be the issue?

    Thank you!

     
  • eschwellinger

    eschwellinger - 2024-01-09

    we need some logfiles from the edge gateway

    /etc/Gateway.cfg

    [CmpLog]
    CmpEdgeGateway.Filter=0xFFFFFFFF
    Logger.0.Name=/tmp/codesysedge.log
    Logger.0.Filter=0x0000000F
    Logger.0.Enable=1
    Logger.0.MaxEntries=100000
    Logger.0.MaxFileSize=5000000
    Logger.0.MaxFiles=1
    Logger.0.Backend.0.ClassId=0x00000104 ;writes logger messages in a file
    Logger.0.Type=0x314 ;Set the timestamp to RTC

    and does the scan via Automation Server show the plc?

     

    Last edit: eschwellinger 2024-01-09
  • fgarcia - 2024-01-09

    Hi Edwin,

    The PLC is already in the automation server so nothing happens when I scan the network, however the PLC show offline (not connected).

    Please see logs below.

    [CmpLog]
    Logger.0.Name=codesysedge.log
    Logger.0.Filter=0x0000000F
    Logger.0.Enable=1
    Logger.0.MaxEntries=100000
    Logger.0.MaxFileSize=1000000
    Logger.0.MaxFiles=1
    Logger.0.Backend.0.ClassId=0x00000104 ;writes logger messages in a file
    Logger.0.Type=0x314 ;Set the timestamp to RTC

    Thank you!

     
  • eschwellinger

    eschwellinger - 2024-01-10

    need the log file - or you write/send it in the CODESYS store my question

     
  • fgarcia - 2024-01-10

    Hello Edwin,

    I sent the info through CODESYS store my question, as I was afraid that I could be exposing sensitive information here in the forum.

    Thank you very much!

     

Log in to post a comment.