<?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: 5 axis post processor for Mach3 for DIY CNC machine. in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8989546#M14511</link>
    <description>&lt;P&gt;I managed to sort it out the post-processor issue I needed to adjust the .mtd file i.e machine tool for 720 degree B-axis&amp;nbsp;&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;to put in Powermill configuration and to create new tool-path but the issue with macro is still the same.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Aug 2019 09:45:44 GMT</pubDate>
    <dc:creator>Poduhvat1</dc:creator>
    <dc:date>2019-08-27T09:45:44Z</dc:date>
    <item>
      <title>5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8952463#M14494</link>
      <description>&lt;P&gt;We just got custom made 5 axis CNC machine. I got machine kinematics in place and simulation for the test part is working properly. The problem is the post processor for Mach3.&amp;nbsp; I have managed using instructions from this forum to create rudimentary&amp;nbsp; 5 axis post from generic Fanuc using Autodesk Manufacturing Post Processor Utility but this somwhat works without RTCP while with RTCP if creates Gcode inconsistent with simulation.&lt;/P&gt;&lt;P&gt;The main difference is the Y coordinates with and without RTCP option post file. Without RTCP there is no fluent simultaneous movement of the machine it just rotates B axis for a long time before starting to use Z with minuscule movement while with RTCP gcode due to inadequate y distance it tool collides with B axis table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The goal is to have truly simultaneous 5 axis movement as in simulation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And this can be done by optimizing post for Mach3. Machine has manual tool change.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will post .cut file with some .pmoptz&amp;nbsp; post files with RTCP and without.&lt;/P&gt;&lt;P&gt;Can anyone help with adequate 5 axis simultaneous Mach3 postprocesor for this machine?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 08:33:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8952463#M14494</guid>
      <dc:creator>Poduhvat1</dc:creator>
      <dc:date>2019-08-07T08:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: 5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8983212#M14495</link>
      <description>&lt;P&gt;15 days and nobody answering anything.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So Powermill can not be used if you have Mach 3 controller for 5 axis machine?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 09:03:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8983212#M14495</guid>
      <dc:creator>Poduhvat1</dc:creator>
      <dc:date>2019-08-23T09:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: 5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8985632#M14496</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;FONT&gt;From what you wrote, I think the Mach3 controller doesn't have RTCP functionality.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;&lt;FONT color="#ff0000"&gt;"Without RTCP there is no fluent simultaneous movement of the machine it just rotates B axis for a long time before starting to use Z"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;- This behavior is independent of the RTCP / without RTCP option, but depends on the value of "Linearise Multi-Axis Moves". If you set it to "None", it would disappear, but you would not be able to do this without the RTCP function, because a faulty tool path would be created.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Linearise Multi-Axis Moves.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/670449iF2FC7C9E09087F39/image-size/large?v=v2&amp;amp;px=999" role="button" title="Linearise Multi-Axis Moves.JPG" alt="Linearise Multi-Axis Moves.JPG" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#ff0000"&gt;-"while with RTCP gcode due to inadequate y distance it tool collides with B axis table." &lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;This is correct behavior, because for machines with RTCP function the kinematic correction must be made by the control.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;Take a look at the following pictures of cigra.cut: both have only linear axis movement, rotary axes are off, and high speed movement off&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="with RTCP" style="width: 389px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/670450i019B75818D68CA3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="with_rtcp.JPG" alt="with RTCP" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;with RTCP&lt;/span&gt;&lt;/span&gt; with RTCP&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="without RTCP" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/670451i482DB3E126A1A90E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="withoutRTCP.JPG" alt="without RTCP" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;without RTCP&lt;/span&gt;&lt;/span&gt;without RTCP&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sat, 24 Aug 2019 19:58:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8985632#M14496</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-24T19:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: 5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8985845#M14497</link>
      <description>&lt;P&gt;Thank you for the explanation. Is there any way to make this to work? I guess if the gcode is correct the Mach3 will follow it. There must be some way to do it and I guess this is up to postprocessor or some settings I'm not familiar with. Note that I'm beginner with all this and would appreciate if any one could assist as I believe I'm not the only one with this kind of problem. How to translate correct movement from simulation into the gcode?&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2019 06:38:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8985845#M14497</guid>
      <dc:creator>Poduhvat1</dc:creator>
      <dc:date>2019-08-25T06:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: 5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8985903#M14498</link>
      <description>&lt;DIV&gt;&lt;FONT&gt;Change these with your Fanuc5osa postprocessor:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;Option File Settings:&lt;BR /&gt;Program Generation - General - General -Use Model Location = No (If set to Yes then always fill&amp;nbsp; the Nc-program Model Location in Powermill)&lt;BR /&gt;Program Generation - Multi Axis - Workplane Definition- Ignore Toolpath Workplane Shift = Yes&lt;BR /&gt;Program Generation - Machine Kinematics - 2nd Rotary(A) - Origin Y,Z exact measured values. Such as Y0;Z19 -&amp;gt; Y-0.03;Z18.982&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;In Move Rapid/ Move Linear Commands:&lt;BR /&gt;X,Y,Z axis -Workplane for Output = Machine Workplane&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Képkivágás.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/670506iB48E083C1B0EBC54/image-size/large?v=v2&amp;amp;px=999" role="button" title="Képkivágás.PNG" alt="Képkivágás.PNG" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;Preparation on Powermill:&lt;BR /&gt;The Nc-programs Output Workplane always set to Machine Tool reference workplane.&lt;BR /&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;It will be necessary to adjust the tolerance and the point distribution.&amp;nbsp;&lt;A title="Best way" href="https://forums.autodesk.com/t5/powermill-forum/best-way-to-have-better-surface-finishing/m-p/8380088#M13760" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/powermill-forum/best-way-to-have-better-surface-finishing/m-p/8380088#M13760&lt;/A&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;The result:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mach3_chk.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/670507i19D590CB2891A2A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Mach3_chk.png" alt="Mach3_chk.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sun, 25 Aug 2019 08:03:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8985903#M14498</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-25T08:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: 5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8986201#M14499</link>
      <description>&lt;P&gt;Thank you for the advice. I changed the postprocessor as per your suggestions. Never the less I'm probably doing something wrong as I did not able to achieved for actual machine to work as a simulation. There is no fluid simultaneous&amp;nbsp; movement in actual use. Can you send me the screen cast of your procedure with Powermill and your version of postprocessor?&lt;/P&gt;&lt;P&gt;I noticed that post I sent you generate some Fanuc related code which Mach3 does not recognize in 2 lines, one at the beginning, line 39: N136 G05 P10000 R4, and at the end, line 24607: N24704 G05 P0 in tap file from Powermill. I'm sending you screencast from simulation and actual machine &lt;A href="https://drive.google.com/open?id=1_T4_g7XUan8JlqvGa8tF764PHKdP-CsF" target="_blank" rel="noopener"&gt;video&lt;/A&gt; to see the difference as well as test files and actual tool database..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way how were you able to recover the machine geometry from the files I attached?&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;</description>
      <pubDate>Sun, 25 Aug 2019 15:34:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8986201#M14499</guid>
      <dc:creator>Poduhvat1</dc:creator>
      <dc:date>2019-08-25T15:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: 5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8986247#M14500</link>
      <description>&lt;P&gt;T&lt;FONT&gt;he reason for moving back and forth&amp;nbsp; &lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; cursor: text; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;C-axis&lt;/SPAN&gt; is that it may be Mach3 used only positive direction&amp;nbsp;&lt;A title="Mach forum" href="https://www.machsupport.com/forum/index.php?topic=7090.0" target="_blank" rel="noopener"&gt;https://www.machsupport.com/forum/index.php?topic=7090.0&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;'SETUP AND USE NOTES:

