<?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: G68.2 Shift in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/g68-2-shift/m-p/8251562#M13676</link>
    <description>This worked great&lt;BR /&gt;Thank you!</description>
    <pubDate>Fri, 07 Sep 2018 02:36:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-07T02:36:19Z</dc:date>
    <item>
      <title>G68.2 Shift</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/g68-2-shift/m-p/8231259#M13674</link>
      <description>&lt;P&gt;I am running a DMU50 Gen 2 with Fanuc controls. We use HSMworks for programming. I am trying to shift the work coordinate in xyz to a selected point after each orientation movement (B,C) in G68.2. From what I understand, I am suppose to select that in the first box under tool orientation. When I do that my triad moves but there is nothing different in the posted code. I am using the generic Fanuc post for the time being. Anybody else having this problem??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 00:13:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/g68-2-shift/m-p/8231259#M13674</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-29T00:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: G68.2 Shift</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/g68-2-shift/m-p/8249486#M13675</link>
      <description>&lt;P&gt;This behavior is by design.&amp;nbsp; The post engine handles the translation of the work plane origin for each operation rather than leaving it up to the post processor to handle.&amp;nbsp; You can change this behavior and output the origin values in the G68.2 block by making the following changes to the post.&amp;nbsp; Add the following line towards the top of the file (spacing is very important for this variable, so please add it exactly as shown).&lt;/P&gt;
&lt;PRE&gt;allowHelicalMoves = true;
allowedCircularPlanes = undefined; // allow any circular motion
&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;mapWorkOrigin = false;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/PRE&gt;
&lt;P&gt;Now make the following change in the setWorkPlane function.&lt;/P&gt;
&lt;PRE&gt;writeBlock(gFormat.format(68.2), "X" + xyzFormat.format(&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;currentSection.workOrigin.x&lt;/STRONG&gt;&lt;/FONT&gt;), "Y" + xyzFormat.format(&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;currentSection.workOrigin.y&lt;/STRONG&gt;&lt;/FONT&gt;), "Z" + xyzFormat.format(&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;currentSection.workOrigin.z&lt;/STRONG&gt;&lt;/FONT&gt;), "I" + abcFormat.format(abc.x), "J" + abcFormat.format(abc.y), "K" + abcFormat.format(abc.z)); // set frame&lt;/PRE&gt;
&lt;P&gt;You will notice that the output coordinates are changed to match the new origin.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 11:22:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/g68-2-shift/m-p/8249486#M13675</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2018-09-06T11:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: G68.2 Shift</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/g68-2-shift/m-p/8251562#M13676</link>
      <description>This worked great&lt;BR /&gt;Thank you!</description>
      <pubDate>Fri, 07 Sep 2018 02:36:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/g68-2-shift/m-p/8251562#M13676</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-07T02:36:19Z</dc:date>
    </item>
  </channel>
</rss>

