question

CHANG Z avatar image
0 Likes"
CHANG Z asked CHANG Z commented

Questions about decide and Task Excutor

queue-test-flow.fsm

I want to achieve several operation in this model actually, But i think it is better to ask questions one by one.

So my question:

How to achieve the operation , When the there are box on queue C but queue A is empty, the robot then put a new part on A. Then, then Task executor bring both part. It sends part on A to Processor1, sends part on C to Processor2, And it should move back to Processor1 to acquire the part which have already been finished by Processor1 on queue B.

The important is that the sequence must be executed. All new parts from Queue1 shout be move to A, A counld only contain one part and only sends to Processor1. All parts on B must be acquired from Processor1, and the part on B will then be move by robot to C. All parts on C then will be sent to Processor2. As the condition i have talked about in the question.

Thanks a lot!

FlexSim 19.2.0
process flowtask executer
queue-test-flow.fsm (52.9 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.

Braydn T avatar image
0 Likes"
Braydn T answered CHANG Z edited

@CHANG Z

I cannot find Queue A, B, C etc in your model, and I have question about your process. Is Queue A always empty when an item arrives in QueueC? In other works, is an item arriving in Queue C the trigger to pull an item into Queue A?

Could you upload a model with three queues named the way you want then so we can see a little better what you are trying to accomplish?

If what I said above is true, I would accomplish this by having an on entry event triggered source in Queue C, that starts a subflow to pull an item into Queue A. Once it is done, I would have the parts go on to their respective processes.

· 1
5 |100000

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

CHANG Z avatar image CHANG Z commented ·

I think you can find queue A,B,C on the task executor in the model I uolaod, I have named them. I set them as the subnodes of task executor. Otherwise I upload another.

the detail is :

1, a item1 put on A by robot, and task executor send to Processor 1

2, task executor back to queue1 the robot put iem2 on A, then task executor bring it to Processor 1;

3, item1 have been processed and released to B on task executor; the task executor move back to robot;

4, the robot move the item1 on B to C. then it pick item3 on A;

5, the task executor bring with item3 on A, item 1 on C. it sends item 3 to Processor1, acquires item2 from Processor1 on B, then sends item1 (which is on C) processor2;

6, the task executor move again to Robot. the item 2 is on B. And the robot pick item 4 on A from queue1, the robot move item 2 from B to C.

7, the task executor then bring item4 on A, item2 on C back to processors. the item4 will be sent to Processor1, on the same time acquires item3 from Processor1 on B, then sends item 2 (which is on C) to Processor2. Acquires the item1 from Processor2 on D.

8, the task executor moves back to robot again, the robot pick item 5 from queue1 to A, move item 3 from B to C. picks item1 (which is on D) to queue2. which means the item 1 have finished all the process right now.

this is the process detail I need to schedule.

thanks for your help!

0 Likes 0 ·
Braydn T avatar image
0 Likes"
Braydn T answered CHANG Z commented

@CHANG Z

I have been watching your model and I don't see what your model is not doing. Are you asking why the robot is not loading a box on c and a at the same time? It looks like there is no variability in this model, so why don't you just change your process flow a bit to load a box onto a once a box has been loaded into c? The task executor is already there. You will just have to push the items in Queue1 to a list, and then pull from the list to get another item.

· 5
5 |100000

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

CHANG Z avatar image CHANG Z commented ·

Thanks. I will try to do it.

0 Likes 0 ·
CHANG Z avatar image CHANG Z commented ·

Yes, i am asking when the robot is loading a box from B on C , why it doesn't load a box from QUEUE1 on A at the same time.

And, I am sorry, I have tried, but I don't think I have understand clearly about your suggestion. Could you please teach me by some example or screenshot of the change the process flow.

Thank you.

0 Likes 0 ·
CHANG Z avatar image CHANG Z commented ·

And, I have another question is :

is it possible to set the conveyor as the function of queue1. To only let one box pass and the robot could directly pick the box from conveyor not from queue1?

0 Likes 0 ·
Braydn T avatar image Braydn T CHANG Z commented ·

@CHANG Z This is already going to be extremely complicated, so I wouldn't recommend getting rid of the queues because they will make triggers easier.

Here is a model with some changes. Hopefully it will hep you get closer to what you need.

chang.fsm

1 Like 1 ·
chang.fsm (58.6 KiB)
CHANG Z avatar image CHANG Z Braydn T commented ·

Thanks! I will try to get some new ideas.

0 Likes 0 ·

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.