Paint Slot Label and QUERY

amit_k2
Not applicable
0 Views
5 Replies
Message 1 of 6

Paint Slot Label and QUERY

amit_k2
Not applicable

[ FlexSim 20.2.3 ]

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

0 Likes
Accepted solutions (1)
1 View
5 Replies
Replies (5)
Message 2 of 6

gokulakrishnan_k2
Not applicable
Accepted solution

@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.34897-1607150608339.png

Message 3 of 6

amit_k2
Not applicable

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

0 Likes
Message 4 of 6

jason_lightfootVL7B4
Autodesk
Autodesk

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.

Message 5 of 6

amit_k2
Not applicable

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

0 Likes
Message 6 of 6

amit_k2
Not applicable

@jason.lightfoot as per your suggestions, updated model attached.

Paint_Slot_QUERY_Assign_Type_JL_Suggestions_autosave.fsm

0 Likes