Hi, For quite some months I have been working on a free S7-compatible PLC simulator called "awlsim", implemented in pure Python. http://bues.ch/cms/hacking/awlsim.html
So far, the simulator implements a lot of the S7 features required to run useful programs. And it also shows good performance, for being implemented in Python. (over 30k STL/AWL statements per second on an Atom N570) There's still room for improvement, though. It supports Python 2.7, 3.x and the PyPy 2 interpreter. Especially on PyPy it is very fast. (over 400k STL/AWL statements per second on the same machine) Recently, I added an experimental interface module to the LinuxCNC Python HAL interface, so it could be used as PLC for non-realtime tasks. http://bues.ch/cms/hacking/awlsim.html#connecting_to_real_hardware_linuxcnc Theoretically, it could be used in conjunction with awlsim's "pyprofibus" module to connect LinuxCNC to real PROFIBUS slaves. http://bues.ch/cms/hacking/profibus.html However, I did not try that combined configuration, yet. It would need lots of additional work to get it working. Especially, because the profibus project currently only works on the Raspberry Pi and is far from being universally usable. I don't know whether it makes any sense to use awlsim on any real-life machine (probably not), but it sounded cool to me to have a free (as in freedom and beer) S7 PLC option for LinuxCNC. I did not test it on real hardware, yet. Only in LinuxCNC's simulator mode. It currently is not possible to use awlsim's GUI when running as LinuxCNC-PLC. That's stuff to be done, yet. Have fun! -- Michael
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
