Page 10 of 10

Re: Turn Raspberry Pi into a P.L.C (Programable Logic Contro

Posted: Tue Dec 11, 2018 5:31 pm
by vorrias
VikTan wrote:
Fri Nov 27, 2015 10:29 am
In this moment none of our boards can't be driven by CODESYS because of this problems with drivers what I wrote before. I tried CODESYS forum, but there is only basic support, eg.
Hi VikTan What is your status of the I/O boards?
I am very mach interesting on them CODESYS drivers or not
You can contact directly with me :
vorrias.argo.net.gr@gmail.com

Thanks a lot
Vasilis

Re: Turn Raspberry Pi into a P.L.C (Programable Logic Controller) Advanced

Posted: Fri Apr 17, 2020 7:13 am
by Hugolainen
Hey VikTan,

I know that I'm digging up an old subject, but have you tried the straton solution ?
I recently started using it first for a school project and now for some "domotics", the software just released its 9.4 version and is packed with drivers for industries.

There is an IEC61131-3 Editor running on Windows, then you can download the runtime you want and place it on your hardware. The demo version has a limitation in time but you can restart it as often as you want.

Just in case here the link of the website/downloads page : https://www.straton-plc.com/en/software/

Hope it can help you :)

Re: Turn Raspberry Pi into a P.L.C (Programable Logic Controller) Advanced

