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 |
|
Downloads |
Flexsim Student Forum Forum for discussion for Flexsim Students using the Flexsim Textbook. |
#1
|
|||
|
|||
Setup Priority problem
I'm working on a one man 4 machine problem.The operator is responsible for loading / unloading parts
Problem - Please take a look at the model. when loading/unloading time of operator is 0 sec, operator is working that I want. But When I change loading/unloading time to 4 sec, operator isn't working that I want. Operator should do the next work after he finish the current work. but when loading/unloading time is 4 sec, operator go to the next work before he doesn't finish current work. I think that priority or preemtion is cause of this problem. Can someone please help me fix the model? You help is much appreciated! |
#2
|
||||
|
||||
Hi,
what is your intention to use the preempting value 3 Quote:
You delete with it all task sequences which have been allready created and stored at your dispatcher. The Transfer of Products won't happen, for all the Products (items) your modell created task sequences so far. How or in which order do you want to transfer the products? You created a custom code in the separator. Therein you use "a" for a variable name. That might work here, but "a" has got a relation to special functions in the flexsim engine. The use is not advisable. Here is another hint to you source code for the if-conditions in the separator at the flow end. Port 1 is the connection to the sink. For the Port 2 and 3 you set the return value to the reference towards the task executer. All this is correct. You can shorten this: Code:
/**Custom Code*/ treenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); if(port>1) return tonum(centerobject(current,1)); else { transportoutcomplete(current, item, port); transportincomplete(outobject(current, port), item, opipno(current, port)); moveobject(item, outobject(current, port), port); } Last edited by Jörg Vogel; 05-29-2015 at 02:59 AM. Reason: Remark using "a" as a name |
The Following User Says Thank You to Jörg Vogel For This Useful Post: | ||
Steven Hamoen (05-29-2015) |
Thread | Thread Starter | Forum | Replies | Last Post |
Setup priority problem | Varsha Venugopal | Marketing and Sales Information | 2 | 07-26-2013 12:10 PM |
Preempt, Priority or Port Control | Lorenzo Gutierrez | Q&A | 1 | 04-10-2013 10:08 AM |
Task Priority | john mic | Q&A | 1 | 11-17-2010 03:56 AM |
one question about tasksequence priority? | LINWEIXU | Q&A | 6 | 08-07-2009 09:15 PM |
I have a problem about " priority" | Vic Li | Q&A | 0 | 03-20-2008 06:31 AM |