{"id":47782983,"url":"https://github.com/fa-yoshinobu/plc-comm-computerlink-dotnet","last_synced_at":"2026-04-03T13:55:16.164Z","repository":{"id":343858795,"uuid":"1177886597","full_name":"fa-yoshinobu/plc-comm-computerlink-dotnet","owner":"fa-yoshinobu","description":".NET library for TOYOPUC computer-link protocol. Designed for stable communication with JTEKT TOYOPUC-Plus and PC3J/PC10G.","archived":false,"fork":false,"pushed_at":"2026-03-28T11:51:35.000Z","size":7283,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-28T14:59:04.936Z","etag":null,"topics":["computer-link","csharp","dotnet","jtekt","plc","toyoda","toyopuc"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fa-yoshinobu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-10T13:26:40.000Z","updated_at":"2026-03-28T11:51:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/fa-yoshinobu/plc-comm-computerlink-dotnet","commit_stats":null,"previous_names":["fa-yoshinobu/toyopuc-computer-link-dotnet","fa-yoshinobu/plc-comm-computerlink-dotnet"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/fa-yoshinobu/plc-comm-computerlink-dotnet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fa-yoshinobu%2Fplc-comm-computerlink-dotnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fa-yoshinobu%2Fplc-comm-computerlink-dotnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fa-yoshinobu%2Fplc-comm-computerlink-dotnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fa-yoshinobu%2Fplc-comm-computerlink-dotnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fa-yoshinobu","download_url":"https://codeload.github.com/fa-yoshinobu/plc-comm-computerlink-dotnet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fa-yoshinobu%2Fplc-comm-computerlink-dotnet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31355359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T08:03:20.796Z","status":"ssl_error","status_checked_at":"2026-04-03T08:00:37.834Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["computer-link","csharp","dotnet","jtekt","plc","toyoda","toyopuc"],"created_at":"2026-04-03T13:55:15.502Z","updated_at":"2026-04-03T13:55:16.159Z","avatar_url":"https://github.com/fa-yoshinobu.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CI](https://github.com/fa-yoshinobu/plc-comm-computerlink-dotnet/actions/workflows/ci.yml/badge.svg)](https://github.com/fa-yoshinobu/plc-comm-computerlink-dotnet/actions/workflows/ci.yml)\n[![NuGet](https://img.shields.io/nuget/v/PlcComm.Toyopuc.svg)](https://www.nuget.org/packages/PlcComm.Toyopuc/)\n[![Documentation](https://img.shields.io/badge/docs-GitHub_Pages-blue.svg)](https://fa-yoshinobu.github.io/plc-comm-computerlink-dotnet/)\n[![.NET 9.0](https://img.shields.io/badge/.NET-9.0-blue.svg)](https://dotnet.microsoft.com/download/dotnet/9.0)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/fa-yoshinobu/plc-comm-computerlink-dotnet/blob/main/LICENSE)\n[![Static Analysis: dotnet format](https://img.shields.io/badge/Lint-dotnet%20format-blue.svg)](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-format)\n\n# Computer Link Protocol for .NET\n\n![Illustration](https://raw.githubusercontent.com/fa-yoshinobu/plc-comm-computerlink-dotnet/main/docsrc/assets/toyopuc.png)\n\nA user-focused .NET library for JTEKT TOYOPUC Computer Link communication.\nThe recommended entry point is the high-level queued client created by\n`ToyopucDeviceClientFactory`.\n\n## Key Features\n\n- High-level device access such as `P1-D0000`, `P1-M0000`, `ES0000`, and `FR000000`\n- Explicit connection options and optional relay-hops setup\n- Typed helpers for `U`, `S`, `D`, `L`, and `F`\n- Snapshot helpers such as `ReadManyAsync`, `ReadNamedAsync`, and `PollAsync`\n- Explicit single-request and chunked contiguous block helpers\n- Public address parsing and normalization helpers\n- FR file-register helpers and relay helpers for common application work\n- Ready-to-run examples for minimal reads, cookbook-style usage, monitoring, and soak runs\n\n## Quick Start\n\n### Installation\n\nInstall from NuGet:\n\n- Package page: https://www.nuget.org/packages/PlcComm.Toyopuc/\n\n```powershell\ndotnet add package PlcComm.Toyopuc\n```\n\nOr add a package reference directly:\n\n```xml\n\u003cPackageReference Include=\"PlcComm.Toyopuc\" Version=\"0.1.3\" /\u003e\n```\n\nYou can also reference `src/Toyopuc/PlcComm.Toyopuc.csproj` directly from a local solution during development.\n\n### High-level example\n\n```csharp\nusing PlcComm.Toyopuc;\n\nvar options = new ToyopucConnectionOptions(\"192.168.250.100\")\n{\n    Port = 1025,\n    DeviceProfile = \"TOYOPUC-Plus:Plus Extended mode\",\n};\n\nawait using var client = await ToyopucDeviceClientFactory.OpenAndConnectAsync(options);\n\nvar word = await client.ReadAsync(\"P1-D0000\");\nConsole.WriteLine($\"P1-D0000 = {word}\");\n\nawait client.WriteAsync(\"P1-D0001\", 1234);\nawait client.WriteAsync(\"P1-M0000\", 1);\n\nvar typed = await client.ReadTypedAsync(\"P1-D0200\", \"F\");\nConsole.WriteLine($\"P1-D0200:F = {typed}\");\n\nvar snapshot = await client.ReadNamedAsync([\"P1-D0000\", \"P1-D0200:F\", \"P1-D0000.0\"]);\nConsole.WriteLine(snapshot[\"P1-D0000\"]);\n```\n\nBasic area families `P/K/V/T/C/L/X/Y/M/S/N/R/D` should use a `P1-`, `P2-`, or `P3-` prefix when a profile is in use.\n\n## Common User Tasks\n\n- Read or write one device: `ReadAsync`, `WriteAsync`\n- Read several devices together: `ReadManyAsync`, `ReadNamedAsync`\n- Read 32-bit integers or float32 values: `ReadDWordsSingleRequestAsync`, `ReadTypedAsync`\n- Change one flag bit inside a word: `WriteBitInWordAsync`\n- Read contiguous word blocks: `ReadWordsSingleRequestAsync`, `ReadDWordsSingleRequestAsync`\n- Read large contiguous ranges explicitly: `ReadWordsChunkedAsync`, `ReadDWordsChunkedAsync`\n- Persist FR data: `ReadFrAsync`, `WriteFrAsync`, `CommitFrAsync`\n- Poll a small watch list repeatedly: `PollAsync`\n\nAddress helper:\n\n```csharp\nstring canonical = ToyopucAddress.Normalize(\"p1-d0000\", profile: \"TOYOPUC-Plus:Plus Extended mode\");\nConsole.WriteLine(canonical); // P1-D0000\n```\n\nUse `*SingleRequestAsync` when one logical request must remain one protocol\noperation. Use `*ChunkedAsync` only when protocol-defined boundary splitting is\nacceptable for that device family and data set.\n\n## User Docs\n\n- [User Guide](https://github.com/fa-yoshinobu/plc-comm-computerlink-dotnet/blob/main/docsrc/user/USER_GUIDE.md)\n- [Examples Guide](https://github.com/fa-yoshinobu/plc-comm-computerlink-dotnet/blob/main/examples/README.md)\n- [High-Level API Contract](https://github.com/fa-yoshinobu/plc-comm-computerlink-dotnet/blob/main/HIGH_LEVEL_API_CONTRACT.md)\n\nStart with these example programs:\n\n- `examples/PlcComm.Toyopuc.MinimalRead`\n- `examples/PlcComm.Toyopuc.HighLevelSample`\n- `examples/PlcComm.Toyopuc.SoakMonitor`\n\nEngineering and validation documents remain under `docsrc/maintainer/`.\n\n## Development and CI\n\nRun local CI:\n\n```powershell\nrun_ci.bat\n```\n\nRun the release-style check including docs:\n\n```powershell\nrelease_check.bat\n```\n\nPack the NuGet package locally:\n\n```powershell\ndotnet pack src\\Toyopuc\\PlcComm.Toyopuc.csproj -c Release\n```\n\n## License\n\nDistributed under the [MIT License](https://github.com/fa-yoshinobu/plc-comm-computerlink-dotnet/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffa-yoshinobu%2Fplc-comm-computerlink-dotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffa-yoshinobu%2Fplc-comm-computerlink-dotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffa-yoshinobu%2Fplc-comm-computerlink-dotnet/lists"}