question

Steven Chen avatar image
0 Likes"
Steven Chen asked Braydn T commented

Conveyor belt bidirectional setting through conveyor speed

The two-way failure was not transmitted to my expectations.

FlexSim 19.1.1
conveyorconveyor speed
image-7.png (199.9 KiB)
image-8.png (145.6 KiB)
· 3
5 |100000

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

David Seo avatar image David Seo commented ·

@steven.chen

What's your meaning for bidirectional speed in your model?

What will you do?

0 Likes 0 ·
Steven Chen avatar image Steven Chen David Seo commented ·

Both ends of the conveyor are transported using the same conveyor belt, so it is desirable to set the conveyor belt to reverse the speed.

0 Likes 0 ·
David Seo avatar image David Seo Steven Chen commented ·
@steven.chen

I can't understand your intending what to do and your connected direction looks wrong. Why do you connect the upper DP to lower DP? Your intention is to make two conveyors to same speed? After you set the conveyor type to same type and make the conveyor speed changed, two conveyors speed become changed same.

0 Likes 0 ·

1 Answer

Phil BoBo avatar image
1 Like"
Phil BoBo answered Braydn T commented

https://docs.flexsim.com/en/19.1/Reference/CodingInFlexSim/FlexScriptAPIReference/Conveyor/#Property-targetSpeed (emphasis added):

See also: Reversible Conveyors in FlexSim

Reversing Conveyor Direction

If you set a conveyor's targetSpeed to a non-zero negative value, the conveyor will reverse direction. When a conveyor's direction is reversed the following things happen.

  • All stopped items on the conveyor will be fully resumed.
  • Each item on the conveyor will be set to a moving state.
  • Each item's target destination will be erased. For example, if the item previously had been sent to a point in the system using the Conveyor.sendItem() method, that destination will be forgotten.
  • Each item will regenerate its list of traversal points, e.g. photo eyes, decision points, etc. as if the item is entering the conveyor at the point where it is when the conveyor is reversed.

The functionality for reversing conveyor direction is still in an early stage of maturity. It was designed with a very specific scenario in mind, which is to give modelers the ability to simulate accumulation buffers, where items can be pulled off a main conveyor line when the line gets backed up, and then moved back onto the line when it clears out. The functionality has been tested only for this scenario. Using reversible conveyors for other scenarios has not been tested and thus may not work perfectly.

Specific caveats that you should be aware of:

  • If an item is straddling two inline transfers when direction reversal happens, then both conveyors that the item is straddling must be reversed at the same time. Doing otherwise will result in undefined behavior.
  • An item cannot straddle more than two conveyors when direction reversal happens, or else an exception will be thrown.
  • No updates are made to the internal routing table when a conveyor's direction is reversed. This means, for routing purposes, i.e. when sending an item to a destination point in the system, the conveyor is always assumed to be conveying in its original direction.
· 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.

Braydn T avatar image Braydn T commented ·

Hi @steven.chen

Did this answer help you? If so, could you please accept his answer? If not, could you let us know what else we can do to help you? Thanks!

0 Likes 0 ·