<?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 Using rack slots to sort items by label, and then picking once slot is full? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/using-rack-slots-to-sort-items-by-label-and-then-picking-once/m-p/13522878#M33335</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.0.0 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;A id="24959" href="https://answers.flexsim.com/storage/attachments/24959-sort-and-put-away.fsm"&gt;sort-and-put-away.fsm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hi all, &lt;/P&gt;
&lt;P&gt;I've got a little model I'm working on (please see attached) where flow units are assigned a random label, 1 to 66. Ideally I would like the process flow to proceed as such - &lt;/P&gt;
&lt;P&gt;-The operator to take the first flow item from the conveyor, and puts it in the first available slot in the racks.&lt;/P&gt;
&lt;P&gt;- Subsequent flow items with different labels then go on the next available slots. &lt;/P&gt;
&lt;P&gt;- When a flow item arrives that matches a previous "type" label, it gets put away in the same slot. &lt;/P&gt;
&lt;P&gt;- When a slot has 4 flow items with the same "type" stored in it, the operator then stops picking from the conveyor and puts the stored 4 flow items in the first available queue location. &lt;/P&gt;
&lt;P&gt;I've tried using the paint slots function, which means I can label the rack slots 1-66, so flow allocation occurs. But that doesn't help with populating the rack logically from the first available space. Is slot painting any use in the situation?&lt;/P&gt;
&lt;P&gt;I'm thinking I'll have to use a dispatcher for controlling the operator. But at the moment my main issue is how can I fill the rack from the first position, but have subsequent flow items with matching labels go to the same storage slot?&lt;/P&gt;
&lt;P&gt;My apologies in advance if any of this isn't very clear, and many thanks in advance if anyone can offer me some advice! &lt;/P&gt;
&lt;P&gt;Kind regards, &lt;/P&gt;
&lt;P&gt;Ben &lt;/P&gt;</description>
    <pubDate>Thu, 16 Jan 2020 09:42:40 GMT</pubDate>
    <dc:creator>ben_r4</dc:creator>
    <dc:date>2020-01-16T09:42:40Z</dc:date>
    <item>
      <title>Using rack slots to sort items by label, and then picking once slot is full?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/using-rack-slots-to-sort-items-by-label-and-then-picking-once/m-p/13522878#M33335</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.0.0 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;A id="24959" href="https://answers.flexsim.com/storage/attachments/24959-sort-and-put-away.fsm"&gt;sort-and-put-away.fsm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hi all, &lt;/P&gt;
&lt;P&gt;I've got a little model I'm working on (please see attached) where flow units are assigned a random label, 1 to 66. Ideally I would like the process flow to proceed as such - &lt;/P&gt;
&lt;P&gt;-The operator to take the first flow item from the conveyor, and puts it in the first available slot in the racks.&lt;/P&gt;
&lt;P&gt;- Subsequent flow items with different labels then go on the next available slots. &lt;/P&gt;
&lt;P&gt;- When a flow item arrives that matches a previous "type" label, it gets put away in the same slot. &lt;/P&gt;
&lt;P&gt;- When a slot has 4 flow items with the same "type" stored in it, the operator then stops picking from the conveyor and puts the stored 4 flow items in the first available queue location. &lt;/P&gt;
&lt;P&gt;I've tried using the paint slots function, which means I can label the rack slots 1-66, so flow allocation occurs. But that doesn't help with populating the rack logically from the first available space. Is slot painting any use in the situation?&lt;/P&gt;
&lt;P&gt;I'm thinking I'll have to use a dispatcher for controlling the operator. But at the moment my main issue is how can I fill the rack from the first position, but have subsequent flow items with matching labels go to the same storage slot?&lt;/P&gt;
&lt;P&gt;My apologies in advance if any of this isn't very clear, and many thanks in advance if anyone can offer me some advice! &lt;/P&gt;
&lt;P&gt;Kind regards, &lt;/P&gt;
&lt;P&gt;Ben &lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 09:42:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/using-rack-slots-to-sort-items-by-label-and-then-picking-once/m-p/13522878#M33335</guid>
      <dc:creator>ben_r4</dc:creator>
      <dc:date>2020-01-16T09:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using rack slots to sort items by label, and then picking once slot is full?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/using-rack-slots-to-sort-items-by-label-and-then-picking-once/m-p/13522879#M33336</link>
      <description>&lt;P&gt;See attached if this is what you are looking for.  I used this expression in the Rack's Slot Assignment Strategy field:&lt;/P&gt;&lt;PRE&gt;slot.slotItems.length &amp;gt; 0 ? slot.slotItems[1].Type == item.Type : true&lt;/PRE&gt;&lt;P&gt;basically this says if there are items in a given slot, then the 'Type' of the first item in the slot must match the 'Type' of the item looking for a slot.  If the slot is empty go ahead and use it.  Since this field uses a 'for' loop in the code, it should just default to the first slot with space.  No slot painting required.&lt;/P&gt;&lt;P&gt;&lt;A id="24975" href="https://answers.flexsim.com/storage/attachments/24975-first-or-matching-slot.fsm"&gt;first-or-matching-slot.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 18:23:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/using-rack-slots-to-sort-items-by-label-and-then-picking-once/m-p/13522879#M33336</guid>
      <dc:creator>regan_blackett</dc:creator>
      <dc:date>2020-01-16T18:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using rack slots to sort items by label, and then picking once slot is full?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/using-rack-slots-to-sort-items-by-label-and-then-picking-once/m-p/13522880#M33337</link>
      <description>&lt;P&gt;Thanks Regan, lovely bit of code! &lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 17:19:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/using-rack-slots-to-sort-items-by-label-and-then-picking-once/m-p/13522880#M33337</guid>
      <dc:creator>ben_r4</dc:creator>
      <dc:date>2020-01-17T17:19:51Z</dc:date>
    </item>
  </channel>
</rss>

