question

Ryosuke S avatar image
0 Likes"
Ryosuke S asked Ryosuke S commented

BUG Cannot getSlot from Address in 2021.0.6

Can not getSlot from Address in FlexScript in 2021.0.6. The following code emits error.

  1. Storage.Slot slot = Storage.system.getSlot("1-1-1-1");

The same logic works for 2020 Update1. Could you give us workaround to solve this issue in 2021.0.6 since Japanese version is released in this build? getSlot_Test_2020Update1.fsm

getSlot_Test2021_LTS6.fsm


capture002.jpg

FlexSim 21.0.6
flexscriptstorage systemfloorstorage
· 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.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Ryosuke S commented

Ok, there is something strange with your object of LTS6 and an adjusted default scheme. The address output is missing the aisle ID. After I have added a new scheme and other floor storage racks, I could switch back to the default scheme and it worked. I did the test with LTS0.

I had such a strange behavior before. But then I inserted a new scheme and got around the problem. console-output-floorstorage-21lts0.pnggetSlot_test2021lts0.fsm


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