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.

Amit Kulkarni avatar image Amit Kulkarni commented ·

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

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Amit Kulkarni commented ·

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 ·
Amit Kulkarni avatar image Amit Kulkarni Jason Lightfoot ♦♦ commented ·

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

0 Likes 0 ·
Show more comments