<?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: MAZAK SEQUENCE NUMBERS in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-sequence-numbers/m-p/9783329#M6903</link>
    <description>&lt;P&gt;Thank you so much for your help works perfectly!!!!&amp;nbsp; &amp;nbsp;I have another question, on the initial start of the program,&amp;nbsp; between all tool changes the machine goes to a safe position of:&lt;/P&gt;&lt;P&gt;G53 Z0&lt;/P&gt;&lt;P&gt;G53 X0 Y0 B0 C0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to machine to go home in the only Z-axis and reposition "B &amp;amp; C" where necessary and eliminate the&lt;/P&gt;&lt;P&gt;G53 X0 Y0 B0 C0&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the new version of the post with the "N" number on tool change and G90 added for the "EIA" non-modal restart.&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="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/826993iF82D06E20B2211BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture-2.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/826994iCCA19268DFC84943/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture-2.PNG" alt="Capture-2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4466288"&gt;@Arun.rs&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 04 Oct 2020 19:10:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-10-04T19:10:43Z</dc:date>
    <item>
      <title>MAZAK SEQUENCE NUMBERS</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-sequence-numbers/m-p/9771282#M6901</link>
      <description>&lt;P&gt;I need help making some changes to my post.&amp;nbsp; I would only like the sequence number output above each new tool change.&amp;nbsp; Post attached&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 00:30:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-sequence-numbers/m-p/9771282#M6901</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-28T00:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: MAZAK SEQUENCE NUMBERS</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-sequence-numbers/m-p/9771487#M6902</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;Thanks for raising your concern via Forum .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Open post file in a 'Visual Studio Code' or 'Notepad++' to do the required modifications.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Define variable called&amp;nbsp; '&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;sequenceNumberForToolChange&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;FONT face="inherit"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;' , you can&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;define&lt;FONT face="inherit"&gt;&amp;nbsp;in '&lt;/FONT&gt;&lt;SPAN&gt;//&amp;nbsp;collected&amp;nbsp;state'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2. Search '&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;writeBlock&lt;/STRONG&gt;' , Add below condition in line number 202&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;if (properties.showSequenceNumbers || sequenceNumberForToolChange) {&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3. Set the state as false for &lt;STRONG&gt;'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: inherit;"&gt;sequenceNumberForToolChange' &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: inherit;"&gt;in line number 217&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;sequenceNumberForToolChange = false;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Modified condition will be as below.&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;function writeBlock() {
  var text = formatWords(arguments);
  if (!text) {
    return;
  }
  if (properties.showSequenceNumbers || sequenceNumberForToolChange) {
    if (skipBlock &amp;amp;&amp;amp; text) {
      writeWords2("/", "N" + sequenceNumber, arguments);
    } else {
      writeWords2("N" + sequenceNumber, arguments);
    }
    sequenceNumber += properties.sequenceNumberIncrement;
  } else {
    if (skipBlock &amp;amp;&amp;amp; text) {
      writeWords("/", arguments);
    } else {
      writeWords(arguments);
    }
  }
  skipBlock = false;
  sequenceNumberForToolChange = false;
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;4. Search &lt;STRONG&gt;'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: inherit;"&gt;writeBlock&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;"T"&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;+&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;toolFormat&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;format&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;tool&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;number&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;mFormat&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;format&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;));'&amp;nbsp; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: inherit;"&gt;in editor.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;5.&amp;nbsp;Write '&amp;nbsp;&lt;STRONG&gt;sequenceNumberForToolChange&amp;nbsp;=&amp;nbsp;true;&lt;/STRONG&gt;&amp;nbsp;' before toolcall.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tool change.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/824433iAF77417A71A9DA3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="tool change.png" alt="tool change.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 05:30:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-sequence-numbers/m-p/9771487#M6902</guid>
      <dc:creator>Arun.rs</dc:creator>
      <dc:date>2020-09-28T05:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: MAZAK SEQUENCE NUMBERS</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-sequence-numbers/m-p/9783329#M6903</link>
      <description>&lt;P&gt;Thank you so much for your help works perfectly!!!!&amp;nbsp; &amp;nbsp;I have another question, on the initial start of the program,&amp;nbsp; between all tool changes the machine goes to a safe position of:&lt;/P&gt;&lt;P&gt;G53 Z0&lt;/P&gt;&lt;P&gt;G53 X0 Y0 B0 C0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to machine to go home in the only Z-axis and reposition "B &amp;amp; C" where necessary and eliminate the&lt;/P&gt;&lt;P&gt;G53 X0 Y0 B0 C0&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the new version of the post with the "N" number on tool change and G90 added for the "EIA" non-modal restart.&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="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/826993iF82D06E20B2211BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture-2.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/826994iCCA19268DFC84943/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture-2.PNG" alt="Capture-2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4466288"&gt;@Arun.rs&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 19:10:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-sequence-numbers/m-p/9783329#M6903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-04T19:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: MAZAK SEQUENCE NUMBERS</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-sequence-numbers/m-p/9784914#M6904</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;Thanks for the feedback.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't want to output XYBC homing codes for every tool change and in program start, you can just comment it out with "//" in front of it.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;// if (insertToolCall) {
    // writeBlock(gFormat.format(53), gMotionModal.format(0), "X" + xyzFormat.format(0), "Y" + xyzFormat.format(0), "B" + xyzFormat.format(0), "C" + xyzFormat.format(0)); // retract
    //   forceABC();
    // } else {
    //   writeRetract(X, Y);
    // }&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Save the file and test the post carefully.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 16:57:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-sequence-numbers/m-p/9784914#M6904</guid>
      <dc:creator>Arun.rs</dc:creator>
      <dc:date>2020-10-05T16:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: MAZAK SEQUENCE NUMBERS</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-sequence-numbers/m-p/9794951#M6905</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4466288"&gt;@Arun.rs&lt;/a&gt;&amp;nbsp; this works but the problem is if you transitioning from an operation where C or B was not at 0 deg, nothing forces it back on the next operation to proper B C location.&amp;nbsp; I have attached a file, for example, after drill, the holes nothings reset B C going to tool 5&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2020 01:36:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-sequence-numbers/m-p/9794951#M6905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-10T01:36:36Z</dc:date>
    </item>
  </channel>
</rss>

