A tool to convert Structured Text PLC code to an SMV model.
Project description
Overview
st2smv is a tool for converting programmable logic controller (PLC) code to a formal model, and checking whether the model satisfies various properties (e.g., temporal logic specifications). As its name implies, st2smv can process PLC code written in a subset of the Structured Text (ST) programming language, and produces models in the SMV language.
Basic Use
Run the command
st2smv --help
to see a summary of how to use st2smv.
Structure of the Model
In progress…
Advanced Use
In progress…
Installation
To install st2smv from the Python Package Index (PyPI), run the command
pip install st2smv
If you have instead obtained this package from another source and wish to install that copy, run the command
pip install st2smv_directory
where st2smv_directory is the location of this directory (i.e., the directory that contains the file setup.py).
Dependencies
st2smv converts PLC code to a formal model, which then must be analyzed using a solver. The current version of st2smv produces models that can be analyzed using SynthSMV, which must be installed separately. NuSMV (which SynthSMV is based on) can be used to check some, but not all, of the models that st2smv produces.
License
GPLv3+: The GNU General Public License, version 3, or (at your option) any later version.
Project details
Release history Release notifications | RSS feed
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
Hashes for st2smv-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb9047d9dacfa8f4fdc549e87f0ae43b7be6c537fd35440522a9c5e566f544de |
|
MD5 | 91ef5c22bb8ffbedfc18ca1c7737c466 |
|
BLAKE2b-256 | f86f59e6a883f590872c305f348fbfadf815e8800abccc10a046e687efc2f2da |