question

Niket M avatar image
0 Likes"
Niket M asked Ryan Clark commented

Stop the divert if conveyor is full at the divert entry

This is a very similar question to https://answers.flexsim.com/questions/88085/alternate-destination-on-conveyor-full-condition.html but the difference for me is I need to check these conditions right before the divert and not at a common decision point like the model shows in the link.

I have attached a model here and trying to build this logic, in the real model I have 32 divert conveyors which are further extended to do some process. So the slug can build and block the photo-eye when the box is at the main decision point on main conveyor but by the time the box reaches the divert, the PE can be uncovered and I need to divert it and vice versa.

In real life this is controlled by PE sending message to PLC and PLC basically controls the shoe sorter for diverts.

Any help is much appreciated. I thought of stopping the current divert conveyor's input port or DP's input port is PE is blocked but that doesn't seem to work.

egmodel.fsm

FlexSim 21.2.0
flexsim 21.2.0conveyor divert
egmodel.fsm (46.4 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.

1 Answer

·
Ryan Clark avatar image
1 Like"
Ryan Clark answered Ryan Clark commented

Hello @Niket M,

I believe I came up with a solution to your problem. I replaced the main decision point with a separate decision point for each divert conveyor. Each of these decision points has logic to send an item down that conveyor if it is the correct type, and the PE is not blocked. I configured the PE to set a label on the decision point on its divert conveyor that is equal to 0 when clear and 1 when blocked. Then, items are diverted from the main conveyor until the PE gets blocked, then the items are sent to recirculate.

egmodel-rc.fsm

Hope this helps! Let us know if you have further questions.


egmodel-rc.fsm (46.9 KiB)
· 4
5 |100000

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

Niket M avatar image Niket M commented ·
Thanks for the answer @Ryan Clark. I have 31 conveyor where I need to replicate the same logic and I'm wondering if I can use process flow to make this logic simpler? Otherwise I will have to create separate connectors for each conveyor and it's getting quite messy. Do you think the same logic is possible with process flow?
0 Likes 0 ·
Ryan Clark avatar image Ryan Clark Niket M commented ·

Hello @Niket M,

I think the modified version of your model that I'm attaching here answers your question. You can use process flow to simplify the logic. I was able to do so by referencing groups. The only catch is that you also need to make sure the group indices line up with where you want the different types of objects to go.

egmodel-rc-process_flow.fsm

Let us know if you need more help or have further questions!

1 Like 1 ·
Niket M avatar image Niket M Ryan Clark commented ·
This is perfect. I have built my model with a good tree structure so should be able to organize group with this logic. Smart use of "wait for event", I didn't realize that I could use that for token labels.

Thanks a lot @Ryan Clark!

0 Likes 0 ·
Show more comments

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.