question

Nikhil Rane avatar image
0 Likes"
Nikhil Rane asked Felix Möhlmann answered

Task Sequence not working as per sequence

I am building model for assembly line spaghetti, I have using task sequence.

Operator should pick Item queue 2 and deliver to queue 8 and then travel to queue 3 and pick item and drop to queue 8, he should repeat this cycle.


But he pick from queue 2 and drop at queue 8 but he nor going to queue 3.


attaching model Model 2.fsm

FlexSim 22.2.0
task sequence
model-2.fsm (14.4 MiB)
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

The task sequences created in the process flow have the same priority. Tokens that entered the first "Create TS" before a token enters the second thus take precedent and the first step of the sequence is repeated until the token in the second "Create TS" is the "oldest" one.

There are many ways to enforce the ordering.

- Adjust the task sequence priority of the second block to be higher.
- Prevent more than one token from starting a task sequence by using a resource or zone.
- Put all tasks into a single task sequence.

You also don't change the item reference when the operator is supposed to pick up an item from queue3. So they would move the same item again.

You can use a "Wait for Event" activity to check if there is an item in Queue3. It should listen for the content of Queue3 to change above 0 with the "Fire If Initial Value Meets Rule" option checked. If there is an item the token can continue immediately, otherwise it waits for the content to increase. You can then assign the first subnode of the queue as the next item.

1665558991296.png

1665559005959.png

model-3.fsm


1665558991296.png (14.1 KiB)
1665559005959.png (14.4 KiB)
model-3.fsm (14.4 MiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.