<?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 Machine crash - problem of g-code or machine? in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/machine-crash-problem-of-g-code-or-machine/m-p/9280947#M9076</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for advice to prevent breaking tools in future. We are using 3 axis milling machine with Sinumerik 828d.&lt;/P&gt;&lt;P&gt;Machine generated absurd movement on line N1440.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="crash state" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/722672iE25EBFA6502EF5E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="crash.jpg" alt="crash state" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;crash state&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Base on my knowledge (and Fusion 360 simulation) machine should stay on height Z=-3. But machine started moving down, look at Z position (Z=-12,301) when we pressed EMG stop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have re-run this program and line N1440 moves machine down to about -43.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using latest post-processor for Sinumerik 840d with enabled arcturn - is it possible this parameter gives incorrect code?&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="contour" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/722673i05BF39BA732D5B3B/image-size/large?v=v2&amp;amp;px=999" role="button" title="contour.JPG" alt="contour" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;contour&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2020 22:55:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-01-28T22:55:04Z</dc:date>
    <item>
      <title>Machine crash - problem of g-code or machine?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/machine-crash-problem-of-g-code-or-machine/m-p/9280947#M9076</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for advice to prevent breaking tools in future. We are using 3 axis milling machine with Sinumerik 828d.&lt;/P&gt;&lt;P&gt;Machine generated absurd movement on line N1440.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="crash state" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/722672iE25EBFA6502EF5E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="crash.jpg" alt="crash state" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;crash state&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Base on my knowledge (and Fusion 360 simulation) machine should stay on height Z=-3. But machine started moving down, look at Z position (Z=-12,301) when we pressed EMG stop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have re-run this program and line N1440 moves machine down to about -43.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using latest post-processor for Sinumerik 840d with enabled arcturn - is it possible this parameter gives incorrect code?&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="contour" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/722673i05BF39BA732D5B3B/image-size/large?v=v2&amp;amp;px=999" role="button" title="contour.JPG" alt="contour" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;contour&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 22:55:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/machine-crash-problem-of-g-code-or-machine/m-p/9280947#M9076</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-28T22:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Machine crash - problem of g-code or machine?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/machine-crash-problem-of-g-code-or-machine/m-p/9282143#M9077</link>
      <description>&lt;P&gt;Can you please share the fusion file as well as your post processor? We will look into it. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 12:11:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/machine-crash-problem-of-g-code-or-machine/m-p/9282143#M9077</guid>
      <dc:creator>AchimN</dc:creator>
      <dc:date>2020-01-29T12:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Machine crash - problem of g-code or machine?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/machine-crash-problem-of-g-code-or-machine/m-p/9282984#M9078</link>
      <description>&lt;P&gt;Dear&amp;nbsp;AchimN,&lt;/P&gt;&lt;P&gt;thank you very much for your answer.&lt;/P&gt;&lt;P&gt;In attachment is post-processor. Link to model is:&amp;nbsp;&lt;A href="https://a360.co/2RXVLpQ" target="_blank"&gt;https://a360.co/2RXVLpQ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have sent you password via private message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Most problematic edit to post processor is:&lt;/P&gt;&lt;PRE&gt;else if ((useArcTurn) &amp;amp;&amp;amp; (movements != MOVEMENT_LEAD_IN) &amp;amp;&amp;amp; (movements !=MOVEMENT_LEAD_OUT)) { // IJK mode&lt;/PRE&gt;&lt;P&gt;This line should only disable IJK for lead-in and lead-out movements.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 16:04:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/machine-crash-problem-of-g-code-or-machine/m-p/9282984#M9078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-29T16:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Machine crash - problem of g-code or machine?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/machine-crash-problem-of-g-code-or-machine/m-p/9297863#M9079</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to replicate this issue.&lt;BR /&gt;Generated code from your project and post looks different.&lt;/P&gt;
