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 |
#2
|
||||
|
||||
my first idea
Hello Kellen,
my first idea is, give the number of operators you need a new utilize task in their actual tasksequence as further task. Otherwise dispatch a new utilize tasksequence with high priority explicitly to them. If all needed Operators are in the utilize task let the processor free those operators and then pick them by releasing the item. Have a look in the pick operators function: Multilple Teams Number of Dispatchers. To prevent that the freed operators do something else let the pick task be of the preempting type: preempt only with the highest actual priority of all tasksequences. It is really advanced stuff It isn't tested on a real model. Jörg Last edited by Jörg Vogel; 02-23-2011 at 04:46 AM. |
The Following User Says Thank You to Jörg Vogel For This Useful Post: | ||
Kellen Dick (02-23-2011) |
#5
|
|||
|
|||
Nope. I tried a couple things with no luck and set the problem aside for a few days.
|
#6
|
||||
|
||||
Kellen,
First, you can check to see if an operator is available by checking for an active task sequence. Code:
if(objectexists(gettasksequence(centerobject(current, 1), 0))) { //Operator has TS }else{ //Operator has no TS } Code:
if(getstatenum(centerobject(current, 1)) == STATE_IDLE) { //Operator has TS }else{ //Operator has no TS } Second, you will need to find a way of securing the other operators so that you don't have two items that each need two operators both thinking that they can go to a processor at the same time when there are only three operators available. You could do this this a coordinated task sequence that moves the item to the processor and then utilizes all the operators required. You can then use the freeoperators() command in the Process Finish trigger to release the operators from the coordinated task sequence. You will want to make sure that you use sync tasks to insure that all of the operators have traveled to the processor before you unload the item into the processor. This will make sure that you don't have people in transit when you start the work on the item. I hope that this helps, Brandon
__________________
thats not normal. |
The Following User Says Thank You to Brandon Peterson For This Useful Post: | ||
Scott Mackay (03-08-2011) |
Thread | Thread Starter | Forum | Replies | Last Post |
Need FS V 5.0.0 First Release | Gleny Rodriguez | Installation | 2 | 06-04-2010 02:28 PM |
Compiling a DLL in release mode | Steven Hamoen | Q&A | 1 | 04-29-2010 09:02 AM |
Release schedule | Roland Tainton | Q&A | 3 | 03-17-2009 05:46 AM |