I am working on a model which involves storage crane. I have following queries.
Thanks in advance . . . .
Solved! Go to Solution.
I guess. it is not possible to define for each storageplace a separate z-dimension. You could define as z-dim the maximum stack-height. Than you can take into account the part-specific stack height, when you look for a free place for storing a part.
The StorageCrane provides all you need for the control (see help):
To get a special part from the store, you can search it in the storeTable (getStoreTable).
Thanks for quick reply. By the help of your inputs, i was able to model storage based on my requirement. I am also able to retrieve parts as and when i require. However, i am able to retrive only one part at a time. In my model crane should retrieves entire stack, when asked. How can i model this scenario?
-Thanks in Advance
just an idea:
Hold the ALT-Key pressed and click double in the storagecrane area. Then you see the structure of the storage area. It consists of single store-objects with xDim = stack-height.
This is the reason, why you can move the MUs only one by one.
If you want to move the complete stack, you could create stacks. For this your MU has to be "stackable" (container) with the capacity (stackHeight-1).
Then you could use an observer for numMu in the base-class of the small storage areas to move all MUs at numMu>1 to the MU on ?.pe(1,1).
At the end you could load one MU with the loaded stack...
Problem: you need to actualize the stock-table
Thanks for your valuable input. I was able to modify crane object to meet my requirement.
However, i am facing a new problem now. If the part input is continous to the crane, then crane is working fine(i,e if orderlist is not empty at any time). But if there is a delay between the part arrival, then the storagecrane is getting stopped and even when the part arrives at a later time the stroagecrane is not getting creating the orderlist.
I have attached the example model as shown. Please help me in this.
I not completely unterstand, what you want to do, but the return false in line 54 in the method search_available_location is wrong, If you return false, the crane stops working
I am doing the same thing. I have another table (status_2) in which i am recording occupied/free/reserve places(like in the original status table).
The problem we are facing is that, if at any point the input station doesnt have a part available the crane stops. After this even when the new part arrives at the input station the crane does not start operating.
okay try this: method search_available_location make a comment from row 54 and 55, this is wrong in your method. The problem is, that you stop searching, if the first place on a sub-store is occupied (return false), instead you need to look in the next z-position for a free place (do nothing).
You should later get an error on place Store10_10 , this is the exit place and dont belongs to the storage area, you need to check this in your method placeIs_Free_2...