<?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: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9137856#M9899</link>
    <description>Can you just attach a sample NC code here how you want or how you are manually changing the place so I can help you out</description>
    <pubDate>Sun, 10 Nov 2019 14:05:53 GMT</pubDate>
    <dc:creator>boopathi.sivakumar</dc:creator>
    <dc:date>2019-11-10T14:05:53Z</dc:date>
    <item>
      <title>Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9124396#M9890</link>
      <description>&lt;P&gt;Could someone help please? i am using the Generic Seiemens post for turning and i need to Omit the G97 (line N19)and change the G18 (line N10) to G17 for drilling (which will need to be switched back to G18 for normal turning. below is a sample of a simple drill code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;; %_N_1001_MPF&lt;BR /&gt;N10 G90 G94 G18&lt;BR /&gt;N11 G71&lt;BR /&gt;N12 LIMS=4000&lt;BR /&gt;N13 T0&lt;BR /&gt;N14 G53 G0 X700.&lt;/P&gt;&lt;P&gt;; Drill2&lt;BR /&gt;N15 T6 D1&lt;BR /&gt;N16 G54&lt;BR /&gt;N17 M8&lt;BR /&gt;N18 G94&lt;BR /&gt;N19 G97 S2890 M3&lt;BR /&gt;N20 G0 X0. Z15&lt;BR /&gt;N21 F231.498&lt;BR /&gt;N22 CYCLE82(5, 0, 5, -25, )&lt;BR /&gt;N23 X0.&lt;BR /&gt;N24 G0 Z15&lt;/P&gt;&lt;P&gt;N25 M9&lt;BR /&gt;N26 T0&lt;BR /&gt;N27 G53 X700.&lt;BR /&gt;N28 M30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can someone help please? Regards Paul.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Nov 2019 16:38:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9124396#M9890</guid>
      <dc:creator>paul.slaterMZZFE</dc:creator>
      <dc:date>2019-11-03T16:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9124919#M9891</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5127059"&gt;@paul.slaterMZZFE&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you want to omit the G97 all the time or on any drilling cycle only?&lt;/P&gt;
&lt;P&gt;And if you want to G17 for any drilling cycle only is ok to call it like this&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;N15 T6 D1
N16 G54
N17 M8
N18 G94
N19 G97 S2890 M3
&lt;FONT color="#FF0000"&gt;N20 G17&lt;/FONT&gt;
N21 G0 X0. Z15
N22 F231.498
N23 CYCLE82(5, 0, 5, -25, )
N23 X0.
&lt;FONT color="#FF0000"&gt;N24 G18&lt;/FONT&gt;
N25 G0 Z15
N26 M9&lt;/PRE&gt;
&lt;P&gt;&lt;FONT color="#333333"&gt;Because if try to post process multiple operation at once then the change in top may not work as you&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#333333"&gt;expected&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 07:09:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9124919#M9891</guid>
      <dc:creator>boopathi.sivakumar</dc:creator>
      <dc:date>2019-11-04T07:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9125007#M9892</link>
      <description>&lt;P&gt;Boopathi -thank you for your response. I do need to have other turning operations also in the programme.&lt;/P&gt;&lt;P&gt;I also need to omit the G97 on line N19. I am not sure why this is not standard in the Generic post as this seems to be standard across all Siemens controls? Thank you Paul.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 08:15:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9125007#M9892</guid>
      <dc:creator>paul.slaterMZZFE</dc:creator>
      <dc:date>2019-11-04T08:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9125039#M9893</link>
      <description>&lt;P&gt;Boopathi -sorry, I misread your question. Delete G97 only for the drilling cycles please. I did try to use some code that was on another forum post by AchimN that writes the Drill Cycle in G01 which would be OK for the small amount of drilling that i do, although I don't know what would happen to Tapping? it is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;function onCyclePoint(x, y, z) {&amp;nbsp; &amp;nbsp; &amp;nbsp; /////// Insert the 2 lines below here&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;expandCyclePoint(x, y, z);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;return;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;this worked but the G01 lines were output below the Cycle82 and i did not know how to suppress the outputting of the Cycle82&amp;nbsp;?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;thanks Paul.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 08:33:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9125039#M9893</guid>
      <dc:creator>paul.slaterMZZFE</dc:creator>
      <dc:date>2019-11-04T08:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9125159#M9894</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5127059"&gt;@paul.slaterMZZFE&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit the post processor as mentioned below&amp;nbsp;&lt;/P&gt;
&lt;P&gt;go to this place by searching&amp;nbsp;&lt;FONT color="#FF0000"&gt;if (getspindle(true)&amp;nbsp;&lt;FONT color="#333333"&gt;you will see below set of codes&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE&gt;if&amp;nbsp;(getSpindle(true)&amp;nbsp;==&amp;nbsp;SPINDLE_SECONDARY)&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;writeBlock(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;spindleMode,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sOutput.format(_spindleSpeed),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;spindleDir
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;);
}else{
        writeBlock(  
          spindleMode,
          sOutput.format(_spindleSpeed),
          spindleDir
        );
      }&lt;/PRE&gt;
add the below set of codes so the else portion&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;currentSection&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;hasAnyCycle&lt;/SPAN&gt;&lt;SPAN&gt;())&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;writeBlock&lt;/SPAN&gt;&lt;SPAN&gt;(&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;//spindleMode,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;sOutput&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;format&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;_spindleSpeed&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;spindleDir&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;else&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;writeBlock&lt;/SPAN&gt;&lt;SPAN&gt;(&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;spindleMode&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;sOutput&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;format&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;_spindleSpeed&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;spindleDir&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;final codes will be like this&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt; if&amp;nbsp;(getSpindle(true)&amp;nbsp;==&amp;nbsp;SPINDLE_SECONDARY)&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;writeBlock(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;spindleMode,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sOutput.format(_spindleSpeed),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;spindleDir
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;);
}else{
&lt;FONT color="#FF0000"&gt;if(currentSection.hasAnyCycle()){
        writeBlock(  
          //spindleMode,
          sOutput.format(_spindleSpeed),
          spindleDir
        );
      }else{&lt;/FONT&gt;
        writeBlock(  
          spindleMode,
          sOutput.format(_spindleSpeed),
          spindleDir
        );
      }&lt;BR /&gt;}&lt;/PRE&gt;
