question

Afthab L avatar image
0 Likes"
Afthab L asked Afthab L commented

How to set acquiring priority from two conveyors?

Hi,

I was wondering how I go about setting the acquire priority for two conveyors. The priority for acquiring the items should always be for the main conveyor as opposed to the side transfer conveyors. I'm basically trying to set a distance such that the items from the side transferred conveyors do not bump into the items from the main conveyor during the side transfer and there is always a distance maintained.1625807781591.png


Any help or suggestion would be appreciated.

Acquire Priority.fsm


FlexSim 21.1.4
conveyoracquire resourceprioirty
1625807781591.png (200.0 KiB)
1625807831000.png (200.0 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.

Eric M avatar image
0 Likes"
Eric M answered Afthab L commented

Hi @Afthab L, in addition to the answer to your other question here (link), I think I've found another solution. The reason the priority isn't happening like you expect is because the priority only comes into play when there are 2 items both waiting to enter the restricted area at the same time. When there's only 1 item waiting, it will always be the next item to enter.

The solution I came up with uses a combination of triggers on the control points and process flow. The triggers use the Enter Restricted area activity to keep track of how many items are currently in the area which is stored on a label on DP1 called dp_RestrictedContentArea. Because we never want the main conveyor items to stop, I set the max content of the area to 100. The DP on the entering conveyor is used to create a token in process flow when an item arrives. This item is immediately stopped and then enters a Decide activity. Here's where the token checks if the Label on DP1 is 0 or not. If it's 0, the item will continue. If it's not zero, meaning there are items in the area still, it will be sent to a "wait for event" activity that waits for an item to cross DP1 at which point it will check the area content again. The last thing to do is make sure the area is big enough that the entering item will never block the main conveyor items. Let me know if you have any questions!

acquire-priority-em.fsm


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

Roi Sánchez avatar image
0 Likes"
Roi Sánchez answered Afthab L commented

You are already prioritizing the items on the main conveyor. If you take a look at the Decision Point where the Release Area is carried out you can see the Priority criteria:

1625813372148.png


1625813372148.png (12.9 KiB)
· 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.