Python client library for TOYOPUC computer-link communication over TCP and UDP
Project description
TOYOPUC Computer Link for Python
Python library for TOYOPUC Computer Link 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 maintained device and range tables are in Supported registers. 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. |
| Supported registers | Public device families and typed address forms. |
| PLC profiles | Exact canonical profile names and profile-specific cautions. |
| Gotchas | Symptoms, root causes, and fixes for common mistakes. |
| Samples | Complete sample programs and command lines. |
Hardware verified
Live-device verification is maintained in Latest communication verification. See that page for verified PLC models, transports, dates, limitations, and retained validation notes.
License and registry
| Item | Value |
|---|---|
| License | MIT |
| Registry | PyPI |
| Package | toyopuc-computerlink |
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-0.8.0.tar.gz.
File metadata
- Download URL: toyopuc_computerlink-0.8.0.tar.gz
- Upload date:
- Size: 49.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e33b5f9abb21478eceb9b163b6fb22ed19fc990d1b7bf29d0236a6d3bc3e336b
|
|
| MD5 |
7288dd28d85e045452154922b04c8091
|
|
| BLAKE2b-256 |
50f1a4413c14f458c73e4d94e1d4447aeca8a8d57e64e2dd98dd0e6c3176ac19
|
File details
Details for the file toyopuc_computerlink-0.8.0-py3-none-any.whl.
File metadata
- Download URL: toyopuc_computerlink-0.8.0-py3-none-any.whl
- Upload date:
- Size: 50.5 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 |
1aeb48df782c1feeca2fd185e07c605eee1b2c6b4e1c2b0e31f75931f3a00e3e
|
|
| MD5 |
8a6c30729471f41ccc203cd8b289975b
|
|
| BLAKE2b-256 |
3bca6e726dd92aacaca5820aded8837fd75b16659d65b6815771a3cbc1e24d5f
|