Skip to main content

SLMP Connect Python: client library for MELSEC SLMP binary communication

Project description

CI Documentation PyPI Python 3.10+ License: MIT Static Analysis: Ruff Release Python MkDocs

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slmp_connect_python-0.8.0.tar.gz (119.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

slmp_connect_python-0.8.0-py3-none-any.whl (121.6 kB view details)

Uploaded Python 3

File details

Details for the file slmp_connect_python-0.8.0.tar.gz.

File metadata

  • Download URL: slmp_connect_python-0.8.0.tar.gz
  • Upload date:
  • Size: 119.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for slmp_connect_python-0.8.0.tar.gz
Algorithm Hash digest
SHA256 19259a49db39d598e75a49497643ed0324d1a2c839a74a34d85aa5c045e20a1d
MD5 9c42b3b8944722ba53921719e341936a
BLAKE2b-256 4da446194f39feb667fda52d0ed9d67aa6ff08fccaf54d7fe82f2342b79fd6b5

See more details on using hashes here.

File details

Details for the file slmp_connect_python-0.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for slmp_connect_python-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52676f08234e89df979cda035ba0ad8c51bc23cc6ec57597ee604088632b4920
MD5 e007ac1b1f7399f63e94757c10ddbcba
BLAKE2b-256 9ef39df68a3acae8b6725ab606957aca529575e37ba7933abfd7e580f4ec8bb6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page