question

juani avatar image
0 Likes"
juani asked juani commented

Unloading item in specific Slot

Hello everyone.
I want to use the Unload activity to place the item on a specific slot based on a string token label "Address". But I don't know how to reference the slot address on Unload's Station.

1712332013072.png

Each slot label was assigned using Address Scheme (Storage System).

FlexSim 23.2.0
unload itemsslot labelsstorage slotaddress scheme
1712332013072.png (55.1 KiB)
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 juani commented

To transport the item to the given slot (and not use the rack's Slot Assignment Strategy), the item has to be assigned to the slot. The return value for the "Station" field has to be an object, in this case the rack the slot is in.

Storage.Slot direction = Storage.system.getSlot(token.Address);
Storage.Item storageItem = Storage.Item(token.repo);
storageItem.assignedSlot = direction;

return direction.storageObject;
· 1
5 |100000

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

juani avatar image juani commented ·
Thank you very much!
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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