Posted: Fri Apr 17, 2020 4:56 pm
by vorrias
Hi guys,
1 - STRATON looks a very promising package. I wrote to them to have some price quotas.
2 - CODESYS remains (at the moment) top of the list for Raspberry Pi
3 - BEREMIZ stil is a choice. It is working on Raspberry . FREE and OPEN SOURCE
4 - 4DIAG (https://www.eclipse.org/4diac/en_help.p ... cally.html) is an advanced FREE and OPEN SOURCE project based on IEC 61499. More advanced language than IEC 61131-3. It includes all IEC 61131-3 Function Blocks plus a lot more.
I tried the blink program on raspberry and working fine.
5 - Last but not least is OPENPLC project by thiagoralves. Grate job. FREE and OPEN SOURCE

Best of all recently thiagoralves here:

https://openplc.discussion.community/po ... 1309588065

Announced that his new version v1.0 will incorporate BEREMIZ editor . That is in reality PLCOPEN editor Same editor with CODESYS with minor differences but is industry standard. This will include the very famous OSCAT library as well.
The thing with OPENPLC solution is that his approach is working. Is FREE and OPEN SOURCE !.

I do not know what is the status of the I/O hardware so far here but for some time in OPENPLC forum we are trying to build a modular I/O PLC system.
Our latest approach is a system we call it M10 (after many many man hours from many contributes building various designs) .
That is modular I/O framework with dimension 100X100 mm based on Raspberry Pi bus. It may include a Raspberry or any other CPU in the future.
Work is in progress here and you are welcome to contribute if you like the idea. Work is stalled at the moment but the idea is alive and have very good prospects. We thing is a clever approach considering all data.
You can see project M10 here:

https://openplc.discussion.community/po ... ?&trail=60

I am very happy. I started this thread in 2011 and see so many doing so many.

Stay safe and healthy
Vasilis

Re: Turn Raspberry Pi into a P.L.C (Programable Logic Controller) Advanced

Posted: Sun May 10, 2020 2:04 pm
by vorrias
Explaining our M10 modular controller concept. I thing you will find it at least interesting. This is difference of what is published so far. In many ways.
We are a team of enthusiast in electronics (many having electronics and automation as a profession) preparing a hardware modular concept we call it M10. M is is modular and 10 because of external dimensions 10x10cm. Then a maximum cube can be build called PACK, 10x10x10 cm
we already designed
1 - CPU board (RASPI 4)
2 - Digital relay output for 220V 16A loads, (8 channels)
3 - Digital Input + Digital output (16 channels)
4 - 3D box enclosures . First models are constructed but work still in progress
opto isolation is done and modules are working with 24 volts.
Everything is opensource in Eagle and KiCAD format.
Teamwork development is taking place on a M10 slack workspace
more modules are on the drawing board and will be announced soon.
See some work on the shared Dropbox
Schematics included

URL in hackaday:
https://hackaday.io/project/171770-m10cube

URL in GitLAB
https://gitlab.com/m10cube/m10

The idea has years of thinking and years in Industrial Automation control. will be presented first time and as far as know there is not something like it as a whole. The idea is NOT STATIC but DYNAMIC by nature.

Work in progress and discussion in SLACK as well
If you have skills in Electronic design Eagle or KiCAD (or any other) please consider joining. This project is in continues development.

Have fun spread the idea and tel us your reaction on that

Re: Turn Raspberry Pi into a P.L.C (Programable Logic Controller) Advanced

Posted: Tue Jun 16, 2020 6:43 am
by mbvr46
pmario wrote:
Wed Oct 12, 2011 12:48 am
Hi folks,
I'm following this topic for a wile now. It's quite interesting. I didn't find any links to open source fieldbus software yet. So I'll add some [1]:

With openPOWERLINK [2] you'll have a full software stack for a RT Ethernet communication for Managing Node (master) and for the Controlled Nodes (slaves). Seems to be BSD lizensed.

openCONFIGURATOR [3] is an open-source configuration tool. Seems to be BSD lizensed.

With openSAFETY [4], you'll even have the possibility to create safety functionality, if you are able to do so. Seems to be BSD lizensed as well.
--------
IMO for teaching purpose, it is allready interesting, to let a student implement this type of protokoll to the R-Pi. If they succeed, fine. Learned something, about a state of the art industrial fieldbus.

Watchdogs are common for plc's. But if you have none, buy two R-Pi's and let one of them be the watchdog for the other. Proof, that it works and that it is sufficient. If that's not enough, let both of them watch the other. Maximum hw cost for a watchdog is the price of an additional R-Pi + wiring.

[1] http://www.ethernet-powerlink.......php?id=11
[2] http://sourceforge.net/project.....powerlink/
[3] http://sourceforge.net/project...../openconf/
[4] http://www.ixxat.com/ethernet_.....opensafety
Hi,

how it is with openSafety implementation on raspberry? Your URL is not working. Is this project on some oter URL?

Thanks

Re: Turn Raspberry Pi into a P.L.C (Programable Logic Controller) Advanced

Posted: Tue Jun 16, 2020 7:37 am
by jamesh
mbvr46 wrote:
Tue Jun 16, 2020 6:43 am
pmario wrote:
Wed Oct 12, 2011 12:48 am
Hi folks,
I'm following this topic for a wile now. It's quite interesting. I didn't find any links to open source fieldbus software yet. So I'll add some [1]:

With openPOWERLINK [2] you'll have a full software stack for a RT Ethernet communication for Managing Node (master) and for the Controlled Nodes (slaves). Seems to be BSD lizensed.

openCONFIGURATOR [3] is an open-source configuration tool. Seems to be BSD lizensed.

With openSAFETY [4], you'll even have the possibility to create safety functionality, if you are able to do so. Seems to be BSD lizensed as well.
--------
IMO for teaching purpose, it is allready interesting, to let a student implement this type of protokoll to the R-Pi. If they succeed, fine. Learned something, about a state of the art industrial fieldbus.

Watchdogs are common for plc's. But if you have none, buy two R-Pi's and let one of them be the watchdog for the other. Proof, that it works and that it is sufficient. If that's not enough, let both of them watch the other. Maximum hw cost for a watchdog is the price of an additional R-Pi + wiring.

[1] http://www.ethernet-powerlink.......php?id=11
[2] http://sourceforge.net/project.....powerlink/
[3] http://sourceforge.net/project...../openconf/
[4] http://www.ixxat.com/ethernet_.....opensafety
Hi,

how it is with openSafety implementation on raspberry? Your URL is not working. Is this project on some oter URL?

Thanks
The post you are responding to is 9 years old. Google might be your best bet to see whether this project is still going.

Re: Turn Raspberry Pi into a P.L.C (Programable Logic Controller) Advanced

Posted: Tue Jun 16, 2020 12:30 pm
by vorrias
jamesh wrote:
Tue Jun 16, 2020 7:37 am
how it is with openSafety implementation on raspberry? Your URL is not working. Is this project on some oter URL?
Hi jamesh.
Safety on PLC is very difficult matter (that is S stands for). Strict rules must apply. But you already know that. Do you relay want Safety? (a rhetorical question it is of course) If yes that can be be implemented better with "real" PLC. At least not with this Raspberry PI. There is a company we are using their CODESYS PLCs and they have an industrial grade Raspberry PLC. That may look good for implementing opensafty on powerlink.
Can you tell me more about your concern on having Safety on your project?

Meanwhile have a look our progress on M10CUBE design (see the above post)
viewtopic.php?f=41&t=455&p=1680149#p1658385
and we can talk about PLC Safety.

Re: Turn Raspberry Pi into a P.L.C (Programable Logic Controller) Advanced

Posted: Wed Jun 17, 2020 6:21 am
by mbvr46
vorrias wrote:
Tue Jun 16, 2020 12:30 pm
jamesh wrote:
Tue Jun 16, 2020 7:37 am
how it is with openSafety implementation on raspberry? Your URL is not working. Is this project on some oter URL?
Hi jamesh.
Safety on PLC is very difficult matter (that is S stands for). Strict rules must apply. But you already know that. Do you relay want Safety? (a rhetorical question it is of course) If yes that can be be implemented better with "real" PLC. At least not with this Raspberry PI. There is a company we are using their CODESYS PLCs and they have an industrial grade Raspberry PLC. That may look good for implementing opensafty on powerlink.
Can you tell me more about your concern on having Safety on your project?

Meanwhile have a look our progress on M10CUBE design (see the above post)
viewtopic.php?f=41&t=455&p=1680149#p1658385
and we can talk about PLC Safety.
Hi,

i need openSafety only to test something. It will not be more than prototype on the table. Therefore i want to ask if somebody have did already something like this. Because the powerlink can be used on Raspberry PI, i thought that also openSafety could be implemented on Raspberry using powerling as underlying protocol. Is here anybody with some experiences on this things?

Thanks

Re: Turn Raspberry Pi into a P.L.C (Programable Logic Controller) Advanced

Posted: Wed Jun 17, 2020 6:17 pm
by vorrias
Hi jamesh,
Safety in general in PLCs is a very serous and difficult to implement.
Unfortunately we are not using Safety at all in our CODESYS enabled PLCs. But it is something we must do soon or later.
It is interesting though if you have any progress on openSafety to give us a post here.
Sorry not helping you on that but you triggered me the interest on openSafety as a training matter.
Regards