question

Kyle P avatar image
1 Like"
Kyle P asked Kyle P commented

Unexpected Task sequences

lists-fs-stripped.fsm

I am modeling an order picking operation and decided the best route to take was to use a task sequence list. Currently, I am creating the task sequences, pushing them to a list, then having the transporter pull from the list using the OnResourceAvailable trigger.

The problem arises when the transporter completes all the items in the list, it then has additional task sequences which cause an error because there is no flowitem at the location. The transporter is not connected to any centerpoints and profiletasksequence() in the OnReceiveTasksequence trigger does not pick up these rogue task sequences.

I have disabled the OnResourceAvailable trigger and there is no error and the transporter does not receive any rogue task sequences. It is almost as if when it pulls the tasksequence from the queue, it is clearing the ts from the TSList, but not clearing it from the transporter ts queue, if that makes sense?

Any advice on the issue would be greatly appreciated.

FlexSim (other - please specify)
FlexSim 18.0.7
task sequence
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
1 Like"
Joerg Vogel answered Kyle P commented

The first item of source "SHAPE_SOURCE" has got in the label PickLoc the value "SY_130". The other values are "random#". The Tasksequence transporting this item causes later the error. Probably you delete this item in a sink or by code. The tasksequence lose the reference to the item.

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

Kyle P avatar image Kyle P commented ·

Thank you for the quick reply. The fixes you suggested seem to have corrected the error. I am going to keep the thread open a couple of days while I work through some things incase the issue arises again. I will accept afterward.

1 Like 1 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel commented

Thanks for attaching the model with the error still readable! The description tells the array is out of bounds. The Object "FromSYQueueShape" has an activated option "Use Transport" with the standard reference:

current.centerObjects[1]

But the Queue isn't connected by any center port connections to other objects. Please unmark the use of transport or add a reference that match your needs or do any other mechanism to transfer the task sequence.

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

Joerg Vogel avatar image Joerg Vogel commented ·

there is still the error you describing above at the transporter "SY_SHAPE_CRANE":

0 Likes 0 ·