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
|
|||
|
|||
Are cranes aware of the objects?
Hi everybody,
A Crane is unloading and uploading containers, but it seems to me non-trivial how to inform the rest of my environment that what kind of container the crane is planning to discharge or upload and asking the crane to wait until certain circumstances are fulfilled. Is there any trigger associated to the cranes such that we can set a global variable about the next job (currently) especially for those which is going to discharge. any comment is appreciated. |
#2
|
||||
|
||||
Hello Shahin,
a crane is a taskexecuter. As long as the taskexecuter execute a tasksequence the next tasksequence isn't choosen and you don't know nothing about the next item to load. There is a possibility, that the next tasksequence will be the first in the tasksequencequeue or the one with the highest priority. But until flexsim choose the tasksequence you can't be absolute sure what is going to happen. There maybe a new taskesequence with a higher priority in the meantime or you change the priorities of the tasksequences in the queue. If you think that all doesn't matter to you. You can querry the tasksequences in the tasksequencesqueue in your taskexecuter or in the dispatcher if you use one. Have a look in the help users manual > Task Sequences > Querying Information on Task Sequences. If you haven't changed the standard tasksequence or have built your own, then is the reference to the item to load in the second task in the first involved number or: Code:
treenode nextTS = gettasksequence(current,1);// assuming you querry in the taskexecuter and you haven't any dispatcher treenode itemToLoad = gettaskinvolved(nextTS, 2, 1); |
The Following User Says Thank You to Jörg Vogel For This Useful Post: | ||
Shahin Gelareh (12-12-2011) |
Thread | Thread Starter | Forum | Replies | Last Post |
Multiple Cranes - best way | JMEngelhart | Tips and Tricks | 4 | 03-09-2015 09:30 AM |
Double Hoist Cranes | James Morley | Container Terminal (CT) Library | 3 | 10-22-2012 11:40 PM |
change the objects in self modeled objects | Manuel Kraenzle | Q&A | 7 | 10-27-2008 02:29 PM |
Isolating Operator from overhead cranes | Nathan Dwyer | Q&A | 1 | 08-27-2008 06:25 AM |
Can’t stop cranes colliding | Kenny Macleod | Q&A | 8 | 07-16-2008 10:18 AM |