<?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 Need help with some post modifications please. in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/need-help-with-some-post-modifications-please/m-p/6740828#M20339</link>
    <description>&lt;P&gt;I am trying to add a 4th axis to my post and am running into some problems, plus I would like to do some cleaning up.&amp;nbsp; I have been studying up on Java Script and how to modify posts but am at a point that some help would really save a lot of time.&amp;nbsp; I would like to learn this because I am real picky about my code so I am asking for help here before going the "official" route.&amp;nbsp; If there is a post that does what I am looking for then please let me know what it is so I can compare and modify mine accordingly.&amp;nbsp; Thanks in advance for any help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My main issues are:&lt;/P&gt;
&lt;P&gt;1) The fixture offset after the tool change only shows up after the first tool.&amp;nbsp; After that it is in the line calling up the offsets and spindle.&amp;nbsp; This is a problem since the A axis moves are before the fixture offset is called in the subsequent tool changes.&lt;/P&gt;
&lt;P&gt;2) When the A axis is moved in the middle of a program it sends the Z axis home cancelling both height and fixture offsets. After A axis rotation then the offsets are called again and the spindle speed and M3 are called.&amp;nbsp; I would at least like to remove the spindle speed and M3 codes if I can't avoid having to call the fixture and height offsets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;G0 G17 G40 G49 G52 G80 G90 M11&lt;BR /&gt;G0 G49 G52 Z0.&lt;BR /&gt;(FACE1)&lt;BR /&gt;T1 M6 (2.5" FACE MILL)&lt;BR /&gt;T2&lt;BR /&gt;G57 J2&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;I would like this not to be here if I can have the A axis move in the G43 line.&lt;/FONT&gt;&lt;BR /&gt;M11&lt;BR /&gt;G0 A0.&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;I would like the A move to be in the G43 line.&lt;/FONT&gt;&lt;BR /&gt;M10&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;Move to after the G43 line, but before any cutting.&lt;/FONT&gt;&lt;BR /&gt;M9&lt;BR /&gt;G0 G43 X4.625 Y0. Z.25 H1 G57 S5000 M3&amp;nbsp; &lt;FONT color="#FF0000"&gt;The fixture offset here does not support more than the first 6 offsets, no J offsets.&lt;/FONT&gt;&lt;BR /&gt;G18 G3 X4.375 Z0. I-.25 F65.&lt;BR /&gt;G1 X3.&lt;BR /&gt;X0.&lt;BR /&gt;G3 X-.25 Z.25 K.25&lt;BR /&gt;G17&lt;BR /&gt;G0 G49 G52 Z0.&amp;nbsp;&amp;nbsp; &lt;FONT color="#FF0000"&gt;&amp;nbsp;I would like Z to move up 4 inches without cancelling height and fixture offsets.&lt;/FONT&gt;&lt;BR /&gt;(FACE1 2)&lt;BR /&gt;M11&lt;BR /&gt;G0 A270.&lt;BR /&gt;M10&lt;BR /&gt;M9&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;I would like to not have this as it is not needed.&lt;/FONT&gt;&lt;BR /&gt;G0 &lt;STRIKE&gt;G43&lt;/STRIKE&gt; X4.625 Y.75 Z1. &lt;STRIKE&gt;H1 G57 S5000 M3&lt;/STRIKE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#FF0000"&gt;Remove crossed out code if offsets are not cancelled before A axis move.&lt;/FONT&gt;&lt;BR /&gt;G18 G3 X4.375 Z.75 I-.25 F65.&lt;BR /&gt;G1 X3.&lt;BR /&gt;X0.&lt;BR /&gt;G3 X-.25 Z1. K.25&lt;BR /&gt;G17&lt;BR /&gt;M5&lt;BR /&gt;M9&lt;BR /&gt;G0 G49 G52 Z0.&lt;BR /&gt;(2D POCKET1)&lt;BR /&gt;T2 M6 (.25 MILL)&lt;BR /&gt;T3&lt;BR /&gt;M11&lt;BR /&gt;G0 A0.&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;I would like the A move to be in the G43 line.&lt;/FONT&gt;&lt;BR /&gt;M10&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;Move to after the G43 line, but befor any cutting.&lt;/FONT&gt;&lt;BR /&gt;M8&lt;BR /&gt;G0 G43 X1.5272 Y.0513 Z.1 H2 G57 S15002 M3&lt;BR /&gt;G1 Z.0394 F30.&lt;BR /&gt;Z-.2&lt;BR /&gt;G3 X1.4522 I-.0375&lt;BR /&gt;X1.7647 I.1563&lt;BR /&gt;I-.275&lt;BR /&gt;X1.7397 Y.0763 I-.025&lt;BR /&gt;G0 Z.1&lt;BR /&gt;(2D CONTOUR1)&lt;BR /&gt;M8&amp;nbsp;&amp;nbsp; &lt;FONT color="#FF0000"&gt;&amp;nbsp;It would be nice if this were not here, redundant.&lt;/FONT&gt;&lt;BR /&gt;G0 X1.7363 Y.0171&lt;BR /&gt;G1 Z.1 F30.&lt;BR /&gt;&lt;BR /&gt;G0 Z.1&lt;BR /&gt;(2D POCKET2)&lt;BR /&gt;M8&amp;nbsp;&amp;nbsp; &lt;FONT color="#FF0000"&gt;&amp;nbsp;It would be nice if this were not here, redundant.&lt;/FONT&gt;&lt;BR /&gt;G0 X.562 Y-.2231&lt;BR /&gt;G1 Z.1 F30.&lt;BR /&gt;&lt;BR /&gt;G0 Z.1&lt;BR /&gt;M5&lt;BR /&gt;M9&lt;BR /&gt;G0 G49 G52 Z0.&lt;BR /&gt;(DRILL1)&lt;BR /&gt;T3 M6 (.203 DRILL)&lt;BR /&gt;T4&lt;BR /&gt;M11&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;Since there is no A axis move it would be nice if&lt;/FONT&gt; &lt;BR /&gt;A0.&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;these 3 lines were not here, redundant.&lt;/FONT&gt;&lt;BR /&gt;M10&lt;BR /&gt;M8&lt;BR /&gt;G0 G43 X2.4351 Y-.4274 Z.1 H3 G57 S15000 M3&lt;BR /&gt;G81 G98 Z-.6 R.1 F30.&lt;BR /&gt;G80&lt;BR /&gt;G0 X2.4351 Y-.4274 Z.1&lt;BR /&gt;M5&lt;BR /&gt;M9&lt;BR /&gt;G0 G49 G52 Z0.&lt;BR /&gt;(DRILL2)&lt;BR /&gt;T4 M6(1/4-20 TAP)&lt;BR /&gt;T1&lt;BR /&gt;M11&lt;BR /&gt;A0.&lt;BR /&gt;M10&lt;BR /&gt;M8&lt;BR /&gt;G0 G43 X2.4351 Y-.4274 Z.1 H4 G57&lt;BR /&gt;G93&lt;BR /&gt;G84 Z-.6 R.1 F0.05 S2500&lt;BR /&gt;G80&lt;BR /&gt;G94&lt;BR /&gt;G0 X2.4351 Y-.4274 Z.1&lt;BR /&gt;M5&lt;BR /&gt;M9&lt;BR /&gt;M11&lt;BR /&gt;G0 G49 G52 X-10. Y0 Z0 A0&lt;BR /&gt;M30&lt;/P&gt;</description>
    <pubDate>Sat, 10 Dec 2016 01:46:06 GMT</pubDate>
    <dc:creator>CGPM</dc:creator>
    <dc:date>2016-12-10T01:46:06Z</dc:date>
    <item>
      <title>Need help with some post modifications please.</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/need-help-with-some-post-modifications-please/m-p/6740828#M20339</link>
      <description>&lt;P&gt;I am trying to add a 4th axis to my post and am running into some problems, plus I would like to do some cleaning up.&amp;nbsp; I have been studying up on Java Script and how to modify posts but am at a point that some help would really save a lot of time.&amp;nbsp; I would like to learn this because I am real picky about my code so I am asking for help here before going the "official" route.&amp;nbsp; If there is a post that does what I am looking for then please let me know what it is so I can compare and modify mine accordingly.&amp;nbsp; Thanks in advance for any help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My main issues are:&lt;/P&gt;
