Metadata-Version: 2.4
Name: plccontroller
Version: 0.0.1
Summary: Python interface for Siemens PLC communication using python-snap7
Home-page: https://github.com/Shahriar88/plccontroller
Author: Md Shahriar Forhad
Author-email: shahriar.forhad.eee@gmail.com
License: MIT
Project-URL: Source, https://github.com/Shahriar88/plccontroller
Project-URL: Issues, https://github.com/Shahriar88/plccontroller/issues
Keywords: siemens,plc,snap7,python-snap7,automation,industrial-automation,profinet
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: System :: Hardware
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: python-snap7<3
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# plccontroller

A lightweight Python interface for communicating with Siemens PLCs using [`python-snap7`](https://pypi.org/project/snap7-optimized/).

`plccontroller` provides a simple interface for connecting to Siemens PLCs and reading or updating configured PLC data-block variables.

## Features

- Siemens PLC communication using `python-snap7`
- Simple read and write interface
- Support for Siemens `INT` and `BOOL` variables
- Individual and multiple-variable updates
- Configurable PLC IP address, rack, slot, and DB number
- Read-back verification after PLC writes

## Installation

```bash
pip install plccontroller
```

## Documentation and Usage

For complete installation instructions, PLC configuration, database layout, usage examples, troubleshooting, and the latest documentation, visit the GitHub repository:

**https://github.com/Shahriar88/plccontroller**

The GitHub documentation is maintained separately so that usage information can be updated independently of PyPI releases.

## Source Code

**GitHub:**  
https://github.com/Shahriar88/plccontroller

## License

MIT License

Copyright (c) 2026 Md Shahriar Forhad

See the project repository for license details.
