ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
||||
|
||||
How to sort items in a transporter
Hello community,
we have a problem with a small modell. We can´t find a solution. Describtion: The model includes 3 sources, which creates 3 different labels. We need the label to send the Items into the right queue. In the example file (see attachment) we control that with an pull requirement. Problem: In the attached file, the transport traveled first to queue 8, then 7 and last to queue 6. How can I sort the label on the transporter, that he will going to queue 6 first. Our solution: First, we has tried to sort the label in the queue. We used the trigger "on exit". - problem persists In the next step, we wanted to sort the label in the trigger "load" into the transporter. - problem persists Thanks for answers. |
#2
|
||||
|
||||
Hi Michael,
please have a look into Queue 5. I'm using the flow control and "sent to port" option to control the material flow. I removed the code from the other queues. I hope this is useful to you. Greetings Carsten |
The Following User Says Thank You to Carsten Seehafer For This Useful Post: | ||
Michael Herfert (12-08-2011) |
#3
|
||||
|
||||
Changing the unloading order of loaded items
Hi Michael,
if you still want to change the order of the unloading process I have attached a small model. The code is written mostly in the Onload-trigger of the transporter. First the current active tasksequence ist getting a new priority, which is higher than any not started tasksequence. The following code checks if the current loaded item is the last. It is the last if there isn't any loading capacity left or there isn't any not-started tasksequence in the tasksequencequeue. Then is a message sent. OnMessage a preempting tasksequence is dispatched. It consists only of a delay task with no delay time. But that is enough to move the currently active tasksequence back in the tasksequencequeue. Then all tasksequences are in the queue and the QueueStrategy choose the tasksequence of the highest priority to be executed next. Jörg Last edited by Jörg Vogel; 12-03-2014 at 02:49 AM. |
The Following User Says Thank You to Jörg Vogel For This Useful Post: | ||
Michael Herfert (12-21-2011) |
#4
|
||||
|
||||
Hello Mr. Seehafer and Mr. Vogel,
many thanks for your replys. We found a solution for our problems with a mix of both example models. Merry Christmas and a happy New Year. Kind regards Michael Herfert |
#5
|
||||
|
||||
Use UnLoad-Trigger
Hello all together,
fo me it is a very interessting topic because i'm trying to simplify my self created milk run model. Now I had some time to have a look at and I think there is a much easier solution. If you have a look at the Unload-Trigger, you can find the option "Unload all items intended for this station". I used this comand in the sample model and removed all sorting and other coding and it worked well. Is there anything what I have to look for? To be honest: It seems to easy for me Greetings, FlorianK |
Thread | Thread Starter | Forum | Replies | Last Post |
Reversing a Transporter | Nischith Kashyap | Q&A | 3 | 06-15-2011 01:51 AM |
Stop a Transporter | Nischith Kashyap | Q&A | 1 | 02-24-2011 03:05 AM |
Merge Sort Virtual Length | John Behrends | Q&A | 1 | 12-13-2010 02:30 AM |
Sort a picklist for picking from a rack | Michael Pohl | Tips and Tricks | 0 | 09-30-2009 02:28 AM |
Operator not unloading items before picking up priority items | Howe Chiat Cheng | Q&A | 2 | 05-28-2008 02:05 AM |