Unloading item in specific Slot

Juani
Not applicable
6 Views
2 Replies
Message 1 of 3

Unloading item in specific Slot

Juani
Not applicable

[ FlexSim 23.2.0 ]

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).

0 Likes
Accepted solutions (1)
7 Views
2 Replies
Replies (2)
Message 2 of 3

moehlmann_fe
Community Visitor
Community Visitor
Accepted solution

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;
0 Likes
Message 3 of 3

Juani
Not applicable
Thank you very much!
0 Likes