'Under Config&amp;gt;General you will have to tick "Rot 360 rollover"
'for this to work right.
'You A axis DRO will only read 0 to +360, it will not show negatives.
'In your Gcode all A movements will need to be in the above + range
'so basically only absolute A+ moves for your G code, you can put 
'(NEGATIVE -A) moves ONLY if when it moves bacwards it does NOT cross
'the 0/360 line.....!!!!!!!!!!
'You can issue negative A axid moves but it will move that many,
'negative degrees from its positive position, and the show you positive.
'i.e. if your at A0, and push A-90, when it quits moving it will show
'A90 Positive.

HomeRapidPoint = 5.0  'this is the degree location to stop above move.
CurrentPos = GetOEMDRO(86) 'current location of A axis prior to homing move
        
MoveDist = HomeRapidPoint - CurrentPos   'Calc the move distance        
 If Abs(MoveDist) &amp;gt;180 Then         'Find the shortest path          
    If MoveDist &amp;lt; 0 Then            
       MoveDist = 360 + MoveDist          
    Else            
       MoveDist = MoveDist - 360          
    End If        
 End If        
    Code "G00 G91 A" &amp;amp; MoveDist        'Move the A axis in Incermental the move distance          
    While IsMoving ()          
    Wend
Code "G90"           'Put back to absolute mode&lt;/PRE&gt;&lt;P&gt;&lt;FONT&gt;G05 P10000 -&lt;A title="G05" href="https://www.cnczone.com/forums/general-off-topic-discussions/31214-wat-mean-g05p0-g05p10000.html" target="_blank" rel="noopener"&gt;https://www.cnczone.com/forums/general-off-topic-discussions/31214-wat-mean-g05p0-g05p10000.html&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;-&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;to recover the machine geometry from the files&lt;/SPAN&gt;:&amp;nbsp; AMPPU -Option File setting- Machine Kinematics -Export&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;I am currently at home so I only have access to a PM2017 remote. I can't open the pmpost file. Please export: AMPPU -File- Export- Option files v2014&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2019 16:34:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8986247#M14500</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-25T16:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: 5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8986323#M14501</link>
      <description>&lt;P&gt;I will try to change configuration within Mach3. In the meantime I'm posting exported .pmomptz 2014 file.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2019 18:07:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8986323#M14501</guid>
      <dc:creator>Poduhvat1</dc:creator>
      <dc:date>2019-08-25T18:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: 5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8986339#M14502</link>
      <description>&lt;P&gt;I ticked the&amp;nbsp;"Rot 360 rollover". When started the cycle (executing test gcode) it wanted turn the A axis 360degrees which had a 210 degress limit. If I let it go it would riped off the electric cable for A axis motor. In our configuration B is unlimited 360+- . It must be some way to limit the A in Mach3 not to over 210+-.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2019 18:28:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8986339#M14502</guid>
      <dc:creator>Poduhvat1</dc:creator>
      <dc:date>2019-08-25T18:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: 5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8986406#M14503</link>
      <description>&lt;P&gt;&lt;FONT&gt;Sorry, I was ambiguous when I wrote about the C axis and in the quote about the A axis, in your configuration it corresponds to the B axis.&lt;BR /&gt;I found the following in the Mach3 config manual:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mach3_rot_config.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/670585iB66FCB590B80CB7F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Mach3_rot_config.PNG" alt="Mach3_rot_config.PNG" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;I modified the postprocessor you sent:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kinematic0825.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/670586iC3097D36CAEAFC07/image-size/large?v=v2&amp;amp;px=999" role="button" title="kinematic0825.JPG" alt="kinematic0825.JPG" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Reset Angles Only -temporary solution" style="width: 817px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/670587i8FFF61E74C6B7CF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="multiaxis_0825.JPG" alt="Reset Angles Only -temporary solution" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Reset Angles Only -temporary solution&lt;/span&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MoveLinear_0825.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/670588i966469B2845281A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="MoveLinear_0825.JPG" alt="MoveLinear_0825.JPG" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;Replace&amp;nbsp;&lt;FONT&gt;rotary _axis1_2020&lt;/FONT&gt; and &amp;nbsp;&lt;FONT&gt;rotary _axis2_2020 with Machine A, Machine B in Move Linear/Move Rapid Command.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2019 20:04:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8986406#M14503</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-25T20:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: 5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8986836#M14504</link>
      <description>&lt;P&gt;I guess I should keep 360 rollover ticked or not?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 06:40:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8986836#M14504</guid>
      <dc:creator>Poduhvat1</dc:creator>
      <dc:date>2019-08-26T06:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: 5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8986928#M14505</link>
      <description>&lt;P&gt;&lt;FONT&gt;I think the shortest route is important this case (Ang Short Rot on G0), the Rot 360 rollover is only secondary priority&lt;/FONT&gt;. T&lt;FONT&gt;hat is, I ask you to look at both cases.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 07:37:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8986928#M14505</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-26T07:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: 5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8987335#M14506</link>
      <description>&lt;P&gt;I tested the new settings in postprocessor with default Mach3 settings&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="mach3genconfig.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/670742i4B95B38DC114B5CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="mach3genconfig.JPG" alt="mach3genconfig.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;B axis rotates in both directions so I guess this is better. With &lt;EM&gt;Ang short options&lt;/EM&gt; on it is a bit better when it comes to line&lt;/P&gt;&lt;P&gt;466 N563 X3.2799 Z23.2525 B0.0&lt;BR /&gt;467 N564 B360.0&lt;/P&gt;&lt;P&gt;although I'm not sure why it is doing this. Also I noticed that Y coordinates are working strange it just alternate between coordinates 117 and 227 while starting to change a bit latter in code and never in simultaneous mode but always independently. What do you think of this? Here is the first few minutes of&lt;A href="https://drive.google.com/open?id=18IXCoHLiQdZQq9ZgJYc6DB7JzmX7QrtI" target="_blank" rel="noopener"&gt; video&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Also at begging and in the end it has at line 25 N122 G53 Z0.0&amp;nbsp; and N9955 G00 G53 Z0.0 command which if stock was in the place would plunged the tool and the spindle into it. How to change this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 11:05:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8987335#M14506</guid>
      <dc:creator>Poduhvat1</dc:creator>
      <dc:date>2019-08-26T11:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: 5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8987606#M14507</link>
      <description>&lt;P&gt;The G53&amp;nbsp;&lt;A title="g28 vs g53" href="https://www.mmsonline.com/columns/g28-versus-g53" target="_blank" rel="noopener"&gt;https://www.mmsonline.com/columns/g28-versus-g53&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GoHome.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/670815i6F1C0CB527077F1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="GoHome.JPG" alt="GoHome.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 13:20:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8987606#M14507</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-26T13:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: 5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8988440#M14508</link>
      <description>&lt;P&gt;&lt;FONT&gt;I create a simple macro that will help you compare machine simulation data to "wihout-RTCP" postprocessors output.&lt;BR /&gt;Need a short (macro working slowly) 5 axis toolpath activated, Machine Tool model activated, Model Location selected. Output is created in the project \ ncrpogram directory&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;FUNCTION MAIN () {
   STRING ActiveProject=project_pathname(0)
   IF $ActiveProject == "" {
      MESSAGE INFO 'Please save the project'
      RETURN
   }
   IF NOT entity_exists(entity('MachineTool', '')) {
      MESSAGE INFO 'Please activate Machine Tool'
      RETURN
   }
   IF NOT entity_exists(entity('Toolpath', '')) {
      MESSAGE INFO 'Please activate Toolpath'
      RETURN
   }
   ENTITY TP=entity('Toolpath', '')
   IF (NOT $TP.Computed) OR (SEGMENTS($TP)==0) {
      MESSAGE INFO 'Toolpath not computed/empty toolpath'
      RETURN
   }
   STRING LIST Axes=filter(Machine()._keys,"(this &amp;lt; 'max') OR (this &amp;gt; 'minZ')")
   $Axes=sort($Axes)
   STRING Config=""
   FOREACH C IN $Axes {
      $Config=$Config+$C
   }
   STRING LIST Kinematics={'ABXYZ','ACXYZ','BCXYZ'}
   IF not member($Kinematics,$Config) {
      MESSAGE INFO 'Unknown configuration'
      RETURN
   }
   $Axes[3]=$Axes[0]
   $Axes[4]=$Axes[1]
   $Axes[0]='X'
   $Axes[1]='Y'
   $Axes[2]='Z'
   STRING SimuLogFile=Project_pathname(0)+'/ncprograms/'+map_key($TP.name)+'_log.tap'
   REAL ToolLengthComp=entity('tool',$TP.Tool.Name).Overhang
   EDIT PAR 'SimulationState.Issues.Collisions.CheckCollisions' 0
   EDIT PAR 'SimulationState.Issues.CheckReconfigurations' 0
   EDIT PAR 'Powermill.Simulation.Issues.PlaybackSetting' 'never'
   SIMULATE TOOLPATH $TP.Name TOOLBAR SIMULATION RAISE
   SIMULATE END
   INT SL=simulation_location().Point
   SIMULATE REWIND
   EDIT PAR 'Powermill.Simulation.Step' 'point'
   EDIT PAR 'Simulation.Speed' 100
   FILE OPEN $SimuLogFile FOR WRITE AS simu
   REAL ARRAY Prev[]={-9999,-9999,-9999,-9999,-999}
   STRING Out=''
   DO {
      CALL GetMachinePosition($Config,$Axes,$ToolLengthComp,$Prev,$Out)
      IF $Out != '' {
         FILE WRITE $Out TO simu
      }
      SIMULATE STEP FORWARD
   } WHILE simulation_location().PoINT &amp;lt; $SL
   CALL GetMachinePosition($Config,$Axes,$ToolLengthComp,$Prev,$Out)
   IF $Out != '' {
      FILE WRITE $Out TO simu
   }
   FILE CLOSE simu
}

