<?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: How can I can make the operator load each slot in rack in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-can-make-the-operator-load-each-slot-in-rack/m-p/13601803#M95338</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;You were testing if it's zero.  The code I gave does the opposite - it checks that it's not zero.   If you'd copied the code exactly as I had it it will work.  I attached a model for moderators to support you further that does exactly this and uses exactly the code I specified.&lt;/DIV&gt;</description>
    <pubDate>Mon, 05 Feb 2024 12:16:38 GMT</pubDate>
    <dc:creator>jason_lightfoot_adsk</dc:creator>
    <dc:date>2024-02-05T12:16:38Z</dc:date>
    <item>
      <title>How can I can make the operator load each slot in rack</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-can-make-the-operator-load-each-slot-in-rack/m-p/13601796#M95331</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.2.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I set the rack with different item Type then I want to make the worker load each slot with the number of boxes that have loaded it put it in the processor and process the boxes as one process time (not each one separately)&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/78570-loading.fsm" target="_blank"&gt;loading.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 30 Jan 2024 18:05:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-can-make-the-operator-load-each-slot-in-rack/m-p/13601796#M95331</guid>
      <dc:creator>Basla</dc:creator>
      <dc:date>2024-01-30T18:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can I can make the operator load each slot in rack</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-can-make-the-operator-load-each-slot-in-rack/m-p/13601797#M95332</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;One approach:&lt;/P&gt;&lt;P&gt;1) Set the Processor capacity to a large number&lt;/P&gt;&lt;P&gt;2) Set the Operator capacity to a large number.&lt;/P&gt;&lt;P&gt;3) Set the Operator breakTo to "Same Label" and set that to 'Type'&lt;/P&gt;&lt;P&gt;4) Set the Processor's pull requirement to pull labels that match a new 'Type' label on the &lt;EM&gt;processor &lt;/EM&gt;by&lt;EM&gt;:&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;a) When current.Type is 0, set it to item.Type and return 1&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;b) When current.Type is non-zero, return 1 if the item and current Types match, zero otherwise.&lt;/P&gt;&lt;P&gt;5) When the last item exits the processor set the Type to zero and open the input to invoke the pull again.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Feb 2024 13:57:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-can-make-the-operator-load-each-slot-in-rack/m-p/13601797#M95332</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2024-02-01T13:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can I can make the operator load each slot in rack</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-can-make-the-operator-load-each-slot-in-rack/m-p/13601798#M95333</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;for the 4 and 5 is it going to be using process flow or directly for pull requirement using specific label and will be like: if (current.Type == 0){ return 1}?&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1706805018614.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1522135i637A762C33752B47/image-size/large?v=v2&amp;amp;px=999" role="button" title="1706805018614.png" alt="1706805018614.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/78676-loading.fsm" target="_blank"&gt;loading.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Feb 2024 16:31:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-can-make-the-operator-load-each-slot-in-rack/m-p/13601798#M95333</guid>
      <dc:creator>Basla</dc:creator>
      <dc:date>2024-02-01T16:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can I can make the operator load each slot in rack</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-can-make-the-operator-load-each-slot-in-rack/m-p/13601799#M95334</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;It's probably going to be easier to just write a tiny bit of FlexScript for that:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1706806362747.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1522139i3C2858BAA63ABBBB/image-size/large?v=v2&amp;amp;px=999" role="button" title="1706806362747.png" alt="1706806362747.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Feb 2024 16:52:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-can-make-the-operator-load-each-slot-in-rack/m-p/13601799#M95334</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2024-02-01T16:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can I can make the operator load each slot in rack</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-can-make-the-operator-load-each-slot-in-rack/m-p/13601800#M95335</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;SPAN id="isPasted" 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; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;Thank you, I managed to make changes based on the Flexscript provided. Now it is loading and processes the same label as one. Can I make the operator wait to finish processing and then go pick the next one? after that, I tried to make each item.Type as one shape by putting a trigger on the finish process 3D shape but didn't work. is there another way to do that?&lt;/SPAN&gt;&lt;/P&gt;
 &lt;P&gt;&lt;SPAN id="isPasted"&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/78711-loading.fsm" target="_blank"&gt;loading.fsm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Feb 2024 01:47:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-can-make-the-operator-load-each-slot-in-rack/m-p/13601800#M95335</guid>
      <dc:creator>Basla</dc:creator>
      <dc:date>2024-02-02T01:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can I can make the operator load each slot in rack</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-can-make-the-operator-load-each-slot-in-rack/m-p/13601801#M95336</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You made a mistake - line 6 is "if (current.Type)" not item.Type.&lt;/P&gt;&lt;P&gt;When it comes to clearing the type - do that on the exit trigger and test if the processor has 1 item inside it (since it's about to be the last to leave and therefore you can pull another type).&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Feb 2024 14:21:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-can-make-the-operator-load-each-slot-in-rack/m-p/13601801#M95336</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2024-02-02T14:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: How can I can make the operator load each slot in rack</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-can-make-the-operator-load-each-slot-in-rack/m-p/13601802#M95337</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;when i am using current.Type as you mentioned is not working for me it gives me error for pulling requirements that is why I am using item.Type and there is no argument for the if(current.Type) statement&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Feb 2024 20:35:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-can-make-the-operator-load-each-slot-in-rack/m-p/13601802#M95337</guid>
      <dc:creator>Basla</dc:creator>
      <dc:date>2024-02-02T20:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I can make the operator load each slot in rack</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-can-make-the-operator-load-each-slot-in-rack/m-p/13601803#M95338</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;You were testing if it's zero.  The code I gave does the opposite - it checks that it's not zero.   If you'd copied the code exactly as I had it it will work.  I attached a model for moderators to support you further that does exactly this and uses exactly the code I specified.&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Feb 2024 12:16:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-can-make-the-operator-load-each-slot-in-rack/m-p/13601803#M95338</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2024-02-05T12:16:38Z</dc:date>
    </item>
  </channel>
</rss>

