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

PI4 with CODESYS

2019-06-26
2020-09-24
<< < 1 2 (Page 2 of 2)
  • davewkoenig - 2020-05-19

    If you are interested and up for the challenge I do have extra servo drives
    I would sell.

    Dave Koenig

    630-808-6740

    From: talk@forge.forge.codesys.com [mailto:talk@forge.forge.codesys.com] On
    Behalf Of aliazzz
    Sent: Saturday, May 16, 2020 2:23 PM
    To: [forge:talk]
    Subject: [forge:talk] Re: PI4 with CODESYS

    Hi!
    I am vey curious also! We would like to see pictures and video of your setup
    ;-)

    Plus, it's a bonus if you share your experiences here on forge with
    instructions on how to build a CNC machine using PI4? Personally I am very
    interested in such a project !


    PI4 with CODESYS
    https://forge.codesys.com/forge/talk/Runtime/thread/dcef2074d0/?limit=250#8 958/6a56/efdb


    Sent from forge.codesys.com because you indicated interest in
    https://forge.codesys.com/forge/talk/Runtime/

    To unsubscribe from further messages, please visit
    https://forge.codesys.com/auth/subscriptions/

     
    • aliazzz

      aliazzz - 2020-05-19

      Hi Dave,

      That is a mighty setup you have built. Very cool to see a Raspberry Pi act as brains of the setup. The drives work via EtherCAT or Profinet?

      I have also have written/translated some nifty projects with help of the community here, like CfUnit, an open source and free unit testing framework of which we are very proud! Maybe you'll use it someday?
      It supports assertion of 3D array's of all datatypes
      https://forge.codesys.com/svn/prj,cfunit,code/landingpage/index.html?raw

      And we started a new cool IOT oriented project here also:
      https://forge.codesys.com/prj/mqttsparkplugb/home/Home/

      So, I was hoping that would share your software with us if you wish, as I'd very much want to build such a CNC machine myself.On the servo's, I have some lying around here allready, so at this moment I am not interested.

      Hope you will consider sharing the software with the community.

      Aliazzz

       

      Last edit: aliazzz 2020-05-19
    • kumareasu - 2020-05-27

      Dave ,
      What about the reliability with RPi4?
      I am trying to build an industrial application with BeagleBone Black. It has industrial version. I am not able to get good community support.
      Hence I am trying to switch over to RPi4.
      what is your recommendation for RPi4 for an industrial application?
      Thanks in advance....

      Kumar

       
  • kumareasu - 2020-05-27

    Dave ,
    What about the reliability with RPi4?
    I am trying to build an industrial application with BeagleBone Black. It has industrial version. I am not able to get good community support.
    Hence I am trying to switch over to RPi4.
    what is your recommendation for RPi4 for an industrial application?
    Thanks in advance....

    Kumar

     
    • davewkoenig - 2020-05-27

      I have had really good results with my PI, using 5v to 24v converter, opto isolation boards for GPIO connection which is nice, 17 I/0 points configurable in or out. Running with servo system running on 120v power, no noise issues on PI, but it is definitely not industrial hardened. I do not even have it in an enclosure.

      Sent from my iPhone

      On May 27, 2020, at 3:23 AM, kumareasu forge@codesys.com wrote:

      ο»Ώ
      Dave ,
      What about the reliability with RPi4?
      I am trying to build an industrial application with BeagleBone Black. It has industrial version. I am not able to get good community support.
      Hence I am trying to switch over to RPi4.
      what is your recommendation for RPi4 for an industrial application?
      Thanks in advance....

      Kumar

      PI4 with CODESYS

      Sent from forge.codesys.com because you indicated interest in https://forge.codesys.com/forge/talk/Runtime/

      To unsubscribe from further messages, please visit https://forge.codesys.com/auth/subscriptions/

       
  • januar - 2020-06-11

    Hi Dave,

    Thank you. The complete information is on the OS-Hardware.png. It is raspbian buster.

    Januar

     

    Last edit: januar 2020-06-11
  • Morberis

    Morberis - 2020-06-30

    @davewkoenig
    Super interesting project. Unfortunately I can't justify buying any servo drives right now.

    What do I see connected to the raspberry pi 4? Is that the Opto IO?
    Did you use USB boot or network boot to get around SD corruption issues? Or just having a spare SD card on hand?
    Did you use a codemeter USB key for storing those licenses?
    Are you willing to share your program? Sorry I ask because it looks like you were above. I don't want to use it I just want to look at it and learn. I've never done any motion control work.

    @januar Could it be an issue with Codesys starting before all the drivers have booted? I've heard about that before but not encountered it myself.

    @kumareasu For using a Beaglebone Black you might be able to use IO cards that have drivers for Codesys intended for Raspberry Pi if you shift the I2C from 5v to 3v using logic level shifters. You could maybe design a converter cape decently easily for something like this. For instance https://sequentmicrosystems.com/index.php?route=product/category&path=20 The industrial IO card doesn't say it has Codesys drivers but there are, you just don't get access to PWM or the communication bus's.

     

    Last edit: Morberis 2020-06-30
    • januar - 2020-07-01

      Hi Morberis,

      I manage to solved it. After updating the edge to the latest version and use license (not in demo mode). I think the problem is the license driver takes too long to validate and the codesyscontrol cannot start.

       
      πŸ‘
      1
  • deanlaing - 2020-08-20

    Hi Edwin,

    I've run into the same issue now with the Codesys runtime on the Pi stopping after a couple of seconds. Ive attached all the logs you ask the original poster to share. Im running the very latest Codesys and RaspberryPi runtime. Ive only just started with the project so i havent bought a license yet. Will this resolve the issue as with the previous poster?

    Thanks in advance,
    Dean

     
  • edwinwlpp - 2020-09-04

    Dear All,
    Same issue I have with my testing RPi4 Codesys licensed. (Raspbian Buster + CDS v3.5.16.1)

    Codesys stops after 30 seconds.
    Change of SD card didn't solve.

     
    • deanlaing - 2020-09-04

      Hi,

      You need to use this version of raspian:
      2020-05-27-raspios-buster-full-armhf

      You also need to be careful with the updates that you do, hope that helps.

       
      πŸ‘
      1
  • Tyro - 2020-09-04

    Hi, i am using Pi4 with 3.5.16.0 and its running good. only problem is sometimes some devices say it doesnt have licence though they have a licence

     
  • eschwellinger

    eschwellinger - 2020-09-04

    check the plclogger in detail...

     
    πŸ‘
    1
<< < 1 2 (Page 2 of 2)

Log in to post a comment.