question

Kleopatra A avatar image
0 Likes"
Kleopatra A asked Kleopatra A commented

Invalid tasksequence

Hello,

In the attached model, i have a case senario where 9 transporters(forklifts) are each connected to 2 racks. For example, transporter 1 is connected to rack 201 and rack 202 etc. I created a process flow where the forklifts pick up pallets from the racks (based on a global table "picking list") and then transfer them in a queue (buffer1). Everything seems to work fine except that an error appears after a few seconds:

time: 65.598000 exception: FlexScript exception: Invalid row number: 30 in Global Table "Route" at MODEL:/Tools/ProcessFlow/ProcessFlow/Unload>variables/involved2

I can't figure out where the problem is.


Thank you in advance

!ProcessFlow με όλα τα ράφια.fsm

FlexSim 21.1.4
tasksequence
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

·
Dawid Dabal avatar image
0 Likes"
Dawid Dabal answered Kleopatra A commented

I think the problem is in your Station in Unload activity. You are using token.row to find the row in Route GlobalTable - the value on token is 30, Route Global table only has 18 rows. You need to change the row reference in that activity.

1649941142353.png



1649941142353.png (209.8 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.

Kleopatra A avatar image Kleopatra A commented ·
@Dawid Dabal Thank you for your answer. Can you please explain to me the logic behind this? I understant the part where the table has only 18 rows and the value token is 30, so that is why it doesnt working. But you mentioned that i need to change the row reference. Lets say i change this with the value :

token.row=30.

How will i be sure that there will not appear an error after a while where the value token is for example 50 or 98?

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.