.NET library for KEYENCE KV Host Link PLC communication.
Connections are IPv4-only. Use an unbracketed IPv4 literal or a hostname with
an IPv4 result; bracketed IPv4 such as [192.168.250.100] is invalid. The
ordinary KvHostLinkClient includes arrival-order FIFO admission,
so one instance can be shared by asynchronous callers without a wrapper.
This library is part of the plc-comm family. See the package matrix for protocol, language, registry, and install-command mapping.
The maintained profile table is in PLC profiles. Choose one exact canonical PLC profile from that table.
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.
dotnet add package PlcComm.KvHostLinkusing System;
using PlcComm.KvHostLink;
var options = new KvHostLinkConnectionOptions(
"192.168.250.100", 8501, HostLinkTransportMode.Tcp, "keyence:kv-8000");
await using var client = await KvHostLinkClientFactory.OpenAndConnectAsync(options);
var value = await client.ReadTypedAsync("DM0", "U");
Console.WriteLine($"DM0 = {value}");| Page | Use it for |
|---|---|
| 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. |
| API reference | Browse generated public .NET signatures and XML documentation comments. |
| PLC profiles | Choose the 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. |
| Full documentation site | Unified docs for all PLC communication libraries. |
| Performance | See measured latency, throughput, and long-run soak results from real PLC hardware. |
| Choosing a Language | Compare the .NET, Python, Rust, C++, and Node-RED implementations before you pick one. |
| Examples | Run the six maintained projects: PlcComm.KvHostLink.HighLevelSample, PlcComm.KvHostLink.BasicReadWriteSample, PlcComm.KvHostLink.NamedPollingSample, PlcComm.KvHostLink.PollingReconnectSample, PlcComm.KvHostLink.MultiPlcMonitorSample, and PlcComm.KvHostLink.ConfigPollingSample. |
For a zero-code connectivity check, see PLC Scope (Windows).
| Item | Value |
|---|---|
| License | MIT |
| Registry | NuGet |
| Package | PlcComm.KvHostLink |
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