question

Rania A avatar image
0 Likes"
Rania A asked Rania A commented

Station to be a specific slot

Hello everyone, I have an asrs vehicle and two racks ( aisle). In my process flow, I want my asrs to store an item in a specific slot. Both racks are 3X4( 3 bays 4 levels) . My left rack scheme starts from 16 to 27 and my right rack starts from 4 to 15.

In my process flow I want my asrs to unload to a specific slot. I am currently using the storage system and the address scheme is just the slot ID.

In my unload task I used this to the station, but it doesn't seem correct, as it doesn't work.


Object current = param(1);

treenode activity = param(2);

Token token = param(3);

treenode executer = param(4); //Or Task Sequence

treenode processFlow = ownerobject(activity);

Storage.Slot slot = Storage.system.getSlot("4");

return /**/slot.address/**direct*/;

Thank you in advance.

FlexSim 20.0.10
racksslotspainted slotsgetslot
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Rania A commented

Using only the slotID as the address is not going to work. The slotIDs are assigned per rack cell (bay & level). If your start slot is set to 4, then the first slot in every cell is going to have an ID of 4. To differentiate between slots in different bays and levels, you have to incorporate those IDs into the address as well.

Alternatively you can not use the addressing scheme at all and instead identify the slots by unique labels that you assign to them.

Furthermore, the Unload activity (as well as other similar activities) expects that you return an object as the station. In order to transport an item to a specific slot, you have to assign the item to that slot (there is an option for this in the Custom Code activity under Control->Warehousing->Assign Slot). Then return the rack that slots belongs to in the Unload activity. You can access the storage object as a property of the slot
capture1.png


capture1.png (14.9 KiB)
· 5
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.