We are facing to an issue that is affecting part of the PC's at which we have the "CODESYS Control Win V3 - x64" service properly licenced. Actually, from more than 15 computers, something about 3 ones stop running after a time, sometimes something about 15min or even more than 6 hours uninterrupted.
The strangest symptom is that the Systray icon appear as (running), but only after I click on 'STOP PLC' and 'START PLC' the runtime get restored back to work. The "CODESYS Control Win V3 - x64.log" give us no much information, is there any debug mode to run Codesys runtime to get more details ?
enable the plc logger to write in a file to have the logfile( and change entries and size)
c:\ProgramData\CODESYS\CODESYSControlWinV3x64\xxxxxxx\CODESYSControl.cfg
here this section remove the ';'
[CmpLog]
Logger.0.Name=PlcLog
Logger.0.Filter=0xFFFFFFFF
Logger.0.Enable=1
Logger.0.MaxEntries=100000
Logger.0.MaxFileSize=500000
Logger.0.MaxFiles=3
Logger.0.Backend.0.ClassId=0x0000010B ;sends logger messages to SysOut
Logger.0.Backend.1.ClassId=0x00000104 ;writes logger messages in a file
;Logger.0.Backend.2.ClassId=0x00000135 ;sends logger messages as UDP syslog
;Logger.0.Type=0x314 ;Set the timestamp to RTC
;Logger.1.Name=CommLog
;Logger.1.Enable=1
;--Component specific logger filters:--
;CmpApp.Filter=0xFFFFFFFF
;CmpCodeMeter.Filter=0xFFFFFFFF
;CmpEdgeGateway.Filter=0xFFFFFFFF
;CmpEdgeGateway.Mask=0xFFFFFFFF
;CmpSecurityManager.Filter=0xFFFFFFFF
;CmpSupervisor.Filter=0xFFFFFFFF
;CmpOpenSSL.Filter=0xFFFFFFFF
After it happens again, you could analyze the problem inc:\ProgramData\CODESYS\CODESYSControlWinV3x64\xxxxxxx\PlcLog.csv
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
We are facing to an issue that is affecting part of the PC's at which we have the "CODESYS Control Win V3 - x64" service properly licenced. Actually, from more than 15 computers, something about 3 ones stop running after a time, sometimes something about 15min or even more than 6 hours uninterrupted.
The strangest symptom is that the Systray icon appear as (running), but only after I click on 'STOP PLC' and 'START PLC' the runtime get restored back to work. The "CODESYS Control Win V3 - x64.log" give us no much information, is there any debug mode to run Codesys runtime to get more details ?
Kind regards,
Andre
enable the plc logger to write in a file to have the logfile( and change entries and size)
c:\ProgramData\CODESYS\CODESYSControlWinV3x64\xxxxxxx\CODESYSControl.cfg
here this section remove the ';'
[CmpLog]
Logger.0.Name=PlcLog
Logger.0.Filter=0xFFFFFFFF
Logger.0.Enable=1
Logger.0.MaxEntries=100000
Logger.0.MaxFileSize=500000
Logger.0.MaxFiles=3
Logger.0.Backend.0.ClassId=0x0000010B ;sends logger messages to SysOut
Logger.0.Backend.1.ClassId=0x00000104 ;writes logger messages in a file
;Logger.0.Backend.2.ClassId=0x00000135 ;sends logger messages as UDP syslog
;Logger.0.Type=0x314 ;Set the timestamp to RTC
;Logger.1.Name=CommLog
;Logger.1.Enable=1
;--Component specific logger filters:--
;CmpApp.Filter=0xFFFFFFFF
;CmpCodeMeter.Filter=0xFFFFFFFF
;CmpEdgeGateway.Filter=0xFFFFFFFF
;CmpEdgeGateway.Mask=0xFFFFFFFF
;CmpSecurityManager.Filter=0xFFFFFFFF
;CmpSupervisor.Filter=0xFFFFFFFF
;CmpOpenSSL.Filter=0xFFFFFFFF
After it happens again, you could analyze the problem inc:\ProgramData\CODESYS\CODESYSControlWinV3x64\xxxxxxx\PlcLog.csv