243 lines
9.6 KiB
HTML
243 lines
9.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Heidenhain Controller Support | HiAPI-C# 2025 </title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="title" content="Heidenhain Controller Support | 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 "{query}"">
|
|
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
|
<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="">
|
|
<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="Controllers/HeidenhainSupport">
|
|
<h1 id="heidenhain-controller-support">Heidenhain Controller Support</h1>
|
|
|
|
<p>This chapter explains HiNC support for NC codes of Heidenhain TNC640 and TNC530 controllers.</p>
|
|
<p>Heidenhain controllers support general ISO syntax. The general ISO syntax supported by HiNC is documented in other files.</p>
|
|
<p>If not mentioned in the documentation, it generally means it's not supported. R radius compensation command is not supported.</p>
|
|
<h2 id="format-support">Format Support</h2>
|
|
<p>Except for L code and FQ code, there must be spaces between letter instructions, otherwise, they cannot be parsed.</p>
|
|
<blockquote>
|
|
<p>Can be parsed:</p>
|
|
<ul>
|
|
<li><code>FMAX M03</code></li>
|
|
<li><code>LX-26.3 Y+43.1 Z+100.3 A-90.0 C+13.123 FQ3</code></li>
|
|
</ul>
|
|
</blockquote>
|
|
<blockquote>
|
|
<p>Cannot be parsed:
|
|
<code>FMAXM03</code></p>
|
|
</blockquote>
|
|
<p>Support for <code>L</code> move command.</p>
|
|
<blockquote>
|
|
<p>Can be parsed:</p>
|
|
<ul>
|
|
<li><code>LX+0Y+0FMAX</code></li>
|
|
<li><code>L X+0 Y+0 FMAX</code></li>
|
|
</ul>
|
|
</blockquote>
|
|
<h2 id="macro-support">Macro Support</h2>
|
|
<h3 id="q-variable-assignment">Q Variable Assignment</h3>
|
|
<p>Support for Q variable assignment.</p>
|
|
<blockquote>
|
|
<p>Can be parsed:</p>
|
|
<ul>
|
|
<li><code>Q1 = 5000</code></li>
|
|
<li><code>Q2 = 123</code></li>
|
|
<li><code>Q3 = 1000</code></li>
|
|
<li><code>LX-26.3 Y+43.1 Z+100.3 A-90.0 C+13.123 FQ3</code></li>
|
|
</ul>
|
|
</blockquote>
|
|
<h3 id="q-variable-operations">Q Variable Operations</h3>
|
|
<p>Support for the following macro operations:</p>
|
|
<ul>
|
|
<li><code>FN0</code> specify a value.</li>
|
|
<li><code>FN1</code> calculate and specify the sum of two values.</li>
|
|
<li><code>FN2</code> calculate and specify the difference of two values.</li>
|
|
<li><code>FN3</code> calculate and specify the product of two values.</li>
|
|
</ul>
|
|
<blockquote>
|
|
<p>Can be parsed:</p>
|
|
<ul>
|
|
<li><code>FN0: Q1 = 5000</code></li>
|
|
<li><code>FN1: Q1 = -Q2 + -5</code></li>
|
|
<li><code>FN2: Q1 = +10 - +5</code></li>
|
|
<li><code>FN3: Q2 = +3 * +3</code></li>
|
|
</ul>
|
|
</blockquote>
|
|
<h2 id="tool-call">TOOL CALL</h2>
|
|
<p>Support for <code>TOOL CALL</code>, but the tool name must be a number.</p>
|
|
<blockquote>
|
|
<p>Can be parsed:</p>
|
|
<ul>
|
|
<li><code>TOOL CALL "1" Z S5000</code></li>
|
|
<li><code>TOOL CALL 1 Z S5000</code></li>
|
|
</ul>
|
|
</blockquote>
|
|
<blockquote>
|
|
<p>Cannot be parsed:
|
|
<code>TOOL CALL "ET1" S5000</code></p>
|
|
</blockquote>
|
|
<h2 id="cycl-def-7">CYCL DEF 7</h2>
|
|
<p>Support for <code>CYCL DEF 7</code> workpiece origin offset command.</p>
|
|
<blockquote>
|
|
<p>Can be parsed:</p>
|
|
<pre><code>CYCL DEF 7.0 DATUM SHIFT
|
|
CYCL DEF 7.1 X10.123
|
|
CYCL DEF 7.2 Y22.223
|
|
CYCL DEF 7.3 Z32.97
|
|
</code></pre>
|
|
</blockquote>
|
|
<h2 id="cycl-def-247">CYCL DEF 247</h2>
|
|
<p>Support for <code>CYCL DEF 247</code> workpiece origin setting. Supports <code>Q339</code> coordinate index.</p>
|
|
<blockquote>
|
|
<p>Can be parsed: <code>CYCL DEF 247 Q339=+1</code></p>
|
|
</blockquote>
|
|
<h2 id="plane-series-instructions">PLANE Series Instructions</h2>
|
|
<h3 id="motion-behavior-instructions">Motion Behavior Instructions</h3>
|
|
<p>Support for one of three motion behavior instructions: { <code>STAY</code> , <code>TURN</code> , <code>MOVE</code> } .</p>
|
|
<h3 id="seq">SEQ</h3>
|
|
<p>Support for { <code>SEQ+</code> , <code>SEQ-</code> } active spindle rotation direction instructions.</p>
|
|
<h3 id="table-rot">TABLE ROT</h3>
|
|
<p>Support for <code>TABLE ROT</code> worktable rotation instructions.</p>
|
|
<h3 id="plane-spatial">PLANE SPATIAL</h3>
|
|
<blockquote>
|
|
<p>Can be parsed: <code>PLANE SPATIAL SPA-60.3 SPB+0 SPC-19.88 STAY SEQ- TABLE ROT</code></p>
|
|
</blockquote>
|
|
<h3 id="plane-reset">PLANE RESET</h3>
|
|
<blockquote>
|
|
<p>Can be parsed: <code>PLANE RESET STAY</code></p>
|
|
</blockquote>
|
|
<h2 id="heidenhain-specific-m-codes">Heidenhain Specific M Codes</h2>
|
|
<p>Support for the following Heidenhain specific M codes. General ISO M codes are documented elsewhere.</p>
|
|
<h3 id="m91">M91</h3>
|
|
<p>Support for <code>M91</code> single-line effective mechanical coordinate displacement.</p>
|
|
<blockquote>
|
|
<p>Can be parsed: <code>L Z-1 F5000 M91</code></p>
|
|
</blockquote>
|
|
<h3 id="m107">M107</h3>
|
|
<p><strong>Skip</strong> <code>M107</code> display error message command.</p>
|
|
<h3 id="m108">M108</h3>
|
|
<p><strong>Skip</strong> <code>M108</code> reset <code>M107</code> command.</p>
|
|
<h3 id="m126">M126</h3>
|
|
<p>Support for <code>M126</code> move on the rotary axis with a shorter path.</p>
|
|
<h3 id="m127">M127</h3>
|
|
<p>Support for <code>M127</code> reset <code>M126</code> command.</p>
|
|
<h4 id="controller-parameter-field-300401">Controller Parameter Field 300401</h4>
|
|
<p>Support for controller parameter field <code>300401</code>, if this parameter is true, regardless of whether <code>M127</code> is issued, it will move on the rotary axis with a shorter path.</p>
|
|
<p>Parameter field <code>300401</code> default value is true.</p>
|
|
<h3 id="m128">M128</h3>
|
|
<p>Support for <code>M128</code> enable Tool Center Point Management (TCPM).</p>
|
|
<h3 id="m129">M129</h3>
|
|
<p>Support for <code>M129</code> disable Tool Center Point Management (TCPM).</p>
|
|
<h3 id="m140">M140</h3>
|
|
<p>Support for <code>M140 MB</code> <code>M140 MB MAX</code> retract tool command.</p>
|
|
<blockquote>
|
|
<p>Can be parsed:</p>
|
|
<ul>
|
|
<li><code>M140 MB MAX</code></li>
|
|
<li><code>M140 MB+50 F6000</code></li>
|
|
</ul>
|
|
</blockquote>
|
|
|
|
</article>
|
|
|
|
<div class="contribution d-print-none">
|
|
</div>
|
|
|
|
<div class="next-article d-print-none border-top" id="nextArticle"></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>
|