⚠️ This package has been renamed to plc-comm-toyopuc.
toyopuc-computerlink1.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).
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)
| File | Size | Uploaded | |
|---|---|---|---|
| toyopuc_computerlink-1.2.1.tar.gz | 51.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| toyopuc_computerlink-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 104.9 kB
Release files / toyopuc_computerlink-1.2.1.tar.gz
| Download URL | toyopuc_computerlink-1.2.1.tar.gz |
|---|---|
| Size | 51.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a27c796543a0200bf11b73afeb1e11455854695a84ce4e4606b4db0ca7d665f6
|
|
BLAKE2b-256 checksum How to use checksums |
cf49da87d5648ee3069c059ad81b7ea662555ccbaa2252a506af4dce6b384d1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / toyopuc_computerlink-1.2.1-py3-none-any.whl
| Download URL | toyopuc_computerlink-1.2.1-py3-none-any.whl |
|---|---|
| Size | 53.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c22b2af2c6421e0268e6713d02ee8413674fe15291d92441b7cc09d78f906c2
|
|
BLAKE2b-256 checksum How to use checksums |
a24cbed05d26f8a072c946e229313e0aaca8be59d7aac2ee44f2027517b95866
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|