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.

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.