<?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: Posting for linear output, instead of rotational 4th axis motion in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/posting-for-linear-output-instead-of-rotational-4th-axis-motion/m-p/8721955#M11961</link>
    <description>&lt;P&gt;Could you provide sample code of what your machine expects to see?&amp;nbsp; For example, if you move from 0 degrees to 90 degrees what does the output look like.&amp;nbsp; From 0 to 360 degrees, to 390 degrees, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Specifying that your machine requires "linear" output for a rotary axis does not really explain the situation.&amp;nbsp; It could mean that it moves on a linear scale (0-720 would rotate the table twice in the CLW direction), or that the table is programmed using a predefined linear circumference, or something else entirely.&amp;nbsp; So you can see where more information is needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 10 Apr 2019 21:53:36 GMT</pubDate>
    <dc:creator>bob.schultz</dc:creator>
    <dc:date>2019-04-10T21:53:36Z</dc:date>
    <item>
      <title>Posting for linear output, instead of rotational 4th axis motion</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/posting-for-linear-output-instead-of-rotational-4th-axis-motion/m-p/8693887#M11958</link>
      <description>&lt;P&gt;I have an older machine which, I assume, needs to have the 4th axis values&lt;/P&gt;
&lt;P&gt;posted as linear instead of rotational.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the post processor syntax for this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The 4 axis machine configuration guide on the site, here, merely states :&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" face="courier new,courier" color="#FF0000"&gt;&lt;STRONG&gt;actuator: Specifies that the actuator type (ie. either "linear" or "rotational").&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier" color="#FF0000"&gt;&lt;STRONG&gt;The default is "rotational".&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT face="verdana,geneva"&gt;&lt;FONT size="3"&gt;What are some examples of how to set this up?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently, in my onOpen section, I have :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#0000FF"&gt;function onOpen() {&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#0000FF"&gt;if (true) { // note: setup your machine here&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#0000FF"&gt;var aAxis = createAxis({coordinate:0, table:true, axis:[-1, 0, 0], range:[-360,360], preference:0});&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#0000FF"&gt;machineConfiguration = new MachineConfiguration(aAxis);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#0000FF"&gt;setMachineConfiguration(machineConfiguration);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#0000FF"&gt;optimizeMachineAngles2(1); // TCP mode&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks....&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 14:43:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/posting-for-linear-output-instead-of-rotational-4th-axis-motion/m-p/8693887#M11958</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-29T14:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Posting for linear output, instead of rotational 4th axis motion</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/posting-for-linear-output-instead-of-rotational-4th-axis-motion/m-p/8704063#M11959</link>
      <description>&lt;P&gt;...perhaps there is a few lines of javascript from another post-processor&lt;/P&gt;
&lt;P&gt;that converts degrees to linear movement that my 4-axis Bostomatic 300&lt;/P&gt;
&lt;P&gt;series machine needs... ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;...or somewhere within the existing 4-axis standard setup needs some parameters changed...?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;...anyone have a lead on this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;...thanks...&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 11:47:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/posting-for-linear-output-instead-of-rotational-4th-axis-motion/m-p/8704063#M11959</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-03T11:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Posting for linear output, instead of rotational 4th axis motion</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/posting-for-linear-output-instead-of-rotational-4th-axis-motion/m-p/8720227#M11960</link>
      <description>&lt;P&gt;...so... how difficult would it be to figure out the "rotation to linear" problem, here?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a javascript reference manual where I could find the solution for the post&lt;/P&gt;