&lt;SPAN&gt;now save the post processor file.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;if you want expanded cycle means then you have to tell the post processor to not post the cycle.&lt;/DIV&gt;
&lt;DIV&gt;So how you want to post ? in cycle or in expanded format&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Nov 2019 09:31:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9125159#M9894</guid>
      <dc:creator>boopathi.sivakumar</dc:creator>
      <dc:date>2019-11-04T09:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9130138#M9895</link>
      <description>&lt;P&gt;Boothpati -thank you for the code. i am away from the office for a few days so cannot try. I will try over the weekend and let you know. The instructions are very clear! thanks Paul.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 09:43:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9130138#M9895</guid>
      <dc:creator>paul.slaterMZZFE</dc:creator>
      <dc:date>2019-11-06T09:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9137266#M9896</link>
      <description>&lt;P&gt;Boopathi -I think i have done something wrong I got an error.&lt;/P&gt;&lt;P&gt;Error: SyntaxError: missing } after function body&lt;BR /&gt;Error at line: 1459&lt;BR /&gt;Failed while processing global script.&lt;BR /&gt;###############################################################################&lt;/P&gt;&lt;P&gt;Error: Syntax error: Missing close for { at line 1258.&lt;/P&gt;&lt;P&gt;I have attached the PP would you be kind enough to point out where I made the mistake please?&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2019 17:01:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9137266#M9896</guid>
      <dc:creator>paul.slaterMZZFE</dc:creator>
      <dc:date>2019-11-09T17:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9137340#M9897</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5127059"&gt;@paul.slaterMZZFE&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No worries you just missed a closing bracket&amp;nbsp; } in a function&lt;/P&gt;
&lt;P&gt;go and &lt;STRONG&gt;search&lt;/STRONG&gt; for this line&amp;nbsp;&lt;STRONG&gt;&lt;SPAN class="mtk16 mtki"&gt;function&lt;/SPAN&gt; &lt;SPAN class="mtk10 mtki"&gt;onCommand&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="mtk10 mtki"&gt;add a } above this line your final code will be like this&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;  }
  // wait for spindle here if required
  }
