<?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 Betreff: Insert Custom Code Between Setups in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/insert-custom-code-between-setups/m-p/7400378#M17681</link>
    <description>&lt;P&gt;You're welcome&lt;/P&gt;
&lt;P&gt;Glad that it work for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have Fun&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mario&lt;/P&gt;</description>
    <pubDate>Fri, 22 Sep 2017 04:27:03 GMT</pubDate>
    <dc:creator>makko74</dc:creator>
    <dc:date>2017-09-22T04:27:03Z</dc:date>
    <item>
      <title>Insert Custom Code Between Setups</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/insert-custom-code-between-setups/m-p/7388364#M17678</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to insert the following code in between two setups when posting a single program with two setups:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;G53 X-14. Y0.&lt;BR /&gt;M52&lt;BR /&gt;G04 P1.&lt;BR /&gt;M62&lt;BR /&gt;M00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We uncheck "minimize tool changes" so that each setup runs sequentially, but in order to interface with our robot, I'd like to have the post insert the above code in between setup 1 and setup 2. I'm comfortable modding the post (ours is already heavily modified from the standard haas post) but if someone can point me in the right direction as to where to look I'd appreciate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;w&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 17:26:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/insert-custom-code-between-setups/m-p/7388364#M17678</guid>
      <dc:creator>wileydavis</dc:creator>
      <dc:date>2017-09-18T17:26:37Z</dc:date>
    </item>
    <item>
      <title>Betreff: Insert Custom Code Between Setups</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/insert-custom-code-between-setups/m-p/7393044#M17679</link>
      <description>&lt;P&gt;maybe with getJobId()&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in onSection&lt;/P&gt;
&lt;PRE&gt;  if ( !isFirstSection() &amp;amp;&amp;amp; ( currentSection.getJobId() != getPreviousSection().getJobId() ) ) {
    writeBlock("G53 X-14. Y0.");
    writeBlock("M52");
    ..
  }
&lt;/PRE&gt;
&lt;P&gt;not tested&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mario&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 06:38:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/insert-custom-code-between-setups/m-p/7393044#M17679</guid>
      <dc:creator>makko74</dc:creator>
      <dc:date>2017-09-20T06:38:22Z</dc:date>
    </item>
    <item>
      <title>Betreff: Insert Custom Code Between Setups</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/insert-custom-code-between-setups/m-p/7400336#M17680</link>
      <description>&lt;P&gt;That worked perfectly. Thank you very much.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 03:20:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/insert-custom-code-between-setups/m-p/7400336#M17680</guid>
      <dc:creator>wileydavis</dc:creator>
      <dc:date>2017-09-22T03:20:19Z</dc:date>
    </item>
    <item>
      <title>Betreff: Insert Custom Code Between Setups</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/insert-custom-code-between-setups/m-p/7400378#M17681</link>
      <description>&lt;P&gt;You're welcome&lt;/P&gt;
&lt;P&gt;Glad that it work for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have Fun&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mario&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 04:27:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/insert-custom-code-between-setups/m-p/7400378#M17681</guid>
      <dc:creator>makko74</dc:creator>
      <dc:date>2017-09-22T04:27:03Z</dc:date>
    </item>
  </channel>
</rss>