&lt;P&gt;1) The fixture offset after the tool change only shows up after the first tool.&amp;nbsp; After that it is in the line calling up the offsets and spindle.&amp;nbsp; This is a problem since the A axis moves are before the fixture offset is called in the subsequent tool changes.&lt;/P&gt;
&lt;P&gt;2) When the A axis is moved in the middle of a program it sends the Z axis home cancelling both height and fixture offsets. After A axis rotation then the offsets are called again and the spindle speed and M3 are called.&amp;nbsp; I would at least like to remove the spindle speed and M3 codes if I can't avoid having to call the fixture and height offsets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;G0 G17 G40 G49 G52 G80 G90 M11&lt;BR /&gt;G0 G49 G52 Z0.&lt;BR /&gt;(FACE1)&lt;BR /&gt;T1 M6 (2.5" FACE MILL)&lt;BR /&gt;T2&lt;BR /&gt;G57 J2&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;I would like this not to be here if I can have the A axis move in the G43 line.&lt;/FONT&gt;&lt;BR /&gt;M11&lt;BR /&gt;G0 A0.&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;I would like the A move to be in the G43 line.&lt;/FONT&gt;&lt;BR /&gt;M10&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;Move to after the G43 line, but before any cutting.&lt;/FONT&gt;&lt;BR /&gt;M9&lt;BR /&gt;G0 G43 X4.625 Y0. Z.25 H1 G57 S5000 M3&amp;nbsp; &lt;FONT color="#FF0000"&gt;The fixture offset here does not support more than the first 6 offsets, no J offsets.&lt;/FONT&gt;&lt;BR /&gt;G18 G3 X4.375 Z0. I-.25 F65.&lt;BR /&gt;G1 X3.&lt;BR /&gt;X0.&lt;BR /&gt;G3 X-.25 Z.25 K.25&lt;BR /&gt;G17&lt;BR /&gt;G0 G49 G52 Z0.&amp;nbsp;&amp;nbsp; &lt;FONT color="#FF0000"&gt;&amp;nbsp;I would like Z to move up 4 inches without cancelling height and fixture offsets.&lt;/FONT&gt;&lt;BR /&gt;(FACE1 2)&lt;BR /&gt;M11&lt;BR /&gt;G0 A270.&lt;BR /&gt;M10&lt;BR /&gt;M9&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;I would like to not have this as it is not needed.&lt;/FONT&gt;&lt;BR /&gt;G0 &lt;STRIKE&gt;G43&lt;/STRIKE&gt; X4.625 Y.75 Z1. &lt;STRIKE&gt;H1 G57 S5000 M3&lt;/STRIKE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#FF0000"&gt;Remove crossed out code if offsets are not cancelled before A axis move.&lt;/FONT&gt;&lt;BR /&gt;G18 G3 X4.375 Z.75 I-.25 F65.&lt;BR /&gt;G1 X3.&lt;BR /&gt;X0.&lt;BR /&gt;G3 X-.25 Z1. K.25&lt;BR /&gt;G17&lt;BR /&gt;M5&lt;BR /&gt;M9&lt;BR /&gt;G0 G49 G52 Z0.&lt;BR /&gt;(2D POCKET1)&lt;BR /&gt;T2 M6 (.25 MILL)&lt;BR /&gt;T3&lt;BR /&gt;M11&lt;BR /&gt;G0 A0.&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;I would like the A move to be in the G43 line.&lt;/FONT&gt;&lt;BR /&gt;M10&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;Move to after the G43 line, but befor any cutting.&lt;/FONT&gt;&lt;BR /&gt;M8&lt;BR /&gt;G0 G43 X1.5272 Y.0513 Z.1 H2 G57 S15002 M3&lt;BR /&gt;G1 Z.0394 F30.&lt;BR /&gt;Z-.2&lt;BR /&gt;G3 X1.4522 I-.0375&lt;BR /&gt;X1.7647 I.1563&lt;BR /&gt;I-.275&lt;BR /&gt;X1.7397 Y.0763 I-.025&lt;BR /&gt;G0 Z.1&lt;BR /&gt;(2D CONTOUR1)&lt;BR /&gt;M8&amp;nbsp;&amp;nbsp; &lt;FONT color="#FF0000"&gt;&amp;nbsp;It would be nice if this were not here, redundant.&lt;/FONT&gt;&lt;BR /&gt;G0 X1.7363 Y.0171&lt;BR /&gt;G1 Z.1 F30.&lt;BR /&gt;&lt;BR /&gt;G0 Z.1&lt;BR /&gt;(2D POCKET2)&lt;BR /&gt;M8&amp;nbsp;&amp;nbsp; &lt;FONT color="#FF0000"&gt;&amp;nbsp;It would be nice if this were not here, redundant.&lt;/FONT&gt;&lt;BR /&gt;G0 X.562 Y-.2231&lt;BR /&gt;G1 Z.1 F30.&lt;BR /&gt;&lt;BR /&gt;G0 Z.1&lt;BR /&gt;M5&lt;BR /&gt;M9&lt;BR /&gt;G0 G49 G52 Z0.&lt;BR /&gt;(DRILL1)&lt;BR /&gt;T3 M6 (.203 DRILL)&lt;BR /&gt;T4&lt;BR /&gt;M11&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;Since there is no A axis move it would be nice if&lt;/FONT&gt; &lt;BR /&gt;A0.&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;these 3 lines were not here, redundant.&lt;/FONT&gt;&lt;BR /&gt;M10&lt;BR /&gt;M8&lt;BR /&gt;G0 G43 X2.4351 Y-.4274 Z.1 H3 G57 S15000 M3&lt;BR /&gt;G81 G98 Z-.6 R.1 F30.&lt;BR /&gt;G80&lt;BR /&gt;G0 X2.4351 Y-.4274 Z.1&lt;BR /&gt;M5&lt;BR /&gt;M9&lt;BR /&gt;G0 G49 G52 Z0.&lt;BR /&gt;(DRILL2)&lt;BR /&gt;T4 M6(1/4-20 TAP)&lt;BR /&gt;T1&lt;BR /&gt;M11&lt;BR /&gt;A0.&lt;BR /&gt;M10&lt;BR /&gt;M8&lt;BR /&gt;G0 G43 X2.4351 Y-.4274 Z.1 H4 G57&lt;BR /&gt;G93&lt;BR /&gt;G84 Z-.6 R.1 F0.05 S2500&lt;BR /&gt;G80&lt;BR /&gt;G94&lt;BR /&gt;G0 X2.4351 Y-.4274 Z.1&lt;BR /&gt;M5&lt;BR /&gt;M9&lt;BR /&gt;M11&lt;BR /&gt;G0 G49 G52 X-10. Y0 Z0 A0&lt;BR /&gt;M30&lt;/P&gt;</description>
      <pubDate>Sat, 10 Dec 2016 01:46:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/need-help-with-some-post-modifications-please/m-p/6740828#M20339</guid>
      <dc:creator>CGPM</dc:creator>
      <dc:date>2016-12-10T01:46:06Z</dc:date>
    </item>
  </channel>
</rss>

