Python client library for TOYOPUC computer-link communication over TCP and UDP
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file toyopuc_computerlink-1.2.0.tar.gz.
File metadata
- Download URL: toyopuc_computerlink-1.2.0.tar.gz
- Upload date:
- Size: 51.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8867f241ae91231fd939ad209cae7cff8f2b80f037c032496866352093df758
|
|
| MD5 |
ae590398f0caab50ac6c16bf0bd0baef
|
|
| BLAKE2b-256 |
6f3b732d8b40f77c6f0a713a69e948c4af8ea0e81872df1140ac5f7a5afb7e48
|
File details
Details for the file toyopuc_computerlink-1.2.0-py3-none-any.whl.
File metadata
- Download URL: toyopuc_computerlink-1.2.0-py3-none-any.whl
- Upload date:
- Size: 53.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31706ab24f3c733b0da542eb2e2e6907960446bd2ac6517d08dba43be274e327
|
|
| MD5 |
326ecc8d50f0c3d6d5d05985e89ec3c5
|
|
| BLAKE2b-256 |
d20b1340ce70680240c9962033e99fd669e24b29faf06114eda6375d9b479220
|