<?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 Modifications in Fanuc Turning Post in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/modifications-in-fanuc-turning-post/m-p/6821318#M20081</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need some modifications to be made to the Generic Fanuc Turning post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.) The Tool Call. (eg. T1010) i need it to be posted in every operation even if the same tool is used. I already know the Manual NC method, but i need to put this in the post because this is what i want by default.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of Coolant on just after Tool Index. I need the M7 code to be on just before the Linear Interpolation (G1) line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;N10 (Face2)&lt;BR /&gt;T0202&lt;BR /&gt;(NOSE RADIUS=0.4)&lt;BR /&gt;&lt;STRONG&gt;M7&lt;/STRONG&gt;&lt;BR /&gt;G95&lt;BR /&gt;G92 S5000&lt;BR /&gt;G96 S45 M3&lt;BR /&gt;G0 X75. Z12.&lt;BR /&gt;G0 Z7.414 (...I want M7 here)&lt;BR /&gt;G1 X57.828 F0.2&lt;BR /&gt;X55. Z6.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also i have attached my modified fanuc turning cps file where i have put Coolant OFF (M9) for every operation in onSectionEnd(). I tried shifting M7 to the location i want but then it only ouputs M7 if there is a change of Tool and since i have put M9 after every operation. The Coolant doesn't start when same tool is used in the next operation.&lt;/P&gt;&lt;P&gt;The Following is the Code i tried to shift M7 location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if (insertToolCall) {&lt;BR /&gt;gMotionModal.reset();&lt;BR /&gt;&lt;BR /&gt;if (properties.type == "A") {&lt;BR /&gt;writeBlock(&lt;BR /&gt;gMotionModal.format(0), xOutput.format(initialPosition.x), yOutput.format(initialPosition.y), zOutput.format(initialPosition.z)&lt;BR /&gt;);&lt;BR /&gt;} else {&lt;BR /&gt;writeBlock(&lt;BR /&gt;gAbsIncModal.format(90),&lt;BR /&gt;gMotionModal.format(0), xOutput.format(initialPosition.x), yOutput.format(initialPosition.y), zOutput.format(initialPosition.z)&lt;BR /&gt;);&lt;BR /&gt;}&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;// set coolant after we have positioned at Z&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;setCoolant(tool.coolant);&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;gMotionModal.reset();&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;if (gotPartCatcher &amp;amp;&amp;amp;&lt;BR /&gt;(currentSection.partCatcher ||&lt;BR /&gt;(typeof currentSection.partCatcher == "undefined") &amp;amp;&amp;amp;&lt;BR /&gt;hasParameter("operation-strategy") &amp;amp;&amp;amp;&lt;BR /&gt;(getParameter("operation-strategy") == "turningPart"))) {&lt;BR /&gt;// activate part catcher here&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also note that my Javascript coding knowledge is very limited. Whatever editing i have done in the post is based on my understanding of the answers i found on other posts.&lt;/P&gt;</description>
    <pubDate>Sat, 21 Jan 2017 09:00:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-01-21T09:00:38Z</dc:date>
    <item>
      <title>Modifications in Fanuc Turning Post</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/modifications-in-fanuc-turning-post/m-p/6821318#M20081</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need some modifications to be made to the Generic Fanuc Turning post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.) The Tool Call. (eg. T1010) i need it to be posted in every operation even if the same tool is used. I already know the Manual NC method, but i need to put this in the post because this is what i want by default.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of Coolant on just after Tool Index. I need the M7 code to be on just before the Linear Interpolation (G1) line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;N10 (Face2)&lt;BR /&gt;T0202&lt;BR /&gt;(NOSE RADIUS=0.4)&lt;BR /&gt;&lt;STRONG&gt;M7&lt;/STRONG&gt;&lt;BR /&gt;G95&lt;BR /&gt;G92 S5000&lt;BR /&gt;G96 S45 M3&lt;BR /&gt;G0 X75. Z12.&lt;BR /&gt;G0 Z7.414 (...I want M7 here)&lt;BR /&gt;G1 X57.828 F0.2&lt;BR /&gt;X55. Z6.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also i have attached my modified fanuc turning cps file where i have put Coolant OFF (M9) for every operation in onSectionEnd(). I tried shifting M7 to the location i want but then it only ouputs M7 if there is a change of Tool and since i have put M9 after every operation. The Coolant doesn't start when same tool is used in the next operation.&lt;/P&gt;&lt;P&gt;The Following is the Code i tried to shift M7 location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if (insertToolCall) {&lt;BR /&gt;gMotionModal.reset();&lt;BR /&gt;&lt;BR /&gt;if (properties.type == "A") {&lt;BR /&gt;writeBlock(&lt;BR /&gt;gMotionModal.format(0), xOutput.format(initialPosition.x), yOutput.format(initialPosition.y), zOutput.format(initialPosition.z)&lt;BR /&gt;);&lt;BR /&gt;} else {&lt;BR /&gt;writeBlock(&lt;BR /&gt;gAbsIncModal.format(90),&lt;BR /&gt;gMotionModal.format(0), xOutput.format(initialPosition.x), yOutput.format(initialPosition.y), zOutput.format(initialPosition.z)&lt;BR /&gt;);&lt;BR /&gt;}&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;// set coolant after we have positioned at Z&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;setCoolant(tool.coolant);&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;gMotionModal.reset();&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;if (gotPartCatcher &amp;amp;&amp;amp;&lt;BR /&gt;(currentSection.partCatcher ||&lt;BR /&gt;(typeof currentSection.partCatcher == "undefined") &amp;amp;&amp;amp;&lt;BR /&gt;hasParameter("operation-strategy") &amp;amp;&amp;amp;&lt;BR /&gt;(getParameter("operation-strategy") == "turningPart"))) {&lt;BR /&gt;// activate part catcher here&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also note that my Javascript coding knowledge is very limited. Whatever editing i have done in the post is based on my understanding of the answers i found on other posts.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2017 09:00:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/modifications-in-fanuc-turning-post/m-p/6821318#M20081</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-21T09:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Modifications in Fanuc Turning Post</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/modifications-in-fanuc-turning-post/m-p/6821356#M20082</link>
      <description>&lt;P&gt;The fix for the coolant is quite easy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Move it down just a little.&lt;/P&gt;
