<?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: G98 XYIJ Macro Add in in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/g98-xyij-macro-add-in/m-p/10788846#M9435</link>
    <description>&lt;P&gt;Boopathi:&lt;/P&gt;&lt;P&gt;Please review the attached files. I am trying to alter the existing post so that the M102 and M100 lines are before the G98 line of code. Where and how in the post do I alter.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 29 Nov 2021 18:26:26 GMT</pubDate>
    <dc:creator>pmpollock</dc:creator>
    <dc:date>2021-11-29T18:26:26Z</dc:date>
    <item>
      <title>G98 XYIJ Macro Add in</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/g98-xyij-macro-add-in/m-p/9208017#M9427</link>
      <description>&lt;P&gt;Where in the current Amada laser Post Version 42473, do I add to make a line appear for a macro of G98 X_ Y_ I_J_&amp;nbsp; This allows for a start on the sheet using a dimension for x and y. The I and J are the spacing between the parts in the x and y direction. And the P and K are the quantities in the x and y direction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 20:29:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/g98-xyij-macro-add-in/m-p/9208017#M9427</guid>
      <dc:creator>pmpollock</dc:creator>
      <dc:date>2019-12-17T20:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: G98 XYIJ Macro Add in</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/g98-xyij-macro-add-in/m-p/9208727#M9428</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2023660"&gt;@pmpollock&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you want to add G98 X_Y_I_J_P_K_&amp;nbsp; in the program and this values you want to give in the properties table like this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="post.png" style="width: 763px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/709090iA3F538D80C319804/image-size/large?v=v2&amp;amp;px=999" role="button" title="post.png" alt="post.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 07:35:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/g98-xyij-macro-add-in/m-p/9208727#M9428</guid>
      <dc:creator>boopathi.sivakumar</dc:creator>
      <dc:date>2019-12-18T07:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: G98 XYIJ Macro Add in</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/g98-xyij-macro-add-in/m-p/9209825#M9429</link>
      <description>&lt;P&gt;&lt;EM&gt;Yes. So how do I do this? where do I add this information, so it populates into my program?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 15:41:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/g98-xyij-macro-add-in/m-p/9209825#M9429</guid>
      <dc:creator>pmpollock</dc:creator>
      <dc:date>2019-12-18T15:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: G98 XYIJ Macro Add in</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/g98-xyij-macro-add-in/m-p/9211158#M9430</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2023660"&gt;@pmpollock&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Open the post processor file in any editor&amp;nbsp;&lt;/P&gt;
&lt;P&gt;search for&amp;nbsp; &lt;FONT color="#FF0000"&gt;&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;properties&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;FONT color="#FF0000"&gt;{&lt;/FONT&gt; you get to see codes like this below the properties&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;  useStockForThickness: false, // Specifies that the stock size should override the material thickness property
  wcsX: 50, // WCS offset X
  wcsY: 50 // WCS offset Y
};&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;After this add the codes in red&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;  wcsX: 50, // WCS offset X
  wcsY: 50&lt;FONT color="#FF0000"&gt;, // WCS offset Y
  PostG98:true,
  SpacingX:0,
  SpacingY:0,
  XQuant:0,
  YQuant:0&lt;/FONT&gt;
};&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;And below in the properties definition you will see codes like this&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;  wcsX: {title: "WCS X", description: "Sets the X WCS position.", type: "number"},
  wcsY: {title: "WCS Y", description: "Sets the Y WCS position.", type: "number"}
};&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;add the codes in red after the wcsY: line your codes will look like below&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;  wcsX: {title: "WCS X", description: "Sets the X WCS position.", type: "number"},
  wcsY: {title: "WCS Y", description: "Sets the Y WCS position.", type: "number"}&lt;FONT color="#FF0000"&gt;,
  PostG98: {title: "Post G98", description: "Output G98 Macro", type: "boolean"},
  SpacingX: {title: "Spacing X", description: "Sets the X for G98.", type: "number"},
  SpacingY: {title: "Spacing Y", description: "Sets the Y for G98.", type: "number"},
  XQuant: {title: "Quantity X", description: "Sets the No of Quantity X for G98.", type: "number"},
  YQuant: {title: "Quantity Y", description: "Sets the No of Quantity Y for G98.", type: "number"}&lt;/FONT&gt;
};&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;SPAN&gt;Don't forgot to add the commas (,) before the line PostG98 and in the above as well&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;And Search for the line&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;//&amp;nbsp;absolute&amp;nbsp;coordinates&amp;nbsp;and&amp;nbsp;feed&amp;nbsp;per&amp;nbsp;min&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;add the code in red like below&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;  // absolute coordinates and feed per min
  writeBlock(gAbsIncModal.format(90), gFormat.format(92), xOutput.format(properties.wcsX), yOutput.format(properties.wcsY));
  if (properties.PostG98){
    writeBlock(gFormat.format(98),"X"+(properties.wcsX),"Y"+(properties.wcsY),"I"+properties.SpacingX,"J"+properties.SpacingY,"P"+properties.XQuant,"Q"+properties.YQuant);
  }&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Save the file and test the file carefully&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Dec 2019 07:40:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/g98-xyij-macro-add-in/m-p/9211158#M9430</guid>
      <dc:creator>boopathi.sivakumar</dc:creator>
      <dc:date>2019-12-19T07:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: G98 XYIJ Macro Add in</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/g98-xyij-macro-add-in/m-p/9230076#M9431</link>
      <description>&lt;P&gt;Awesome!&lt;/P&gt;&lt;P&gt;Only one issue,&lt;/P&gt;&lt;P&gt;How and where in the code do I alter the G98 line&amp;nbsp;to reflect : X0 Y0? With the current alterations you sent, my G98 line reads: G98 X50 Y50 I0 J0 P0 K0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;X and&amp;nbsp;Y need a zero after. The I,J,P,K are good.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2020 20:22:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/g98-xyij-macro-add-in/m-p/9230076#M9431</guid>
      <dc:creator>pmpollock</dc:creator>
      <dc:date>2020-01-03T20:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: G98 XYIJ Macro Add in</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/g98-xyij-macro-add-in/m-p/9230679#M9432</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2023660"&gt;@pmpollock&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then add this codes as well&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;  wcsX: 50, // WCS offset X
  wcsY: 50, // WCS offset Y
  PostG98:true,
