Project home: https://bues.ch/a/awlsim Original repository at: https://git.bues.ch/git/awlsim.git https://bues.ch/a/awlsim

Michael Buesch 0ab50fc2ff geo2d: Add __bool__ 1 day ago
awlsim 0ab50fc2ff geo2d: Add __bool__ 1 day ago
awlsim_loader 4b7768ca93 core: Move parser to awlcompiler submodule 1 month ago
awlsimhw_debug fa93fe4aac hwmod/debug: Add synthetic errors 11 months ago
awlsimhw_dummy cb363d5527 Move common code to awlsim.common package 2 years ago
awlsimhw_linuxcnc 1b4e5b95c5 hwapi: Add support for dynamic parameter names 1 year ago
awlsimhw_pyprofibus 0ce57a559d hw/pyprofibus: Add support for dummy PHY 9 months ago
awlsimhw_rpigpio 238c72d0b8 compat: Add dict items() values() keys() compat 2 months ago
debian 110191f223 Update debian changelog 3 weeks ago
doc 4058500794 Add QUICK-START documentation 2 months ago
examples ded2776d4c Update EXAMPLE 3 weeks ago
libs 2161093120 rpigpio: Fix setup 1 year ago
maintenance 406301b327 Update metrics script 3 weeks ago
pilc 4da222bcdd pilc: Install RPi.GPIO for PyPy 2 months ago
progs 5bcb65a617 Add PuTTY 6 months ago
submodules 1a56219059 Update pyprofibus 7 months ago
tests bd32afa12b geo2d: Add fromCoords helper 1 day ago
.gitignore 7cde4e890c Add generated doc files to gitignore 2 months ago
.gitmodules a5559035f8 Move all git submodules to "submodules" directory. 8 months ago
COMPATIBILITY.md c4e79739bc doc: Fix typo 1 month ago
COPYING.txt 193467d27e Clarify license conditions (GPL2+) 2 years ago
MANIFEST.in 9433b1f5e7 Move setup_cython.py to maintenance directory 3 weeks ago
QUICK-START.md 4058500794 Add QUICK-START documentation 2 months ago
README.md 11ad359339 README: Add reference to examples 2 months ago
TODO.md 1fe7939ab0 fup/wire: Only draw from out to in 2 weeks ago
awlsim-client 2d76736f0d Move cython logic to separate awlsim_loader module 4 months ago
awlsim-gui 250f25803b Update copyright 1 year ago
awlsim-linuxcnc-hal dd46b322ed coreserver: Add basic fup/kop support 2 months ago
awlsim-server 164c250f7f awlsim-server: Fix cython helper check 3 months ago
awlsim-server.service.in 149cf363ef Add basic support for SSH tunnel 7 months ago
awlsim-symtab 2d76736f0d Move cython logic to separate awlsim_loader module 4 months ago
awlsim-test 4b7768ca93 core: Move parser to awlcompiler submodule 1 month ago
awlsim-win.cmd bbaa7ed08d Update windows build scripts 3 weeks ago
awlsimhw_pyprofibus.conf a2825f0256 hw/pyprofibus/conf: Fix py2 compatibility 9 months ago
setup.py 9433b1f5e7 Move setup_cython.py to maintenance directory 3 weeks ago

README.md

Awlsim - S7 compatible Soft-PLC

Awlsim is a free Step 7 compatible AWL/STL Soft-PLC written in Python.

The latest version of awlsim can be downloaded from the official awlsim site.

Awlsim - Soft-PLC

Awlsim is a free Step 7 compatible AWL/STL Soft-PLC written in Python. Depending on the host machine and the Python interpreter used, it achieves good performance of several thousand to millions of AWL/STL instructions per second. German and English S7 AWL/STL mnemonics are supported.

AWL/STL programs on PLCs are used for automation of industrial processes. However Awlsim is very flexible, so it can be used for other purposes beyond industrial applications, too. Awlsim aims to be compatible with the industry standard S7 software on the AWL/STL level.

Awlsim can emulate CPUs with two and four accumulator registers (S7-3xx and S7-4xx). Compatibility to S7 hardware is a task taken seriously by the awlsim project. We want to be as close as possible to the real PLC hardware with our AWL/STL code execution. For this reason awlsim ships an extensive selftest suite. Missing features and differences between awlsim and Step 7 are documented in the COMPATIBILITY documentation and TODO documentation files.

Quick start tutorial

See the quick start tutorial for a simple example on how to use Awlsim in simulator mode. Simulator mode does not require any special hardware to run.

Example project

If you don't know where to start, you can find an example project in the examples directory as EXAMPLE.awlpro. You can easily run this example in simulation mode without the need for special hardware.

License / Copyright

Copyright (C) Michael Büsch / et al.

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 free of charge, too.