question

jy avatar image
0 Likes"
jy asked Jeanette F commented

Address Scheme / Slot

Hello, in the model attached, I am trying to send the items in Source1 Arrival Schedule to the Racks / Floor Storages based on the address scheme I have in Source1.


However, the items appear on the rack but it is not according to the addressing scheme. The system console also suggests that the "label address doesn't exist on token".


I am new to trying the address scheme/slot, hence I am confused. May I ask how to make the items appear on the rack and floor storages according to the address scheme I have in Source1?


Thank you.

testing1.fsm

FlexSim 21.2.4
find slotaddress scheme
testing1.fsm (52.9 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @jy, was David Seo's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

David Seo avatar image
0 Likes"
David Seo answered Felix Möhlmann commented

@jy

Your model looks like any problems. Good.

testing1.fsm



testing1.fsm (50.6 KiB)
· 3
5 |100000

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

jy avatar image jy commented ·

@David Seo

Hello, thank you for your help.

How do i make the same item appear at the same place?

For example, toy truck in the same address?

1642657150137.png

1642657023652.png

1642657049260.png


Thank you.

testing1.fsm

0 Likes 0 ·
1642657023652.png (301.5 KiB)
1642657049260.png (300.5 KiB)
1642657150137.png (18.1 KiB)
testing1.fsm (52.2 KiB)
David Seo avatar image David Seo jy commented ·

testing2.fsm

1) If you want to use Address Scheme, read manual carefully. Setting Address scheme in located in the Storage System Address if the tool box.

2) make the reference in the uploaded model. FloorStorage5 object is using each ID of bayID (Type), LevelID and SlotID.

Each IDs are created as Label value on Creation of the source.

0 Likes 0 ·
testing2.fsm (53.6 KiB)
Felix Möhlmann avatar image Felix Möhlmann jy commented ·

Slots are assigned to items either through the "Slot Assignment Strategy" when entering a storage object or through the "Find Slot" activity (or code). Because the storage object the item is send to depends on the assigned slot you want to use the "Find Slot" method.

The slot has to be assigned before the item is send. This can be done by having the "Send to Port" option of the source execute a subflow that determines the slot and returns the correct output port.

In your model you are pretty close, but there are some small errors:

- The query in the Find Slot activity needs a "==" instead of "=".
- Your "Address" label starts with a capital A; in "getSlot" you use "address".
- The bayID has fixed length of 2 in the default address scheme. Adjust either your addresses or the scheme to match.
- The addresses in your model are not unique (maybe this is on purpose?). For example, Both Rack1 and FloorStorage1 have a slot with the address "A-01-04-1-1"

StoreItemByAddress.fsm

0 Likes 0 ·