ATTENTION

This 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

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 11-12-2008
David Chan David Chan is offline
Flexsim Distributor
 
Join Date: Sep 2007
Posts: 326
Downloads: 74
Uploads: 0
Thanks: 217
Thanked 73 Times in 44 Posts
Rep Power: 218
David Chan has a spectacular aura aboutDavid Chan has a spectacular aura aboutDavid Chan has a spectacular aura about
Default 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  
Old 11-13-2008
Brandon Peterson's Avatar
Brandon Peterson Brandon Peterson is offline
The Flexsim Consultant
 
Join Date: Jul 2007
Location: Salt Lake City, Utah
Posts: 382
Downloads: 29
Uploads: 6
Thanks: 192
Thanked 516 Times in 235 Posts
Rep Power: 490
Brandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant future
Default

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


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.