question

Juan S4 avatar image
0 Likes"
Juan S4 asked Juan S4 commented

Sorting conveyor question

Good day. I have a partially complete model C (attached) but the problem is that once a conveyor lane fills up with cartons and blocks the build back PE then the boxes destined for that lane as well as all the other lanes go straight to the dump sink. I intend for only the full lane to have it's parcels to go to the dump sink until the PE is clear again. Can anyone perhaps assist me please in correcting the code snippets so that only the "full lanes" parcels go to the dump sink when the respective build back PE is blocked? This model does not have anything to clear or empty the conveyor lanes on purpose fyi. Emptying of the conveyors / unloading them I will do in my other simulation. Thanks. 2020.06.02.05 Model C.fsm

FlexSim 20.1.2
flexsim 20.1.2sorting conveyor
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

·
Sebastian Hemmann avatar image
0 Likes"
Sebastian Hemmann answered Juan S4 commented

Hi @Juan S4, attached you find the model with my changes. The problem in your solution was, that you only have one global variable but 4 points to enter it. I´ve just made 4 global variables.

2020060205-model-c_SH.fsm

Another possible way to solve this would be by using labels on objects. This way you would not use global variables at all. As soon as your line is full change the label value (e.g. on a photo eye or DP) and in your decision just ask for the label value.



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

Juan S4 avatar image Juan S4 commented ·

Thanks a lot - much appreciated. @sebastian.hemmann :)

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.