<?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>tema Post Variable Question en FeatureCAM Forum</title>
    <link>https://forums.autodesk.com/t5/featurecam-forum/post-variable-question/m-p/9625284#M6127</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wanting to write a post variable for calling sub program on siemens control, I only need the sub program name to be called how do I code it to return the wording entered in the post variable comment to be added to the nc code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SUB_VARIABLE.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/793301iFB05C4CFD0BEDC88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SUB_VARIABLE.jpg" alt="SUB_VARIABLE.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;; 8 8MM ENDMILL&lt;BR /&gt;; 10 6MM SPOT&lt;BR /&gt;; 11 6MM CHAMFER GARR&lt;BR /&gt;; 12 12MM ENDMILL 3FL&lt;BR /&gt;; 14 2.8MM CBD&lt;BR /&gt;; 15 M3 ROLL TAP&lt;BR /&gt;; 18 4MM BALLNOSE&lt;/P&gt;&lt;P&gt;CYCLE800()&lt;BR /&gt;G00 G53 Z610 D0&lt;BR /&gt;D1&lt;BR /&gt;G00 G53 X-300. Y220.0&lt;BR /&gt;G00 G53 B0.0 C0.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;PROBE_TOP...............WORDING FROM POST VARIABLE&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;; SETUP1: BOSS ROUGH1 BOSS1 B0. C0.&lt;/P&gt;&lt;P&gt;G55 G17 G40 G71 G90&lt;BR /&gt;T="12MM ENDMILL 3FL"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;IF&amp;gt;[eq(&amp;lt;PVAR:CALL_SUB_PROGRAM&amp;gt;," ............. ")]&amp;lt;THEN&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jul 2020 00:25:44 GMT</pubDate>
    <dc:creator>brian_p1</dc:creator>
    <dc:date>2020-07-09T00:25:44Z</dc:date>
    <item>
      <title>Post Variable Question</title>
      <link>https://forums.autodesk.com/t5/featurecam-forum/post-variable-question/m-p/9625284#M6127</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wanting to write a post variable for calling sub program on siemens control, I only need the sub program name to be called how do I code it to return the wording entered in the post variable comment to be added to the nc code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SUB_VARIABLE.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/793301iFB05C4CFD0BEDC88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SUB_VARIABLE.jpg" alt="SUB_VARIABLE.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;; 8 8MM ENDMILL&lt;BR /&gt;; 10 6MM SPOT&lt;BR /&gt;; 11 6MM CHAMFER GARR&lt;BR /&gt;; 12 12MM ENDMILL 3FL&lt;BR /&gt;; 14 2.8MM CBD&lt;BR /&gt;; 15 M3 ROLL TAP&lt;BR /&gt;; 18 4MM BALLNOSE&lt;/P&gt;&lt;P&gt;CYCLE800()&lt;BR /&gt;G00 G53 Z610 D0&lt;BR /&gt;D1&lt;BR /&gt;G00 G53 X-300. Y220.0&lt;BR /&gt;G00 G53 B0.0 C0.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;PROBE_TOP...............WORDING FROM POST VARIABLE&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;; SETUP1: BOSS ROUGH1 BOSS1 B0. C0.&lt;/P&gt;&lt;P&gt;G55 G17 G40 G71 G90&lt;BR /&gt;T="12MM ENDMILL 3FL"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;IF&amp;gt;[eq(&amp;lt;PVAR:CALL_SUB_PROGRAM&amp;gt;," ............. ")]&amp;lt;THEN&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 00:25:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/featurecam-forum/post-variable-question/m-p/9625284#M6127</guid>
      <dc:creator>brian_p1</dc:creator>
      <dc:date>2020-07-09T00:25:44Z</dc:date>
    </item>
    <item>
      <title>Betreff: Post Variable Question</title>
      <link>https://forums.autodesk.com/t5/featurecam-forum/post-variable-question/m-p/9669170#M6185</link>
      <description>&lt;P&gt;&lt;FONT&gt;Hello Brian&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;This is the Code for the PP&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&amp;lt;IF&amp;gt;[neq(&amp;lt;CALL_SUB_PROGRAMM&amp;gt;,"")]&amp;lt;THEN&amp;gt; &amp;lt;BOL&amp;gt;MSG("Probe Top")&amp;lt;EOB&amp;gt;&amp;lt;ENDIF&amp;gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 06:59:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/featurecam-forum/post-variable-question/m-p/9669170#M6185</guid>
      <dc:creator>walter.schaefer</dc:creator>
      <dc:date>2020-08-03T06:59:38Z</dc:date>
    </item>
    <item>
      <title>Betreff: Post Variable Question</title>
      <link>https://forums.autodesk.com/t5/featurecam-forum/post-variable-question/m-p/9670433#M6187</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5470658"&gt;@walter.schaefer&lt;/a&gt;, thank you for you reply, I would like to be able to have what ever text is entered in the post variable tab to be written into the program, your code will only add probe top to the program as it is hard coded into the post eg if 1234 was written into the tab then 1234 would be output in the program or if abcd was written into the tab then abcd would be output.&lt;/P&gt;&lt;P&gt;It needs to be the same as how seg comment works but im unsure of how to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 17:49:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/featurecam-forum/post-variable-question/m-p/9670433#M6187</guid>
      <dc:creator>brian_p1</dc:creator>
      <dc:date>2020-08-03T17:49:59Z</dc:date>
    </item>
    <item>
      <title>Betreff: Post Variable Question</title>
      <link>https://forums.autodesk.com/t5/featurecam-forum/post-variable-question/m-p/9671138#M6188</link>
      <description>&lt;P&gt;Hello Brian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;at first, i'm from Germany and my English is bad.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can Change the Postvariables in every Operation&lt;/P&gt;&lt;P&gt;In the first Operation you fill the &amp;lt;call_sub_programm&amp;gt; with "Start"&lt;/P&gt;&lt;P&gt;in next Operation you fill the&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; cursor: text; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&amp;lt;call_sub_programm&amp;gt;&lt;/SPAN&gt; with "next" ……..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;need you an inputbox ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Walter&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 04:09:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/featurecam-forum/post-variable-question/m-p/9671138#M6188</guid>
      <dc:creator>walter.schaefer</dc:creator>
      <dc:date>2020-08-04T04:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Post Variable Question</title>
      <link>https://forums.autodesk.com/t5/featurecam-forum/post-variable-question/m-p/9689427#M6225</link>
      <description>&lt;P&gt;You would just have&lt;/P&gt;&lt;P&gt;;&amp;lt;PVAR:CALL_SUB_PROGRAM&amp;gt;&lt;/P&gt;&lt;P&gt;and it will post what ever is written in that post var.&lt;/P&gt;&lt;P&gt;For safety factor I would add an or function with the available probing cycles so if somebody mistypes the post will give a message.&lt;/P&gt;&lt;P&gt;&amp;lt;IF&amp;gt;[or(eq(&amp;lt;PVAR:CALL_SUB_PROGRAM&amp;gt;,""), eq(&amp;lt;PVAR:CALL_SUB_PROGRAM&amp;gt;,"PROBE_TOP"))]&amp;lt;THEN&amp;gt;&lt;/P&gt;&lt;P&gt;;&amp;lt;PVAR:CALL_SUB_PROGRAM&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ELSE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;MESSAGE: INVALID SUB PROGRAM&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ENDIF&amp;gt;&lt;/P&gt;&lt;P&gt;You can add more sub programs to the if statement as needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Chris&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 13:24:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/featurecam-forum/post-variable-question/m-p/9689427#M6225</guid>
      <dc:creator>chrisYPL9Z</dc:creator>
      <dc:date>2020-08-13T13:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Post Variable Question</title>
      <link>https://forums.autodesk.com/t5/featurecam-forum/post-variable-question/m-p/9694070#M6231</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9492509"&gt;@chrisYPL9Z&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much Chris, i thought it would be something easy to get the text posted into the program, &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B05168100D3B24079073EF5DD0C792F6/emoticons/1f44d.png" alt=":símbolo_del_pulgar_hacia_arriba:" title=":símbolo_del_pulgar_hacia_arriba:" /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Aug 2020 18:27:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/featurecam-forum/post-variable-question/m-p/9694070#M6231</guid>
      <dc:creator>brian_p1</dc:creator>
      <dc:date>2020-08-16T18:27:52Z</dc:date>
    </item>
  </channel>
</rss>

