Skip to main content

CI PyPI Python 3.10+ License: MIT

MELSEC SLMP for Python

Python library for MELSEC SLMP (Binary 3E/4E) PLC communication.

PLC Comm Family

This library is part of the plc-comm family. See the package matrix for protocol, language, registry, and install-command mapping.

Supported PLC profiles

The maintained profile table is in PLC profiles. Choose one exact canonical PLC profile from that table.

Sync and async public clients always enforce the selected PLC profile. Point limits and read-only write policies are also enforced before transport.

Supported device types

The maintained device and range tables are in the SLMP Profile Reference. Use that page for supported device families, address syntax, and profile-specific notes.

Installation

pip install plc-comm-slmp

Quick example

import asyncio
from slmp import SlmpConnectionOptions, SlmpTarget, open_and_connect, read_typed

async def main() -> None:
    options = SlmpConnectionOptions(
        host="192.168.250.100",
        port=1025,
        transport="tcp",
        plc_profile="melsec:iq-r",
        default_target=SlmpTarget(network=0, station=0xFF, module_io=0x03FF, multidrop=0),
    )
    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.
SLMP profile reference Check profile parameters, device families, address syntax, and numbering rules.
PLC profiles Choose the canonical MELSEC profile and frame behavior.
Examples Run maintained Python samples.

License and registry

Item Value
License MIT
Registry PyPI
Package plc-comm-slmp

Commercial support

If you plan to embed this library in a paid or commercial product, please consider a separate support agreement or supporting the project as a sponsor.

Contact: https://fa-labo.com/contact.html

Download files

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

Source Distribution

plc_comm_slmp-4.0.0.tar.gz (99.7 kB view details)

Uploaded Source

Built Distribution

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

plc_comm_slmp-4.0.0-py3-none-any.whl (104.0 kB view details)

Uploaded Python 3

File details

Details for the file plc_comm_slmp-4.0.0.tar.gz.

File metadata

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

File hashes

Hashes for plc_comm_slmp-4.0.0.tar.gz
Algorithm Hash digest
SHA256 4ff5057e2e80205b29bec1477f9de408a5f1d86fc427f2e094fb0d6d702413e8
MD5 fc7630e629a8b8298f985f450ec9c850
BLAKE2b-256 77bd4ca64207ff7433719d659716f8bf2f0b0f584af112aa14cd6680512f131d

See more details on using hashes here.

File details

Details for the file plc_comm_slmp-4.0.0-py3-none-any.whl.

File metadata

  • Download URL: plc_comm_slmp-4.0.0-py3-none-any.whl
  • Upload date:
  • Size: 104.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for plc_comm_slmp-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b45115c4a325f4b31006238a01b8fe86c869f237c7a3cf1df997ed5e6f5574e
MD5 7260b0a9fd31154340c5f59ae2260dbb
BLAKE2b-256 7fd730bb67a041eb7e0e600d34e362d273360343e37ff018debdd600ebbc8131

See more details on using hashes here.

Release history Release notifications | RSS feed

5.1.0

2 files

5.0.0

2 files

4.0.1

2 files

This release

4.0.0 This release

2 files

3.1.0

2 files

2.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page