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 !
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
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
ο»Ώ
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....
I do not really know whether I should create a new post or I can just ask here. I am trying to use Raspberry Pi 4 with CoDeSys 3.5.16. Actually everything is going ok, until I restart the raspberry pi. The application doe not run. The codesyscontrol is running, also the codesysedge. When I do sudo service codesyscontrol stop and after that sudo service codesyscontrol start, then everything going back to ok. I can see the webvisu and also go online with the development software. The codesyscontrol and codesysedge are from version 3.5.16.
Please advise me how to make this working. Thank you in advance.
What version of Linux are you running? I know I had trouble and would have
to look at what I have.
Dave Koenig
630-808-6740
From: talk@forge.forge.codesys.com [mailto:talk@forge.forge.codesys.com] On
Behalf Of januar
Sent: Thursday, June 11, 2020 11:14 AM
To: [forge:talk]
Subject: [forge:talk] PI4 with CODESYS
Dear All,
I do not really know whether I should create a new post or I can just ask
here. I am trying to use Raspberry Pi 4 with CoDeSys 3.5.16. Actually
everything is going ok, until I restart the raspberry pi. The application
doe not run. The codesyscontrol is running, also the codesysedge. When I do
sudo service codesyscontrol stop and after that sudo service codesyscontrol
start, then everything going back to ok. I can see the webvisu and also go
online with the development software. The codesyscontrol and codesysedge are
from version 3.5.16.
Please advise me how to make this working. Thank you in advance.
From: talk@forge.forge.codesys.com [mailto:talk@forge.forge.codesys.com] On
Behalf Of januar
Sent: Thursday, June 11, 2020 1:57 PM
To: [forge:talk]
Subject: [forge:talk] PI4 with CODESYS
Hi Dave,
Thank you. The complete information is on the OS-Hardware.png. It is
raspbian buster.
Your hardware is newer? I know I had issues with SD card, I have Samsung
EVO Select (green)
Dave Koenig
630-808-6740
From: talk@forge.forge.codesys.com [mailto:talk@forge.forge.codesys.com] On
Behalf Of januar
Sent: Thursday, June 11, 2020 1:57 PM
To: [forge:talk]
Subject: [forge:talk] PI4 with CODESYS
Hi Dave,
Thank you. The complete information is on the OS-Hardware.png. It is
raspbian buster.
I use swissbit 16Gb. Usually I get no problem with this card.
What do I find strange is that I can just stop and start codesyscontrol service and everything is ok. So I think it is some kind of timing issues.
Januar
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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/
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
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
more posts ...
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
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
Dear All,
I do not really know whether I should create a new post or I can just ask here. I am trying to use Raspberry Pi 4 with CoDeSys 3.5.16. Actually everything is going ok, until I restart the raspberry pi. The application doe not run. The codesyscontrol is running, also the codesysedge. When I do sudo service codesyscontrol stop and after that sudo service codesyscontrol start, then everything going back to ok. I can see the webvisu and also go online with the development software. The codesyscontrol and codesysedge are from version 3.5.16.
Please advise me how to make this working. Thank you in advance.
Kind regards,
Januar
What version of Linux are you running? I know I had trouble and would have
to look at what I have.
Dave Koenig
630-808-6740
From: talk@forge.forge.codesys.com [mailto:talk@forge.forge.codesys.com] On
Behalf Of januar
Sent: Thursday, June 11, 2020 11:14 AM
To: [forge:talk]
Subject: [forge:talk] PI4 with CODESYS
Dear All,
I do not really know whether I should create a new post or I can just ask
here. I am trying to use Raspberry Pi 4 with CoDeSys 3.5.16. Actually
everything is going ok, until I restart the raspberry pi. The application
doe not run. The codesyscontrol is running, also the codesysedge. When I do
sudo service codesyscontrol stop and after that sudo service codesyscontrol
start, then everything going back to ok. I can see the webvisu and also go
online with the development software. The codesyscontrol and codesysedge are
from version 3.5.16.
Please advise me how to make this working. Thank you in advance.
Kind regards,
Januar
Attachments:
https://forge.codesys.com/forge/talk/Runtime/thread/dcef2074d0/c3e4/attachm ent/boot.log (346.0 kB; application/octet-stream)
https://forge.codesys.com/forge/talk/Runtime/thread/dcef2074d0/c3e4/attachm ent/codesyscontrol.log (33.6 kB; application/octet-stream)
https://forge.codesys.com/forge/talk/Runtime/thread/dcef2074d0/c3e4/attachm ent/codesysedge.log (10.4 kB; application/octet-stream)
https://forge.codesys.com/forge/talk/Runtime/thread/dcef2074d0/c3e4/attachm ent/daemon.log (817.9 kB; application/octet-stream)
https://forge.codesys.com/forge/talk/Runtime/thread/dcef2074d0/c3e4/attachm ent/OS-Hardware.PNG (53.2 kB; image/png)
https://forge.codesys.com/forge/talk/Runtime/thread/dcef2074d0/c3e4/attachm ent/status.PNG (44.2 kB; image/png)
PI4 with CODESYS
https://forge.codesys.com/forge/talk/Runtime/thread/dcef2074d0/?limit=25&pa ge=1#c3e4
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/
Hi Dave,
Thank you. The complete information is on the OS-Hardware.png. It is raspbian buster.
Januar
Last edit: januar 2020-06-11
Yes I have Raspbian buster 10
Dave Koenig
630-808-6740
From: talk@forge.forge.codesys.com [mailto:talk@forge.forge.codesys.com] On
Behalf Of januar
Sent: Thursday, June 11, 2020 1:57 PM
To: [forge:talk]
Subject: [forge:talk] PI4 with CODESYS
Hi Dave,
Thank you. The complete information is on the OS-Hardware.png. It is
raspbian buster.
Januar
PI4 with CODESYS
https://forge.codesys.com/forge/talk/Runtime/thread/dcef2074d0/?limit=25&pa ge=1#86b6
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/
Your hardware is newer? I know I had issues with SD card, I have Samsung
EVO Select (green)
Dave Koenig
630-808-6740
From: talk@forge.forge.codesys.com [mailto:talk@forge.forge.codesys.com] On
Behalf Of januar
Sent: Thursday, June 11, 2020 1:57 PM
To: [forge:talk]
Subject: [forge:talk] PI4 with CODESYS
Hi Dave,
Thank you. The complete information is on the OS-Hardware.png. It is
raspbian buster.
Januar
PI4 with CODESYS
https://forge.codesys.com/forge/talk/Runtime/thread/dcef2074d0/?limit=25&pa ge=1#86b6
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/
Hi Dave,
I use swissbit 16Gb. Usually I get no problem with this card.
What do I find strange is that I can just stop and start codesyscontrol service and everything is ok. So I think it is some kind of timing issues.
Januar
@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
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.
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
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.
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.
agree - and see this post here with more details..
https://forge.codesys.com/forge/talk/Runtime/thread/4d43247a3a/
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
check the plclogger in detail...