&lt;PRE&gt;if (insertToolCall) {
gMotionModal.reset();

if (properties.type == "A") {
writeBlock(
gMotionModal.format(0), xOutput.format(initialPosition.x), yOutput.format(initialPosition.y), zOutput.format(initialPosition.z)
);
} else {
writeBlock(
gAbsIncModal.format(90),
gMotionModal.format(0), xOutput.format(initialPosition.x), yOutput.format(initialPosition.y), zOutput.format(initialPosition.z)
);
}

gMotionModal.reset();
}

// set coolant after we have positioned at Z
setCoolant(tool.coolant);

if (gotPartCatcher &amp;amp;&amp;amp;
(currentSection.partCatcher ||
(typeof currentSection.partCatcher == "undefined") &amp;amp;&amp;amp;
hasParameter("operation-strategy") &amp;amp;&amp;amp;
(getParameter("operation-strategy") == "turningPart"))) {
// activate part catcher here
}&lt;/PRE&gt;</description>
      <pubDate>Sat, 21 Jan 2017 10:21:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/modifications-in-fanuc-turning-post/m-p/6821356#M20082</guid>
      <dc:creator>Laurens-3DTechDraw</dc:creator>
      <dc:date>2017-01-21T10:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Modifications in Fanuc Turning Post</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/modifications-in-fanuc-turning-post/m-p/6821582#M20083</link>
      <description>&lt;P&gt;Perfect! Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now please someone help me with&amp;nbsp;Force Tool Change in each operation.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2017 14:41:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/modifications-in-fanuc-turning-post/m-p/6821582#M20083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-21T14:41:32Z</dc:date>
    </item>
  </channel>
</rss>