&lt;FONT color="#FF0000"&gt;  StartX:0,
  StartY:0,&lt;/FONT&gt;
  SpacingX:0,
  SpacingY:0,
  XQuant:0,
  YQuant:0
};&lt;/PRE&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;And in the properties definition&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;  wcsX: {title: "WCS X", description: "Sets the X WCS position.", type: "number"},
  wcsY: {title: "WCS Y", description: "Sets the Y WCS position.", type: "number"},
  PostG98: {title: "Post G98", description: "Output G98 Macro", type: "boolean"},
 &lt;FONT color="#FF0000"&gt; StartX: {title: "Start X", description: "Sets the starting position X for G98.", type: "number"},
  StartY: {title: "Start Y", description: "Sets the starting position Y for G98.", type: "number"},&lt;/FONT&gt;
  SpacingX: {title: "Spacing X", description: "Sets the X for G98.", type: "number"},
  SpacingY: {title: "Spacing Y", description: "Sets the Y for G98.", type: "number"},
  XQuant: {title: "Quantity X", description: "Sets the No of Quantity X for G98.", type: "number"},
  YQuant: {title: "Quantity Y", description: "Sets the No of Quantity Y for G98.", type: "number"}
};&lt;/PRE&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;And in the &lt;FONT color="#FF0000"&gt;// absolute coordinates and feed per min&lt;/FONT&gt; change it like below&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;  // absolute coordinates and feed per min
  writeBlock(gAbsIncModal.format(90), gFormat.format(92), xOutput.format(properties.wcsX), yOutput.format(properties.wcsY));
  if (properties.PostG98){
    writeBlock(gFormat.format(98),"X"+&lt;FONT color="#FF0000"&gt;(properties.StartX)&lt;/FONT&gt;,"Y"+&lt;FONT color="#FF0000"&gt;(properties.StartY)&lt;/FONT&gt;,"I"+properties.SpacingX,"J"+properties.SpacingY,"P"+properties.XQuant,"Q"+properties.YQuant);
  }&lt;/PRE&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;FONT color="#808080"&gt;This will add two more properties in the tab&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jan 2020 09:20:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/g98-xyij-macro-add-in/m-p/9230679#M9432</guid>
      <dc:creator>boopathi.sivakumar</dc:creator>
      <dc:date>2020-01-04T09:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: G98 XYIJ Macro Add in</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/g98-xyij-macro-add-in/m-p/10764280#M9433</link>
      <description>&lt;P&gt;I would like to add a line of code to my current post processer.&lt;/P&gt;&lt;P&gt;It is for an Amada laser.&lt;/P&gt;&lt;P&gt;The line would be: G76 W1 Q4;&lt;/P&gt;&lt;P&gt;It is at the end of the program and helps with setting a macro and orientation of sheet location.&lt;/P&gt;&lt;P&gt;Attached is a program I wrote but had to add in the command by hand.&lt;/P&gt;&lt;P&gt;I somewhat have it started:&amp;nbsp;writeBlock(gFormat.format(76));&lt;/P&gt;&lt;P&gt;This gets the G76 command into the program.&lt;/P&gt;&lt;P&gt;But how do I get the W1 and Q4 on the same line as the G76?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 18:32:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/g98-xyij-macro-add-in/m-p/10764280#M9433</guid>
      <dc:creator>pmpollock</dc:creator>
      <dc:date>2021-11-17T18:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: G98 XYIJ Macro Add in</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/g98-xyij-macro-add-in/m-p/10778465#M9434</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2023660"&gt;@pmpollock&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can write something like below to get what you wanted&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt; writeBlock(gFormat.format(76), "W1", "Q4"); // &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;
&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 24 Nov 2021 08:34:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/g98-xyij-macro-add-in/m-p/10778465#M9434</guid>
      <dc:creator>boopathi.sivakumar</dc:creator>
      <dc:date>2021-11-24T08:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: G98 XYIJ Macro Add in</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/g98-xyij-macro-add-in/m-p/10788846#M9435</link>
      <description>&lt;P&gt;Boopathi:&lt;/P&gt;&lt;P&gt;Please review the attached files. I am trying to alter the existing post so that the M102 and M100 lines are before the G98 line of code. Where and how in the post do I alter.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 18:26:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/g98-xyij-macro-add-in/m-p/10788846#M9435</guid>
      <dc:creator>pmpollock</dc:creator>
      <dc:date>2021-11-29T18:26:26Z</dc:date>
    </item>
  </channel>
</rss>

