<?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: Limiting 4th Axis rotation when using a trunion in HSM Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-forum/limiting-4th-axis-rotation-when-using-a-trunion/m-p/6452098#M13769</link>
    <description>Hahaha, I would never fault anyone for trying to help. No worries, I will have some try runs tested first.</description>
    <pubDate>Thu, 21 Jul 2016 12:28:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-07-21T12:28:41Z</dc:date>
    <item>
      <title>Limiting 4th Axis rotation when using a trunion</title>
      <link>https://forums.autodesk.com/t5/hsm-forum/limiting-4th-axis-rotation-when-using-a-trunion/m-p/6450024#M13763</link>
      <description>&lt;P&gt;I recently upgraded to a VF3ss with an HRT160, with this has brought many challenges for programing with the 4th axis, and the disappointing realization that true synchronous 4th axis milling is not what HSMworks excels at. But with some tricks I picked up on the forum and some trial and error 3+1 3d milling is serving the purpose so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now on to the question!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a trunnion table I built and would like to start using, but I am neglecting to do so due to one glaring issue that I haven't found a solution for.&lt;/P&gt;&lt;P&gt;I need to limit the axis rotation when the parts are to tall to make a full 360 degree rotation, and I can't figure out how.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I notice when programing 3+1 operations, under the Tool orientation tab it will tell you the intended movement of the a axis (ex. 45deg, -90deg) but when it outputs it to gcode it only uses the positive rotation, so 90 turns into 270 degrees, and -90 into 90.... this is going to be a deal breaker for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am hoping there is a method to limit the rotation so it forces the PP to output a negative degree value, or possibly change the PP to output it correctly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/256492i8E92EB552CA927A0/image-size/original?v=v2&amp;amp;px=-1" alt="Tool Orientation1.JPG" title="Tool Orientation1.JPG" border="0" /&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/256493iB98F6033E2FAF578/image-size/original?v=v2&amp;amp;px=-1" alt="PP1.JPG" title="PP1.JPG" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 13:46:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-forum/limiting-4th-axis-rotation-when-using-a-trunion/m-p/6450024#M13763</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-20T13:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting 4th Axis rotation when using a trunion</title>
      <link>https://forums.autodesk.com/t5/hsm-forum/limiting-4th-axis-rotation-when-using-a-trunion/m-p/6450334#M13764</link>
      <description>&lt;P&gt;This configuration is generally in the post processor. Search out the section that will be similar to this..&lt;/P&gt;&lt;PRE&gt; if (true) { // UMC-750
    // using 0 instead of -35 to avoid rewind issues
    var bAxis = createAxis({coordinate:1, table:true, axis:[0, 1, 0], range:[0-0.0001,110+0.0001], preference:1});
    var cAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], range:[-999.999,999.999], preference:0});
    machineConfiguration = new MachineConfiguration(bAxis, cAxis);&lt;/PRE&gt;&lt;P&gt;The "range:" section defines the rotary axis limits, and it sounds like you just want to limit travel from -90.000,90.000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also set the 'preference' section, which is likely what is directly causing your issue at the moment. If it's set to +1, it will prefer the axis solution that places that axis in positive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd suggest playing with a combo of the two, you should be able to get it to output how you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 15:15:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-forum/limiting-4th-axis-rotation-when-using-a-trunion/m-p/6450334#M13764</guid>
      <dc:creator>Rob_Lockwood</dc:creator>
      <dc:date>2016-07-20T15:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting 4th Axis rotation when using a trunion</title>
      <link>https://forums.autodesk.com/t5/hsm-forum/limiting-4th-axis-rotation-when-using-a-trunion/m-p/6450739#M13765</link>
      <description>&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much for the quick and well put together response. I was really hoping for a condition that could be altered in the PP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I have found the line Im looking for, Although I dont see a range value to change..Here is what Im looking at&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;if (true) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var aAxis = createAxis({coordinate:0, table:true, axis:[(properties.makeAAxisOtherWay ? -1 : 1) * -1, 0, 0], cyclic:true, preference:1});&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; machineConfiguration = new MachineConfiguration(aAxis);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again, thank you for the input&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 18:33:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-forum/limiting-4th-axis-rotation-when-using-a-trunion/m-p/6450739#M13765</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-20T18:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting 4th Axis rotation when using a trunion</title>
      <link>https://forums.autodesk.com/t5/hsm-forum/limiting-4th-axis-rotation-when-using-a-trunion/m-p/6450799#M13766</link>
      <description>&lt;PRE&gt;var aAxis = createAxis({coordinate:0, table:true, axis:[(properties.makeAAxisOtherWay ? -1 : 1) * -1, 0, 0], range:[-90.000,90.000], cyclic:false, preference:0});&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 18:58:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-forum/limiting-4th-axis-rotation-when-using-a-trunion/m-p/6450799#M13766</guid>
      <dc:creator>Rob_Lockwood</dc:creator>
      <dc:date>2016-07-20T18:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting 4th Axis rotation when using a trunion</title>
      <link>https://forums.autodesk.com/t5/hsm-forum/limiting-4th-axis-rotation-when-using-a-trunion/m-p/6451035#M13767</link>
      <description>&lt;P&gt;You are the MAN! I will post with it and see how it works.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 20:55:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-forum/limiting-4th-axis-rotation-when-using-a-trunion/m-p/6451035#M13767</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-20T20:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting 4th Axis rotation when using a trunion</title>
      <link>https://forums.autodesk.com/t5/hsm-forum/limiting-4th-axis-rotation-when-using-a-trunion/m-p/6451052#M13768</link>
      <description>Ok, but if it goes poorly, that's not on me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Wed, 20 Jul 2016 21:03:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-forum/limiting-4th-axis-rotation-when-using-a-trunion/m-p/6451052#M13768</guid>
      <dc:creator>Rob_Lockwood</dc:creator>
      <dc:date>2016-07-20T21:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting 4th Axis rotation when using a trunion</title>
      <link>https://forums.autodesk.com/t5/hsm-forum/limiting-4th-axis-rotation-when-using-a-trunion/m-p/6452098#M13769</link>
      <description>Hahaha, I would never fault anyone for trying to help. No worries, I will have some try runs tested first.</description>
      <pubDate>Thu, 21 Jul 2016 12:28:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-forum/limiting-4th-axis-rotation-when-using-a-trunion/m-p/6452098#M13769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-21T12:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting 4th Axis rotation when using a trunion</title>
      <link>https://forums.autodesk.com/t5/hsm-forum/limiting-4th-axis-rotation-when-using-a-trunion/m-p/6452126#M13770</link>
      <description>It's always on you if something goes wrong Rob. I always blame you.</description>
      <pubDate>Thu, 21 Jul 2016 12:38:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-forum/limiting-4th-axis-rotation-when-using-a-trunion/m-p/6452126#M13770</guid>
      <dc:creator>Laurens-3DTechDraw</dc:creator>
      <dc:date>2016-07-21T12:38:29Z</dc:date>
    </item>
  </channel>
</rss>

