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.
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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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:
Thank you very much in advance!
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!
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
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!
need the log file - or you write/send it in the CODESYS store my question
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!