update ISO coordinate rendering for 3+2axis machine.
This commit is contained in:
+22
-50
@@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class PositioningModeSyntax | HiAPI-C# 2025 ">
|
||||
|
||||
<meta name="description" content="Resolves G90/G91 incremental positioning to absolute values in-place within . Fanuc/ISO: reads G90/G91 from (global modal). Heidenhain: would need a separate implementation reading I-prefix per axis. Siemens: would extend with AC()/IC() per-axis override. Uses to determine which tags are motion axes. Traces backward nodes for modal state and last known to resolve incremental values. No instance fields for state — all state lives in JsonObject. After this syntax, all axis values in Parsing are absolute — can consume them without incremental logic. Must be placed after and before .">
|
||||
<meta name="description" content="Detects G90/G91 positioning mode from (or by modal lookback) and writes to the block JSON. Fanuc/ISO: reads G90/G91 from (global modal). Heidenhain: would need a separate implementation reading I-prefix per axis. Siemens: would extend with AC()/IC() per-axis override. Does NOT convert incremental values — that is handled by which can be placed later in the syntax chain, after canned cycle syntaxes have consumed their parameters with cycle-specific G91 semantics.">
|
||||
<link rel="icon" href="../img/HiAPI.favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
@@ -97,20 +97,20 @@ Class PositioningModeSyntax
|
||||
<dl><dt>Assembly</dt><dd>HiMech.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Resolves G90/G91 incremental positioning to absolute values in-place
|
||||
within <a class="xref" href="Hi.NcParsers.Keywords.IParsingDef.html#Hi_NcParsers_Keywords_IParsingDef_Parsing">Parsing</a>.</p>
|
||||
<div class="markdown summary"><p>Detects G90/G91 positioning mode from <a class="xref" href="Hi.NcParsers.Keywords.IFlagsDef.html#Hi_NcParsers_Keywords_IFlagsDef_Flags">Flags</a>
|
||||
(or by modal lookback) and writes
|
||||
<a class="xref" href="Hi.NcParsers.Keywords.IPositioningModeDef.html#Hi_NcParsers_Keywords_IPositioningModeDef_PositioningMode">PositioningMode</a> to the block JSON.</p>
|
||||
<p>
|
||||
Fanuc/ISO: reads G90/G91 from <a class="xref" href="Hi.NcParsers.Keywords.IFlagsDef.html#Hi_NcParsers_Keywords_IFlagsDef_Flags">Flags</a> (global modal).
|
||||
Heidenhain: would need a separate implementation reading I-prefix per axis.
|
||||
Siemens: would extend with AC()/IC() per-axis override.
|
||||
</p>
|
||||
Uses <a class="xref" href="Hi.NcParsers.Dependencys.IMachineAxisConfig.html#Hi_NcParsers_Dependencys_IMachineAxisConfig_AxisNames">AxisNames</a> to determine which tags are motion axes.
|
||||
Traces backward nodes for modal state and last known <a class="xref" href="Hi.NcParsers.Keywords.IProgramXyzDef.html#Hi_NcParsers_Keywords_IProgramXyzDef_ProgramXyz">ProgramXyz</a>
|
||||
to resolve incremental values. No instance fields for state — all state lives in JsonObject.
|
||||
After this syntax, all axis values in Parsing are absolute —
|
||||
<a class="xref" href="Hi.NcParsers.LogicSyntaxs.ProgramXyzSyntax.html">ProgramXyzSyntax</a> can consume them without incremental logic.
|
||||
Must be placed after <a class="xref" href="Hi.NcParsers.ParsingSyntaxs.NumberedFlagSyntax.html">NumberedFlagSyntax</a>
|
||||
and before <a class="xref" href="Hi.NcParsers.LogicSyntaxs.ProgramXyzSyntax.html">ProgramXyzSyntax</a>.
|
||||
<p>
|
||||
Does NOT convert incremental values — that is handled by
|
||||
<a class="xref" href="Hi.NcParsers.LogicSyntaxs.IncrementalResolveSyntax.html">IncrementalResolveSyntax</a> which can be placed later
|
||||
in the syntax chain, after canned cycle syntaxes have consumed
|
||||
their parameters with cycle-specific G91 semantics.
|
||||
</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
@@ -195,14 +195,14 @@ and before <a class="xref" href="Hi.NcParsers.LogicSyntaxs.ProgramXyzSyntax.html
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
<h2 class="section" id="properties">Properties
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="Hi_NcParsers_LogicSyntaxs_PositioningModeSyntax__ctor_" data-uid="Hi.NcParsers.LogicSyntaxs.PositioningModeSyntax.#ctor*"></a>
|
||||
<a id="Hi_NcParsers_LogicSyntaxs_PositioningModeSyntax_Default_" data-uid="Hi.NcParsers.LogicSyntaxs.PositioningModeSyntax.Default*"></a>
|
||||
|
||||
<h3 id="Hi_NcParsers_LogicSyntaxs_PositioningModeSyntax__ctor" data-uid="Hi.NcParsers.LogicSyntaxs.PositioningModeSyntax.#ctor">
|
||||
PositioningModeSyntax()
|
||||
<h3 id="Hi_NcParsers_LogicSyntaxs_PositioningModeSyntax_Default" data-uid="Hi.NcParsers.LogicSyntaxs.PositioningModeSyntax.Default">
|
||||
Default
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -210,38 +210,16 @@ and before <a class="xref" href="Hi.NcParsers.LogicSyntaxs.ProgramXyzSyntax.html
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public PositioningModeSyntax()</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public static PositioningModeSyntax Default { get; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_NcParsers_LogicSyntaxs_PositioningModeSyntax__ctor_" data-uid="Hi.NcParsers.LogicSyntaxs.PositioningModeSyntax.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_NcParsers_LogicSyntaxs_PositioningModeSyntax__ctor_System_Xml_Linq_XElement_" data-uid="Hi.NcParsers.LogicSyntaxs.PositioningModeSyntax.#ctor(System.Xml.Linq.XElement)">
|
||||
PositioningModeSyntax(XElement)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public PositioningModeSyntax(XElement src)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>src</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>
|
||||
<dt><a class="xref" href="Hi.NcParsers.LogicSyntaxs.PositioningModeSyntax.html">PositioningModeSyntax</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
@@ -252,14 +230,6 @@ and before <a class="xref" href="Hi.NcParsers.LogicSyntaxs.ProgramXyzSyntax.html
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="properties">Properties
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="Hi_NcParsers_LogicSyntaxs_PositioningModeSyntax_Name_" data-uid="Hi.NcParsers.LogicSyntaxs.PositioningModeSyntax.Name*"></a>
|
||||
|
||||
<h3 id="Hi_NcParsers_LogicSyntaxs_PositioningModeSyntax_Name" data-uid="Hi.NcParsers.LogicSyntaxs.PositioningModeSyntax.Name">
|
||||
@@ -328,8 +298,8 @@ and before <a class="xref" href="Hi.NcParsers.LogicSyntaxs.ProgramXyzSyntax.html
|
||||
|
||||
<a id="Hi_NcParsers_LogicSyntaxs_PositioningModeSyntax_Build_" data-uid="Hi.NcParsers.LogicSyntaxs.PositioningModeSyntax.Build*"></a>
|
||||
|
||||
<h3 id="Hi_NcParsers_LogicSyntaxs_PositioningModeSyntax_Build_Hi_Common_Collections_LazyLinkedListNode_Hi_NcParsers_Syntaxs_SyntaxPiece__System_Collections_Generic_List_Hi_NcParsers_Dependencys_INcDependency__" data-uid="Hi.NcParsers.LogicSyntaxs.PositioningModeSyntax.Build(Hi.Common.Collections.LazyLinkedListNode{Hi.NcParsers.Syntaxs.SyntaxPiece},System.Collections.Generic.List{Hi.NcParsers.Dependencys.INcDependency})">
|
||||
Build(LazyLinkedListNode<SyntaxPiece>, List<INcDependency>)
|
||||
<h3 id="Hi_NcParsers_LogicSyntaxs_PositioningModeSyntax_Build_Hi_Common_Collections_LazyLinkedListNode_Hi_NcParsers_Syntaxs_SyntaxPiece__System_Collections_Generic_List_Hi_NcParsers_Dependencys_INcDependency__Hi_NcParsers_NcDiagnosticProgress_" data-uid="Hi.NcParsers.LogicSyntaxs.PositioningModeSyntax.Build(Hi.Common.Collections.LazyLinkedListNode{Hi.NcParsers.Syntaxs.SyntaxPiece},System.Collections.Generic.List{Hi.NcParsers.Dependencys.INcDependency},Hi.NcParsers.NcDiagnosticProgress)">
|
||||
Build(LazyLinkedListNode<SyntaxPiece>, List<INcDependency>, NcDiagnosticProgress)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -339,7 +309,7 @@ and before <a class="xref" href="Hi.NcParsers.LogicSyntaxs.ProgramXyzSyntax.html
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public void Build(LazyLinkedListNode<SyntaxPiece> syntaxPieceNode, List<INcDependency> ncDependencyList)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public void Build(LazyLinkedListNode<SyntaxPiece> syntaxPieceNode, List<INcDependency> ncDependencyList, NcDiagnosticProgress ncDiagnosticProgress)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
@@ -348,6 +318,8 @@ and before <a class="xref" href="Hi.NcParsers.LogicSyntaxs.ProgramXyzSyntax.html
|
||||
<dd></dd>
|
||||
<dt><code>ncDependencyList</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="Hi.NcParsers.Dependencys.INcDependency.html">INcDependency</a>></dt>
|
||||
<dd></dd>
|
||||
<dt><code>ncDiagnosticProgress</code> <a class="xref" href="Hi.NcParsers.NcDiagnosticProgress.html">NcDiagnosticProgress</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user