[twincat] TwinCAT — Int64 fidelity for LINT/ULINT #305

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

Auto-managed PR — Mode B (autonomous)

Driver: twincat Phase: 1 Plan PR: 1.1
Plan: docs/plans/twincat-plan.md
Effort: S Cross-driver: False

Summary

Map LInt/ULInt to DriverDataType.Int64 instead of silently truncating to Int32. Remove the truncation comment "matches Int64 gap". May add Int64 to Core.Abstractions DriverDataType enum.

Source files

  • src/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT/TwinCATDataType.cs
  • src/ZB.MOM.WW.OtOpcUa.Core.Abstractions/DriverDataType.cs

Docs

  • docs/Driver.TwinCAT.Cli.md
  • docs/drivers/TwinCAT-Test-Fixture.md

Fixture

  • tests/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.IntegrationTests/TwinCatProject/PLC/GVLs/GVL_Primitives.TcGVL

Notes

Hardware-gated TWINCAT_TARGET_NETID.


Branch: auto/twincat/1.1. Target: auto/driver-gaps.

<!-- queue-meta {"id": "twincat-1.1", "driver": "twincat", "phase": 1, "plan_pr_id": "1.1", "deps": [], "cross_driver": false} --> ## Auto-managed PR — Mode B (autonomous) **Driver**: `twincat` **Phase**: `1` **Plan PR**: `1.1` **Plan**: [`docs/plans/twincat-plan.md`](docs/plans/twincat-plan.md) **Effort**: `S` **Cross-driver**: `False` ## Summary Map LInt/ULInt to DriverDataType.Int64 instead of silently truncating to Int32. Remove the truncation comment "matches Int64 gap". May add Int64 to Core.Abstractions DriverDataType enum. ## Source files - `src/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT/TwinCATDataType.cs` - `src/ZB.MOM.WW.OtOpcUa.Core.Abstractions/DriverDataType.cs` ## Docs - `docs/Driver.TwinCAT.Cli.md` - `docs/drivers/TwinCAT-Test-Fixture.md` ## Fixture - `tests/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.IntegrationTests/TwinCatProject/PLC/GVLs/GVL_Primitives.TcGVL` ## Notes Hardware-gated TWINCAT_TARGET_NETID. --- _Branch: `auto/twincat/1.1`. Target: `auto/driver-gaps`._
dohertj2 added the phase/1auto-manageddriver/twincatqueue/queued labels 2026-04-25 12:34:33 -04:00
dohertj2 added queue/in-progress and removed queue/queued labels 2026-04-25 17:04:00 -04:00
Author
Owner

🤖 Auto-loop picked this up. Branch: auto/twincat/1.1. Status: in-progress.

🤖 Auto-loop picked this up. Branch: `auto/twincat/1.1`. Status: in-progress.
dohertj2 added queue/done and removed queue/in-progress labels 2026-04-25 17:06:59 -04:00
Author
Owner

Auto-loop completed. Merged via PR #341.

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

No dependencies set.

Reference: dohertj2/lmxopcua#305