question

MaxKMadiath avatar image
0 Likes"
MaxKMadiath asked Jason Lightfoot edited

Merge logic with photo eye

i have a scenario where my 90-degree merges should stop for the blue line and wait till the bag pass. There should be a gap between bags. also, the blue conveyor needs to be bi-directional how i can attain it.Merge and bidirectional.fsm




FlexSim 22.2.0
bidirectional and photoeye
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

Perhaps a 90 degree merge is not directly possible:

https://answers.flexsim.com/answers/22515/view.html

And bi-directional is under some circumstances possible, but it is not in general a supported feature.

0 Likes 0 ·

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

Here's an example of how you might try to implement something (using an object process flow for the PE) but without the sophistication needed to work in all cases - in fact the reverse time of 77.575 is selected specifically to avoid items in the transfer area and across the inline transfers. It might give you some ideas though (eg. have one conveyor rather than 5)

merge-and-bidirectional_jl.fsm

Please don't use this as-is and expect it to work.


· 6
5 |100000

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

Felix Möhlmann avatar image Felix Möhlmann commented ·

Here's a version that only uses triggers on decision points and the 'Space' settings of the conveyors to force gaps between items. It does work in both directions, however changing the direction while there are items on the conveyor will in many cases break the system.

merge-and-bidirectional-fm.fsm

I think, you'd get the best results by setting the conveyors how they would behave in the real system. Meaning managing the gaps by stopping/resuming whole conveyor sections instead of individual items.

0 Likes 0 ·
MaxKMadiath avatar image MaxKMadiath commented ·
Thanks, A lot @Jason Lightfoot ,

Can you tell me which function/script was used to change the direction of the conveyor? I am new to Flexsim so asked. Thanks

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann MaxKMadiath commented ·

Set the target speed of a conveyor to a negative value to have it move in the opposite direction.

Jason does this in a user event (multiplies the current target speed by -1).

1704956361249.png

1 Like 1 ·
1704956361249.png (65.6 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Felix Möhlmann commented ·
0 Likes 0 ·
MaxKMadiath avatar image MaxKMadiath commented ·

Bidirectional.fsm@Jason Lightfoot I have a scenario in that case 2 bags need to go in 1 direction and 1 in the other direction how i can attain this? means a ratio of 2: 1 attached layout. I added two decision points. I want "T2.XR3.05.1-140" to be bidirectional

0 Likes 0 ·
bidirectional.fsm (41.5 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ MaxKMadiath commented ·

Reverse its target speed - we've already shown how to do that in the previous example.
Also consider if you can do this left/right split without a reversing conveyor - it's basically one conveyor feeding two others.

0 Likes 0 ·