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
|
||||
|
||||
Hi,
one way would be to use a conveyor. On which pallets are traveling. Each pallets represent one rack. The pallet owns already a function, which places the flowitems on it. If you choose the size of the pallet similar to the flowitem size then the flowitems are stacked on top of each other. Probably you could write your own logic, how to stack the flowitems. The last step is simply to change the shape of the pallet. There exists a demo model, which uses pallets on a conveyor: PalletConveyorLoopExample.fsm. First when I was testing this model from flexsim 3.51, the pallets weren't displayed. I repair this behaviour in the flowitem bin under tools. After that the model works fine. best regards Jörg |
The Following User Says Thank You to Jörg Vogel For This Useful Post: | ||
qin tian (11-08-2008) |
#3
|
||||
|
||||
Qin Tian,
if you need flexibility regarding no. of racks and/or size of the rotating rack, I would use kinematics to have the standard rack objects with only one bay per rack traveling around. So you could easily change dimensions of a rotating rack... Regards Ralf aka ralle |
#5
|
||||
|
||||
Qin,
Please read the help file about the kinematics and take a look at this model: http://www.flexsim.com/community/for...?do=file&id=14 This model can be found in the download section under user concept models. If you have any particular questions after that please ask again. Steven |
The Following User Says Thank You to Steven Hamoen For This Useful Post: | ||
Scott Mackay (10-08-2009) |
#6
|
|||
|
|||
I am considering two solutions
1 put rack in pallet, then use conveyor. 2 put rack in railobject using railAPI Anthony supplied. Which one is better? |
#8
|
|||
|
|||
Hi, I have made a sample using conveyor, and it seems work.
Last edited by qin tian; 11-10-2008 at 06:25 AM. Reason: modify |
The Following User Says Thank You to qin tian For This Useful Post: | ||
Jörg Vogel (11-11-2008) |
#9
|
|||
|
|||
Quote:
|
#10
|
|||
|
|||
professor qin ,there are something wrong in your model,if you create more flowitem,or when you inserttask(ts,TASKTYPE_SETNODENUM, getvarnode(current,"speed"),NULL,10);Error will come out. If you look carefully,the rack will jump when you inserttask(ts,TASKTYPE_SETNODENUM, getvarnode(current,"speed"),NULL,1);
i think we can not dynamicly change the convey's speeds by inserttask(ts,TASKTYPE_SETNODENUM, getvarnode(current,"speed"),NULL,1). i do not know why . can anybody tell me why? i change your model,it run well. |
#11
|
||||
|
||||
In a way this is a strange question. How can you expect that an object behaves correct, if you just change the value of a node? What happens with the events in this object? If you just change the speed value nothing happens to the current events in this object and the items in the object might behave in a strange way. I did not have a look into the model, but I guess there are more things to take care of. There is a command changeconveyorspeed() and I would think there are more things done behind the scenes like recalculate the events. I am not sure if there is an easy way to call such a command inside a task sequence, because there is not such a task type. Maybe something can be done by splitting the task sequence and use the send message task to evaluate some code and afterwards create a new task sequence with the other tasks.
Would it be an idea to have such a task type, like executestring() TASKTYPE_EXECUTESTRING or TASKTYPE_CALLCOMMAND? I guess it would give a lot of flexibility, but maybe there are technical issues.
__________________
tom the (A)tom: "We have solved our problems ... now we have to fight the solutions." |
The Following User Says Thank You to Tom David For This Useful Post: | ||
Phil BoBo (08-31-2009) |
#13
|
||||
|
||||
Linwei,
I am not sure what you are trying to do, because what you describe in your post you are not doing in your model ( I had a look into the code you just change the node value speed). If you want to change the conveyor speed of a conveyor, use the command changeconveyorspeed(). The variables node “speed” will be set within the command, so you don’t need to do it manually. Please just use the command changeconveyorspeed(current,1) at OnEntry Trigger and changeconveyorspeed(current,100) in the photo eye trigger. The conveyor then will change the speed between 1 and 100, depending when which event will be fired. If you want to set the speed to zero, I guess this is more a stop of the conveyor and I would use stopobject() and resumeobject(). Looks like changeconveyorspeed(current,0) is also working, because it takes the events for the conveyor away and is creating new ones. But in the above example, the photo eye trigger will not be fired, so the model will not working. That’s why I choose 1 and 100. Looks like you did not read my last post or you did not understand what I meant. Just use changeconveyorspeed().
__________________
tom the (A)tom: "We have solved our problems ... now we have to fight the solutions." |
#14
|
|||
|
|||
sorry ,tom David ,i do not read your last post,it seemd we posted last post at same time.i used task squence to make a rotary rack ,just a simple example,and i want to used kinematics to make a rotary rack,but the rack can not rotate Around the axis (not its axis),and the command initkinematics(node infonode, obj object [, num managerotation, num localcoords]),chang managerotation and localcoords 1 to 0 not action.detail see attach.
|
Thread | Thread Starter | Forum | Replies | Last Post |
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 |
lifo fom a rack?? | Kevin Baird | Q&A | 4 | 06-26-2008 04:23 PM |
Rotary Crane | Nico Zahn | Q&A | 2 | 11-13-2007 01:58 AM |
Rack Varying Dwell Times | Jeff Nordgren | Q&A | 0 | 08-09-2007 03:06 PM |