question

Guilherme G9 avatar image
0 Likes"
Guilherme G9 asked Jeanette F commented

Limit activity to empty queue and alternate combiner for same item type.

First question is, i need to condition the action of sending an item from one queue to another only if it is empty using processflow. What i need is to limit the robot to move an item from buffer 3 to buffer 5 only if buffer 5 is empty.

And the other point is, i need to make 2 different products on the combiner that come from different ports based on which one is ready to go but only use 1 at a time. And i need that the combiner uses the item from buffer 5 and only 1 item from either buffer 6 ou 7 at a time based on which one is ready and waiting.

To ilustrate the question, there is a image of the model to help. And also, a image of the processflow of the activities from buffer 1 -> buffer 3 -> torno -> buffer 3 -> buffer 5.

Help.png

Help2.png

FlexSim 22.1.1
simulation
help.png (137.3 KiB)
help2.png (11.8 KiB)
· 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.

Kavika F avatar image Kavika F ♦ commented ·

Hi @Guilherme G9,

It's hard to know how to help without looking at your model. To receive a more accurate solution, please post your model or a sample model that demonstrates your question.

Proprietary models can be posted as a private question visible only to FlexSim U.S. support staff. You can also contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·
Guilherme G9 avatar image Guilherme G9 Kavika F ♦ commented ·

teste.fsm @Kavika F Here is my model. I can't recall if i did any changes from the time i posted the questions, but i don't think so.

0 Likes 0 ·
teste.fsm (81.9 KiB)
Jeanette F avatar image Jeanette F ♦♦ Guilherme G9 commented ·
Hello @Guilherme G9,

Can you upload your uncorrupted model with the conveyors replaced? Please check any exceptions or errors.

0 Likes 0 ·
Show more comments

1 Answer

·
Jeanette F avatar image
1 Like"
Jeanette F answered Jeanette F commented

Hello @Guilherme G9,

To accomplish this I added a wait for event that checks Buffer 5 to see if its content is zero. You also need to make sure you select the field that says fire if initial value meets rule.

1654283634785.png

To solve your other problem, I added a queue between the combiner and the two buffers. The queue has a limit of 1 so the items fill in the queue in a first come first serve basis.

1654283886261.png

pfc_1.fsm


1654283634785.png (14.5 KiB)
1654283886261.png (130.0 KiB)
pfc-1.fsm (84.4 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.

Guilherme G9 avatar image Guilherme G9 commented ·

It looks good! i liked the solution for the buffers, but i only have one question is if you could explain on what you did with the new list Buffer 3 you created and that new logic on processflow for buffer 3 to 5.

0 Likes 0 ·
Guilherme G9 avatar image Guilherme G9 Guilherme G9 commented ·
I just checked, i don't think you used at all the list and new logic, just the event triggered was enough.
0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ Guilherme G9 commented ·
Hello @Guilherme G9,

I had created that list with a different solution in mind at first. I forgot to delete it once I figured something else out.

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.