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

Codesys stops on raspberry

lucaver89
2022-07-02
2022-07-03
  • lucaver89 - 2022-07-02

    Hello to All,

    On the raspberry 3B+ model is installed a 4.0.1.0 codesys runtime version. I purchased the licence and it has been installed succesfully. The runtime stops randomly (maybe 1 month at time) and I am forced to restart the raspberry. So I would like see some logfiles but in the online mode the logfile starts from last reboot.
    - Where can I find the hitorical log file from the source downloaded?
    - Is there a way to cougth the exception?

    Thanks for help me
    Luca

     
  • eschwellinger

    eschwellinger - 2022-07-03

    default is here:

    /etc/CODESYSControl.cfg

    [CmpLog]
    Logger.0.Name=/tmp/codesyscontrol.log

    means it is store in tmp filesystem if you need this persistent - change it
    for example to:
    Logger.0.Name=/home/pi/codesyscontrol.log

     

Log in to post a comment.