question

Anutt K avatar image
0 Likes"
Anutt K asked Jason Lightfoot edited

Assign Task by Priority of Operator

From the Video.

The Task of OP5 :

Step1 Load from Queue1 >> Unload Queue4 >> Load In Multi1 and Work at It.

Step2 Load from Queue2 >> Unload Queue4 >> Load In Multi1 and Work at It.

Step3 Load from Queue3 >> Unload Queue4 >> Load In Multi1 and Work at It.

Then I assign capacity of OP5 at 3 Qty.

His task is : Load Queue1 >> Load Queue2 >> Load Queue3 >> Unload Queue4 for 1 Box >> Load In Multi1 and Work at It (Pick 2 Box)


I want he Unload 3 box at Queue4 and then Load In Multi1 and Work. By use 3D only.

Thank You.

FlexSim 22.2.1
priority
cap1.mp4 (11.0 MiB)
cap3.mp4 (10.0 MiB)
· 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.

Jacob W2 avatar image Jacob W2 ♦ commented ·

Hi @Anutt K,

What you are trying to accomplish is extremely difficult to do while only using 3d logic. I suggest using process flow to control this because you are able to specify exactly what tasks, and in what order an operator must do them.

0 Likes 0 ·
Anutt K avatar image Anutt K Jacob W2 ♦ commented ·

Yes. In reality I should use Process Flow. I just want to know, Is it possible to use only 3D to control by using Priority and Preemption.

0 Likes 0 ·
Anutt K avatar image Anutt K commented ·

This is my model. I try to use Priority and Preemption to control the model.

Model 3_1_autosave.fsm

0 Likes 0 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Anutt K commented

Yes, it is possible: You add dispatchers (Disp) for each loading station.

Whenever a Disp has transferred a transport task, you close his output.

Then your operator gets only the tasksequence to do that involves one item from one queue.

Runtime of loading sequence is another aspect. You have to give your operator an utilize tasksequence to keep him occupied while he is waiting. You let him be available, if the right Disp in your job sequence receives a transport task. There might be more conditions which must be fulfilled. A utilized operator gets available by command freeoperators(..). Please consult the manual utilize tasksequences and freeoperators.

Once he will have finished his work sequence you let begin a new sequence again by setting your first Queue Disp to open his output.

This approach controls strict the transfer of tasksequences. It does not involve preempt or priority.

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

Anutt K avatar image Anutt K commented ·

OK. I get it. Thank You.

0 Likes 0 ·
Anutt K avatar image Anutt K commented ·
Sorry. When I try to do from your answer. Bur I still don't understand. How can i add Disp for each loading station and do next step. Did you have some example model. Or you can config my model at I attached here.
0 Likes 0 ·
Anutt K avatar image Anutt K commented ·

Thank You very much.

Model 3_1_autosave.fsm

0 Likes 0 ·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

Another approach would be to use subtasks to create the loading job from each queue using the message trigger. You can avoid the use of TASKTYPE_UTILIZE and freeoperators() by adding TASKTYPE_WAITFORTASK, in the event that the subtask has no item to load and should wait for a transportdispatcher call from an entering item.

It's unusual to be asked to do this without process flow since it's a fair bit harder, so this might suggest that it's an assignment to test your abilities rather than a project requirement. If so, we should probably not be providing you with the answer directly but rather offering guidance and assistance. Let us know your situation to see how we can help further.

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.