question

shanice.c avatar image
0 Likes"
shanice.c asked Felix Möhlmann commented

How to specify the rack to unload?

I'm using Find a Storage Slot in Warehousing in custom code. I went through the manual, there are many classes used to look for a slot. But if I want to specify which rack to go first, where I could write which rack is going to because I have two racks in my example.

1635300997204.png1635301261601.png


two racks.fsm

FlexSim 21.2.0
rackasrs vehicle
1635300997204.png (78.5 KiB)
1635301261601.png (10.3 KiB)
two-racks.fsm (53.5 KiB)
· 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.

1 Answer

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

So you can use "slot.storageObject = <referenceToRack>" in your query to only find slots inside a specific object. Due to the way the process flow activities create the query the reference should be a label on the token or item.

I would also suggest to use the "Find Slot" activity, rather than using the option in the "Assign Labels" one. It lets you assign the found directly to the item, instead of needing an extra custom code activity to do that. It also offers a max wait timer option similar to the "Pull from List" or "Acquire" activities.

two-racks_1.fsm


two-racks-1.fsm (53.7 KiB)
· 2
5 |100000

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