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
|
|||
|
|||
Placing item in respective cell of a rack
Hi,
I am trying understand what is relationship between flowitems that are created by Onmessage by a rack and the Place in bay/level function. I have used Onmessage to create 6 flowtems that carried a respective itemtype. I would like to place the items into the respective cell of a rack that 2 bay x 3 level. I have global table (known as "loc", col 1 is for bay and col 2 is for level) that specify the location of each item according to the itemtype. I have used the template place in bay by gettablenum("loc", getitemtype(item),1); and level gettablenum("loc", getitemtype(item),2); However, I can't have the item goes to the respective cell. Please advise
__________________
Advent2 Labs David |
#2
|
||||
|
||||
David,
The easiest way to get the place an item placed in the bay and rack that you want is to insure that the flowitem enters the object through a port. If you create the item with the create copy command then you will want to create it in the model and them move it into the object with the move object command. You can bypass some of the work by using the insertcopy command. Both of these options will cause the item to fire the OnReceive event to fire and will thus place the item using the default code of the rack. Good luck, Brandon
__________________
thats not normal. |
Thread | Thread Starter | Forum | Replies | Last Post |
how to make a Rotary Rack? | qin tian | Q&A | 14 | 09-04-2009 01:32 AM |
Cell Control in a Rack | Gavin Douglas | Q&A | 2 | 10-22-2008 09:16 AM |
Pull items out of a rack | BenjaminBuecklein | Q&A | 1 | 09-22-2008 03:59 AM |
different capacity for different flow item for a same TE | KelvinHo | Q&A | 10 | 08-28-2008 08:12 AM |
lifo fom a rack?? | Kevin Baird | Q&A | 4 | 06-26-2008 04:23 PM |