Codesys Win PLC

2020-10-26
2020-10-27
  • codesystart - 2020-10-26

    Hello,

    i was working with codesys 3.5.14.20 version to test some projects. I am using demo license of Win PLC. My project was working fine untill recentlly when suddenly Win PLC stopped working. I tried to restart it manually from system tray icon, but without any success.

    As soon as i click start PLC it starts and then goes to stop mode again.

    Could anyone help me with this? Feel free to drop comments for any further clarifications.

     
  • eschwellinger

    eschwellinger - 2020-10-27

    Hi,
    activate the log:
    c:\ProgramData\CODESYS\CODESYSControlWinV3x64\xxxxxxxx\CODESYSControl.cfg

    [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

    then check this log, I expect that you see that your application crash on startup
    if this is the case remove the bootapplication in:
    c:\ProgramData\CODESYS\CODESYSControlWinV3x64\18061919\PlcLogic\Application.app
    then it should start probably again.

     

    Last edit: eschwellinger 2020-10-27
  • codesystart - 2020-10-27

    Thank you very much. The problem is solved.

     

Log in to post a comment.