&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;}
&lt;/FONT&gt;&lt;/STRONG&gt;
function onCommand(command) {&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN class="mtk10 mtki"&gt;That's all you almost did a perfect job&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2019 18:31:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9137340#M9897</guid>
      <dc:creator>boopathi.sivakumar</dc:creator>
      <dc:date>2019-11-09T18:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9137721#M9898</link>
      <description>&lt;P&gt;Boopathi -thank you. All works perfect, except I have to change the G18 to G17 and then back again to G18 for other turning. Is this a big problem to solve? thank you Paul S.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Nov 2019 09:51:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9137721#M9898</guid>
      <dc:creator>paul.slaterMZZFE</dc:creator>
      <dc:date>2019-11-10T09:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9137856#M9899</link>
      <description>Can you just attach a sample NC code here how you want or how you are manually changing the place so I can help you out</description>
      <pubDate>Sun, 10 Nov 2019 14:05:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9137856#M9899</guid>
      <dc:creator>boopathi.sivakumar</dc:creator>
      <dc:date>2019-11-10T14:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9137999#M9900</link>
      <description>&lt;P&gt;Boopathi -i have attached 2 files, one with single drilling operation and one with other turning operations. i wonder if it may be easier to output the plane that is relevant for every operation the same as happens with G54 for every new operation. Instead of having to keep swapping between G18 for normal turning and G17 for drilling/tapping?&lt;/P&gt;&lt;P&gt;Thank you and kind regards Paul.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Nov 2019 17:48:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9137999#M9900</guid>
      <dc:creator>paul.slaterMZZFE</dc:creator>
      <dc:date>2019-11-10T17:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9138003#M9901</link>
      <description>&lt;P&gt;Boopathi -One thing I forgot to mention is that because Siemens for whatever reason use G82 for drilling I have changed G82 in the post to G822 and G81 to G82. I am sure that is a cheap and dirty way to code it but it's the best i could think of and it works! thanks Paul&lt;/P&gt;</description>
      <pubDate>Sun, 10 Nov 2019 17:50:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9138003#M9901</guid>
      <dc:creator>paul.slaterMZZFE</dc:creator>
      <dc:date>2019-11-10T17:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9138641#M9902</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5127059"&gt;@paul.slaterMZZFE&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Go and look for the code&lt;STRONG&gt;&amp;nbsp;setCoolant(tool.coolant)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You get to see something like this&lt;/P&gt;
&lt;PRE&gt;  gFeedModeModal.reset();
  if (currentSection.feedMode == FEED_PER_REVOLUTION) {
    writeBlock(getCode("FEED_MODE_UNIT_REV"));
  } else {
    writeBlock(getCode("FEED_MODE_UNIT_MIN"));
  }&lt;/PRE&gt;
&lt;P&gt;Instead of the above code just copy and paste below&lt;/P&gt;
&lt;PRE&gt;gFeedModeModal.reset();
 &lt;FONT color="#FF0000"&gt; if (currentSection.feedMode == FEED_PER_REVOLUTION) {
    if (currentSection.hasAnyCycle()){
      writeBlock(getCode("FEED_MODE_UNIT_REV"),gFormat.format(17));
    }else{
      writeBlock(getCode("FEED_MODE_UNIT_REV"));
    }
  } else {
    if (currentSection.hasAnyCycle()){
      writeBlock(getCode("FEED_MODE_UNIT_MIN"),gFormat.format(17));
    }else{
      writeBlock(getCode("FEED_MODE_UNIT_MIN"));&lt;/FONT&gt;
    }
  }
&lt;/PRE&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Your final code will be like the above one.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;and in the section end search for this line&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;function&amp;nbsp;onSectionEnd()&amp;nbsp;&lt;/STRONG&gt;you get to see something like the below code&lt;/DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;function onSectionEnd() {

  // cancel SFM mode to preserve spindle speed
  if (tool.getSpindleMode() == SPINDLE_CONSTANT_SURFACE_SPEED) {
    startSpindle(false, true, getFramePosition(currentSection.getFinalPosition()));
  }
  if (currentSection.partCatcher) {
    engagePartCatcher(false);
  }
  forceAny();
}&lt;/PRE&gt;
insert the code in red below and save the file&lt;/DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;function onSectionEnd() {

  // cancel SFM mode to preserve spindle speed
  if (tool.getSpindleMode() == SPINDLE_CONSTANT_SURFACE_SPEED) {
    startSpindle(false, true, getFramePosition(currentSection.getFinalPosition()));
  }
&lt;FONT color="#FF0000"&gt;if (currentSection.hasAnyCycle()){
  writeBlock(gFormat.format(18));
}&lt;/FONT&gt;
  if (currentSection.partCatcher) {
    engagePartCatcher(false);
  }
  forceAny();
}&lt;/PRE&gt;
&lt;FONT color="#000000"&gt;This time it will work&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Nov 2019 07:58:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9138641#M9902</guid>
      <dc:creator>boopathi.sivakumar</dc:creator>
      <dc:date>2019-11-11T07:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9139129#M9903</link>
      <description>&lt;P&gt;Boopathi -thank you. It looks perfect in the NC file. I need to try on the machine but cannot do for a couple of days due to a new DMG Mori installation.&lt;/P&gt;&lt;P&gt;Thank you again for all your help and support, which has been invaluable. Kind regards Paul S.&lt;/P&gt;&lt;P&gt;Ps. I will click "Accept as solution" as soon as I have tried it.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 13:07:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9139129#M9903</guid>
      <dc:creator>paul.slaterMZZFE</dc:creator>
      <dc:date>2019-11-11T13:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9141285#M9904</link>
      <description>&lt;P&gt;Boopathi -thank you for all your help in sorting the problem, it works perfectly.&lt;/P&gt;&lt;P&gt;Kind regards Paul.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 13:04:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/9141285#M9904</guid>
      <dc:creator>paul.slaterMZZFE</dc:creator>
      <dc:date>2019-11-12T13:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/10059847#M9905</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is it available for download.&lt;/P&gt;&lt;P&gt;It will be very helpful to use it.&lt;/P&gt;&lt;P&gt;Please do the needful&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 08:55:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/10059847#M9905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-05T08:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/10059958#M9906</link>
      <description>&lt;P&gt;Hi -you are welcome to a copy of my post processor. it works fine on a ROMI lathe with Siemens 802D control.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i had to change the extension to .txt to be able to attach it. please change back to .MPF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards Paul.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 09:30:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/10059958#M9906</guid>
      <dc:creator>paul.slaterMZZFE</dc:creator>
      <dc:date>2021-02-05T09:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/10067961#M9907</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am curious if these fixes/changes make it into the generic Siemens posts eventually? &amp;nbsp;Such as the Siemens Mill-Turn post here&amp;nbsp;&lt;A href="https://cam.autodesk.com/hsmposts" target="_blank"&gt;https://cam.autodesk.com/hsmposts&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What causes the posts available here to get updated? &amp;nbsp;If I make changes to these posts that are applicable to to the generic controller is there a way to submit those changes so they will be incorporated into the posts here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a number of changes I have made (and been helped to make) and I have to add them by hand whenever a new post gets released (assuming I want to adopt it).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 22:53:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/10067961#M9907</guid>
      <dc:creator>tomae</dc:creator>
      <dc:date>2021-02-08T22:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/10137345#M9908</link>
      <description>&lt;P&gt;Anyone?&lt;/P&gt;</description>
      <pubDate>Sun, 07 Mar 2021 21:39:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/10137345#M9908</guid>
      <dc:creator>tomae</dc:creator>
      <dc:date>2021-03-07T21:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens Turning 802d omit G97 and Change G18 to G17 for Drilling</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/10138188#M9909</link>
      <description>Tomae -I am not sure what qualifies a modification to be considered incorporated into the generic posts, maybe it is the upvotes for the modification? I think the modifications that I have in my posts are only things that I feel should be in already Ie the G18, G17 issue as this theoretically, should be affecting every Siemens turning post that need to use drilling cycles. you have to bear in mind that it is what it says "Generic post" and Autodesk could not implement everyone's ideas on what they think should be a "standard post" or we would have a real mess in the field. regards Paul</description>
      <pubDate>Mon, 08 Mar 2021 09:01:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-turning-802d-omit-g97-and-change-g18-to-g17-for-drilling/m-p/10138188#M9909</guid>
      <dc:creator>paul.slaterMZZFE</dc:creator>
      <dc:date>2021-03-08T09:01:19Z</dc:date>
    </item>
  </channel>
</rss>

