<?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 Port by Case defined, how to complete my model? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553971#M57967</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.1.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi,&lt;/P&gt;
 &lt;P&gt;My name is possibly annoying everybody now, but i'm struggling with the simplest of items. I've followed advice from some knowledgeable people on here to get where I am now.&lt;/P&gt;
 &lt;P&gt;The final hurdle is moving materials from a combiner with set quantities.&lt;/P&gt;
 &lt;P&gt;Basically for example:&lt;/P&gt;
 &lt;P&gt;Set up block &lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;(+ pallet)&lt;/SPAN&gt; to a sink.&lt;/P&gt;
 &lt;P&gt;A - 170 &lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;(+ pallet)&lt;/SPAN&gt; to a materal A queue.&lt;/P&gt;
 &lt;P&gt;B- 125 &lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;(+ pallet)&lt;/SPAN&gt; to a material B queue.&lt;/P&gt;
 &lt;P&gt;C -130 &lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;(+ pallet)&lt;/SPAN&gt; to a material C queue&lt;/P&gt;
 &lt;P&gt;I just can't get it right. Any suggestions, then I promise I will be on my way!&lt;/P&gt;
 &lt;P&gt;Model is: Production_sim_220822 V2&lt;/P&gt;
 &lt;P&gt;Thanks&lt;/P&gt;
 &lt;P&gt;Michael&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 22 Aug 2022 11:18:04 GMT</pubDate>
    <dc:creator>michael_c20</dc:creator>
    <dc:date>2022-08-22T11:18:04Z</dc:date>
    <item>
      <title>Port by Case defined, how to complete my model?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553971#M57967</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.1.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi,&lt;/P&gt;
 &lt;P&gt;My name is possibly annoying everybody now, but i'm struggling with the simplest of items. I've followed advice from some knowledgeable people on here to get where I am now.&lt;/P&gt;
 &lt;P&gt;The final hurdle is moving materials from a combiner with set quantities.&lt;/P&gt;
 &lt;P&gt;Basically for example:&lt;/P&gt;
 &lt;P&gt;Set up block &lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;(+ pallet)&lt;/SPAN&gt; to a sink.&lt;/P&gt;
 &lt;P&gt;A - 170 &lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;(+ pallet)&lt;/SPAN&gt; to a materal A queue.&lt;/P&gt;
 &lt;P&gt;B- 125 &lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;(+ pallet)&lt;/SPAN&gt; to a material B queue.&lt;/P&gt;
 &lt;P&gt;C -130 &lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;(+ pallet)&lt;/SPAN&gt; to a material C queue&lt;/P&gt;
 &lt;P&gt;I just can't get it right. Any suggestions, then I promise I will be on my way!&lt;/P&gt;
 &lt;P&gt;Model is: Production_sim_220822 V2&lt;/P&gt;
 &lt;P&gt;Thanks&lt;/P&gt;
 &lt;P&gt;Michael&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Aug 2022 11:18:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553971#M57967</guid>
      <dc:creator>michael_c20</dc:creator>
      <dc:date>2022-08-22T11:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Port by Case defined, how to complete my model?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553972#M57968</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You should use the default separator option for the sendtoport before each press.&lt;/P&gt;&lt;P&gt;Then there appears to be confusion around the port sending of the press which has two ports:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1661168460806.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1512345iF36AEEC747FB0AC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="1661168460806.png" alt="1661168460806.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;...but your &lt;EM&gt;send to port &lt;/EM&gt;of the press is using Type of the item to send it to ports 1-3:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1661168535384.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1512347iF07959BF205664AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="1661168535384.png" alt="1661168535384.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So your first, red item is going to port 2 which is the press unload object instead of the setup sink. Then the grey item with Type 2 is trying to exit through port 3 which doesn't exist. I'm not sure if you're intending to have a different item for setup, as your port choice and object naming implies or if you should really just be using the built-in functionality to add a setup time when the Type changes.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Aug 2022 11:27:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553972#M57968</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-08-22T11:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Port by Case defined, how to complete my model?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553973#M57969</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Thanks, the first issue is sorted with using the default separator settings.
 &lt;P&gt;I guess the issue is don't understand the port to case scenario.&lt;/P&gt;
 &lt;P&gt;What defines the case? and what defines the port?&lt;/P&gt;
 &lt;P&gt;The set up part should go to the sink, that's correct. The remaining items should go to the ports labelled after the product. A, B, or C.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Aug 2022 12:02:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553973#M57969</guid>
      <dc:creator>michael_c20</dc:creator>
      <dc:date>2022-08-22T12:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Port by Case defined, how to complete my model?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553974#M57970</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;So the setup part should leave through port 1 and all the others should enter port 2 - since that's where your combiner is putting the items onto the pallet.&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Aug 2022 12:55:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553974#M57970</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-08-22T12:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Port by Case defined, how to complete my model?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553975#M57971</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi,&lt;/P&gt;
 &lt;P&gt;I'm getting closer. Final hurdle&lt;/P&gt;
 &lt;P&gt;I now have materials processed and moved to a combiner output port.&lt;/P&gt;
 &lt;P&gt;Port by case takes them to the required area.&lt;/P&gt;
 &lt;P&gt;The problem is now, the three materials have different batch sizes. On the combiner components list I can only set one number.&lt;/P&gt;
 &lt;P&gt;Currently it's set to 1, which moves one pallet with one item. I need the following:&lt;/P&gt;
 &lt;P&gt;A - 120&lt;/P&gt;
 &lt;P&gt;B - 130&lt;/P&gt;
 &lt;P&gt;C 125&lt;/P&gt;
 &lt;P&gt;Is this possible?&lt;/P&gt;
 &lt;P&gt;Model: Production_sim_220822 V4&lt;/P&gt;
 &lt;P&gt;Thanks&lt;/P&gt;
 &lt;P&gt;Again&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Aug 2022 12:57:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553975#M57971</guid>
      <dc:creator>michael_c20</dc:creator>
      <dc:date>2022-08-22T12:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Port by Case defined, how to complete my model?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553976#M57972</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Add an entry trigger to the Unload with the combiner option to change the component list. This option assumes the Type label is on the pallet.  If you want to detect the component Type changing then edit the code and replace line 15 :&lt;/P&gt;&lt;PRE style="padding: 9.5px; font-family: Menlo, Monaco, Consolas, ;"&gt;if (port == 1) {&lt;!-- --&gt;&lt;/PRE&gt;&lt;P&gt;with this:&lt;/P&gt;&lt;PRE&gt;current.labels.assert(labelname);
