<?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: Stock OD from Post Processor in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8231091#M13681</link>
    <description>&lt;P&gt;I appreciate you taking the time to explain this part to me..it's a bit unknown right now how it all works.&amp;nbsp; I want to make sure I get it right before I start anything and ruin tools/tips/material/hardware.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe there is a different code I should be looking at.&amp;nbsp; G10 maybe?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's say that I want to tell the machine position it's at X.625 already, even tho it says 0/0/0&lt;/P&gt;&lt;P&gt;So, if I were to pass the Gcode:&amp;nbsp;&amp;nbsp;&amp;nbsp; G0 X.725&amp;nbsp;&amp;nbsp;&amp;nbsp; the machine would move X .1... Would that be G10?&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>Tue, 28 Aug 2018 22:01:53 GMT</pubDate>
    <dc:creator>dregalia2014</dc:creator>
    <dc:date>2018-08-28T22:01:53Z</dc:date>
    <item>
      <title>Stock OD from Post Processor</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8230575#M13677</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Quick question.&amp;nbsp; I want to bring the StockOD from my turning project into the post processor to spit out the following line:&lt;/P&gt;&lt;P&gt;G54 G0 X.625&lt;/P&gt;&lt;P&gt;Which I assume will set my offset for a project that requires it to be manually set, instead of just using G54 and it remembering where it's current X position is.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 18:27:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8230575#M13677</guid>
      <dc:creator>dregalia2014</dc:creator>
      <dc:date>2018-08-28T18:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Stock OD from Post Processor</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8230617#M13678</link>
      <description>&lt;P&gt;This is what the Siemens post outputs for the stock diameter:&lt;/P&gt;&lt;PRE&gt;WriteBlock(
        "WORKPIECE" + "(" + ",,," + "\"" + "CYLINDER" + "\""  + "," + "256" + "," + zFormat.format(workpiece.upper.z) + "," + zFormat.format(workpiece.lower.z) + "," + "80" +
        "," + xFormat.format(workpiece.upper.x) + /*"," + yFormat.format(workpiece.upper.y) + */"," + xFormat.format(workpiece.lower.x) + /*"," + yFormat.format(workpiece.lower.y) + */")"&lt;/PRE&gt;&lt;P&gt;As you can see its more Xmin/max then cilinder size.&lt;/P&gt;&lt;P&gt;I don't know what you want a movement in the G54 line and what the purpose is&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 18:44:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8230617#M13678</guid>
      <dc:creator>ArjanDijk</dc:creator>
      <dc:date>2018-08-28T18:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Stock OD from Post Processor</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8230758#M13679</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2030444"&gt;@ArjanDijk&lt;/a&gt;, I'm trying to manually set the G54 offset&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I am guessing that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Writeblock ("G54 G0 " + xFormat.format(workpiece.lower.x ))&lt;/PRE&gt;&lt;P&gt;Will give me the piece that i'm looking for in the line.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I may not be explaining myself correctly.&amp;nbsp; I'm kinda new to turning profiles.&amp;nbsp; From what I understand tho, if my cutting edge is .625 away from the center of the stock, when I start a job, it will look at the machine position (.625) and remember that as the X offset.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since I do not have that, I need to set it manually in my gcode so it will work right after I generate it.&amp;nbsp; To make it simple, since I am always lining up my cutting edge to the outside diameter of the stock, I should be able to take that measurement and plug it into my G54 offset and it will work.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does that sound right?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 19:33:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8230758#M13679</guid>
      <dc:creator>dregalia2014</dc:creator>
      <dc:date>2018-08-28T19:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Stock OD from Post Processor</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8230820#M13680</link>
      <description>&lt;P&gt;Sounds very wrong IMO.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your toolposition need to be in the machinetooltable, so no matter what tool you select, when going to .625, it should touch the part. The gcode does not need adjustment for the tool. That needs to be in the tooltable.&lt;/P&gt;&lt;P&gt;Further: you need a safe start, so first a move in Z, then in X. Then your always in front of the stock&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 19:58:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8230820#M13680</guid>
      <dc:creator>ArjanDijk</dc:creator>
      <dc:date>2018-08-28T19:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Stock OD from Post Processor</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8231091#M13681</link>
      <description>&lt;P&gt;I appreciate you taking the time to explain this part to me..it's a bit unknown right now how it all works.&amp;nbsp; I want to make sure I get it right before I start anything and ruin tools/tips/material/hardware.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe there is a different code I should be looking at.&amp;nbsp; G10 maybe?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's say that I want to tell the machine position it's at X.625 already, even tho it says 0/0/0&lt;/P&gt;&lt;P&gt;So, if I were to pass the Gcode:&amp;nbsp;&amp;nbsp;&amp;nbsp; G0 X.725&amp;nbsp;&amp;nbsp;&amp;nbsp; the machine would move X .1... Would that be G10?&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>Tue, 28 Aug 2018 22:01:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8231091#M13681</guid>
      <dc:creator>dregalia2014</dc:creator>
      <dc:date>2018-08-28T22:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Stock OD from Post Processor</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8231160#M13682</link>
      <description>G10 can shift your zero, but the center of your piece should always be X0. Never change that. G54 is meant for Z values. If part center is not X0, you need to set your G54 X and your toollenght</description>
      <pubDate>Tue, 28 Aug 2018 22:47:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8231160#M13682</guid>
      <dc:creator>ArjanDijk</dc:creator>
      <dc:date>2018-08-28T22:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Stock OD from Post Processor</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8520045#M13683</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;just found this Thread. I have a similar question &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2030444"&gt;@ArjanDijk&lt;/a&gt; for milling on the OD of a cylinder on a lathe i need to output this line at a certain point in the code:&lt;/P&gt;
&lt;P&gt;"FGREF[C]=reference radius". I tried to input this&lt;/P&gt;
&lt;P&gt;writeBlock("FGREF[C]" + xFormat.format(workpiece.upper.x));&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is that wrong? Or do i need to input the whole thing you quoted in the upper part of this thread?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 10:15:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8520045#M13683</guid>
      <dc:creator>grueneba</dc:creator>
      <dc:date>2019-01-14T10:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Stock OD from Post Processor</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8520289#M13684</link>
      <description>&lt;P&gt;Just try both and see what happens on the machine.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 12:37:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8520289#M13684</guid>
      <dc:creator>ArjanDijk</dc:creator>
      <dc:date>2019-01-14T12:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Stock OD from Post Processor</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8520387#M13685</link>
      <description>&lt;P&gt;Well I tried &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Unfortunately none of those will produce some code. When I postprocess it is always giving me an error.&lt;/P&gt;
&lt;P&gt;It says :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;###############################################################################&lt;BR /&gt;Fehler: ReferenceError: workpiece is not defined&lt;BR /&gt;Error at line: 1405&lt;BR /&gt;Error in operation: '2D Adaptive3'&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 13:27:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8520387#M13685</guid>
      <dc:creator>grueneba</dc:creator>
      <dc:date>2019-01-14T13:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Stock OD from Post Processor</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8522463#M13686</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2030444"&gt;@ArjanDijk&lt;/a&gt; Any Idea maybe?&lt;/P&gt;
&lt;P&gt;I need my post to write:&lt;/P&gt;
&lt;P&gt;FGREF[C]=stock radius in my post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so i went with:&lt;/P&gt;
&lt;P&gt;writeBlock("FGREF[C]=" + the stuff you sent/what &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2887291"&gt;@dregalia2014&lt;/a&gt; sent);&lt;/P&gt;
&lt;P&gt;But it just wont work.&lt;/P&gt;
&lt;P&gt;I would be really glad for advice because I think that this is the last thing i need to do to get my post dialed in perfectly and i can finally get back to work &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: Oh sorry i forgot to say that my machine runs on a siemens 840d control&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 07:05:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8522463#M13686</guid>
      <dc:creator>grueneba</dc:creator>
      <dc:date>2019-01-15T07:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Stock OD from Post Processor</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8522505#M13687</link>
      <description>&lt;P&gt;Add this line before those commands:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;var workpiece = getWorkpiece();&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Jan 2019 07:37:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8522505#M13687</guid>
      <dc:creator>ArjanDijk</dc:creator>
      <dc:date>2019-01-15T07:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Stock OD from Post Processor</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8522512#M13688</link>
      <description>&lt;P&gt;Ah perfect thank you so much!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 07:42:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/stock-od-from-post-processor/m-p/8522512#M13688</guid>
      <dc:creator>grueneba</dc:creator>
      <dc:date>2019-01-15T07:42:14Z</dc:date>
    </item>
  </channel>
</rss>

