⚠️ This package has been renamed to plc-comm-kv-hostlink.
kv-hostlink1.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-kv-hostlink(import name is unchanged).
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 shared device and range tables are in the KV Host Link Device Ranges page. 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. |
| PLC profiles | Choose the canonical profile that matches your PLC model and device ranges. |
| KV Host Link Device Ranges | Check shared device families, address notation, and range tables. |
| KV Host Link Troubleshooting & Codes | Troubleshoot common port, profile, address, write-permission, and PLC error-code symptoms. |
| Gotchas | Check whether this library has any current library-specific caveats. |
| 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. |
License and registry
| Item | Value |
|---|---|
| License | MIT |
| Registry | PyPI |
| Package | kv-hostlink |
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 kv-hostlink 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 | |
|---|---|---|---|
| kv_hostlink-1.2.1.tar.gz | 31.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kv_hostlink-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.9 kB
Release files / kv_hostlink-1.2.1.tar.gz
| Download URL | kv_hostlink-1.2.1.tar.gz |
|---|---|
| Size | 31.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
94720b7f26118f90b6e7d04bf49ae0166efb00144e54910797a34c2ecca96601
|
|
BLAKE2b-256 checksum How to use checksums |
b8444c5e0b048465774918924ced3dd386316bedf8d42de628f54a98a537f233
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / kv_hostlink-1.2.1-py3-none-any.whl
| Download URL | kv_hostlink-1.2.1-py3-none-any.whl |
|---|---|
| Size | 31.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3044a951f38429c9730ec1a9f6cffa6d94c2c09b0a464bdc15f855344445a42f
|
|
BLAKE2b-256 checksum How to use checksums |
275810cb5370fb3d7766b156e1481a635837e4927a00e0857bc140b18448659e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|