question

Marian Cretu avatar image
0 Likes"
Marian Cretu asked Braydn T commented

Find slot in a specific Rack

Hello all,

I'm using the new storage system in Update 2. How is it possible to search for a slot in a specific rack ?

The rack is pulled from a list in process flow - > token.pulled

token.pulled = "Rack_1"

I see that you can query the storage.System but i don't know the query...

Please advise.

Thank you.

FlexSim 19.2.0
slot
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

anthony.johnson avatar image
1 Like"
anthony.johnson answered Braydn T commented

Using the Storage.system.findSlot() method, there are multiple options:

First, you can compare the name of the rack.

Storage.system.findSlot("WHERE slot.storageObject.name = $1.pulled", 0, token);

Second, you can store the rack name on each slot as a label. The advantage of this is that you can then use indexing for fast lookup. See warehousing concepts, also storage system reference, and the paint slot labels tool.

Storage.system.findSlot("WHERE RackName = $1.pulled", 0, token);
· 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.

Braydn T avatar image Braydn T commented ·

@Marian Cretu

Did Anthony's answer work for you? If so, could you click the accept button? Thanks!

0 Likes 0 ·