question

HumEsparza avatar image
0 Likes"
HumEsparza asked Jesús Evangelista answered

Task sequence error

OP10_155_160.fsmI m trying to make my operator to go from OP A to OP B to OP C but I keep getting the same error. It seems as if the label from item 2 is not being correctly assigned so the operator will not load the Item from my second conveyor to the second station. Ive tried different things and nothing seems to work. involved-1-null.png

FlexSim 23.1.4
tasksequences
involved-1-null.png (447.4 KiB)
op10-155-160.fsm (15.2 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

Jesús Evangelista avatar image
0 Likes"
Jesús Evangelista answered

Hello, Hum.

I can see that you're not using some Process Flow logics in their most usual way, however, I tried to adapt what you have to make sense and make the model to work.


Here I explain what I did:


The very first thing I added to the model is a "Create TS" activity and replace the "Resource" you were using, with it.

I made this in order to be able to use your "OP" label.

1741643671766.png

We prefer to let this activity as it is as default, but I changed it a bit.


2. Since we created the label "taskExecuter" (in "Create TS"), we need to change it on the custome code:

1741643804534.png

3. The most significant change I made was adding Queue3. This is an auxiliary Queue, doens't do anything else but being the object in which we base our "Wait for Event".

The max content is 1 and it is not connected anywhere else, so doesn't affect model statistics or flow.

We use this Queue as reference of the "Wait for Event" activity. It is set the way I show here:

1741643910155.pngWe create the "Queue" label to have a reference of this Queue to be able to use the label "CPL" you had, with this reference:

1741644160595.png

4. o be able to see the model running I added Queue 4, so Processor doesn't get blocked and the "Finish TS" activity to set the operator free, you can change them with ohter objects or activities.

I attach the model. op10-155-160_autosave.fsm

This way model works the way I understand you need.

Looking at some documentation is always good.

Hope it helps, feel free to comment if necessary.



1741643671766.png (92.5 KiB)
1741643804534.png (44.4 KiB)
1741643910155.png (534.1 KiB)
1741644160595.png (42.8 KiB)
5 |100000

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