SLMP Connect Python: client library for MELSEC SLMP binary communication
Project description
MELSEC SLMP for Python
Python library for MELSEC SLMP (Binary 3E/4E) PLC communication.
Supported PLC profiles
The maintained profile table is in PLC profiles. Choose one exact canonical PLC profile from that table.
Supported device types
The maintained device and range tables are in Supported registers. Use that page for supported device families, address syntax, and profile-specific notes.
Installation
pip install slmp-connect-python
Quick example
import asyncio
from slmp import SlmpConnectionOptions, open_and_connect, read_typed
async def main() -> None:
options = SlmpConnectionOptions(host="192.168.250.100", port=1025, plc_profile="melsec:iq-r")
async with await open_and_connect(options) as client:
value = await read_typed(client, "D100", "U")
print(f"D100={value}")
asyncio.run(main())
Documentation
| Page | Use it for |
|---|---|
| Full documentation site | Unified docs for all PLC communication libraries. |
| Getting started | Install the package, connect to your PLC, and run your first SLMP read/write. |
| Usage guide | Use the high-level API and common SLMP workflows. |
| Supported registers | Check supported device families, address syntax, and numbering rules. |
| PLC profiles | Choose the canonical MELSEC profile and frame behavior. |
| Examples | Run maintained Python samples. |
Hardware verified
Live-device verification is maintained in Latest communication verification. See that page for verified PLC models, transports, dates, limitations, and retained validation notes.
License and registry
| Item | Value |
|---|---|
| License | MIT |
| Registry | PyPI |
| Package | slmp-connect-python |
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
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 slmp_connect_python-1.0.0.tar.gz.
File metadata
- Download URL: slmp_connect_python-1.0.0.tar.gz
- Upload date:
- Size: 119.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bcf49640555ad8aa82bcc751dbad073a765d3ae79e2ee52e451f2df8a89c5c5
|
|
| MD5 |
7f5b7093ebca9011a4ee4af83f8698aa
|
|
| BLAKE2b-256 |
58a7b0a120d9c416397e8e9700c325a125a8481532725ee0d27214f205f04a38
|
File details
Details for the file slmp_connect_python-1.0.0-py3-none-any.whl.
File metadata
- Download URL: slmp_connect_python-1.0.0-py3-none-any.whl
- Upload date:
- Size: 121.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb43f835cd26ed64c0a715b95189af0ca7391d78ac497fab8a960021e5f2c3d1
|
|
| MD5 |
feb84779180e395cbd655f700e18b235
|
|
| BLAKE2b-256 |
7a5cc0e89688ebcb4840a9f53627cee521aa0abf7e53e8aeadaabda58c91c89f
|