<?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 Siemens 840C post processor in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-840c-post-processor/m-p/7874804#M15042</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a machine running with a Simens 840C controller from 1994.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have made some changes based on a post processor for 840D, and another that I downloaded on this site.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im nearly there, but still have a few problems, that i need solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how it looks, when i post atm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%MPF1002&lt;BR /&gt;N10 (2. SIDE)&lt;BR /&gt;N11 (T42 D=16 CR=0 TAPER=90deg - ZMIN=-4.55 - spot drill)&lt;BR /&gt;N12 G90 G94&lt;BR /&gt;N13 G71&lt;BR /&gt;N14 G64&lt;BR /&gt;N15 G17&lt;BR /&gt;N16 G0 Z150 &lt;FONT color="#ff0000"&gt;(I dont want this at the top, because it only moves in Z when changing tool in the start.)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;N17 (Drill4)&lt;BR /&gt;N18 M9&lt;BR /&gt;N19 M6 T42 D42&lt;BR /&gt;N20 G64&lt;BR /&gt;N21 S497 M3&lt;BR /&gt;N22 G56&lt;BR /&gt;N23 G0 X7.5 Y-10&lt;BR /&gt;N24 G0 Z35&lt;BR /&gt;N25 M8&lt;BR /&gt;N26 G17&lt;BR /&gt;N27 F50&lt;BR /&gt;N29 G81 R2=3 R3=-4.55 R10=25&lt;BR /&gt;N30 X62.5&lt;BR /&gt;N31 G80&lt;BR /&gt;N35 G81 R2=3 R3=-4.35 R10=25&lt;BR /&gt;N36 X35 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;FONT color="#ff0000"&gt;&lt;U&gt;(This line need to be above N35, or els it will drill two times in X62.6 with conditions from first N29, and the N35 )&lt;/U&gt;&lt;/FONT&gt;&lt;BR /&gt;N37 G80&lt;BR /&gt;N38 G0 Z35&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;N40 G0 Z150&lt;BR /&gt;N41 M30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope i can get some help here! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Mar 2018 12:27:53 GMT</pubDate>
    <dc:creator>KristianB95</dc:creator>
    <dc:date>2018-03-22T12:27:53Z</dc:date>
    <item>
      <title>Siemens 840C post processor</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-840c-post-processor/m-p/7874804#M15042</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a machine running with a Simens 840C controller from 1994.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have made some changes based on a post processor for 840D, and another that I downloaded on this site.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im nearly there, but still have a few problems, that i need solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how it looks, when i post atm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%MPF1002&lt;BR /&gt;N10 (2. SIDE)&lt;BR /&gt;N11 (T42 D=16 CR=0 TAPER=90deg - ZMIN=-4.55 - spot drill)&lt;BR /&gt;N12 G90 G94&lt;BR /&gt;N13 G71&lt;BR /&gt;N14 G64&lt;BR /&gt;N15 G17&lt;BR /&gt;N16 G0 Z150 &lt;FONT color="#ff0000"&gt;(I dont want this at the top, because it only moves in Z when changing tool in the start.)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;N17 (Drill4)&lt;BR /&gt;N18 M9&lt;BR /&gt;N19 M6 T42 D42&lt;BR /&gt;N20 G64&lt;BR /&gt;N21 S497 M3&lt;BR /&gt;N22 G56&lt;BR /&gt;N23 G0 X7.5 Y-10&lt;BR /&gt;N24 G0 Z35&lt;BR /&gt;N25 M8&lt;BR /&gt;N26 G17&lt;BR /&gt;N27 F50&lt;BR /&gt;N29 G81 R2=3 R3=-4.55 R10=25&lt;BR /&gt;N30 X62.5&lt;BR /&gt;N31 G80&lt;BR /&gt;N35 G81 R2=3 R3=-4.35 R10=25&lt;BR /&gt;N36 X35 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;FONT color="#ff0000"&gt;&lt;U&gt;(This line need to be above N35, or els it will drill two times in X62.6 with conditions from first N29, and the N35 )&lt;/U&gt;&lt;/FONT&gt;&lt;BR /&gt;N37 G80&lt;BR /&gt;N38 G0 Z35&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;N40 G0 Z150&lt;BR /&gt;N41 M30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope i can get some help here! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 12:27:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-840c-post-processor/m-p/7874804#M15042</guid>
      <dc:creator>KristianB95</dc:creator>
      <dc:date>2018-03-22T12:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens 840C post processor</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-840c-post-processor/m-p/7883704#M15043</link>
      <description>&lt;P&gt;Can you upload your model? I don't know why it does two cycles.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 11:35:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-840c-post-processor/m-p/7883704#M15043</guid>
      <dc:creator>ArjanDijk</dc:creator>
      <dc:date>2018-03-26T11:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens 840C post processor</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-840c-post-processor/m-p/7884043#M15044</link>
      <description>&lt;P&gt;That is because it is two diffent hole depths &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 13:13:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-840c-post-processor/m-p/7884043#M15044</guid>
      <dc:creator>KristianB95</dc:creator>
      <dc:date>2018-03-26T13:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens 840C post processor</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-840c-post-processor/m-p/7885750#M15045</link>
      <description>&lt;P&gt;It was a bit of a puzzle, but I found out a few things&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You were in bad luck as the Siemens post defines all Cycles in &lt;STRONG&gt;onCycle&lt;/STRONG&gt;, where Fanuc defines it in &lt;STRONG&gt;onCyclePoint,&amp;nbsp;&lt;/STRONG&gt;the problem is that onCycle does not contain the first cyclepoint in your case, so you don't have the XY coordinates you need to compare with.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I did is&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Copy the complete contents of onCycle to onCyclePoint, place it above the other lines in onCyclePoint&lt;/LI&gt;&lt;LI&gt;Place the block below on the first line of onCyclePoint&lt;/LI&gt;&lt;/OL&gt;&lt;PRE&gt;  if (true) {
    var _x=xOutput.getCurrent();
    var _y=yOutput.getCurrent();
    if(x!==_x||y!==_y){ 

    writeBlock(gMotionModal.format(0),xOutput.format(x), yOutput.format(y), "(Sets starting point)");
    }    
    
  }&lt;/PRE&gt;&lt;P&gt;It works for me, not sure if it works in any case&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 21:41:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-840c-post-processor/m-p/7885750#M15045</guid>
      <dc:creator>ArjanDijk</dc:creator>
      <dc:date>2018-03-26T21:41:30Z</dc:date>
    </item>
  </channel>
</rss>

