Python library for KEYENCE KV series Host Link (Upper Link) communication.
Project description
KEYENCE KV Host Link for Python
Python library for KEYENCE KV Host Link PLC communication.
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 kv-hostlink
Quick example
import asyncio
from hostlink import HostLinkConnectionOptions, device_range_catalog_for_plc_profile, open_and_connect, read_typed
async def main() -> None:
catalog = device_range_catalog_for_plc_profile("keyence:kv-7000")
options = HostLinkConnectionOptions(host="192.168.250.100", plc_profile="keyence:kv-8000", port=8501)
async with await open_and_connect(options) as client:
dm0 = await read_typed(client, "DM0", "U")
print(f"DM0 = {dm0}")
asyncio.run(main())
Documentation
| Page | Use it for |
|---|---|
| Full documentation site | Unified docs for all PLC communication libraries. |
| Getting started | Install the package, connect to your PLC, and run your first read/write. |
| Usage guide | Use the high-level API and common Host Link workflows. |
| Supported registers | Check supported device families and address forms. |
| PLC profiles | Choose the canonical profile that matches your PLC model and device ranges. |
| Gotchas | Check the common Host Link failure modes before troubleshooting wiring or ladder code. |
| Examples | Run maintained Python samples: samples/high_level_async.py, samples/high_level_sync.py, samples/basic_high_level_rw.py, samples/named_snapshot.py, samples/polling_monitor.py. |
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 | kv-hostlink |
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 kv_hostlink-1.0.1.tar.gz.
File metadata
- Download URL: kv_hostlink-1.0.1.tar.gz
- Upload date:
- Size: 29.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 |
f26800d5094de21b8e219a93b075fb8f142b0b58cdbb40c44c061fb0bcbe01fd
|
|
| MD5 |
7a8f5d665266b5d0c0a8c437981ddcb6
|
|
| BLAKE2b-256 |
56c9c7ba96eabde9aa88474ba024a2a443615b25503f78ccd37f5d1eb762cfde
|
File details
Details for the file kv_hostlink-1.0.1-py3-none-any.whl.
File metadata
- Download URL: kv_hostlink-1.0.1-py3-none-any.whl
- Upload date:
- Size: 29.4 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 |
102dd3700d48ddb948d3a0d3ea6543ade16b6a63dcc760360d6994598182017c
|
|
| MD5 |
f7f1b5aacdccfabd7223a6133956f3ff
|
|
| BLAKE2b-256 |
e389132441af705892a46f6290c6be530a569322c5c1380f7f295418df346a57
|