question

len zm avatar image
0 Likes"
len zm asked Jeanette F commented

pusher and sensor

Screenshot 2022-09-12 232433.png

I am new to Flexsim and I really need help regarding this, I want to add a pusher on the purple conveyor so when the item arrives to the photo eye on the purple conveyor the purple conveyor will stop and check if the there is no items between the two photo eyes on the red one and then pushes it to the red one and after .01 second the purple conveyor works again. How can I do that ? and how I can change the conveyors so the pusher can push the items without the skirts prevent that ?


FlexSim 22.2.1
photoeyesensorspushers
· 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 @len zm , 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 Kavika F commented

Hey @len zm, here's a possible solution for your problem. This solution only uses 3D objects and Triggers. You could do something similar using Process Flow.

On the Red Conveyor, the first Photo Eye (PE), I added an On Cover trigger which increments a label I set called Occupied.

1663095840967.png

On the second PE, I made sure to decrement the same label when the PE is Uncovered. This will help us keep track of the number of boxes in that "zone" of PEs.

1663095874719.png

On the Purple Conveyor PE, I added an On Block trigger with the following code. It will first check to see if there are any boxes in the space. If so, then stop the item. Secondly, set a label on the 2nd PE of the Red Conveyor called "WaitingItem".

1663095767179.png

Back on the 2nd PE of the Red Conveyor, I had a conditional Resume On Uncover. If there are no boxes left in the zone (and the WaitingItem isn't null), then resume that item).

1663096015216.png

Finally, when the Purple Conveyor PE item finally gets resumed and leaves, I make sure to increment the label set on the 1st Red Conveyor PE.

1663096096253.png

Here's what it looks like:

conveyorbeltzone.gif


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

len zm avatar image len zm commented ·
thank you so much, can you please do it with process flow too?

and if i want to change the visual what should i do in addition to that?

0 Likes 0 ·
Kavika F avatar image Kavika F ♦ len zm commented ·

One visual thing you could try is to make a Conveyor Visualization with no skirts and insert it into the transfer section. There isn't really a way to do a single side skirt on a conveyor unless you create a texture for it.

1663173465302.png

As for a process flow version, there are many ways that you could control this functionality. It's more of a spectrum from completely in 3D logic to completely in Process Flow with several solutions in between. Here's an example of a Process Flow that has similar logic.

1663176824221.png

The top half of the process flow increments/decrements Variable depending as items enter/leave the zone. The bottom half handles the waiting and resuming of the item at the Purple PE.

0 Likes 0 ·
1663173465302.png (77.0 KiB)
1663176824221.png (58.4 KiB)

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.