question

Anutt K avatar image
0 Likes"
Anutt K asked Anutt K commented

Find Slot is not working.

Hello. In this model I use Find Slot to Create intitial item in slot of rack by using Global Tabel.

1695799199616.png

In Global Table have data Rack_No. , Bay_No. and Level_No to assigned slot address and will be create Flow Item quantity by Num. of each row of table. So, I has use data of Rack_No. , Bay_No. and Level_No to defien slot addreaa in Find Slot from Assign Label (Assign : Slot Address)

1695799388675.png

1695799482994.png

But when Flow Item has created in Rack it will arrive at frist bay and frist level of each rack only.

1695799589258.png

How can I fix it. I has attached model here. Thank You.

Model 4 Create and Destroy 3D Object and Flow Item by 2D Logic.fsm

FlexSim 23.2.0
global tablefindslotfind 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.

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

You are not assigning the slot to the item. As such, when the item enters the rack, its Slot Assignment Strategy is used to assign a slot to the item.

There are multiple options of how you can have the items appear in the correct slot.

1. Create the item first, then use the Find Slot activity and have it assign the found slot to the item automatically (default setting of the activity). This would require to create the items in a subflow and you would have to find the slot again for each individual item.

2. Only use the address to find the correct rack. Assign the bay and level numbers as labels to the created item and change the Slot Assignment strategy of the racks to use those.

capture1.png

3. Use the code of a label assignment to assign the slot to the created item. (The return value doesn't actually matter, only line 12 is important.)

capture2.png



capture1.png (6.7 KiB)
capture2.png (32.4 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.

Anutt K avatar image Anutt K commented ·

I has assigned Rack_No, Bay_No and Level_No to item and define Slo Assignment Strategy By Bay,Level Slot ID and it woork. Thank You Somuch.

0 Likes 0 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Anutt K commented

your amount item to create is always 0: slot status!

· 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.

Anutt K avatar image Anutt K commented ·

In Column "Status" it not using in model. I will use Num only.

0 Likes 0 ·