FUNCTION GetMachinePosition(STRING $Config,STRING LIST Axes,REAL ToolLengthComp, OUTPUT REAL ARRAY Prev[],OUTPUT STRING Out) {
   REAL ARRAY Pos[]={0,0,0,0,0}
   $Pos[0]=round($Machine().X,4)
   $Pos[1]=round($Machine().Y,4)
   $Pos[2]=round($Machine().Z-$ToolLengthComp,4)
   SWITCH  $Config {
      CASE 'ABXYZ'
      $Pos[3]=round($Machine().A,4)
      $Pos[4]=round($Machine().B,4)
      BREAK
      CASE 'ACXYZ'
      $Pos[3]=round($Machine().A,4)
      $Pos[4]=round($Machine().C,4)
      BREAK
      CASE 'BCXYZ'
      $Pos[3]=round($Machine().B,4)
      $Pos[4]=round($Machine().C,4)
   }
   $out=''
   INT I=0
   WHILE $I &amp;lt; 5 {
      IF $Prev[$I] != $Pos[$I] {
         IF $Out !='' {
            $Out=$Out+' '
         }
         $Out=$Out+$Axes[$I]+$Pos[$I]
         STRING CMD='$'+'Prev[$I'+']='+$Pos[$I]
         DoCommand $CMD
      }
      $I=$I+1
   }
}&lt;/PRE&gt;&lt;P&gt;&lt;FONT&gt;The 0/ 360 a problem one possible solution:&amp;nbsp; extend teh B-axis range 0-720, then in&amp;nbsp; the Move Linear/ Move Rapid Commands change the Machine B parameter Value to expression:&amp;nbsp; "(%p(Machine B)%) % 360"&amp;nbsp; aka modulo 360.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="modulo360.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/670960iE6E82B67775BA3AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="modulo360.JPG" alt="modulo360.JPG" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;The result:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="modulo360_result.JPG" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/670961i9B407EB8A386821F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="modulo360_result.JPG" alt="modulo360_result.JPG" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 20:08:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8988440#M14508</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-26T20:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: 5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8988719#M14509</link>
      <description>&lt;P&gt;&lt;FONT&gt;The macro previous version didn't always work, I didn't check the simulation_location().Component value, and the decimal point vs comma (1.1 != 1,1) also caused an error.&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;FUNCTION MAIN () {
   STRING ActiveProject=project_pathname(0)
   IF $ActiveProject == "" {
      MESSAGE INFO 'Please save the project'
      RETURN
   }
   IF NOT entity_exists(entity('MachineTool', '')) {
      MESSAGE INFO 'Please activate Machine Tool'
      RETURN
   }
   IF NOT entity_exists(entity('Toolpath', '')) {
      MESSAGE INFO 'Please activate Toolpath'
      RETURN
   }
   ENTITY TP=entity('Toolpath', '')
   IF (NOT $TP.Computed) OR (SEGMENTS($TP)==0) {
      MESSAGE INFO 'Toolpath not computed/empty toolpath'
      RETURN
   }
   STRING LIST Axes=filter(Machine()._keys,"(this &amp;lt; 'max') OR (this &amp;gt; 'minZ')")
   $Axes=sort($Axes)
   STRING Config=""
   FOREACH C IN $Axes {
      $Config=$Config+$C
   }
   STRING LIST Kinematics={'ABXYZ','ACXYZ','BCXYZ'}
   IF not member($Kinematics,$Config) {
      MESSAGE INFO 'Unknown configuration'
      RETURN
   }
   $Axes[3]=$Axes[0]
   $Axes[4]=$Axes[1]
   $Axes[0]='X'
   $Axes[1]='Y'
   $Axes[2]='Z'
   STRING SimuLogFile=Project_pathname(0)+'/ncprograms/'+map_key($TP.name)+'_log.tap'
   REAL ToolLengthComp=round(entity('tool',$TP.Tool.Name).Overhang,3)
   EDIT PAR 'SimulationState.Issues.Collisions.CheckCollisions' 0
   EDIT PAR 'SimulationState.Issues.CheckReconfigurations' 0
   EDIT PAR 'Powermill.Simulation.Issues.PlaybackSetting' 'never'
   SIMULATE TOOLPATH $TP.Name TOOLBAR SIMULATION RAISE
   SIMULATE END
   INT SL=simulation_location().Point
   INT SC=simulation_location().Component
   SIMULATE REWIND
   EDIT PAR 'Powermill.Simulation.Step' 'point'
   EDIT PAR 'Simulation.Speed' 100
   FILE OPEN $SimuLogFile FOR WRITE AS simu
   REAL ARRAY Prev[]={-9999,-9999,-9999,-9999,-999}
   STRING Out=''
   DO {
      CALL GetMachinePosition($Config,$Axes,$ToolLengthComp,$Prev,$Out)
      IF $Out != '' {
         FILE WRITE $Out TO simu
      } 
      SIMULATE STEP FORWARD
   } WHILE simulation_location().Point &amp;lt; $SL OR simulation_location().Component &amp;lt; $SC
   CALL GetMachinePosition($Config,$Axes,$ToolLengthComp,$Prev,$Out)
   IF $Out != '' {
     FILE WRITE $Out TO simu
   }
   FILE CLOSE simu
}

