This commit is contained in:
2026-09-09 18:06:21 +08:00
parent 161af68fe3
commit 45b9f9ed5d
79 changed files with 1167 additions and 1532 deletions
@@ -309,6 +309,33 @@ consumed silently, nothing written:
<pre><code class="lang-csharp">{ "Parsing": { "Flags": ["TRAFOOF"] } }</code></pre>
<p>#AfterBuild:</p>
<pre><code class="lang-csharp">{}</code></pre>
<p>The first block after a program end — <code>#Previous:</code> carries the
<code>ProgramEnd</code> section next to the still-active TRAORI. This is
the reset edge (<a class="xref" href="Hi.NcParsers.LogicSyntaxs.ProgramEndSyntax.html">ProgramEndSyntax</a>): the control's reset
deactivates the transformation (the MD20110 default is TRAFOOF on
reset) while the tool's D compensation stays active, so the block
gets exactly the TRAFOOF hand-back — the section returns to the
recorded owner with the plain translation entry:
#Previous:</p>
<pre><code class="lang-csharp">{
"ProgramEnd": { "Term": "M30" },
"ToolHeightCompensation": {
"Offset_mm": 50, "Term": "TRAORI", "OffsetId": 2, "PriorTerm": "D"
}
}</code></pre>
<p>#BeforeBuild:</p>
<pre><code class="lang-csharp">{}</code></pre>
<p>#AfterBuild:</p>
<pre><code class="lang-csharp">{
"ToolHeightCompensation": { "Offset_mm": 50, "Term": "D", "OffsetId": 2 },
"ProgramToMcTransform": [
{
"Source": "ToolHeightCompensation",
"Kind": "Static",
"Mat4d": [1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,50,1]
}
]
}</code></pre>