&lt;P&gt;IJK isn't disabled on my side.&lt;/P&gt;
&lt;PRE&gt;N1510 G1 X47.679 Y42.335
N1512 G3 X47.547 Y40.643 I0.78 J-0.912
N1514 G2 Y-40.643 I-47.547 J-40.643
N1516 G2 X46.198 Y-42.03 I-11.53 J9.856
&lt;/PRE&gt;
&lt;P&gt;Could you provide me your&amp;nbsp;settings of non standard Property values?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, could you please check if the input of G17 before arc moves could help in this case?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 11:26:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/machine-crash-problem-of-g-code-or-machine/m-p/9297863#M9079</guid>
      <dc:creator>Tomek.G</dc:creator>
      <dc:date>2020-02-05T11:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Machine crash - problem of g-code or machine?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/machine-crash-problem-of-g-code-or-machine/m-p/9299335#M9080</link>
      <description>&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have exported pp from cloud. But it seems it wasn't synced with "export" computer. I apologize.&lt;/P&gt;&lt;P&gt;In attachment I'm sending problematic pp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;else if ( (useArcTurn) &amp;amp;&amp;amp; (movement !== MOVEMENT_LEAD_IN) &amp;amp;&amp;amp; (movement !== MOVEMENT_LEAD_OUT) &amp;amp;&amp;amp; (movement !== MOVEMENT_PLUNGE) ) { // IJK mode&lt;/PRE&gt;&lt;P&gt;Compare to pp from my previous post there is change in variable name. From movement&lt;STRONG&gt;s&lt;/STRONG&gt; to movement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was changing this line to disable ArcTurn for lead-in and lead-out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All pp parameters are default.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 19:24:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/machine-crash-problem-of-g-code-or-machine/m-p/9299335#M9080</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-05T19:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Machine crash - problem of g-code or machine?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/machine-crash-problem-of-g-code-or-machine/m-p/9300901#M9081</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your arc doesn't use radius, because it is a&amp;nbsp;MOVEMENT_LINK_DIRECT type.&lt;/P&gt;
&lt;P&gt;Below is a list of all movements types:&lt;/P&gt;
&lt;PRE&gt; MOVEMENT_RAPID = 0; // Rapid movement type.
 MOVEMENT_LEAD_IN = 1; // Lead-in movement type.
 MOVEMENT_CUTTING = 2; // Cutting movement type.
 MOVEMENT_LEAD_OUT = 3; // Lead-out movement type.
 MOVEMENT_LINK_TRANSITION = 4; // Transition linking movement type.
 MOVEMENT_LINK_DIRECT = 5; // Direction linking movement type.
 MOVEMENT_RAMP_HELIX = 6; // Helical ramp movement type.
 MOVEMENT_RAMP_PROFILE = 7; // Profile ramp movement type.
 MOVEMENT_RAMP_ZIG_ZAG = 8; // Zig-zag ramp movement type.
 MOVEMENT_RAMP = 9; // Ramp movement type.
 MOVEMENT_PLUNGE = 10; // Plunge movement type.
 MOVEMENT_PREDRILL = 11; // Predrill movement type.
 MOVEMENT_EXTENDED = 12; // Extended movement type.
 MOVEMENT_REDUCED = 13; // Reduced cutting feed movement type.
 MOVEMENT_FINISH_CUTTING = 14; // Finish cutting movement type.
 MOVEMENT_HIGH_FEED = 15; // High feed movement type.&lt;/PRE&gt;
&lt;P&gt;Please be careful during the tests. Especially with the &lt;EM&gt;2D Contour 3&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;I'm not sure if the plane definition doesn't have to be re-called before first IJK circular move on your machine.&lt;/P&gt;
&lt;P&gt;To force plane definition you can use&amp;nbsp;&lt;EM&gt;gPlaneModal.reset();&lt;/EM&gt; command for ex. in line 2306&lt;/P&gt;
&lt;PRE&gt;  } else { // use radius mode
    if (isHelical()) {
      &lt;FONT color="red"&gt;gPlaneModal.reset();&lt;/FONT&gt;
      linearize(tolerance);
      return;
    }&lt;/PRE&gt;
&lt;P&gt;Let us know if it works for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;The position of the circle plane depends on the active plane (G17-G19). If the tangent of the previous block does not lie in the active plane, its projection in the active plane is used. If the start and end points do not have the same position components perpendicular to the active plane, a helix is produced instead of a circle.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 13:37:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/machine-crash-problem-of-g-code-or-machine/m-p/9300901#M9081</guid>
      <dc:creator>Tomek.G</dc:creator>
      <dc:date>2020-02-06T13:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Machine crash - problem of g-code or machine?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/machine-crash-problem-of-g-code-or-machine/m-p/9307973#M9082</link>
      <description>&lt;P&gt;Thank you very much for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We will carefully try with force plane definition.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 17:39:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/machine-crash-problem-of-g-code-or-machine/m-p/9307973#M9082</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-10T17:39:51Z</dc:date>
    </item>
  </channel>
</rss>

