Codesys Crash

2018-10-21
2018-11-08
  • PhilipLykov - 2018-10-21

    Every few hours (sometime it every one hour, sometime it once per day) service codesyscontrol crashes without any messages in logs.
    So I have to start it from console. I use latest Raspian with kernel 4.14.70-v7+. I use extensive RS485 modbus communication over three USB-Serial converters. USB in low speed mode.

    Maybe anybody have any idea?

    codesyscontrol.txt [76.56 KiB]

     
  • PhilipLykov - 2018-10-24

    May be somebody has any idea?

     
  • eschwellinger

    eschwellinger - 2018-10-24

    Hi,
    nothing suspect in the logger -

    would recommend to check:

    Login by ssh:
    1. stop the runtime by:
    sudo /etc/init.d/codesyscontrol stop
    2. start the runtime by:
    sudo /opt/codesys/bin/codesyscontrol.bin -d /etc/CODESYSControl.cfg
    Then you should see more details... not sure if this will help but you could give this a try.

    in case of the stop/Crash - are these ports still accesible from Linux side?

    BR
    Edwin

     
  • PhilipLykov - 2018-11-08

    When I run: ```

    sudo nohup /opt/codesys/bin/codesyscontrol.bin -d /etc/CODESYSControl.cfg &

    ```
    it shows in the log "No runtime license - running in demo mode". When I open Licensing Manger - Soft Container it reports: "Licensing info is not available. There is no dongle attached to the device".
    And it shows in the log: "Logging buffer overflow; log messages dismissed".

     

Log in to post a comment.