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.

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.