&lt;P&gt;to do the math for this?&amp;nbsp; Would this be many lines of code, or just a simple equation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;...any help would be much appreciated...&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 11:56:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/posting-for-linear-output-instead-of-rotational-4th-axis-motion/m-p/8720227#M11960</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-10T11:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Posting for linear output, instead of rotational 4th axis motion</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/posting-for-linear-output-instead-of-rotational-4th-axis-motion/m-p/8721955#M11961</link>
      <description>&lt;P&gt;Could you provide sample code of what your machine expects to see?&amp;nbsp; For example, if you move from 0 degrees to 90 degrees what does the output look like.&amp;nbsp; From 0 to 360 degrees, to 390 degrees, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Specifying that your machine requires "linear" output for a rotary axis does not really explain the situation.&amp;nbsp; It could mean that it moves on a linear scale (0-720 would rotate the table twice in the CLW direction), or that the table is programmed using a predefined linear circumference, or something else entirely.&amp;nbsp; So you can see where more information is needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 21:53:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/posting-for-linear-output-instead-of-rotational-4th-axis-motion/m-p/8721955#M11961</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2019-04-10T21:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Posting for linear output, instead of rotational 4th axis motion</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/posting-for-linear-output-instead-of-rotational-4th-axis-motion/m-p/8726415#M11962</link>
      <description>&lt;P&gt;Bob :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The post needs to do the math based on a diameter chosen.&lt;BR /&gt;The default diameter of my Bostomatic 300 Series SPCII Control is 80.8507mm, or a 254mm circumference.&lt;BR /&gt;The post then needs to calculate the mm of circumference based on the angle and the diameter.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Below is some sample code, currently posting for A incorrectly in degrees :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%&lt;BR /&gt;G90G17&lt;BR /&gt;G1Z50.8R&lt;BR /&gt;G49R&lt;BR /&gt;2D POCKET2&lt;BR /&gt;T15M0 TOOL 15 : &lt;BR /&gt;S100M3&lt;BR /&gt;G4X4.&lt;BR /&gt;G48R&lt;BR /&gt;M8&lt;BR /&gt;G1X-2.031Y0.R&lt;BR /&gt;Z15.744R&lt;BR /&gt;G1A2.053&lt;BR /&gt;Z11.744&lt;BR /&gt;Z11.295F381&lt;BR /&gt;X-2.032Z11.284A2.051&lt;BR /&gt;X-2.035Z11.274A2.046&lt;BR /&gt;X-2.04Z11.265A2.038&lt;BR /&gt;X-2.047Z11.257A2.027&lt;BR /&gt;X-2.055Z11.251A2.014&lt;BR /&gt;X-2.064Z11.247A2.&lt;BR /&gt;X-2.074Z11.244A1.984&lt;BR /&gt;X-2.077A1.978&lt;BR /&gt;X-2.084A1.955&lt;BR /&gt;X-2.089Z11.243A1.924&lt;BR /&gt;X-2.092A1.886&lt;BR /&gt;X-2.093A1.845&lt;BR /&gt;Z11.238A1.384&lt;BR /&gt;Z11.233A0.923&lt;BR /&gt;Z11.229A0.461&lt;BR /&gt;Z11.224A0.&lt;BR /&gt;Z11.22A-0.461&lt;BR /&gt;Z11.215A-0.922&lt;BR /&gt;Z11.211A-1.384&lt;BR /&gt;Z11.206A-1.845&lt;BR /&gt;X-2.092A-1.89&lt;BR /&gt;X-2.088Z11.205A-1.93&lt;BR /&gt;X-2.082A-1.962&lt;BR /&gt;X-2.074Z11.204A-1.982&lt;BR /&gt;X-2.022Z11.202A-2.068&lt;BR /&gt;X-2.014Z11.201A-2.075&lt;BR /&gt;X-2.006A-2.068&lt;BR /&gt;X-1.999Z11.2A-2.05&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 13:18:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/posting-for-linear-output-instead-of-rotational-4th-axis-motion/m-p/8726415#M11962</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-12T13:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Posting for linear output, instead of rotational 4th axis motion</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/posting-for-linear-output-instead-of-rotational-4th-axis-motion/m-p/8731295#M11963</link>
      <description>&lt;P&gt;You can output the rotary axis positions on a linear scale based on a circumference of 254mm by making the following change in the definition of the rotary axes format.&amp;nbsp; Find the following line at the top of the post processor ...&lt;/P&gt;
&lt;PRE&gt;var abcFormat = createFormat({decimals:3, forceDecimal:true, scale:DEG});&lt;/PRE&gt;
&lt;P&gt;... and change it to the following.&lt;/P&gt;
&lt;PRE&gt;var abcFormat = createFormat({decimals:3, forceDecimal:true, scale:&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;(254/(Math.PI*2))&lt;/STRONG&gt;&lt;/FONT&gt;});&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 15:15:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/posting-for-linear-output-instead-of-rotational-4th-axis-motion/m-p/8731295#M11963</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2019-04-15T15:15:16Z</dc:date>
    </item>
  </channel>
</rss>

