This repository has been archived on 2026-10-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
HiNC-2025-win-desktop-Deploy/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
T
2026-09-09 17:35:23 +08:00

428 lines
20 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Namespace Hi.Numerical.Acts | HiAPI-C# 2025 </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Namespace Hi.Numerical.Acts | HiAPI-C# 2025 ">
<link rel="icon" href="../img/HiAPI.favicon.ico">
<link rel="stylesheet" href="../public/docfx.min.css">
<link rel="stylesheet" href="../public/main.css">
<meta name="docfx:navrel" content="../toc.html">
<meta name="docfx:tocrel" content="toc.html">
<meta name="docfx:rel" content="../">
<meta name="loc:inThisArticle" content="In this article">
<meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
<meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
<meta name="loc:tocFilter" content="Filter by title">
<meta name="loc:nextArticle" content="Next">
<meta name="loc:prevArticle" content="Previous">
<meta name="loc:themeLight" content="Light">
<meta name="loc:themeDark" content="Dark">
<meta name="loc:themeAuto" content="Auto">
<meta name="loc:changeTheme" content="Change theme">
<meta name="loc:copy" content="Copy">
<meta name="loc:downloadPdf" content="Download PDF">
<script type="module" src="./../public/docfx.min.js"></script>
<script>
const theme = localStorage.getItem('theme') || 'auto'
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
</script>
</head>
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
<header class="bg-body border-bottom">
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
<div class="container-xxl flex-nowrap">
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../img/HiAPI.logo.png" alt="">
</a>
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
<i class="bi bi-three-dots"></i>
</button>
<div class="collapse navbar-collapse" id="navpanel">
<div id="navbar">
<form class="search" role="search" id="search">
<i class="bi bi-search"></i>
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
</form>
</div>
</div>
</div>
</nav>
</header>
<main class="container-xxl">
<div class="toc-offcanvas">
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<nav class="toc" id="toc"></nav>
</div>
</div>
</div>
<div class="content">
<div class="actionbar">
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
<i class="bi bi-list"></i>
</button>
<nav id="breadcrumb"></nav>
</div>
<article data-uid="Hi.Numerical.Acts">
<h1 id="Hi_Numerical_Acts" data-uid="Hi.Numerical.Acts" class="text-break">Namespace Hi.Numerical.Acts</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>
<div class="markdown level0 remarks"></div>
<h3 id="classes">
Classes
</h3>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActActualDateTime.html">ActActualDateTime</a></dt>
<dd><p>Represents an action that records the absolute controller timestamp
(wall-clock <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a>) for a machine step. Parallel to
<a class="xref" href="Hi.Numerical.Acts.ActActualTimecode.html">ActActualTimecode</a>: that act carries the run-relative timecode
(a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.timespan">TimeSpan</a>), this one preserves the raw calendar instant so
the date is not lost — converting between the two is the mapping anchor's
job, done once at the boundary.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActActualTimecode.html">ActActualTimecode</a></dt>
<dd><p>Represents an action that sets the actual time for a machine step.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActClArc.html">ActClArc</a></dt>
<dd><p>Represents an arc movement action for cutter location.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActClArcMcXyzabcContour.html">ActClArcMcXyzabcContour</a></dt>
<dd><p>Arc twin of <a class="xref" href="Hi.Numerical.Acts.ActClLinearMcXyzabcContour.html">ActClLinearMcXyzabcContour</a>: a circular cutter
location path realized on machine coordinates. The arc is interpolated in
CL space (true arc via <a class="xref" href="Hi.CutterLocations.ClPath.ClCircleArc.html#Hi_CutterLocations_ClPath_ClCircleArc_At_System_Double_">At(double)</a>, including tilting
normals) and every resampled step is inverse-solved through
<a class="xref" href="Hi.Numerical.Xyzabc.IMachineKinematics.html#Hi_Numerical_Xyzabc_IMachineKinematics_PnToMc_Hi_Geom_DVec3d_Hi_Geom_DVec3d__">PnToMc(DVec3d, out DVec3d)</a>.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActClLinear.html">ActClLinear</a></dt>
<dd><p>Represents a linear cutter location movement action.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActClLinearMcXyzabcContour.html">ActClLinearMcXyzabcContour</a></dt>
<dd><p>Represents a combined linear movement in both cutter location and machine coordinates.
This class handles synchronized linear interpolation of tool position and orientation.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActClStep.html">ActClStep</a></dt>
<dd><p>Represents a single cutter-location step with optional duration.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActClTeleport.html">ActClTeleport</a></dt>
<dd><p>Represents a teleport action for cutter location, allowing instant position change without movement.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActCooling.html">ActCooling</a></dt>
<dd><p>Represents a coolant state transition — the cutting-fluid delivery
mode changes on the machine (from e.g. <a class="xref" href="Hi.Numerical.CoolantMode.html#Hi_Numerical_CoolantMode_Off">Off</a>
to <a class="xref" href="Hi.Numerical.CoolantMode.html#Hi_Numerical_CoolantMode_Flood">Flood</a>).
Emitted by <a class="xref" href="Hi.NcParsers.Semantics.CoolantSemantic.html">CoolantSemantic</a> when
the NC program executes M07/M08/M09.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActData.html">ActData</a></dt>
<dd><p>Action that add data to the step.
The data is maybe from the sensor or computed, etc..</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActDelay.html">ActDelay</a></dt>
<dd><p>Represents a delay action in machining operations.
This class implements a simple time delay in the machining process.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActFeedrate.html">ActFeedrate</a></dt>
<dd><p>A feedrate action: the controller's commanded feedrate of the CL point
(<a class="xref" href="Hi.Numerical.Acts.ActFeedrate.html#Hi_Numerical_Acts_ActFeedrate_CommandedClFeedrate_mmds">CommandedClFeedrate_mmds</a>).</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActHiddenStateChanged.html">ActHiddenStateChanged</a></dt>
<dd><p>Represents an action that indicates a change in the hidden state of an object.
This action is typically skipped during normal processing.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActIntentionalSkip.html">ActIntentionalSkip</a></dt>
<dd><p>Represents an action that is intentionally skipped during processing.
Used to explicitly mark operations that should be bypassed.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActLineBegin.html">ActLineBegin</a></dt>
<dd><p>Represents the beginning of a line act in numerical control operations.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActLineCsScript.html">ActLineCsScript</a></dt>
<dd><p>Cs Script on one Line.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActLineEnd.html">ActLineEnd</a></dt>
<dd><p>Represents the end of a line act in numerical control operations.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActMcPolarLinearContour.html">ActMcPolarLinearContour</a></dt>
<dd><p>Polar MCZ linear contour.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActMcPolarSpiralContour.html">ActMcPolarSpiralContour</a></dt>
<dd><p>Circular (arc/helix) contour on the polar hypothetical plane while
Polar Coordinate Interpolation (Fanuc G12.1) is active.</p>
<p>
The arc geometry lives entirely in central polar Rxcz coordinates
(X = radius-direction linear axis mm, Y = hypothetical rotary-substitute
axis mm, Z = real Z mm, origin on the rotary center) — the same spiral
math as <a class="xref" href="Hi.Numerical.Acts.ActMcXyzSpiralContour.html">ActMcXyzSpiralContour</a>. Each sampled point is then
converted to machine coordinates the way
<a class="xref" href="Hi.Numerical.Acts.ActMcPolarLinearContour.html">ActMcPolarLinearContour</a> does: radius drives machine X, the
<code>atan2</code> angle drives the machine C axis with the branch chained from
the previous step (<a class="xref" href="Hi.Numerical.MechNcUtil.html#Hi_Numerical_MechNcUtil_GetNoInterpolationOrdinaryProgramXcz_rad_Hi_Geom_Vec3d_System_Double_Hi_Geom_Vec3d_">GetNoInterpolationOrdinaryProgramXcz_rad(Vec3d, double, Vec3d)</a>),
machine Y/A/B stay frozen at the previous position, and Z carries the
coordinate/tool-height offset.
</p>
The chaining state is local to each enumeration, so the act can be
re-enumerated safely and arcs crossing the ±180° branch (or spanning
multiple turns via <a class="xref" href="Hi.Numerical.Acts.ActMcPolarSpiralContour.html#Hi_Numerical_Acts_ActMcPolarSpiralContour_AdditionalCircleNum">AdditionalCircleNum</a>) stay continuous —
unlike the HardNc per-point unresolved <code>atan2</code>, whose machine C
jumps by one cycle at the branch cut (same physical pose).
<remarks>
Known divergence: per-step machine X is the raw polar radius and machine
Y stays frozen — coordinate-offset X/Y components are NOT applied
(only Z carries an offset), consistent with
<a class="xref" href="Hi.Numerical.Acts.ActMcPolarLinearContour.html">ActMcPolarLinearContour</a> and the turn-mill assumption that
machine X ≡ radius. HardNc is internally inconsistent here: its polar
<em>arc</em> steps run the full transform chain (G5x X/Y included) while
its polar <em>linear</em> steps use the raw radius like this act.
</remarks>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActMcXyzLinearContour.html">ActMcXyzLinearContour</a></dt>
<dd><p>Action of Machine Coordinate XYZ contour by Machine Coordinate linear interpolation.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActMcXyzSpiralContour.html">ActMcXyzSpiralContour</a></dt>
<dd><p>Represents a spiral contour movement in machine XYZ coordinates.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActMcXyzStep.html">ActMcXyzStep</a></dt>
<dd><p>Action representing a machine coordinate XYZ step movement.
This class handles linear positioning in machine coordinates.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActMcXyzabcLinearContour.html">ActMcXyzabcLinearContour</a></dt>
<dd><p>Action of Machine Coordinate XYZABC contour by Machine Coordinate orientable linear interpolation.
This class handles complex tool movements with both position and orientation control.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActMcXyzabcStep.html">ActMcXyzabcStep</a></dt>
<dd><p>Action of Machine coordinate XYCABC Step.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActMcXyzabcTeleport.html">ActMcXyzabcTeleport</a></dt>
<dd><p>Instant machine-coordinate reposition — the MC counterpart of
<a class="xref" href="Hi.Numerical.Acts.ActClTeleport.html">ActClTeleport</a>: the chain pose is set without a machining
step, so no time accumulates and no material-removal step is recorded.
Emitted for CLSF <code>FROM</code> / first-motion blocks when the runner drives
an MC machine.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActRapid.html">ActRapid</a></dt>
<dd><p>A rapid traverse. Its commanded CL feedrate is the CL path over the act
duration (HardNc: the machine's nominal rapid rate); under RTCP a pure
rotary swing keeps the CL point still, so the value is legitimately ~0
while the equipped tool's tip sweeps with the posture change.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActSpindleDirection.html">ActSpindleDirection</a></dt>
<dd><p>Represents an action that sets the spindle rotation direction.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActSpindleOrientation.html">ActSpindleOrientation</a></dt>
<dd><p>Oriented spindle stop — commands the spindle to stop at a specific
angular position. Used by G76 (fine boring) and G87 (back boring)
to orient the tool before lateral shift.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActSpindleSpeed.html">ActSpindleSpeed</a></dt>
<dd><p>Represents an act that controls the spindle speed in numerical control operations.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActToolingStep.html">ActToolingStep</a></dt>
<dd><p>Action of equiping the tool with machining step operation such as collision detection and volume removal.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActToolingTeleport.html">ActToolingTeleport</a></dt>
<dd><p>Action of Equiping the tool without machining step operation such as collision detection and volume removal.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActUnknownSkip.html">ActUnknownSkip</a></dt>
<dd><p>Represents an act that skips unknown operations in numerical control.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ActUtil.html">ActUtil</a></dt>
<dd><p>Provides utility methods for numerical control actions.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.ArcRadialClosure.html">ArcRadialClosure</a></dt>
<dd><p>Classifies the radial closure of an arc motion — how far the arc's
endpoint sits off the circle its center defines, measured as the gap
between the begin radius and the end radius on the arc plane.
A genuine arc closes (gap 0). The simulation accepts any gap and runs
the block as a spiral whose radius blends linearly
(<a class="xref" href="Hi.Numerical.Acts.ActMcXyzSpiralContour.html">ActMcXyzSpiralContour</a>), but real controls check this
closure and refuse the block once the gap passes their arc tolerance
(e.g. Heidenhain error 5824 once MP7431 — typically around 0.016 mm —
is exceeded). A program can therefore simulate cleanly and still stop
on the machine; the diagnostics built from this class exist to close
that gap.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.StateActRunner.html">StateActRunner</a></dt>
<dd><p>Manages the state of numerical control operations during runtime.</p>
</dd>
</dl>
<h3 id="interfaces">
Interfaces
</h3>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.IAct.html">IAct</a></dt>
<dd><p>Action parsing from NC, CL, NC Steps and etc., for controlling the mechanism and the mechanism simulation process.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.IActClMove.html">IActClMove</a></dt>
<dd><p>Interface for actions that involve cutter location movement.
This interface defines the contract for tool path movements in machining operations.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.IActDuration.html">IActDuration</a></dt>
<dd><p>Interface for actions that have a specific duration.
This interface is used to define actions that take a measurable amount of time to complete.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.IActMachineStep.html">IActMachineStep</a></dt>
<dd></dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.IActMcXyzContour.html">IActMcXyzContour</a></dt>
<dd><p>Interface for actions that represent machine XYZ contours.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.IActMcXyzabcContour.html">IActMcXyzabcContour</a></dt>
<dd><p>Interface for actions that represent machine XYZABC contours.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.IActSkip.html">IActSkip</a></dt>
<dd><p>Interface for actions that should be skipped during normal processing.
Acts as a marker interface to identify actions that should not be executed.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.IActTooling.html">IActTooling</a></dt>
<dd><p>Represents a tooling action that changes or selects a tool.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.IWorkTimeAttrib.html">IWorkTimeAttrib</a></dt>
<dd><p>Interface for objects that provide both read and write access to work time.
Combines the functionality of IWorkTimeGetter and IWorkTimeSetter.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.IWorkTimeGetter.html">IWorkTimeGetter</a></dt>
<dd><p>Interface for objects that provide read-only access to work time.
This interface is part of the work time tracking system for machining operations.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Numerical.Acts.IWorkTimeSetter.html">IWorkTimeSetter</a></dt>
<dd><p>Interface for objects that provide write-only access to work time.
This interface is used for components that need to update work time without reading it.</p>
</dd>
</dl>
</article>
<div class="contribution d-print-none">
</div>
</div>
<div class="affix">
<nav id="affix"></nav>
</div>
</main>
<div class="container-xxl search-results" id="search-results"></div>
<footer class="border-top text-secondary">
<div class="container-xxl">
<div class="flex-fill">
<span> Copyright © 2025 <a href='https://superhightech.com.tw'>Tech Coordinate</a>. All rights reserved. <a href='https://superhightech.com.tw'>超級高科技股份有限公司</a> © 2025 版權所有 </span>
</div>
</div>
</footer>
</body>
</html>