<?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: Associate Robots to a specific queue in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543393#M49623</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;I would follow Felix's suggestion by adding a label to each of the queues that assigns a robot number (1 or 2). Then assign a label to the robot that's the same value as the label on the queues you want to attached to that robot. In the Acquire Robot activity, you can use the query below to acquire the robot where the two labels match:&lt;/P&gt;&lt;PRE&gt;WHERE &lt;EM&gt;LabelOnRobot =&amp;nbsp;&lt;/EM&gt;puller.Queue.&lt;EM&gt;LabelOnQueue&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;You could add a combiner, or you could have both robots share the one in the middle doing something similar to what was done above. If all combiners are never used at once, you might even be able to get rid of the third one.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 13 Jul 2021 15:40:20 GMT</pubDate>
    <dc:creator>eric_m3</dc:creator>
    <dc:date>2021-07-13T15:40:20Z</dc:date>
    <item>
      <title>Associate Robots to a specific queue</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543388#M49618</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.0.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello,&lt;/P&gt;
 &lt;P&gt;I'm doing a crossdocking system and I have a question about how to associate robots to a specific queue.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;I have 6 queues, each one represents an area destinated to the items needed to fullfill a specific dispatch order. Then, I have 2 robots that grab the items of a queue and send them to a combiner, combining those items with a pallet. So, I wnat that robot1 only grab items from Queue1,2,3 and robot2 of Queue3,4,5.&lt;/P&gt;
 &lt;P&gt;How can I do this?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;If requested I can post my model.&lt;/P&gt;
 &lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/29530/ericm3.html" nodeid="29530"&gt;@Eric M&lt;/A&gt; &lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 12 Jul 2021 19:39:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543388#M49618</guid>
      <dc:creator>jose_a10</dc:creator>
      <dc:date>2021-07-12T19:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Associate Robots to a specific queue</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543389#M49619</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/30542/josea10.html" nodeid="30542"&gt;@Jose A10&lt;/A&gt;, I would add some kind of reference on the Queues to the robot you want to use. This could be a label or an s-connection or something. Then when the items are ready to be transported, you can create a task sequence for the robot and reference it based on the label / connection. The key here is just using some kind of logic that will allow you to reference the robot based on which queue the items are in when creating a task sequence.&lt;/P&gt;&lt;P&gt;In the attached example, I used an s-connection from the queues to the robots. I created a label referencing the item's specific queue in the Source activity. Then, in the Create Task Sequence activity, I use the code &lt;EM&gt;token.Queue.centerObjects[1] &lt;/EM&gt;to assign the task sequence to the desired robot. Let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/41746-robot-based-on-queue.fsm" target="_blank"&gt;robot based on queue.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 12 Jul 2021 20:52:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543389#M49619</guid>
      <dc:creator>eric_m3</dc:creator>
      <dc:date>2021-07-12T20:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Associate Robots to a specific queue</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543390#M49620</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I understood the example you did, but I cant figure out how to insert that logic in my model. As you know, in the process flow in my model, I use the robots as a resource, to transport the items to the combiner. I have 3 combiners, 2 robots, so I dont know how to associate them. Even If I add another robot, I'm having difficulties creating the logic with process flow taking into account the logic that I've already have. &lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Jul 2021 09:40:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543390#M49620</guid>
      <dc:creator>jose_a10</dc:creator>
      <dc:date>2021-07-13T09:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Associate Robots to a specific queue</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543391#M49621</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You could send the token to a specific "Acquire" activity based on the queue the item has to be picked up from. Each of these activities can then only acquire a fitting robot by querying for a specific label value.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/temp/41757-robotbyqueue-query.fsm" target="_blank"&gt;RobotByQueue_Query.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Jul 2021 13:37:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543391#M49621</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2021-07-13T13:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Associate Robots to a specific queue</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543392#M49622</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;The logic of my model sets a dispatch order to a specific queue. Then the items with the same label value as the required goes to that queue. When the order is fullfilled there are different items with different label values. I've attached my model, so you can understand what I am trying to do and perhaps give me a hand with this.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;As you can see in the model attached, I have 6 UA (queues), and 2 robots to transport the items of an order to a combiner where they are combined with a pallet. I want to specify that the robot1 only works with UA1,2,3 and Robot2 with UA4,5,6.&lt;/P&gt;
 &lt;P&gt;Another question came to my mind. Should I add another combiner and use one robot for 2 combiners?&lt;/P&gt;
 &lt;P&gt;Appreciate the answer.&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/temp/41774-draft-crossdock.fsm" target="_blank"&gt;Draft_Crossdock.fsm&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Jul 2021 13:45:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543392#M49622</guid>
      <dc:creator>jose_a10</dc:creator>
      <dc:date>2021-07-13T13:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Associate Robots to a specific queue</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543393#M49623</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;I would follow Felix's suggestion by adding a label to each of the queues that assigns a robot number (1 or 2). Then assign a label to the robot that's the same value as the label on the queues you want to attached to that robot. In the Acquire Robot activity, you can use the query below to acquire the robot where the two labels match:&lt;/P&gt;&lt;PRE&gt;WHERE &lt;EM&gt;LabelOnRobot =&amp;nbsp;&lt;/EM&gt;puller.Queue.&lt;EM&gt;LabelOnQueue&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;You could add a combiner, or you could have both robots share the one in the middle doing something similar to what was done above. If all combiners are never used at once, you might even be able to get rid of the third one.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Jul 2021 15:40:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543393#M49623</guid>
      <dc:creator>eric_m3</dc:creator>
      <dc:date>2021-07-13T15:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Associate Robots to a specific queue</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543394#M49624</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;As you said, I created 3 new labels for the queues:&lt;/P&gt;
 &lt;P&gt; UA1 and UA2 - L1&lt;/P&gt;
 &lt;P&gt;UA3 and UA4 - L2&lt;/P&gt;
 &lt;P&gt;UA5 and UA6 - L3&lt;/P&gt;
 &lt;P&gt;Then I added a new robot (Robot3), this way I can have 1 robot per 2 queues(UA), and one robot per combiner. Then I inserted the query in the acquire robot activity, but then the system stops when the items reach the UA's. The token is stuck in the acquire robots activity. &lt;/P&gt;
 &lt;P&gt;Please, take a look at the model I attched in this comment so I can understand why it doesnt work. &lt;/P&gt;
 &lt;P&gt;&lt;A rel="nofollow noopener noreferrer" href="https://answers.flexsim.com/storage/temp/41792-draft-crossdock.fsm" target="_blank"&gt;Draft_Crossdock.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 14 Jul 2021 09:59:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543394#M49624</guid>
      <dc:creator>jose_a10</dc:creator>
      <dc:date>2021-07-14T09:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Associate Robots to a specific queue</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543395#M49625</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/30542/josea10.html" nodeid="30542"&gt;@Jose A10&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;The name of the label should be the same on each object of one categery. It is the value of the value that will be used to distinguish between them. So for example, all Queues get a label called "Number". For the UA1 and UA2 its value is 1 for UA3 and UA4 2 and for UA5 and UA6 it is 3.&lt;/P&gt;&lt;P&gt;In the query, you ought to replace "LabelOnRobot" and "LabelOnQueue" with the actual names of the labels you assigned. In this version of your model I just used "Number" as the name for the labels on the queues, robots and combiner.&lt;/P&gt;&lt;P&gt;You should also only acquire a combiner &lt;STRONG&gt;after &lt;/STRONG&gt;you know which queue the items are coming from, so you can use the same logic to acquire the correct combiner.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/temp/41794-draft-crossdock-1.fsm" target="_blank"&gt;draft-crossdock_1.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 14 Jul 2021 12:36:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543395#M49625</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2021-07-14T12:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Associate Robots to a specific queue</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543396#M49626</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;So for the combiners the query is the same? I will add an activity Acquire: Combiner before the activity Assign Labels: Pallet, and then in the query i will insert the query, right?&lt;/P&gt;
 &lt;PRE style="padding: 9.5px; font-family: Menlo, Monaco, Consolas, "&gt;WHERE Number&lt;EM&gt; =&amp;nbsp;&lt;/EM&gt;puller.Queue.Number&lt;/PRE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Jul 2021 10:53:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543396#M49626</guid>
      <dc:creator>jose_a10</dc:creator>
      <dc:date>2021-07-15T10:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Associate Robots to a specific queue</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543397#M49627</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Yes, you acquire the combiner after you assign the "Queue" label to the token and before assigning the pallet (because that depends on which combiner you acquire). The label on the combiner is also called "Number" so the query is correct.&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Jul 2021 13:19:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543397#M49627</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2021-07-15T13:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Associate Robots to a specific queue</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543398#M49628</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Ok! Thank you both, it was a great help!!
&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Jul 2021 16:29:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/associate-robots-to-a-specific-queue/m-p/13543398#M49628</guid>
      <dc:creator>jose_a10</dc:creator>
      <dc:date>2021-07-15T16:29:50Z</dc:date>
    </item>
  </channel>
</rss>

