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-19-2008
Tom David's Avatar
Tom David Tom David is offline
Flexsim User
 
Join Date: Aug 2007
Location: Schwaebisch Gmuend, Germany
Posts: 430
Downloads: 157
Uploads: 47
Thanks: 486
Thanked 450 Times in 233 Posts
Rep Power: 520
Tom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant future
Default How to change the location of items in a rack cell from y to x direction?

Community,

I got this question from a user and unfortunately I do not have the time in the moment to have a deep look into it. But maybe someone has an idea or a solution.

Normally items get place in y-direction in a cell (level/bay) of a rack. Is there a simple solution to place them in x-direction into the cell?
I guess that this can be done in the OnEntry Trigger and it’s collecting of information (number of items in a cell, etc.) and some math where to place the items depending on this information.

Anyway, the question is if there is a simple solution or does anyone have some code for this.

I will really appreciate if someone can help or has a good idea.
__________________
tom the (A)tom: "We have solved our problems ... now we have to fight the solutions."
  #2  
Old 11-19-2008
qin tian qin tian is offline
Flexsim User
 
Join Date: Dec 2007
Location: Shanghai, China
Posts: 137
Downloads: 115
Uploads: 0
Thanks: 59
Thanked 3 Times in 3 Posts
Rep Power: 161
qin tian is on a distinguished road
Default

In OnEntry Trigger

setrot(item,0,0,90);
  #3  
Old 11-19-2008
Tom David's Avatar
Tom David Tom David is offline
Flexsim User
 
Join Date: Aug 2007
Location: Schwaebisch Gmuend, Germany
Posts: 430
Downloads: 157
Uploads: 47
Thanks: 486
Thanked 450 Times in 233 Posts
Rep Power: 520
Tom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant future
Default

Qin Tian,

Thanks for the answer but that's not what I meant.
Maybe my description was not good enough.

I mean if there is place for more than one item in a cell the items are placed next to each other in y-direction.
First one e.g. y = 0, second one y = 0 + ysize(item), third one y = 0 + ysize(first) + yisze (second), etc.
I ask to place them in x-direction so that they are in a line like the horizontal line in a queue.
__________________
tom the (A)tom: "We have solved our problems ... now we have to fight the solutions."
  #4  
Old 11-23-2008
Tom David's Avatar
Tom David Tom David is offline
Flexsim User
 
Join Date: Aug 2007
Location: Schwaebisch Gmuend, Germany
Posts: 430
Downloads: 157
Uploads: 47
Thanks: 486
Thanked 450 Times in 233 Posts
Rep Power: 520
Tom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant future
Default Support_RackItemsInXDirection_TD

Community,

Now I know why nobody had an easy hint to solve the task to place items in a rack not in y direction but in x direction next to each other.

I build a small model which does the job and it took me more than two hours to figure out how to do it. The tricky bit was that the rack has own functionality or I am just slow in thinking and coding.

Anyway you can find the model in the Support Model section (which is meant for such models) of the download area.

/downloadPages/file&id=169


I solve the problem by set the locations of the items in the OnEntry and OnExit Trigger of the Rack and used the picklist options First Available Bay and First Available Level with some additional code to store some needed information. This was necessary because the rack has its own functionality how to place items (standard in y direction next to each other) which needed to be overwritten.


Not to be off-topic in this thread I opened another thread called "General remarks for the community by _TD". I would be happy if everybody would read this thread and give feedback. Thanks!
__________________
tom the (A)tom: "We have solved our problems ... now we have to fight the solutions."
The Following 3 Users Say Thank You to Tom David For This Useful Post:
qin tian (11-23-2008)


Thread Thread Starter Forum Replies Last Post
Placing item in respective cell of a rack David Chan Q&A 1 11-13-2008 09: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
Operator not unloading items before picking up priority items Howe Chiat Cheng Q&A 2 05-28-2008 02:05 AM


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.