PLCreX - Approaches towards the analysis and reuse capabilities of IEC 61131-3 Programmable Logic Controllers
Project description
PLCreX - Approaches towards the analysis and reuse capabilities of IEC 61131-3 Programmable Logic Controllers
Quick links
Releases
·
Documentation
·
Quick Start
·
Key Features
·
Licenses
·
Acknowledgments
Quick Start
- Download IEC-Checker
v0.4via IEC-Checker's GitHub releases [.url] - Download NuSMV symbolic model checker
v2.6.0via NuSMV's homepage [.url] - Install PLCreX via PyPI:
pip install plcrexor - Install PLCreX via PLCreX's GitHub repository:
install-windows.bat- [optional] Run local tests:
coverage run -m pytest ./tests/ --verbose - Activate virtual environment (venv):
run.bat
- [optional] Run local tests:
Key Features
Usage: python -m plcrex --help
| Tool | Usage | Script | Version | Design flow |
|---|---|---|---|---|
| FBD-Optimizer | plcrex fbd-optimizer [OPTIONS] SOURCE EXE EXPORT FILENAME |
st2x | 2.2.0 | *.xml → fbd2st → *.st → st2x → *.st |
| FBD-to-ST Compiler | plcrex fbd-to-st [OPTIONS] SOURCE EXPORT FILENAME |
fbd2st | 1.4.0 | *.xml → fbd2st → *.st |
| IEC-Checker | plcrex iec-checker [OPTIONS] SOURCE EXE EXPORT FILENAME |
iec_checker | 1.2.0 | *.st → iec_checker → *.log |
| I/O-Impact Analysis | plcrex impact-analysis [OPTIONS] SOURCE EXPORT FILENAME |
st2ia | 1.4.1 | *.xml → fbd2st → *.st → st2ia → *.dot |
| ST-Parser | plcrex st-parser [OPTIONS] SOURCE EXPORT FILENAME |
st2ast | 1.2.0 | *.st → st2ast → .dot/.txt |
| Test-Case-Generator | plcrex test-case-gen [OPTIONS] FORMULA EXPORT FILENAME |
ds2ts | 2.1.2 | FORMULA:str → ds2ts → *.log |
| XML-Validator | plcrex xml-validator [OPTIONS] SOURCE |
xml_val | 1.2.0 | *.xml → xml_val → stdout |
NOTE: Use the "--help" option to see feature details
Licenses
PLCreX and its dependencies are licensed as follows:
| Tool | Version | License |
|---|---|---|
| PLCreX | 1.2.0 | GPLv3 |
| IEC-Checker | 0.4 | LGPL v3.0 |
| NuSMV | 2.6.0 | LGPL v2.1 |
Acknowledgments
Inspiration, code snippets, etc.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file plcrex-1.2.0.tar.gz.
File metadata
- Download URL: plcrex-1.2.0.tar.gz
- Upload date:
- Size: 388.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a7ae191ec582c9964b83638c00ebddb021a5353e6cd153a37712b24214db3c3
|
|
| MD5 |
cbab6676a43095cc1a01442e1b1ce4a0
|
|
| BLAKE2b-256 |
fd5844641fd52f8590647cbce0132c3f7532d2e03c58d3cd0c39af4821050898
|
File details
Details for the file plcrex-1.2.0-py3-none-any.whl.
File metadata
- Download URL: plcrex-1.2.0-py3-none-any.whl
- Upload date:
- Size: 400.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e37c609059645ebbd4b970c0d2ef8135706197410c70bf690479ce6b8e8860d6
|
|
| MD5 |
dd83aaab701b79637d4bcab0141cea85
|
|
| BLAKE2b-256 |
3f7dd59369ba3145891134bd108209ee25458733651f93c3d33c71f6f26d2194
|