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
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 ?
10/23/21 07:51:19: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg10/23/21 21:52:31: *** Shutdown command from service control manager received...10/23/21 21:52:33: CODESYS Control Win V3 - x64 Service stopped10/23/21 21:53:26: --------------------------------------------------------------------------10/23/21 21:53:26: CODESYS Control Win V3 - x64 Service started10/23/21 21:53:26: Config file:10/23/21 21:53:26: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg10/25/21 07:51:40: CODESYS Control Win V3 - x64 Service stopped10/25/21 07:51:45: --------------------------------------------------------------------------10/25/21 07:51:45: CODESYS Control Win V3 - x64 Service started10/25/21 07:51:45: Config file:10/25/21 07:51:45: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg10/25/21 07:51:46: CODESYS Control Service: Warning: DEMO mode activated, terminating in approx. 120 minutes.10/25/21 07:52:55: *** Shutdown command from service control manager received...10/25/21 07:52:56: CODESYS Control Win V3 - x64 Service stopped10/25/21 07:53:51: --------------------------------------------------------------------------10/25/21 07:53:51: CODESYS Control Win V3 - x64 Service started10/25/21 07:53:51: Config file:10/25/21 07:53:51: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg10/26/21 08:11:27: CODESYS Control Win V3 - x64 Service stopped10/26/21 08:11:31: --------------------------------------------------------------------------10/26/21 08:11:31: CODESYS Control Win V3 - x64 Service started10/26/21 08:11:31: Config file:10/26/21 08:11:31: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg10/26/21 08:11:32: CODESYS Control Service: Warning: DEMO mode activated, terminating in approx. 120 minutes.10/26/21 08:13:46: *** Shutdown command from service control manager received...10/26/21 08:13:47: CODESYS Control Win V3 - x64 Service stopped10/26/21 08:14:43: --------------------------------------------------------------------------10/26/21 08:14:43: CODESYS Control Win V3 - x64 Service started10/26/21 08:14:43: Config file:10/26/21 08:14:43: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg10/27/21 08:16:32: CODESYS Control Win V3 - x64 Service stopped10/27/21 08:16:37: --------------------------------------------------------------------------10/27/21 08:16:37: CODESYS Control Win V3 - x64 Service started10/27/21 08:16:37: Config file:10/27/21 08:16:37: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg10/27/21 08:16:45: CODESYS Control Service: Warning: DEMO mode activated, terminating in approx. 120 minutes.10/27/21 08:22:18: *** Shutdown command from service control manager received...10/27/21 08:22:18: CODESYS Control Win V3 - x64 Service stopped10/27/21 08:23:15: --------------------------------------------------------------------------10/27/21 08:23:15: CODESYS Control Win V3 - x64 Service started10/27/21 08:23:15: Config file:10/27/21 08:23:15: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg10/28/21 07:52:49: CODESYS Control Win V3 - x64 Service stopped10/28/21 07:52:54: --------------------------------------------------------------------------10/28/21 07:52:54: CODESYS Control Win V3 - x64 Service started10/28/21 07:52:54: Config file:10/28/21 07:52:54: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg10/28/21 07:52:55: CODESYS Control Service: Warning: DEMO mode activated, terminating in approx. 120 minutes.10/28/21 07:53:34: CODESYS Control Win V3 - x64 Service stopped10/28/21 07:53:38: --------------------------------------------------------------------------10/28/21 07:53:38: CODESYS Control Win V3 - x64 Service started10/28/21 07:53:38: Config file:10/28/21 07:53:38: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg10/28/21 07:53:39: CODESYS Control Service: Warning: DEMO mode activated, terminating in approx. 120 minutes.10/28/21 08:01:08: CODESYS Control Win V3 - x64 Service stopped10/28/21 08:01:13: --------------------------------------------------------------------------10/28/21 08:01:13: CODESYS Control Win V3 - x64 Service started10/28/21 08:01:13: Config file:10/28/21 08:01:13: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg10/28/21 08:01:14: CODESYS Control Service: Warning: DEMO mode activated, terminating in approx. 120 minutes.10/28/21 08:02:03: *** Shutdown command from service control manager received...10/28/21 08:02:03: CODESYS Control Win V3 - x64 Service stopped10/28/21 08:03:00: --------------------------------------------------------------------------10/28/21 08:03:00: CODESYS Control Win V3 - x64 Service started10/28/21 08:03:00: Config file:10/28/21 08:03:00: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg10/28/21 21:14:13: CODESYS Control Win V3 - x64 Service stopped10/28/21 21:14:17: --------------------------------------------------------------------------10/28/21 21:14:17: CODESYS Control Win V3 - x64 Service started10/28/21 21:14:17: Config file:10/28/21 21:14:17: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg10/29/21 06:42:40: *** Shutdown command from service control manager received...10/29/21 06:42:41: CODESYS Control Win V3 - x64 Service stopped10/29/21 06:43:39: --------------------------------------------------------------------------10/29/21 06:43:39: CODESYS Control Win V3 - x64 Service started10/29/21 06:43:39: Config file:10/29/21 06:43:39: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg10/29/21 10:54:59: CODESYS Control Win V3 - x64 Service stopped10/29/21 10:55:03: --------------------------------------------------------------------------10/29/21 10:55:03: CODESYS Control Win V3 - x64 Service started10/29/21 10:55:03: Config file:10/29/21 10:55:03: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg10/30/21 03:37:27: *** Shutdown command from service control manager received...10/30/21 03:37:28: CODESYS Control Win V3 - x64 Service stopped10/30/21 03:38:23: --------------------------------------------------------------------------10/30/21 03:38:23: CODESYS Control Win V3 - x64 Service started10/30/21 03:38:23: Config file:10/30/21 03:38:23: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg
Kind regards,
Andre
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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