AB CIP PR 4 — IWritable #111
Reference in New Issue
Block a user
Delete Branch "abcip-pr4-iwritable"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
PR 4 of the AB CIP sequence.
LibplctagTagRuntime.EncodeValue— complete switch for every atomic Logix type (Bool standalone, SInt/USInt, Int/UInt, DInt/UDInt, LInt/ULInt, Real, LReal, String, Dt).Deferred intentionally:
BitInRegisterpattern)AbCipDriver.WriteAsync— iterates preserving order, lazy-init via sharedEnsureTagRuntimeAsync, maps libplctag status codes, maps exceptions:NotSupportedException→BadNotSupportedFormatException/InvalidCastException→BadTypeMismatch(new status constant)OverflowException→BadOutOfRangeBadCommunicationErrorOperationCanceledExceptionrethrowsWrites do NOT auto-retry in the driver — that's the resilience-layer's job per plan decisions #44/#45/#143.
Test plan
AbCipDriverWriteTestsFollow-ups
Merges to
v2.