<?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: Siemens 810D Machine specific changes in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-810d-machine-specific-changes/m-p/12030613#M2152</link>
    <description>&lt;P&gt;Nevermind, I found it&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jun 2023 13:54:55 GMT</pubDate>
    <dc:creator>mikeLJA22</dc:creator>
    <dc:date>2023-06-13T13:54:55Z</dc:date>
    <item>
      <title>Siemens 810D Machine specific changes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-810d-machine-specific-changes/m-p/12023856#M2150</link>
      <description>&lt;P&gt;I started trying to edit the Siemens SINUMERIK 810D post for use in Fusion360, but am not sure how to continue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I THINK I got the "coolant" options ok, however I am not sure how to change the Automatic Tool change in the post. The machine in question uses L6 (subroutine/macro on the machine under USER CYCLES) for automatic tool change (using a 24 position tool carousel [W-axis] + 1 fixed for a right angle saw-head attachment), whereas M6 is used when doing manual tool changes (which I only do in MDA mode anyways).&amp;nbsp; I did find on line 1978 "COMMAND_LOAD_TOOL&amp;nbsp; : 6" but don't know where it attaches that to an "M" nor how to change that (attachment/concatenation) to an "L" instead. Thank you in advance for the help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 16:19:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-810d-machine-specific-changes/m-p/12023856#M2150</guid>
      <dc:creator>mikeLJA22</dc:creator>
      <dc:date>2023-06-12T16:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens 810D Machine specific changes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-810d-machine-specific-changes/m-p/12030357#M2151</link>
      <description>&lt;P&gt;Hello &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/14033191"&gt;@mikeLJA22&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In fact, the code is generated from the line 875 in the current post in the library.&lt;/P&gt;
&lt;P&gt;It's inside the onSection function, here is a snippet of the code:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;    writeToolBlock("T" + (getProperty("toolAsName") ? ("=" + "\"") + (tool.description.toUpperCase()) + "\"" : toolFormat.format(tool.number)), dFormat.format(lengthOffset));
    writeBlock(mFormat.format(6));
    if (tool.comment) {
      writeComment(tool.comment);
    }&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the mFormat that is defining the prefix.&lt;/P&gt;
&lt;P&gt;By default, we don't have any format using a L prefix.&lt;/P&gt;
&lt;P&gt;But we can edit the post, using a pure text editor (notepad, but NOT Word....)&lt;/P&gt;
&lt;P&gt;And let's go to the top of the post:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;var gFormat = createFormat({prefix:"G", decimals:0});
var lFormat = createFormat({prefix:"L", decimals:0});  // new format added
var mFormat = createFormat({prefix:"M", decimals:0});
var hFormat = createFormat({prefix:"H", decimals:0});&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After adding this format we will be able to use it for the tool call.&lt;/P&gt;
&lt;P&gt;We can change the earlier code to that one:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;    writeToolBlock("T" + (getProperty("toolAsName") ? ("=" + "\"") + (tool.description.toUpperCase()) + "\"" : toolFormat.format(tool.number)), dFormat.format(lengthOffset));
    writeBlock(lFormat.format(6)); // use lFormat instead of mFormat
    if (tool.comment) {
      writeComment(tool.comment);
    }&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;______________________________________________________________&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0174DF"&gt;If my post answers your question, please click the &lt;STRONG&gt;"Accept Solution"&lt;/STRONG&gt; button. This helps everyone find answers more quickly!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 12:32:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-810d-machine-specific-changes/m-p/12030357#M2151</guid>
      <dc:creator>serge.quiblier</dc:creator>
      <dc:date>2023-06-13T12:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Siemens 810D Machine specific changes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-810d-machine-specific-changes/m-p/12030613#M2152</link>
      <description>&lt;P&gt;Nevermind, I found it&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 13:54:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/siemens-810d-machine-specific-changes/m-p/12030613#M2152</guid>
      <dc:creator>mikeLJA22</dc:creator>
      <dc:date>2023-06-13T13:54:55Z</dc:date>
    </item>
  </channel>
</rss>

