[focas] FOCAS — Tool number + work coordinate offsets #328
Reference in New Issue
Block a user
Delete Branch "auto/focas/F1-d"
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
Adds Tool number and standard G54..G59 work-coordinate offsets to the FOCAS fixed-tree, following the f1a/f1b/f1c pattern.
Tooling/CurrentTool(Int16) read viacnc_rdtnum.Offsets/G54..G59/{X,Y,Z}(Float64) read viacnc_rdzofs(n)for n=1..6. OFSB decoder applies thedata / 10^decrule like the macro reads.FocasToolingInfo,FocasWorkOffset,FocasWorkOffsetsInforecords +GetToolingAsync/GetWorkOffsetsAsync(default-null).FwlibNative.cs— new P/Invokes forcnc_rdtnum/cnc_rdzofs+IODBTNUM/IODBZOFSstructs.FocasCapabilityMatrix.cs— permissiveSupportsTooling/SupportsWorkOffsetshooks.ReadAsyncdispatch follow established f1a/b/c pattern.Test plan
dotnet build src/ZB.MOM.WW.OtOpcUa.Driver.FOCAS— clean (0 / 0)dotnet test tests/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Tests— 223 / 223 passed (6 new inFocasToolingOffsetsFixedTreeTests)🤖 Auto-generated by the Mode-B execution loop. Closes #260.
Closes #260