BUG Cannot getSlot from Address in 2021.0.6

BUG Cannot getSlot from Address in 2021.0.6

sakamoto_ryosuke
Collaborator Collaborator
23 Views
3 Replies
Message 1 of 4

BUG Cannot getSlot from Address in 2021.0.6

sakamoto_ryosuke
Collaborator
Collaborator

[ FlexSim 21.0.6 ]

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

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

0 Likes
Accepted solutions (1)
24 Views
3 Replies
Replies (3)
Message 2 of 4

joerg_vogel_HsH
Mentor
Mentor

The method getSlot occurs twice

  1. for the storage system. Parameter is the address string
  2. for a rack object. Parameters are Bay ID , Level ID and Slot ID
0 Likes
Message 3 of 4

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

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

0 Likes
Message 4 of 4

sakamoto_ryosuke
Collaborator
Collaborator
@Joerg Vogel Thank you! As you said inserting new scheme solved the problem.
0 Likes