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

Metadata

Release files for plc-comm-toyopuc 4.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plc-comm-toyopuc 4.2.0
File Size Uploaded
plc_comm_toyopuc-4.2.0.tar.gz 68.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for plc-comm-toyopuc 4.2.0
File Interpreter ABI Platform
plc_comm_toyopuc-4.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 140.7 kB

Release files / plc_comm_toyopuc-4.2.0.tar.gz

Download URL plc_comm_toyopuc-4.2.0.tar.gz
Size 68.2 kB
Tags Source
SHA-256 checksum
How to use checksums
18e5f75f7f929bfc24159b3f7c9e2b0a405c062a8f7dfa5feb6e1501a66f5a96
BLAKE2b-256 checksum
How to use checksums
5e36dae9dd1907578089cd1883e3151ff8cf18eb9020c6a239d17fac4b753620
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / plc_comm_toyopuc-4.2.0-py3-none-any.whl

Download URL plc_comm_toyopuc-4.2.0-py3-none-any.whl
Size 72.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4930d0600d1d126acf843194f0c534a1489c448ac2e23d9e9467b5d8d7a89cf1
BLAKE2b-256 checksum
How to use checksums
ef3e85234340f7ba2c94cb63f1d95b4cfda5bda83187fe3765db53d1d16527ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

4.2.0 This release

2 release files

4.1.0

2 release files

4.0.0

2 release files

3.2.1

2 release files

3.2.0

2 release files

3.1.0

2 release files

2.0.0

2 release 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