AnswerHub Upload Issue
Our AnswerHub community currently has a bug that prevents you from attaching your model or other files to your questions. AnswerHub is aware of this issue and they are working on a fix. Until we receive their patch, you can upload your models and other files to FlexSim's file share site. Include the file name in your question so that we know which upload to reference.

question

Amit Kulkarni avatar image
0 Likes"
Amit Kulkarni asked Amit Kulkarni commented

Paint Slot Label and QUERY

In attached model, slots are painted with label Type of values 3 and 4. The pallet from combiner is assigned a Type 3 in the process flow and should be stored in slots painted with that label. Can someone please help me correct the query in find a storage slot activity, and also help me understand what I did wrong?

InventoryPalletFlow_QUERY.fsm

FlexSim 20.2.3
flexsim 20.2.3querypainted slotsfind a 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

·
Gokulakrishnan Kandasamy avatar image
1 Like"
Gokulakrishnan Kandasamy answered Amit Kulkarni commented

@Amit Kulkarni If you are using labels to assign slot you must assign slot and slot values before that. Using the Slot label option in the storage system property window. Otherwise, you can't query the slot using the label.


1607150608339.png (16.9 KiB)
· 4
5 |100000

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

That is what I was missing! Updated model attached as reference for others.Paint_slot_query_update.fsm

0 Likes 0 ·

You still need to add Type=$1.Type in the query in order to get the correct slots. The model as-is assigns type 4 parts to slots labelled type 3.

In for the original Type= $1.Type to work though, you need to swap the AssignType activity with InventoryPallet Type as you're setting the token type to 10 otherwise for which there are no slots.

Some links to help with findSlot and indexed slot labelling. In a findSlot query you can use slot.Type or just Type but the latter will often be faster than using slot.Type in large systems.

1 Like 1 ·

Thank you for the explanation. I will update the model accordingly.

0 Likes 0 ·
Show more comments

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.