thiagoralves wrote:.....I agreed with your comment.....
My friend you did an excellent work. I did not test anything so far but from what I saw I can say that this day all I have dreamed for the Raspberry when I started the topic "Turn Raspberry Pi into a P.L.C" back in 20 Aug 2011 17:39 .
Just for the history that is what I wrote back then:
After a lot of consideration and a push from Lob0426, I decided to start this new thread. This is a project about programming Pi to act as a PLC or a x-axis positioning controller.
So far these controllers are mostly proprietary and in a no way software is open source. So every company makes money because from the moment you attached to them you married them for life.
from the finished product many will benefit:
- Engineers in automation industry
- Hobbyists building home automation, burglar alarms, etc
- Students having hands on automation in a truly open controller.
- many ideas to come if you stay with us
First thinks first. Pi P.L.C must have at least these 4 goals:
1 - Be capable of running Programming language defined by the IEC-61131-3 standard.
2 - be able to communicate real time via Ethernet port to other remote Pi PLCs in a master/slave scenario.
3 - Be able to attach many I/O locally (reed relay, FET transistor out, triac, encoder input) . One idea to use cheep interface boards connected to I2C bus. The encoder input is necessary for positioning system and robotics.
4 - The system must run on a version of real time Linux if we want to capture events on a millisecond or less. Of course a Debian distro is OK if you do not want to be real time.
I have already some ideas because three are people already made a lot and very good open software like http://www.beremiz.org
project (since 2009 I can see no movement to their site but we will try to contact with the developers).
For that we will need some people to write some drivers and to port the application into a real time Linux. It is a lot of work but the final result will give us a lot of satisfaction.
More to come.."
So I will inform my topic about your success. I invite you to do it as well.
Next? we must use drivers for the I2C bus, SPI bus, one wire bus, camera driver, so we can connect various sensors like the do in CODESYS in Raspberry.
At the end we will have a powerful IEC-61131-3 environment ALL OPEN SOURCE! No limits in use like CODESYS
THAT WAS THE SPIRIT! for this "little" dream board
Thank you for what you did I am very happy. A lot of people in third world can start making powrful PLCs (not only for learning) with the minimum cost
I will start making a project as soon as possible and report the results