question

Takahisa M avatar image
0 Likes"
Takahisa M asked Takahisa M commented

Unable to get Rack path from token address using Storage.system.getSlot

[Question]
I am creating a Process Flow that specifies the rack address in the global table, creates items in order, and picks the created items.
I created a parameter called "Destination" in <Assign Labels> and used Storage.system.getSlot to assign the path of the rack that created the item.
After that, I'm trying to get information about the object (in this case the Rack) that picks the item.
However, "Destination" becomes <no path>, and the object that created the item becomes NULL.

[Version]
FlexSim 21.0.4

[OS]
Windows 10 Pro (x64) 20H2
OS build 19042.870

[Phenomenon]
Please Check "TrainingProcessFlow.fsm" and "GetSlotError.xlsx" with the error image pasted.
When you execute <Step> several times in "TrainingProcessFlow.fsm", an exception occurs.
This message is probably caused by the "Rack" parameter being NULL.
When you click on the created token, "Destination" is <no path>.

FlexSim 21.0.4
processflowrack storageflexsim 21.0.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.

1 Answer

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Takahisa M commented

Your address is not complete.
from Key Concepts about Warehousing


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

Joerg Vogel avatar image Joerg Vogel commented ·

And if you assign successfully a slot, you get the rack object by the property storageObject. Maybe you have to cast the token label value of the slot directly as(Storage.Slot) to evaluate the storage object.

0 Likes 0 ·
Takahisa M avatar image Takahisa M commented ·

@Jörg Vogel Thank you.

0 Likes 0 ·

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.