if (port == 2 &amp;amp;&amp;amp; current.labels[labelname].value!=item.labels[labelname].value) { &amp;nbsp;&lt;/PRE&gt;&lt;P&gt;This assumes that you're sending the correct number of items for a batch into the press.   Otherwise you would need to detect the change and eject the pallet in order to avoid mixing components on the same pallet.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Aug 2022 13:19:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553976#M57972</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-08-22T13:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Port by Case defined, how to complete my model?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553977#M57973</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Absolutely fantastic.
 &lt;P&gt;Apologies for being so persistent with the questioning but I'm on a tight schedule.&lt;/P&gt;
 &lt;P&gt;Thanks for your help.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Aug 2022 13:32:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553977#M57973</guid>
      <dc:creator>michael_c20</dc:creator>
      <dc:date>2022-08-22T13:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Port by Case defined, how to complete my model?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553978#M57974</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;I forgot to add the line that sets the Type on the combiner:&lt;PRE&gt;current.labels[labelname].value=item.label[labelname].value;&lt;/PRE&gt;&lt;P&gt;that should go on the next line.&lt;/P&gt;&lt;P&gt;Note that this code looks a lot simpler if you're not writing it for the pop-up template and you're 'hard-coding' the label name into the trigger: &lt;/P&gt;&lt;PRE&gt;current.Type=item.Type;&lt;/PRE&gt;&lt;P&gt;The same goes for the rest of the code where .labels[labelname].value is used.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Aug 2022 14:26:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553978#M57974</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-08-22T14:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Port by Case defined, how to complete my model?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553979#M57975</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Sorry i don't understand that part, the first bit of code goes below the previously pasted part into line 15?&lt;/P&gt;
 &lt;P&gt;I'm getting errors.&lt;/P&gt;
 &lt;P&gt;I've also tried to mimic this onto a second press but i'm getting the following errors. Think it's my lack of grasp on porting by case?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1512356iFAFF0AB3510FE1EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.png" alt="error.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Aug 2022 14:48:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553979#M57975</guid>
      <dc:creator>michael_c20</dc:creator>
      <dc:date>2022-08-22T14:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Port by Case defined, how to complete my model?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553980#M57976</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 not sure you can access the model, but it's
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Production_sim_220822 v6&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Aug 2022 14:51:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553980#M57976</guid>
      <dc:creator>michael_c20</dc:creator>
      <dc:date>2022-08-22T14:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Port by Case defined, how to complete my model?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553981#M57977</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Type evaluates to 7 on the entry of the Unload combiner and you don't have 7 columns in CombinerTable2.&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Aug 2022 15:41:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/port-by-case-defined-how-to-complete-my-model/m-p/13553981#M57977</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-08-22T15:41:43Z</dc:date>
    </item>
  </channel>
</rss>

