Step 7 AWL/STL/PLC simulator

About awlsim

Image preview of awlsimgui.png

Awlsim is a free Step 7 AWL/STL/PLC simulator written in Python. It achieves good performance of several tens of thousands of AWL instructions per second (depending on the host machine and whether online diagnostics are enabled). It currently implements the German AWL mnemonics only.

The current focus is the S7-3xx and S7-4xx family of PLC CPUs (2 and 4 accu).

Simulation accuracy is taken seriously by the awlsim project. We want to be as close as possible to the real PLC hardware with our simulation. For this reason awlsim ships an extensive selftest suite. If you find any bugs and inconsistencies with respect to a real PLC CPU, please contact us.

Awlsim is Open Source Free Software licensed under the GNU General Public License v2. That means it's available in full source code and you are encouraged to improve it and contribute your changes back to the community. Awlsim is also free of charge.

Download

Installing awlsim on MS Windows

Awlsim requires two software packages to be installed before it can be used:

There currently is no binary Win64 package of PySide available.
But the 32bit version of PySide should also work on Win64.

Please install Python and PySide to their default install locations.

Running awlsim on MS Windows

After the dependencies have been installed (see Installing above), the awlsim-X.X.zip archive can be extracted.

After extracting the ZIP archive, simply run the awlsim-win32.bat file. The graphical user interface of awlsim should appear.

If you did not install a dependency correctly, or if there is any other problem, an error message will be printed to the console window that also appears.

Running awlsim on other platforms

Awlsim runs on any platform that supports Python and PySide, which includes Linux and Mac OS X.

Python interpreter version

Awlsim runs on Python 2.7 and Python 3.2 or later.

The command-line-interface version 'awlsimcli' also runs on PyPy 2 or later.

Get the latest development version

Latest bleeding edge awlsim can be downloaded using the Git version control software by issuing the following command

git clone git://git.bues.ch/awlsim.git

or by downloading the awlsim snapshot archive.
To browse the Git repository online, go to the gitweb interface.

Thanks

Thanks to the Balthasar Neumann Technikum Trier for providing access to PLC hardware.

License / Copyright

Copyright (C) Michael Büsch
Licensed under the terms of the GNU General Public License version 2. See the sourcecode for details.

Updated: Thursday 23 May 2013 16:37 (UTC)
https (SSL) encrypted
xhtml / css