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

Raspberry Pi disconnecting from Codesys net after a few seconds.

FWosniak
2016-05-16
2016-06-03
  • FWosniak - 2016-05-16

    Good night everybody, I am having a problem trying to control the Raspberry 2 B using the Codesys. I have had a similar problem some time ago and I solved that by downgrading to an older version of the Raspberry Control (2.2.0.1). The problem is this time it is not working. I am using the same configurations and Raspberry model, the only changes are the hardware, but still the same model, and this time I am using a free version of Codesys. Can somebody give me a hand please?

     
  • FWosniak - 2016-05-18

    The problem is that I had already used this same Rasbian Jessi in other 2 Raspberrys model B and both are working well, after doing the downgrade to 2.2.0.1, but now I have other 5 Rasps that are not keeping the connection with Codesys.

     
  • eschwellinger

    eschwellinger - 2016-05-18

    Hi,
    could you try:

    sudo apt-get update
    sudo apt-get dist-upgrade
    sudo rpi-update

    if this doe not solve it we need a
    cat /tmp/codesyscontrol.log

    BR
    Edwin

     
  • FWosniak - 2016-05-18

    Hi, Mr. Schwellinger, thanks for helping out. Using that command I got the following:
    SysFileGetSize_[251]: stat(.UserMgmtDB.csv): No such file or directory

     
  • eschwellinger

    eschwellinger - 2016-05-19

    Hi,

    could you login by' putty' / ssh and then do:
    cat /tmp/codesyscontrol.log

    and paste or give us a screenshot of this output here?

    This line seems not the reason for it.. maybe I'm wrong.
    BR
    Edwin

     
  • FWosniak - 2016-05-19

    Hi Mr. Schwellinger, can the problem be the free version of Codesys? I have two paid licenses and they are working well.

     
  • FWosniak - 2016-05-25

    Good afternoon everyone, now I cannot connect the rasp, even for a few seconds. The raspi is identified when I update the pi but not when I scan for device, not even when I put the ip directly. Can someone give me a hint?
    I am using a free version of Codesys. The two paid ones are working well.

     
  • eschwellinger

    eschwellinger - 2016-05-26

    Hi,

    if you give us the output of which I asked for before
    I'm sure we could help.
    This has nothing to do with the license or anything else I'm really sure.

    cat /tmp/codesyscontrol.log

    BR
    Edwin

     
  • FWosniak - 2016-06-01

    Good night everybody. The image requested is below

    IMG: 20160531_142524~2.jpg

     
  • eschwellinger

    eschwellinger - 2016-06-01

    Hi,
    thanks
    If these is Debian Jessi so these commands should solve it:
    sudo apt-get updatesudo apt-get dist-upgradesudo rpi-update

    BR
    Edwin

     
  • FWosniak - 2016-06-02

    Good morning Mr. Schwellinger, I did that but it didn't solve my problem. I am sending an attached image. It's the same as prior to the update.

    IMG: 20160601_155747~2.jpg

     
  • eschwellinger

    eschwellinger - 2016-06-02

    Hi,

    then please write an email to support
    to solve/investigate it.

    BR
    Edwin

     
  • FWosniak - 2016-06-03

    I will do it. Thank you.

     

Log in to post a comment.