2026-01-24 18:13:05 +08:00

913 lines
34 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Enum NcFlag | HiAPI-C# 2025 </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Enum NcFlag | HiAPI-C# 2025 ">
<meta name="description" content="NC Flag.">
<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.NcFlag">
<h1 id="Hi_Numerical_NcFlag" data-uid="Hi.Numerical.NcFlag" class="text-break">
Enum NcFlag
</h1>
<div class="facts text-secondary">
<dl><dt>Namespace</dt><dd><a class="xref" href="Hi.html">Hi</a>.<a class="xref" href="Hi.Numerical.html">Numerical</a></dd></dl>
<dl><dt>Assembly</dt><dd>HiUniNc.dll</dd></dl>
</div>
<div class="markdown summary"><p>NC Flag.</p>
</div>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public enum NcFlag</code></pre>
</div>
<dl class="typelist extensionMethods">
<dt>Extension Methods</dt>
<dd>
<div>
<a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__1___0_System_Action___0__">InvokeUtil.SelfInvoke&lt;TSrc&gt;(TSrc, Action&lt;TSrc&gt;)</a>
</div>
<div>
<a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__2___0_System_Func___0___1__">InvokeUtil.SelfInvoke&lt;TSrc, TDst&gt;(TSrc, Func&lt;TSrc, TDst&gt;)</a>
</div>
<div>
<a class="xref" href="Hi.Common.MaskUtil.html#Hi_Common_MaskUtil_GetMaskedValue__1___0___0_System_Boolean_">MaskUtil.GetMaskedValue&lt;T&gt;(T, T, bool)</a>
</div>
<div>
<a class="xref" href="Hi.Common.MaskUtil.html#Hi_Common_MaskUtil_SetMask__1___0____0_System_Boolean_">MaskUtil.SetMask&lt;T&gt;(ref T, T, bool)</a>
</div>
<div>
<a class="xref" href="Hi.Numerical.NcFlagUtil.html#Hi_Numerical_NcFlagUtil_GetNcLifeCycleMode_Hi_Numerical_NcFlag_">NcFlagUtil.GetNcLifeCycleMode(NcFlag)</a>
</div>
<div>
<a class="xref" href="Hi.Numerical.NcFlagUtil.html#Hi_Numerical_NcFlagUtil_GetNcName_Hi_Numerical_NcFlag_">NcFlagUtil.GetNcName(NcFlag)</a>
</div>
<div>
<a class="xref" href="Hi.Coloring.ColorUtil.html#Hi_Coloring_ColorUtil_GetGloomyColor_System_Object_System_Double_System_Double_">ColorUtil.GetGloomyColor(object, double, double)</a>
</div>
<div>
<a class="xref" href="Hi.Common.NameUtil.html#Hi_Common_NameUtil_GetSelectionName_System_Object_">NameUtil.GetSelectionName(object)</a>
</div>
<div>
<a class="xref" href="Hi.Common.StringUtil.html#Hi_Common_StringUtil_GetPropertyStringIfToStringNotOverloaded_System_Object_System_Boolean_System_Boolean_">StringUtil.GetPropertyStringIfToStringNotOverloaded(object, bool, bool)</a>
</div>
<div>
<a class="xref" href="Hi.Parallels.LockUtil.html#Hi_Parallels_LockUtil_Lock_System_Object_">LockUtil.Lock(object)</a>
</div>
</dd></dl>
<h2 id="fields">Fields
</h2>
<dl class="parameters">
<dt id="Hi_Numerical_NcFlag_Cooling"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
Cooling = 79</code></dt>
<dd><p>Cooling enabled.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G00"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup01))]
G00 = 0</code></dt>
<dd><p>Group01.
Rapid move.</p>
<p>Although fanuc document says that G00 is an one shot command,
(I think it may send warning if use G0 as modal.)
set it to modal may fit other CNC controller and is much conservative from collision.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G01"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup01))]
G01 = 1</code></dt>
<dd><p>Group01.
Move by feedrate.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G02"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup01))]
G02 = 2</code></dt>
<dd><p>Group01.
Move in CW arc.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G03"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup01))]
G03 = 3</code></dt>
<dd><p>Group01.
Move in CCW arc.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G04"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
[NcGroup(typeof(NcGroup00))]
G04 = 6</code></dt>
<dd><p>Group00.
Dwell.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G10p9"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
G10p9 = 7</code></dt>
<dd><p>Not standard code.
For Mazak NC.
Generally not supported.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G12p1"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup21))]
[NcName(&quot;G12.1&quot;)]
G12p1 = 8</code></dt>
<dd><p>Group21.
Polar coordinate interpolation mode ON.
Use <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G13p1">G13p1</a> to turn off polar coordinate interpolation mode.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G13p1"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup21))]
[NcName(&quot;G13.1&quot;)]
G13p1 = 9</code></dt>
<dd><p>Group21.
Polar coordinate interpolation mode OFF.
Use <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G12p1">G12p1</a> to turn on polar coordinate interpolation mode.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G17"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup02))]
G17 = 10</code></dt>
<dd><p>Group02.
XY plane selection.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G18"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup02))]
G18 = 11</code></dt>
<dd><p>Group02.
ZX plane selection.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G19"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup02))]
G19 = 12</code></dt>
<dd><p>Group02.
YZ plane selection.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G20"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup06))]
G20 = 13</code></dt>
<dd><p>Group06.
Input in inch.
For Fanuc specification A,B.
RS274D specification is <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G70">G70</a>.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G21"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup06))]
G21 = 14</code></dt>
<dd><p>Group06.
Input in mm.
For Fanuc specification A,B.
RS274D specification is <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G71">G71</a>.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G28"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
[NcGroup(typeof(NcGroup01))]
G28 = 15</code></dt>
<dd><p>Group01.
Automatic reference position return.</p>
<p>Positioning to the intermediate or reference positions are performed at the rapid traverse rate of each axis.
Therefore, for safety, the compensation functions, such as the tool radius compensation and tool length compensation, should be cancelled before executing this command.
The coordinates for the intermediate position are stored in the CNC for the axes for which a value is specified in a G28 block.
For the other axes, the previously specified coordinates are used.</p>
<p>G28 Fanuc parameters Nos. 1240 to 1243.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G40"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup07))]
G40 = 16</code></dt>
<dd><p>Group07.
Cancel radius compensation.
See <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G41">G41</a> and <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G42">G42</a> for left and right compensation.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G41"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup07))]
G41 = 17</code></dt>
<dd><p>Group07.
Tool radius/tool nose radius compensation.
Left compensation: the updated tool tip location is at +y direction compensation from tool running direction.
See <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G40">G40</a> to cancel compensation and <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G42">G42</a> for right compensation.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G42"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup07))]
G42 = 18</code></dt>
<dd><p>Group07.
Tool radius/tool nose radius compensation.
Right compensation: the updated tool tip location is at -y direction compensation from tool running direction.
See <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G40">G40</a> to cancel compensation and <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G41">G41</a> for left compensation.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G43"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup08))]
G43 = 19</code></dt>
<dd><p>Group08
Positive height compensation.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G43p4"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup08))]
[NcName(&quot;G43.4&quot;)]
G43p4 = 20</code></dt>
<dd><p>Group08
G43.4: start RTCP (Rotational Tool Center Point).</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G44"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup08))]
G44 = 21</code></dt>
<dd><p>Group08
Negative height compensation.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G49"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup08))]
G49 = 22</code></dt>
<dd><p>Group08.
Cancel height compensation.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G52"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup00))]
G52 = 27</code></dt>
<dd><p>Group00.
Local coordinate system setting.
It can be cancelled by G52X0Y0Z0 or M30.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G53"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
[NcGroup(typeof(NcGroup00))]
G53 = 28</code></dt>
<dd><p>Group00.
Machine coordinate system setting.</p>
<p>When an incremental command is specified, the G53 command is ignored.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G53WithP1Flag"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
[NcName(&quot;G53P1&quot;)]
G53WithP1Flag = 29</code></dt>
<dd><p>Enables the high-speed G53 function.
P1 flag accompanies with <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G53">G53</a>.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G53p1"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
[NcGroup(typeof(NcGroup00))]
[NcName(&quot;G53.1&quot;)]
G53p1 = 32</code></dt>
<dd><p>Group00.
Tool axis direction control.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G54Series"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup14))]
G54Series = 34</code></dt>
<dd><p>Group14.
Coordinate settings.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G60"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup15))]
G60 = 35</code></dt>
<dd><p>Group15.
Siemens: Exact stop / positioning mode.
Machine decelerates to complete stop at each programmed point.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G61"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup15))]
G61 = 36</code></dt>
<dd><p>Group15.
Exact stop mode.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G62"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup15))]
G62 = 37</code></dt>
<dd><p>Group15.
Automatic corner override.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G63"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup15))]
G63 = 38</code></dt>
<dd><p>Group15.
Tapping mode.
Not support.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G64"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup15))]
G64 = 39</code></dt>
<dd><p>Group15.
Cutting mode.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G68"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup16))]
G68 = 44</code></dt>
<dd><p>Group16.
3-dimensional coordinate system conversion.
run a pattern of operations in a rotated angle.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G68p2"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup16))]
[NcName(&quot;G68.2&quot;)]
G68p2 = 45</code></dt>
<dd><p>Group16.
Tilted working plane command.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G69"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup16))]
G69 = 46</code></dt>
<dd><p>Group16.
Coordinate system rotation cancel or 3-dimensional coordinate conversion mode off</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G70"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup06))]
G70 = 48</code></dt>
<dd><p>Group06.
Input in inch.
Fanuc system C specification. Syntec specification.
For RS274D specification.
Fanuc system A,B specification is <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G20">G20</a>.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G71"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup06))]
G71 = 49</code></dt>
<dd><p>Group06.
Input in mm.
Fanuc system C specification. Syntec specification.
For RS274D specification.
Fanuc system A,B specification is <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G21">G21</a>.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G80"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup09))]
G80 = 50</code></dt>
<dd><p>Group09.
Canned cycle cancel.
Electronic gear box : synchronization cancellation.
See <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G81">G81</a>, <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G82">G82</a>, <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G83">G83</a>, <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G85">G85</a>, <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G86">G86</a> for available canned cycles.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G81"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup09))]
G81 = 51</code></dt>
<dd><p>Group09.
Drilling cycle or spot boring cycle.
Electronic gear box : synchronization start.
The same parsing behavior group: <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G81">G81</a>,<a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G85">G85</a>,<a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G86">G86</a>.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G82"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup09))]
G82 = 52</code></dt>
<dd><p>Group09.
Drilling cycle or spot boring cycle with bottom staying time.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G83"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup09))]
G83 = 53</code></dt>
<dd><p>Group09.
Drilling cycle or spot boring cycle.
drilling cycle in form of pecking.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G85"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup09))]
G85 = 54</code></dt>
<dd><p>Group09.
Drilling cycle or spot boring cycle.
Electronic gear box : synchronization start.
The same parsing behavior group: <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G81">G81</a>,<a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G85">G85</a>,<a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G86">G86</a>.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G86"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup09))]
G86 = 55</code></dt>
<dd><p>Group09.
Drilling cycle or spot boring cycle.
Electronic gear box : synchronization start.
The same parsing behavior group: <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G81">G81</a>,<a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G85">G85</a>,<a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G86">G86</a>.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G90"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup03))]
G90 = 56</code></dt>
<dd><p>Group03.
Absolute coordinate system.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G91"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup03))]
G91 = 57</code></dt>
<dd><p>Group03.
Relative coordinate system.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G94"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup05))]
G94 = 58</code></dt>
<dd><p>Group05.
Use F as mm/min.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G96"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup13))]
G96 = 59</code></dt>
<dd><p>Group13.
Constant surface speed control cancel.
not support.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G97"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup13))]
G97 = 60</code></dt>
<dd><p>Group13.
Constant surface speed control cancel.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G98"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup10))]
G98 = 61</code></dt>
<dd><p>Group10.
Canned cycle : return to initial level.
See <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G99">G99</a> for R point level return.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_G99"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup10))]
G99 = 62</code></dt>
<dd><p>Group10.
Canned cycle : return to R point level.
See <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_G98">G98</a> for initial level return.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainDatum"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup14))]
[NcName(&quot;DATUM&quot;)]
HeidenhainDatum = 43</code></dt>
<dd><p>Group14.
Heidenhain flag.
Coordinate settings for CYCL DEF 7 and CYCL DEF 247.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainFMax"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcName(&quot;FMAX&quot;)]
HeidenhainFMax = 63</code></dt>
<dd><p>Heidenhain flag.
Flag Name &lsquo;FMAX&rsquo;.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainL"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
[NcGroup(typeof(NcGroup01))]
[NcName(&quot;L&quot;)]
HeidenhainL = 4</code></dt>
<dd><p>Group01.
Heidenhain flag.
Straight linear motion.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainLN"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
[NcGroup(typeof(NcGroup01))]
[NcName(&quot;LN&quot;)]
HeidenhainLN = 5</code></dt>
<dd><p>Group01.
Heidenhain flag.
Nonlinear motion.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainM107"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroupHeidenhainM107M108))]
[NcName(&quot;M107&quot;)]
HeidenhainM107 = 86</code></dt>
<dd><p>Heidenhain flag.
Enable Suppress error message for replacement tools with oversize.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainM108"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroupHeidenhainM107M108))]
[NcName(&quot;M108&quot;)]
HeidenhainM108 = 87</code></dt>
<dd><p>Heidenhain flag.
Reset M107. disable Suppress error message for replacement tools with oversize.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainM126"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroupHeidenhainShortestRotaryPath))]
[NcName(&quot;M126&quot;)]
HeidenhainM126 = 88</code></dt>
<dd><p>NcGroup.HeidenhainShortestRotaryPath.
Heidenhain flag.
Shortest rotation for commands of ABC axise.
The M126 will be canceled automatically at the end of the program.
For Heidenhain.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainM127"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroupHeidenhainShortestRotaryPath))]
[NcName(&quot;M127&quot;)]
HeidenhainM127 = 89</code></dt>
<dd><p>NcGroup.HeidenhainShortestRotaryPath.
Heidenhain flag.
Cancel <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_HeidenhainM126">HeidenhainM126</a>, i.e. disable shortest rotation for ABC axises.
For Heidenhain.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainM128"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup08))]
[NcName(&quot;M128&quot;)]
HeidenhainM128 = 25</code></dt>
<dd><p>Group08.
Heidenhain flag.
M128: start RTCP (Rotational Tool Center Point).</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainM129"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup08))]
[NcName(&quot;M129&quot;)]
HeidenhainM129 = 26</code></dt>
<dd><p>Group08.
Heidenhain flag.
M129: cancel RTCP (Rotational Tool Center Point).</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainM140"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
[NcName(&quot;M140&quot;)]
HeidenhainM140 = 90</code></dt>
<dd><p>From TNC640 documentation:
Retraction from the contour in the tool-axis direction: M140.
If you do not enter a feed rate, the TNC moves the tool along the entered path at rapid traverse.
M140 is also effective if the tilted-working-plane function is active. On machines with swivel heads,
the TNC then moves the tool in the tilted coordinate system.
With M140 MB MAX you can only retract in the positive direction.
Always define a TOOL CALL with a tool axis before entering M140, otherwise the direction of traverse is not defined.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainM140InitiativeF"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
[NcName(&quot;M140&quot;)]
HeidenhainM140InitiativeF = 91</code></dt>
<dd><p>Feedrate on <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_HeidenhainM140">HeidenhainM140</a>.
The TNC640 documentation does not show that the Feedrate on M140 is one shot or modal.
HiNC assumes Feedrate on M140 is one shot feedrate with M140 command.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainM91"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
[NcName(&quot;M91&quot;)]
HeidenhainM91 = 85</code></dt>
<dd><p>Heidenhain flag.
If you want the coordinates in a positioning block to be referenced to the machine datum, end the block with M91.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainMove"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
[NcName(&quot;MOVE&quot;)]
HeidenhainMove = 84</code></dt>
<dd><p>Heidenhain flag.
MOVE indicates to position the rotary axes and simultaneously compensate position.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainPlaneReset"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroupHeidenhainPlane))]
[NcName(&quot;PLANE RESET&quot;)]
HeidenhainPlaneReset = 80</code></dt>
<dd><p>Heidenhain Plane command is exclusive</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainPlaneSpatial"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroupHeidenhainPlane))]
[NcName(&quot;PLANE SPATIAL&quot;)]
HeidenhainPlaneSpatial = 81</code></dt>
<dd><p>Heidenhain Plane command is exclusive</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainStay"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
[NcName(&quot;STAY&quot;)]
HeidenhainStay = 82</code></dt>
<dd><p>Heidenhain flag.
STAY indicates to maintain the current rotary axis positioning.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainToolCall"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
[NcName(&quot;TOOL CALL&quot;)]
HeidenhainToolCall = 68</code></dt>
<dd><p>Heidenhain flag.
Tool call.
Flag Name &lsquo;TOOL CALL&rsquo;.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainToolDef"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
[NcName(&quot;TOOL DEF&quot;)]
HeidenhainToolDef = 69</code></dt>
<dd><p>Heidenhain flag.
tool definition.
Flag Name &lsquo;TOOL DEF&rsquo;.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_HeidenhainTurn"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
[NcName(&quot;TURN&quot;)]
HeidenhainTurn = 83</code></dt>
<dd><p>Heidenhain flag.
TURN indicates to automatically position the rotary axes.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_Heidenhain_CYCL_DEF_247"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup14))]
[NcName(&quot;CYCL DEF 247&quot;)]
Heidenhain_CYCL_DEF_247 = 41</code></dt>
<dd><p>Group14.
Heidenhain flag.
With the DATUM SETTING cycle you can activate as the new datum a preset defined in a preset table.
After a DATUM SETTING cycle definition, all of the coordinate inputs and datum shifts(absolute and incremental) are referenced to the new preset.</p>
<p>When activating a datum from the preset table, the TNC resets the datum shift, mirroring, rotation, scaling factor and axis-specific scaling factor.
If you activate preset number 0 (line 0), then you activate the datum that you last set in the Manual Operation or El. Handwheel operating mode.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_Heidenhain_CYCL_DEF_7"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup14))]
[NcName(&quot;CYCL DEF 7&quot;)]
Heidenhain_CYCL_DEF_7 = 40</code></dt>
<dd><p>Group14.
Heidenhain flag.
For shifting contours directly within the program or from datum tables.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_M02"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
M02 = 70</code></dt>
<dd><p>Program end.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_M03"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
M03 = 64</code></dt>
<dd><p>Activate spindle rotation in CW.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_M04"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
M04 = 65</code></dt>
<dd><p>Activate spindle rotation in CCW.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_M05"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
M05 = 66</code></dt>
<dd><p>deactivate spindle rotation.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_M06"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
M06 = 67</code></dt>
<dd><p>Tool changed.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_M08"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
M08 = 71</code></dt>
<dd><p>Start cooling.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_M09"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
M09 = 72</code></dt>
<dd><p>Stop cooling.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_M13"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
M13 = 73</code></dt>
<dd><p>Spindle CW &amp; Coolant ON.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_M14"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
M14 = 74</code></dt>
<dd><p>Spindle CCW &amp; Coolant ON</p>
</dd>
<dt id="Hi_Numerical_NcFlag_M30"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
M30 = 75</code></dt>
<dd><p>Program end.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_SiemensCycle800"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup16))]
[NcName(&quot;CYCLE800&quot;)]
SiemensCycle800 = 47</code></dt>
<dd><p>Group16.
Siemens flag.
Tilted working plane command.</p>
<p>CYCLE800() cancels the previous transformation.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_SiemensCycle800Swivel"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
[NcGroup(typeof(NcGroup00))]
[NcName(&quot;CYCLE800_SWIVEL&quot;)]
SiemensCycle800Swivel = 33</code></dt>
<dd><p>Group00.
Siemens CYCLE800 swivel motion - rotary axis positioning with RTCP.
Similar to G53.1 but specific to CYCLE800 behavior.
Includes: rotary axis motion + tool center point management.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_SiemensG500"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup14))]
[NcName(&quot;G500&quot;)]
SiemensG500 = 42</code></dt>
<dd><p>Group14.
Siemens command.
Deactivation of the current settable zero offset.
G500指令在没有赋值的时候为机床坐标系可以把机床从工件坐标系转换到机床坐标系</p>
</dd>
<dt id="Hi_Numerical_NcFlag_SiemensMcall"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcName(&quot;MCALL&quot;)]
SiemensMcall = 31</code></dt>
<dd><p>Siemens flag.
Modal call active - drilling cycle executes on subsequent positioning lines.
When MCALL CYCLE81/82/83 is called, the cycle parameters are stored but
drilling doesn't execute until the next positioning command.
Cancelled by MCALL without parameters.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_SiemensSupa"><code>[NcLifeCycle(NcLifeCycleMode.OneShot)]
[NcName(&quot;SUPA&quot;)]
SiemensSupa = 30</code></dt>
<dd><p>Group00.
Siemens command.
G53: G53 suppresses the settable zero offset and the programmable zero
offset non-modally.
G153: G153 has the same effect as G53 and also suppresses the entire basic
frame.
SUPA: SUPA has the same effect as G153 and also suppresses:
Handwheel offsets (DRF)
Overlaid movements
External zero offset
PRESET offset</p>
</dd>
<dt id="Hi_Numerical_NcFlag_SiemensTrafoof"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup08))]
[NcName(&quot;TRAFOOF&quot;)]
SiemensTrafoof = 23</code></dt>
<dd><p>Group08.
Siemens flag.
Disable RTCP (Rotational Tool Center Point) (=Tool Center Point Management, TCPM).</p>
</dd>
<dt id="Hi_Numerical_NcFlag_SiemensTraori"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroup08))]
[NcName(&quot;TRAORI&quot;)]
SiemensTraori = 24</code></dt>
<dd><p>Group08.
Siemens flag.
Enable RTCP (Rotational Tool Center Point) (=Tool Center Point Management, TCPM).</p>
</dd>
<dt id="Hi_Numerical_NcFlag_SpindleCcw"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroupSpindleRotation))]
SpindleCcw = 78</code></dt>
<dd><p>NcGroupSpindleRotation.
Rotate spindle counter-clockwise (CCW).
See <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_SpindleStop">SpindleStop</a> to stop rotation and <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_SpindleCw">SpindleCw</a> for clockwise rotation.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_SpindleCw"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroupSpindleRotation))]
SpindleCw = 77</code></dt>
<dd><p>NcGroupSpindleRotation.
Rotate spindle clockwise (CW).
See <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_SpindleStop">SpindleStop</a> to stop rotation and <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_SpindleCcw">SpindleCcw</a> for counter-clockwise rotation.</p>
</dd>
<dt id="Hi_Numerical_NcFlag_SpindleStop"><code>[NcLifeCycle(NcLifeCycleMode.Modal)]
[NcGroup(typeof(NcGroupSpindleRotation))]
SpindleStop = 76</code></dt>
<dd><p>NcGroupSpindleRotation.
Stop spindle rotation.
See <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_SpindleCw">SpindleCw</a> and <a class="xref" href="Hi.Numerical.NcFlag.html#Hi_Numerical_NcFlag_SpindleCcw">SpindleCcw</a> for clockwise and counter-clockwise rotation.</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>