Skip to main content

CI PyPI Python 3.10+ License: MIT

TOYOPUC Computerlink for Python

Python library for TOYOPUC Computerlink PLC communication over TCP or UDP.

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.

Supported device types

The shared device and range tables are in the Computerlink Device Ranges page. Use that page for supported device families, address syntax, and profile-specific notes.

Installation

pip install plc-comm-toyopuc

Quick example

import asyncio

from toyopuc import ToyopucConnectionOptions, open_and_connect, read_typed, write_typed


async def main() -> None:
    options = ToyopucConnectionOptions(
        host="192.168.250.100",
        port=1025,
        transport="tcp",
        plc_profile="toyopuc:plus:extended",
    )

    async with await open_and_connect(options) as client:
        value = await read_typed(client, "P1-D0000", "U")
        print(f"P1-D0000 = {value}")

        await write_typed(client, "P1-D0001", "U", 1234)


asyncio.run(main())

Documentation

Page Use it for
Full documentation site Unified docs for all PLC communication libraries.
Getting started First connection, first read, and first write.
Usage guide Recommended entry points and common workflows.
API reference Find public client methods, helpers, profile APIs, and error types.
PLC profiles Exact canonical profile names and profile-specific cautions.
Computerlink Device Ranges Check shared device families, address notation, and model range notes.
Computerlink Troubleshooting & Codes Troubleshoot common connection, address, write, relay, and PLC error-code symptoms.
Gotchas Symptoms, root causes, and fixes for common mistakes.
Performance See measured latency, throughput, and long-run soak results from real PLC hardware.
Choosing a Language Compare the .NET, Python, Rust, C++, and Node-RED implementations before you pick one.
Samples Complete sample programs and command lines.

For a zero-code connectivity check, see PLC Scope (Windows).

License and registry

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

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_toyopuc-4.1.0.tar.gz (66.3 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_toyopuc-4.1.0-py3-none-any.whl (70.8 kB view details)

Uploaded Python 3

File details

Details for the file plc_comm_toyopuc-4.1.0.tar.gz.

File metadata

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

File hashes

Hashes for plc_comm_toyopuc-4.1.0.tar.gz
Algorithm Hash digest
SHA256 4f56805f247f7e6fd910e354fcabe8b4397b0e07959f2bd31c0d95af9d7e443c
MD5 ea9a0617b166a90ff0b51e81797b4c6b
BLAKE2b-256 a99aa7c2dd2b232cd3100d4405051313a7d681075f1e78227f42a8c6cac9cc3f

See more details on using hashes here.

File details

Details for the file plc_comm_toyopuc-4.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for plc_comm_toyopuc-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 954d51e618b40ecdd6f705834250cfe8bf50b57f6c2bd4a2bbf56d8b3888b628
MD5 109f47de8a854a30e9621bc1c1434df5
BLAKE2b-256 d5698746b20f71b62aa2ab2aa568e0e7cde36f576f72a70ff7102097a1d87896

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

4.1.0 This release

2 files

4.0.0

2 files

3.2.1

2 files

3.2.0

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