[abcip] AbCip — Native STRING / STRINGnn variant decoding #226

Closed
opened 2026-04-25 12:34:16 -04:00 by dohertj2 · 2 comments
Owner

Auto-managed PR — Mode B (autonomous)

Driver: abcip Phase: 1 Plan PR: 1.2
Plan: docs/plans/abcip-plan.md
Effort: M Cross-driver: False

Summary

Today AbCipDataType.String flattens any Logix STRING UDT into a .NET string via libplctag GetString(0). Logix programs commonly define STRING_20/40/80 variants. Add StringLength field to AbCipStructureMember and AbCipTagDefinition, thread into the libplctag string-cap hint. Investigate libplctag's str_max_capacity / str_count_word_bytes attributes; extend LibplctagTagRuntime if needed.

Source files

  • src/ZB.MOM.WW.OtOpcUa.Driver.AbCip/AbCipDataType.cs
  • src/ZB.MOM.WW.OtOpcUa.Driver.AbCip/AbCipDriverOptions.cs
  • src/ZB.MOM.WW.OtOpcUa.Driver.AbCip/LibplctagTagRuntime.cs
  • src/ZB.MOM.WW.OtOpcUa.Driver.AbCip/AbCipDriver.cs

Docs

  • docs/Driver.AbCip.Cli.md
  • docs/drivers/AbServer-Test-Fixture.md

Fixture

  • tests/ZB.MOM.WW.OtOpcUa.Driver.AbCip.IntegrationTests/Docker/docker-compose.yml

E2E

  • scripts/e2e/test-abcip.ps1
  • scripts/smoke/seed-abcip-smoke.sql

Branch: auto/abcip/1.2. Target: auto/driver-gaps.

<!-- queue-meta {"id": "abcip-1.2", "driver": "abcip", "phase": 1, "plan_pr_id": "1.2", "deps": [], "cross_driver": false} --> ## Auto-managed PR — Mode B (autonomous) **Driver**: `abcip` **Phase**: `1` **Plan PR**: `1.2` **Plan**: [`docs/plans/abcip-plan.md`](docs/plans/abcip-plan.md) **Effort**: `M` **Cross-driver**: `False` ## Summary Today AbCipDataType.String flattens any Logix STRING UDT into a .NET string via libplctag GetString(0). Logix programs commonly define STRING_20/40/80 variants. Add StringLength field to AbCipStructureMember and AbCipTagDefinition, thread into the libplctag string-cap hint. Investigate libplctag's str_max_capacity / str_count_word_bytes attributes; extend LibplctagTagRuntime if needed. ## Source files - `src/ZB.MOM.WW.OtOpcUa.Driver.AbCip/AbCipDataType.cs` - `src/ZB.MOM.WW.OtOpcUa.Driver.AbCip/AbCipDriverOptions.cs` - `src/ZB.MOM.WW.OtOpcUa.Driver.AbCip/LibplctagTagRuntime.cs` - `src/ZB.MOM.WW.OtOpcUa.Driver.AbCip/AbCipDriver.cs` ## Docs - `docs/Driver.AbCip.Cli.md` - `docs/drivers/AbServer-Test-Fixture.md` ## Fixture - `tests/ZB.MOM.WW.OtOpcUa.Driver.AbCip.IntegrationTests/Docker/docker-compose.yml` ## E2E - `scripts/e2e/test-abcip.ps1` - `scripts/smoke/seed-abcip-smoke.sql` --- _Branch: `auto/abcip/1.2`. Target: `auto/driver-gaps`._
dohertj2 added the phase/1auto-manageddriver/abcipqueue/queued labels 2026-04-25 12:34:16 -04:00
dohertj2 added queue/in-progress and removed queue/queued labels 2026-04-25 12:51:02 -04:00
Author
Owner

🤖 Auto-loop picked this up. Branch: auto/abcip/1.2. Status: in-progress.

🤖 Auto-loop picked this up. Branch: `auto/abcip/1.2`. Status: in-progress.
dohertj2 added queue/done and removed queue/in-progress labels 2026-04-25 12:55:39 -04:00
Author
Owner

Auto-loop completed. Merged via PR #318.

✅ Auto-loop completed. Merged via PR #318.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#226