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
toyopuc_computerlink-1.2.1.tar.gz 51.7 kB Details

Built distribution (wheel)

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

Total release size: 104.9 kB

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.8.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.4

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