(no subject)

Page 1.0 of 1.44
  • Strucc.c

    Strucc.c - 2022-11-16

    Hi,
    Did you find any solution for this issue?

     
  • eschwellinger

    eschwellinger - 2022-11-16

    non valid/corrupt CODESYSControl.cfg is usually the reason for this

     
  • leandroct - 2022-11-16

    Yes. For some reason it lost CodesysControl.cfg
    I'm doing a backup of it now to be able to restore, but this shouldn´t happen.

     
  • Strucc.c

    Strucc.c - 2022-11-23

    Yes, found it out...

    [ComponentManager]
    Component.1=CmpTargetVisuStub
    Component.2=CmpWebServer
    Component.3=CmpWebServerHandlerV3
    Component.4=SysCpuMultiCore
    Component.5=SysReadWriteLock
    Component.6=SysCpuBreakpoints
    Component.7=SysPipeWindows
    ;Component.8=CmpHilscherCIFX
    ;Component.9=CmpPCANBasicDrv
    ;Component.10=CmpCANFoxDrv
    ;Component.11=CmpIxxatCANDrv
    ;Component.12=CmpBlkDrvCanServer
    ;Component.13=CmpBACnet
    

    Among others, this part was missing...

    The file was almost blank empty:

    [SysFile]
    Windows.WorkingDirectory=C:\ProgramData\CODESYS\CODESYSControlWinV3x64\D9E0F702\
    
    [CmpUserMgr]
    AsymmetricAuthKey=ae859f3a67f68621d68a4fd01d38b2fb8d134f03
    
    [CmpSecureChannel]
    CertificateHash=d390b396b7de4546356ae57fb3ae6a3bd9e884ec
    
    [CmpApp]
    
    [SysFileMap]
    
     
  • hece - 2024-01-09

    Would like to ask how to solve this problem?

     
    • Strucc.c

      Strucc.c - 2024-01-09

      That is a different issue you have here:

      I assume:

      1. You have recently updated your Codesys development system, and when opened the project, you selected "Set all to newest" in the upcoming dialog.

      2. And / or you have updated your Codesys Control (runtime).
        If you did not, consider doing it - just make sure you have a good backup of the original version.

      After updating the development system and runtime, there is one more step to do in your existing project:

      Go to the device tree, right click on the controller (or HMI device) and select the "Update" option. A dialog pops up, with the available codesys versions. Select the one actually installed on your controller / hmi device. Make sure "show all versions" option is selected. There is a similar issue with the libraries: check the versions in the library manager.

      If you don't find the right version, there is a package available in the Codesys installer, containing former libraries and compiler versions.

      • Ooor * ... it's possible that there is no target visualization at all on your controller.... So you must either install it, or remove targetvisualization from your project. sometimes it's tricky - sometimes removing visualization manager, and then re-adding it might help... or creating a blank project, set up visualization and copy-paste the rest of the code inti it.

      P.

       
      👍
      1

      Last edit: Strucc.c 2024-01-09
  • rodberna - 2024-01-23

    Hi, I'm having the same issue, tried the solutions above but nothing. The only one I didn´t try was look into the file "CodesysControl.cfg". Where should I find this file?

    My codesys is 3.5.19.50

    I tried to install the library cmpTargetVisu but still doesnt work.
    I didn´t update the codesys and this is very fresh installation one.

    The application was created from scratch. It works if I remove the Visualization Manager, but if I include it crashes again.

     

    Last edit: rodberna 2024-01-23
  • eschwellinger

    eschwellinger - 2024-01-23

    c:\ProgramData\CODESYS\CODESYSControlWinV3x64\<unique number="">\CODESYSControl.cfg
    check if this file exists and check if these components entries are in</unique>

     
  • jonasz - 2024-04-04

    Hi, is there any solution to the problem?
    You can find the missing file in the C:\Program Files (x86)\CODESYS 3.5.19.60\GatewayPLC\tempCFG directory, but attaching
    it to the c:\ProgramData\CODESYS\CODESYSControlWinV3\<unique number="">\ directory does not solve the problem with visualization.</unique>

    In the log file you can find the entry:

    04/04/24 13:32:44: --------------------------------------- -----------------------------------
    04/04/24 13:32:44: CODESYS Control Win V3 Service started
    04/04/24 13:32:44: Config file:
    04/04/24 13:32:44: C:\Program Files (x86)\CODESYS 3.5.19.60\GatewayPLC\CODESYSControl.cfg
    04/04/24 13:32:44: ERROR: AddDllDirectory failed (2). Qt based components cannot be loaded

    In my case, the problem concerns versions 3.5.17/3.5.18/3.5.19
    Reinstalling doesn't help.

     
  • jonasz - 2024-04-04

    Finally I switched to "simulation mode" and of course everything works here.
    I assume that "Soft-PLC" does not support visualization, hence the problem.
    To tell you the truth, I use operator panels for visualization, and if it weren't for the need to test a few things, I wouldn't pay attention to it.
    Perhaps I missed this change during one of the updates, or there was some possibility of bypassing the license and using "Soft-PLC" as a full-fledged solution and it was removed.

     

    Last edit: jonasz 2024-04-04
  • Ingo

    Ingo - 2025-09-11
    • Status: open --> closed
     

Log in to post a comment.