FUNCTION GetMachinePosition(STRING $Config,STRING LIST Axes,REAL ToolLengthComp, OUTPUT REAL ARRAY Prev[],OUTPUT STRING Out) {
   REAL ARRAY Pos[]={0,0,0,0,0}
   $Pos[0]=round($Machine().X,4)
   $Pos[1]=round($Machine().Y,4)
   $Pos[2]=round($Machine().Z-$ToolLengthComp,4)
   SWITCH  $Config {
      CASE 'ABXYZ'
      $Pos[3]=round($Machine().A,4)
      $Pos[4]=round($Machine().B,4)
      BREAK
      CASE 'ACXYZ'
      $Pos[3]=round($Machine().A,4)
      $Pos[4]=round($Machine().C,4)
      BREAK
      CASE 'BCXYZ'
      $Pos[3]=round($Machine().B,4)
      $Pos[4]=round($Machine().C,4)
   }
   $out=''
   INT I=0
   WHILE $I &amp;lt; 5 {
      IF $Prev[$I] != $Pos[$I] {
         IF $Out !='' {
            $Out=$Out+' '
         }
         $Out=$Out+$Axes[$I]+$Pos[$I]
         STRING CMD='$'+'Prev[$I'+']=$'+'Pos['+$I+']'
         DoCommand $CMD
      }
      $I=$I+1
   }
}&lt;/PRE&gt;</description>
      <pubDate>Mon, 26 Aug 2019 22:53:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8988719#M14509</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-26T22:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: 5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8989434#M14510</link>
      <description>&lt;P&gt;Something is not working right with me it seems that post is not working. Can you send me your version of post-processor.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="macroproblem.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/671121i7A2D313483AD3DCB/image-size/large?v=v2&amp;amp;px=999" role="button" title="macroproblem.png" alt="macroproblem.png" /&gt;&lt;/span&gt;&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="postproblem.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/671122i54E35A90A33D9C68/image-size/large?v=v2&amp;amp;px=999" role="button" title="postproblem.png" alt="postproblem.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 08:45:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8989434#M14510</guid>
      <dc:creator>Poduhvat1</dc:creator>
      <dc:date>2019-08-27T08:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: 5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8989546#M14511</link>
      <description>&lt;P&gt;I managed to sort it out the post-processor issue I needed to adjust the .mtd file i.e machine tool for 720 degree B-axis&amp;nbsp;&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;to put in Powermill configuration and to create new tool-path but the issue with macro is still the same.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 09:45:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8989546#M14511</guid>
      <dc:creator>Poduhvat1</dc:creator>
      <dc:date>2019-08-27T09:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: 5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8989557#M14512</link>
      <description>&lt;P&gt;The Simu_log.mac not working if&amp;nbsp; &lt;FONT&gt;you do not have&lt;/FONT&gt; full&amp;nbsp; access rights in folder. Folder name characters: A-Z, 0-9, '_'.&lt;/P&gt;&lt;P&gt;If simu_log.mac failed then type in PM command window:&amp;nbsp; "FILE CLOSE simu"&amp;nbsp;&lt;/P&gt;&lt;P&gt;For testing use PP and macro, use short, simple toolpath.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 09:54:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8989557#M14512</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-27T09:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: 5 axis post processor for Mach3 for DIY CNC machine.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8989756#M14513</link>
      <description>&lt;P&gt;I'm not sure what is the problem the folder with Powermill project file is in My documents under the name powermillprojecti. Maybe because Powermill is installed at external hard disk. I will try to solve this.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 11:38:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/5-axis-post-processor-for-mach3-for-diy-cnc-machine/m-p/8989756#M14513</guid>
      <dc:creator>Poduhvat1</dc:creator>
      <dc:date>2019-08-27T11:38:45Z</dc:date>
    </item>
  </channel>
</rss>

