<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Haidenhain iTNC 320 for 2d mill without Z in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/haidenhain-itnc-320-for-2d-mill-without-z/m-p/10610845#M6130</link>
    <description>&lt;P&gt;Hello Reto,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried the standard Heidenhain post or one of the model specific Heidenhain posts to see if the output matches or is close to the requirements for the TNC 320 control?&amp;nbsp; I would think that it should be very close and require only a minimum of changes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The simplest way to get rid of the Z-moves in the output is to disable the Z-axis output.&amp;nbsp; This can be accomplished by adding the following line in the &lt;EM&gt;onOpen&lt;/EM&gt; function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;function onOpen() {
  zOutput.disable(); // &amp;lt;&amp;lt;&amp;lt; ADD THIS LINE&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will also need to comment out any places where &lt;EM&gt;zOutput &lt;/EM&gt;is redefined, in this post it would be in the &lt;EM&gt;setIncrementalMode&lt;/EM&gt; and &lt;EM&gt;setAbsoluteMode&lt;/EM&gt; functions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;function setIncrementalMode(xyz, abc) {
  xOutput = setAxisMode(xyzFormat, xOutput, " IX", xyz.x, true);
  yOutput = setAxisMode(xyzFormat, yOutput, " IY", xyz.y, true);
  // zOutput = setAxisMode(xyzFormat, zOutput, " IZ", xyz.z, true); // &amp;lt;&amp;lt;&amp;lt; COMMENT OUT THIS LINE
...
...
function setAbsoluteMode(xyz, abc) {
  if (incrementalMode) {
    xOutput = setAxisMode(xyzFormat, xOutput, " X", xyz.x, false);
    yOutput = setAxisMode(xyzFormat, yOutput, " Y", xyz.y, false);
    // zOutput = setAxisMode(xyzFormat, zOutput, " Z", xyz.z, false); // &amp;lt;&amp;lt;&amp;lt; COMMENT OUT THIS LINE&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 09 Sep 2021 12:58:38 GMT</pubDate>
    <dc:creator>bob.schultz</dc:creator>
    <dc:date>2021-09-09T12:58:38Z</dc:date>
    <item>
      <title>Haidenhain iTNC 320 for 2d mill without Z</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/haidenhain-itnc-320-for-2d-mill-without-z/m-p/9946754#M6124</link>
      <description>&lt;P&gt;Hey everybody&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new here and I'm looking for a post that doesn't generate Z values for a Heidenhain iTNC 320.&lt;/P&gt;&lt;P&gt;The mill I want to use works with x and y only and the z is controled manually.&lt;/P&gt;&lt;P&gt;Do I have to code my own post or has done that already somebody?&lt;/P&gt;&lt;P&gt;Thanks for any help on that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Reto&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 16:13:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/haidenhain-itnc-320-for-2d-mill-without-z/m-p/9946754#M6124</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-17T16:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Haidenhain iTNC 320 for 2d mill without Z</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/haidenhain-itnc-320-for-2d-mill-without-z/m-p/9948326#M6125</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Correct me if I'm wrong. In actual condition, First Your machine takes place to the initial position, and you will control the Z value manually. Right? Is it a Conventional machine with a controller?&lt;BR /&gt;&lt;BR /&gt;I made some changes to the post and added a comment. Is it ok?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KrupalVala_1-1608274120889.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/857712i11584C6B50A62D99/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KrupalVala_1-1608274120889.png" alt="KrupalVala_1-1608274120889.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 07:06:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/haidenhain-itnc-320-for-2d-mill-without-z/m-p/9948326#M6125</guid>
      <dc:creator>KrupalVala</dc:creator>
      <dc:date>2020-12-18T07:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Haidenhain iTNC 320 for 2d mill without Z</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/haidenhain-itnc-320-for-2d-mill-without-z/m-p/9949604#M6126</link>
      <description>&lt;P&gt;First thank you for you reply!&lt;/P&gt;&lt;P&gt;Honestly I'm not quit sure what you mean with I made changes to the post. Which post may I ask?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The machine is a Fehlmann P54 it's a swiss company and I reckon it's considerable as a conventional machine with controller yes. Sorry I didn't find a specsheet only from the controler &lt;A href="https://www.heidenhain.de/fileadmin/pdb/media/img/1113511-24_TNC320_en.pdf" target="_blank"&gt;https://www.heidenhain.de/fileadmin/pdb/media/img/1113511-24_TNC320_en.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I new which post is available and close to the one i need that might be very helpfoul.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Reto&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 18:28:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/haidenhain-itnc-320-for-2d-mill-without-z/m-p/9949604#M6126</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-18T18:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Haidenhain iTNC 320 for 2d mill without Z</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/haidenhain-itnc-320-for-2d-mill-without-z/m-p/10568409#M6127</link>
      <description>&lt;P&gt;Hello Reto,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are also using the same machine, the&amp;nbsp;&lt;SPAN&gt;Fehlmann P54&amp;nbsp; with a Heidenhain controller. I have been trying to modify the delivered heidenhain.cps without success. Did you find a solution?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MarkCK&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 06:07:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/haidenhain-itnc-320-for-2d-mill-without-z/m-p/10568409#M6127</guid>
      <dc:creator>MACSN547</dc:creator>
      <dc:date>2021-08-24T06:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Haidenhain iTNC 320 for 2d mill without Z</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/haidenhain-itnc-320-for-2d-mill-without-z/m-p/10609381#M6128</link>
      <description>&lt;P&gt;Hello MarkCK,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you just trying to remove the Z-axis from the output or do you need other modifications also?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 22:22:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/haidenhain-itnc-320-for-2d-mill-without-z/m-p/10609381#M6128</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2021-09-08T22:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Haidenhain iTNC 320 for 2d mill without Z</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/haidenhain-itnc-320-for-2d-mill-without-z/m-p/10610048#M6129</link>
      <description>Hello Bob&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;I need the X and Y coordinates only. Therefore I assume to get rid of the Z would help already.&lt;BR /&gt;&lt;BR /&gt;However, I need the post processing for this particular control (Haidenhein TNC 320) anyway I guess and I can't find it in Fusions post library.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for any further comments.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Reto&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2021 07:14:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/haidenhain-itnc-320-for-2d-mill-without-z/m-p/10610048#M6129</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-09T07:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Haidenhain iTNC 320 for 2d mill without Z</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/haidenhain-itnc-320-for-2d-mill-without-z/m-p/10610845#M6130</link>
      <description>&lt;P&gt;Hello Reto,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried the standard Heidenhain post or one of the model specific Heidenhain posts to see if the output matches or is close to the requirements for the TNC 320 control?&amp;nbsp; I would think that it should be very close and require only a minimum of changes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The simplest way to get rid of the Z-moves in the output is to disable the Z-axis output.&amp;nbsp; This can be accomplished by adding the following line in the &lt;EM&gt;onOpen&lt;/EM&gt; function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;function onOpen() {
  zOutput.disable(); // &amp;lt;&amp;lt;&amp;lt; ADD THIS LINE&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will also need to comment out any places where &lt;EM&gt;zOutput &lt;/EM&gt;is redefined, in this post it would be in the &lt;EM&gt;setIncrementalMode&lt;/EM&gt; and &lt;EM&gt;setAbsoluteMode&lt;/EM&gt; functions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;function setIncrementalMode(xyz, abc) {
  xOutput = setAxisMode(xyzFormat, xOutput, " IX", xyz.x, true);
  yOutput = setAxisMode(xyzFormat, yOutput, " IY", xyz.y, true);
  // zOutput = setAxisMode(xyzFormat, zOutput, " IZ", xyz.z, true); // &amp;lt;&amp;lt;&amp;lt; COMMENT OUT THIS LINE
...
...
function setAbsoluteMode(xyz, abc) {
  if (incrementalMode) {
    xOutput = setAxisMode(xyzFormat, xOutput, " X", xyz.x, false);
    yOutput = setAxisMode(xyzFormat, yOutput, " Y", xyz.y, false);
    // zOutput = setAxisMode(xyzFormat, zOutput, " Z", xyz.z, false); // &amp;lt;&amp;lt;&amp;lt; COMMENT OUT THIS LINE&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 09 Sep 2021 12:58:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/haidenhain-itnc-320-for-2d-mill-without-z/m-p/10610845#M6130</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2021-09-09T12:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Haidenhain iTNC 320 for 2d mill without Z</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/haidenhain-itnc-320-for-2d-mill-without-z/m-p/10626554#M6131</link>
      <description>&lt;P&gt;Hello Bob,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the late reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Removing the Z values is the main goal but I also need to add M52 and M99 were needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have now seen your post regarding how best to disable the Z values and I will review the changes I have made to the standard post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the time in between I have create a working post and have started testing the output but an increased workload means I have no made much progress.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Things I have discovered are that we have a TNC 310 and not a TNC 320, which means the CYCL DEF are different, comments are not supported in the .h file and a few other things that do not spring to mind right now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The edits I have made are quick and dirty. Once I have refined the output I will clean up the edits and share.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MarkCK&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 10:22:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/haidenhain-itnc-320-for-2d-mill-without-z/m-p/10626554#M6131</guid>
      <dc:creator>MACSN547</dc:creator>
      <dc:date>2021-09-16T10:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Haidenhain iTNC 320 for 2d mill without Z</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/haidenhain-itnc-320-for-2d-mill-without-z/m-p/10638699#M6132</link>
      <description>&lt;P&gt;Dear Bob&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't got the chance to check your suggestions yet but I certainly will but don't know when.&lt;/P&gt;&lt;P&gt;Anyway I thank you for posting this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Reto&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 05:43:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/haidenhain-itnc-320-for-2d-mill-without-z/m-p/10638699#M6132</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-22T05:43:06Z</dc:date>
    </item>
  </channel>
</rss>

