Skip to main content

⚠️ This package has been renamed to plc-comm-toyopuc. toyopuc-computerlink 1.2.1 is the final release under the old name and will receive no further updates. Install the new package instead: pip install plc-comm-toyopuc (import name is unchanged).

CI PyPI Python 3.10+ License: MIT

TOYOPUC Computerlink for Python

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

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 toyopuc-computerlink

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,
        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.
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.
Samples Complete sample programs and command lines.

License and registry

Item Value
License MIT
Registry PyPI
Package toyopuc-computerlink

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 toyopuc-computerlink 1.2.1

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

Source distribution (sdist)

Source distribution for toyopuc-computerlink 1.2.1
File Size Uploaded Provenance Actions
toyopuc_computerlink-1.2.1.tar.gz 51.7 kB Without provenance Details for toyopuc_computerlink-1.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for toyopuc-computerlink 1.2.1
File Interpreter ABI Platform Actions
toyopuc_computerlink-1.2.1-py3-none-any.whl Python 3 none any Details for toyopuc_computerlink-1.2.1-py3-none-any.whl

Total release size: 104.9 kB

Security for toyopuc-computerlink 1.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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