question

Farah_najihah A avatar image
0 Likes"
Farah_najihah A asked Jeanette F commented

Maintain item gap at merging conveyors and managing slugs.

Hello, I have some problems with my model. but I have no idea since I am not yet well verse in process flow, so most of my configurations are without process flow.


1st is I am trying to simulate something where I need the items to merge at point 1 and 2 as shown in picture attached. but how do I configure so they wont clash each other? How can I maintain the gap between the items? I have tried using sensors and decision points but it does not work maybe I configure it wrongly.

2nd is I need the items to continue and overflow even when the conveyors (they are in round robin terms) are full as shown in 2nd picture. I tried using sensors but it still get stucked. I tried the same using simpler model, it works to my favor but not in this model.


I attached both my simpler model with the sensors and my complicated model. any advise would be very helpful and much appreciated. Thank you!

Modified test model trial 1.fsm

merging-point.pngblock-test-fm.fsmblocked-items.png



FlexSim 22.1.1
conveyorsystemsensorsoverflow
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Farah_najihah A, was Kavika F's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Kavika F avatar image
0 Likes"
Kavika F answered

Hey @Farah_najihah A, I'm not sure what you're asking with your first question about items clashing; do you just want space between the flowitems as they travel?

As for your second question, if you want to maintain a round robin operation for type 2 flowitems, you can assign a label (in my example I used "Lane" as my label) that will "Round Robin") the flowitems instead of using the "Send Item" event. This previous post inspired this solution for labeling. Essentially, you have the DP keep track of the "type2Count" and increment it each time you assign a Lane. You need to assign a different value for type 1 flowitems so when they pass over the DPs they don't throw exceptions.

if (item.Type == 2) {
int numOutput = current.outObjects.length;
current.labels.assert("type2Count", 0).value++;
item.Lane = ((current.type2Count-1)%numOutput)+1;
}
else {
item.Lane = 0;
}

For the DPs accepting the flowitems into different lanes, I used this conditional statement:

item.Lane == 1 && current.centerObjects[1].stats.state().value != 4

1653344537006.png

The first part is checking the Lane label on the flowitem. If it's is 1, send it down this lane (2 for the next lane, and so on).

The second part checks the state of the photo eye (PE) in the lane. If the PE is in the blocked state (4), then we don't want to send a flowitem down this lane. When a queue starts stacking up, it will eventually block this PE and not allow any boxes to go down that lane, thus not blocking the conveyor belt flow like before.

conveyor flow.fsm

Also, here's a smaller model to help see how it works: testing-code.fsm


1653344537006.png (202.1 KiB)
conveyor-flow.fsm (5.9 MiB)
testing-code.fsm (51.7 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.

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.