<?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 840 post problem\bug? in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-840-post-problem-bug/m-p/6627260#M20901</link>
    <description>&lt;P&gt;I've helped a few people trying to use the 840 post. They were having trouble when arcs were in the XZ or YZ plane, see this post as an example.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.autodesk.com/t5/computer-aided-machining-cam/issue-with-3d-parallel-on-sinumerik-808d-vmc/m-p/6229871#M9638" target="_blank"&gt;http://forums.autodesk.com/t5/computer-aided-machining-cam/issue-with-3d-parallel-on-sinumerik-808d-vmc/m-p/6229871#M9638&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've just helped someone else who is using an 840d control with the same problem. The control is fine being given an XYZ helical move in the XY plane but the standard post outputs XYZ in the XZ and YZ planes as well and that doesn't seem to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I modified the post to this, I'm not sure if the CAM can generate helical moves in the XZ and YZ but thought I'd better check and linearize them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;  } else { // use radius mode
    var r = getCircularRadius();
    if (toDeg(getCircularSweep()) &amp;gt; (180 + 1e-9)) {
      r = -r; // allow up to &amp;lt;360 deg arcs
    }
    switch (getCircularPlane()) {
    case PLANE_XY:
      forceXYZ();
      writeBlock( gMotionModal.format(clockwise ? 3 : 2), xOutput.format(x), yOutput.format(y), zOutput.format(z), "CR=" + xyzFormat.format(r), getFeed(feed));
      break;
    case PLANE_ZX: // Removed Y moves from XZ plane arcs and added linearize if a helical ZX is used. HT 17/10/16
	  if (isHelical()) {
		linearize(tolerance);
		return;
	  }
      forceXYZ();
      writeBlock(gMotionModal.format(clockwise ? 2 : 3), xOutput.format(x), zOutput.format(z), "CR=" + xyzFormat.format(r), getFeed(feed));
      break;
    case PLANE_YZ: // Removed X moves from YZ plane arcs and added linearize if a helical ZX is used. HT 17/10/16
	  if (isHelical()) {
		linearize(tolerance);
		return;
	  }
      forceXYZ();
      writeBlock(gMotionModal.format(clockwise ? 3 : 2), yOutput.format(y), zOutput.format(z), "CR=" + xyzFormat.format(r), getFeed(feed));
      break;
    default:
      linearize(tolerance);
    }
  }
&lt;/PRE&gt;
&lt;P&gt;Mark&lt;/P&gt;</description>
    <pubDate>Mon, 17 Oct 2016 16:44:03 GMT</pubDate>
    <dc:creator>HughesTooling</dc:creator>
    <dc:date>2016-10-17T16:44:03Z</dc:date>
    <item>
      <title>Siemens 840 post problem\bug?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-840-post-problem-bug/m-p/6627260#M20901</link>
      <description>&lt;P&gt;I've helped a few people trying to use the 840 post. They were having trouble when arcs were in the XZ or YZ plane, see this post as an example.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.autodesk.com/t5/computer-aided-machining-cam/issue-with-3d-parallel-on-sinumerik-808d-vmc/m-p/6229871#M9638" target="_blank"&gt;http://forums.autodesk.com/t5/computer-aided-machining-cam/issue-with-3d-parallel-on-sinumerik-808d-vmc/m-p/6229871#M9638&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've just helped someone else who is using an 840d control with the same problem. The control is fine being given an XYZ helical move in the XY plane but the standard post outputs XYZ in the XZ and YZ planes as well and that doesn't seem to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I modified the post to this, I'm not sure if the CAM can generate helical moves in the XZ and YZ but thought I'd better check and linearize them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;  } else { // use radius mode
    var r = getCircularRadius();
    if (toDeg(getCircularSweep()) &amp;gt; (180 + 1e-9)) {
      r = -r; // allow up to &amp;lt;360 deg arcs
    }
    switch (getCircularPlane()) {
    case PLANE_XY:
      forceXYZ();
      writeBlock( gMotionModal.format(clockwise ? 3 : 2), xOutput.format(x), yOutput.format(y), zOutput.format(z), "CR=" + xyzFormat.format(r), getFeed(feed));
      break;
    case PLANE_ZX: // Removed Y moves from XZ plane arcs and added linearize if a helical ZX is used. HT 17/10/16
	  if (isHelical()) {
		linearize(tolerance);
		return;
	  }
      forceXYZ();
      writeBlock(gMotionModal.format(clockwise ? 2 : 3), xOutput.format(x), zOutput.format(z), "CR=" + xyzFormat.format(r), getFeed(feed));
      break;
    case PLANE_YZ: // Removed X moves from YZ plane arcs and added linearize if a helical ZX is used. HT 17/10/16
	  if (isHelical()) {
		linearize(tolerance);
		return;
	  }
      forceXYZ();
      writeBlock(gMotionModal.format(clockwise ? 3 : 2), yOutput.format(y), zOutput.format(z), "CR=" + xyzFormat.format(r), getFeed(feed));
      break;
    default:
      linearize(tolerance);
    }
  }
&lt;/PRE&gt;
&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 16:44:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-840-post-problem-bug/m-p/6627260#M20901</guid>
      <dc:creator>HughesTooling</dc:creator>
      <dc:date>2016-10-17T16:44:03Z</dc:date>
    </item>
  </channel>
</rss>

