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
|
|||
|
|||
Change the active Task
Hi,
We have build a storage area, in that flow items can be placed and stacked. A crane is dedicated to transport flow items in and from the area. The crane receives transport requests by the "use transport"-field. Now, when the crane is ready to do a task sequence, it may be, that the transport can not be done, because another flow item is stacked at to top of the item to move. So, the crane has to move the other object away at first. However, this situation is only clear just bevor the task sequence starts and not at the time the task sequence was created, i.e. over-writting of a passto-Event does not do the job. We want to check the situation just bevor the task sequence begins and if necessary, change the task sequence. Is there a way in Flexsim to do this? |
#2
|
|||
|
|||
One possible way of doing this is to modify the task sequence by inserting a CALLSUBTASKS task before the load task for the target item. When the CALLSUBTASKS is executed, you check to see if there is a blocking item and if there is you dispatch the tasks required to move it. Check the CALLSUBTASKS section of the user manual for a good explaination of how to do this.
DAnny |
The Following 4 Users Say Thank You to Danny Pavan For This Useful Post: | ||
Tom David (07-28-2010) |
#3
|
|||
|
|||
Yes, this is a good idea. We found another (simple) solution as well: The transport request is transformed into a single sendmessage task that contains all transport parameters (source, target, item). The message trigger of the crane receives the message at the right time, decide what to do and creates a corresponding task sequence with a very high priority value.
Thank you! |
The Following 2 Users Say Thank You to alanturing For This Useful Post: | ||
Tom David (07-29-2010) |
Thread | Thread Starter | Forum | Replies | Last Post |
The nodes in active view tree don't have unique names. | Tom David | Gripes and Goodies | 7 | 01-31-2013 07:01 AM |
How to change the speed of a conveyor? | Ariel Estrada | Tips and Tricks | 4 | 06-18-2010 09:37 AM |
Change Layout from GUI | Nico Zahn | Q&A | 4 | 12-24-2009 07:42 AM |
Change shape on Rack??? | Lars-Olof Leven | Q&A | 1 | 10-07-2009 11:59 AM |
How to change color when full? | Jamie Santa Ana | Q&A | 2 | 09-23-2009 06:00 PM |