question

Abder23 avatar image
0 Likes"
Abder23 asked Abder23 commented

Prioritize Conveyor Stations

Hello there,


In the attached model I want to simulate a Wheighing Station in which the 2 scales are placed next to each other.

Since the item should be wheighed only once, I want to prioritize the seconde scale (station 2) when not idle.

The assigned label "IsWheighed" == 0 when the item is created and turns == 1 once it is wheighed.


Please provide some guidance

weighingstation.fsm

FlexSim 22.0.16
conveyor station
weighingstation.fsm (39.8 KiB)
· 2
5 |100000

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

Carter Walch avatar image Carter Walch commented ·
Hi @Abder23 , it looks like your model wasn't attached. Can you try to attach it again?
0 Likes 0 ·
Abder23 avatar image Abder23 Carter Walch commented ·
Thanks,

It's done

1 Like 1 ·

1 Answer

·
Carter Walch avatar image
0 Likes"
Carter Walch answered Abder23 commented

Hi @Abder23 ,

weighingstation (1).fsm

If I understand correctly, you want to prioritize the second conveyor station when it is not being used so that both conveyor stations will be used efficiently. For the process condition of station1, I added a condition where station2 must be processing an item for station1 to also process an item.

1688419187074.png

This means that when an item arrives at station1, it will be sent to station2 to be processed if there is no item on station2 yet. Then on station2, the only condition is that IsWeighed == 0. This makes sure we don't process items twice. I also changed the trigger to "On Process Finish" instead of "On Continue" so we only mark items as Weighed if they are processed.

1688419212489.pngconveyor.gif

Let me know if that helps!


1688419187074.png (28.1 KiB)
1688419212489.png (12.7 KiB)
conveyor.gif (5.8 MiB)
· 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.

Abder23 avatar image Abder23 commented ·

Hi,

Exactly what I was looking for,

Thanks a lot

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.