question

rod avatar image
0 Likes"
rod asked rod answered

One task sequence in multiple processors

hello everyone,

I have some problems to synchronize one task sequence in multiple processors.

attached two models of simulation inside,

the first one in red, is the reference model. the second one in green, is what I want to simulate. I would like my operator follows the item until he realises it in the last processor ( in green light) and go back takes another one and follows it in every process until he releases it once again in the green light processor and so one.

Thanks in advance

task-sequence.fsm

FlexSim 16.2.1
task sequence done by an operator
task-sequence.fsm (28.5 KiB)
· 3
5 |100000

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

Ralf Gruber avatar image Ralf Gruber ♦ commented ·

Rod,

since the pallet is your main item which is carried through the model by the operator, you need to put the main task sequence on the queue that provides the pallet, not the one that provides the item going onto the pallet. In your model the operator is not released, because you utilize him with the white cylinder item, but you try to release him from the combiner with the pallet as a reference....since these do not match, the operator is not released.

0 Likes 0 ·
rod avatar image rod commented ·

hi Ralf,

I tried this possibility but the operator doesn't go further than realises the pallet to the processor.

task-sequence.fsm

0 Likes 0 ·
vpizm.png (617.0 KiB)
task-sequence.fsm (28.1 KiB)
task-sequence.fsm (28.1 KiB)
task-sequence.fsm (28.1 KiB)
Ralf Gruber avatar image Ralf Gruber ♦ rod commented ·

Rod, two more questions:

1. Do you want the operator to take the pallet or the cylinder to the BasicFR to pass the delay?

2. Do you need everything to be in one TS? The "Use Transport" field in the flow tab has the nice "Tagged Resource" options allowing you to hold an operator until you need him again.

On another note: Have you considered building your model using process flow? That makes creating Task Sequences so much easier....

0 Likes 0 ·
Jeff Nordgren avatar image
0 Likes"
Jeff Nordgren answered Jeff Nordgren edited

@rod

Rod,

Attached is your model with the changes that I've made to your task sequences.

The main task is in the Queue2 object in the Use Transport code area. The whole task sequence for the operator is contained in there. To pick up the cylinder from Queue3 and BasicFR2, I call a sub task. The code for the sub task is in Queue3 in the OnMessage trigger. That sub task handles the tasks for the cylinder.

The only other thing was to make sure that the operator was freed from being utilized at each processor by putting that code in the OnProcessFinish trigger for each processor. Also in each processor, the Use Transport check box needs to be checked and in the code area it needs to return a zero.

Take a look at the model and see if it is doing what you were wanting it to do. If you have any questions, please don't hesitate to ask.

task-sequence-jn1.fsm


5 |100000

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

rod avatar image
0 Likes"
rod answered

thanks !!! it really suits me fine.

I tried to go more deeply in the simulation of task sequence of the factory's layout but I have once again big problems.

please give a look on the model attached.

what I want from my model to do is :

- all the operators should be supplied from the same pallet source

- every operator has his own cylinder source (represented by the same as the operator).

Exactly as the operator in yellow works, I want from the other operators to go take the pallet, after take their own cylinder (same color as the operator) and go through the two common processor ( combiner and processor) and at the end finish in their own color processor.

the operations should be synchronized ( only one operator could use the combiner and when he finished the second one could use it, and so one) , not 2 operators at the same time on the combiner or on the common processor.

Please really need help to synchronize this task sequence.

Many thanks in advance.

task-sequence-to-improve.fsm


5 |100000

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

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.