<?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: Trying to make a Sinumerik Tapping Cycle  in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/trying-to-implement-sinumerik-cycle/m-p/6099444#M25180</link>
    <description>Hello,&lt;BR /&gt;Thank you for replaying.&lt;BR /&gt;I manage to resolve the spindle rotation and thread pitch, even the thread size (i only needed the no, like 6 for M6 thread, and so on).&amp;nbsp; &amp;nbsp; &lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; case "tapping":&lt;BR /&gt;	var SDAC = SDIR; // direction of rotation after end of cycle&lt;BR /&gt;	var SDR = 0; // direction of rotation for retraction&lt;BR /&gt;	var ENC = 1; // tapping with/without encoder&lt;BR /&gt;&amp;nbsp; &amp;nbsp; var MPIT = tool.diameter;&amp;nbsp; // thread pitch as thread size M3:3 and M4:4&lt;BR /&gt;&amp;nbsp; &amp;nbsp; var PIT = ((tool.type == TOOL_TAP_LEFT_HAND) ? -1 : 1) * tool.threadPitch; // thread pitch as a value&lt;BR /&gt;&amp;nbsp; &amp;nbsp; var AXN = 3; // tool axis&lt;BR /&gt;&amp;nbsp; &amp;nbsp; writeBlock(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "MCALL CYCLE840(" + xyzFormat.format(RTP) +&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ", " + xyzFormat.format(RFP) +&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ", " + xyzFormat.format(SDIS) +&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ", " + xyzFormat.format(DP) +&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ", " /*+ xyzFormat.format(DPR)*/ +&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ", " + conditional(DTB &amp;gt; 0, secFormat.format(DTB)) +&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ", " + xyzFormat.format(SDR) +&lt;BR /&gt;	&amp;nbsp; ", " + xyzFormat.format(SDAC) +&lt;BR /&gt;	&amp;nbsp; ", " + xyzFormat.format(ENC) +&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ", " + xyzFormat.format(MPIT) +&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ", " + xyzFormat.format(PIT) +&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ", " + xyzFormat.format(AXN) + ")"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; );&lt;BR /&gt;&amp;nbsp; &amp;nbsp; break;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you for the feedrate tip, it's working perfectly&amp;nbsp; ;D</description>
    <pubDate>Sun, 08 Nov 2015 00:49:02 GMT</pubDate>
    <dc:creator>mecanicu</dc:creator>
    <dc:date>2015-11-08T00:49:02Z</dc:date>
  </channel>
</rss>

