On Mon, Mar 26, 2012 at 11:22 AM, Noufal Ibrahim <nou...@nibrahim.net.in>wrote:
> Vishal <vsapr...@gmail.com> writes: > > > Hello, > > > > There is a need in our company to prototype some control systems in > Python. > > These would be general industrial control systems. > > After this prototype is made, I was wondering it there would be a way to > > use the same code to actually do the control. Has anybody worked on this > > kind of stuff here. Any suggestions? > > > > Usually such controllers are implemented using PLCs (Programmable Logic > > Controllers) and their proprietary programming languages (ST...which is > > Basic like, Block diagrams, Ladders etc). I want to replace all that > with a > > PC running the control application coded in Python. > > Any pointers towards Single Board Computers that can be used? etc > > Aren't these devices very low on memory and processing power? I'm not > really familiar with the area but my gut feel is that Python might be > overkill there? > > That being said, I have managed to get Python running on an embedded > device but it had a microprocessor and a stripped down OS so it wasn't > too hard. Just a cross compilation and a little trimming of the standard > library and other such things. If your situation is similar, I might be > able to help out. > > Another thing I can think of, and this is just an idea, is that you can > write your control application in perhaps a subset of Python, then > "compile" it into ST and then use it with the regular toolchain. > > [...] > > > -- > ~noufal > http://nibrahim.net.in > > I'm proud of my humility. > _______________________________________________ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers > Noufal, I would like to use a regular x86 processor with Linux (stripped down)... to avoid recompiling Python itself...to avoid one more variable in the entire process. What was the processor/OS combination you mentioned earlier ? Compiling the Python code to ST means, writing a compiler :))...which will be a serious project in itself. and then I will loose all the good things that come with Python. This field badly needs Python :)) -- Thanks and best regards, Vishal Sapre _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers