question

Steve McDonald avatar image
0 Likes"
Steve McDonald asked Sam Stubbs commented

Odd issue with photo eye/decision point to reject item

mergedecisiontest.fsm

I have an issue where I want to reject two items on a conveyor that are stuck together. I am creating extra items and randomly inserting them onto the conveyors and allowing 2 items to overlap simulating being stuck together. I am using a photo eye and have the block time set to allow a single item to pass, but two items will block the eye due to taking to long to clear. I have decision points on each conveyor good (green) and reject (red). Of my two parallel lines, the right side seems to work fine, but the left side sends an item into space instead of side transferring to the next conveyor after the photo eye is blocked.

The decision points do not always seem to work as far as sending the item to the correct conveyor. I also tried rejecting based on item type passing a decision point instead of a photo eye (type 1- ok, and type 2 - reject) and creating a small percent of item type = 2 to reject and didn't always get a successful reject. Is there any rule of thumbs as far as where the decision points have to be placed or a min distance from entry/exit points. Or if the conveyors are not joined, and using connectors can that cause an issue

Thanks.

Steve

FlexSim 17.0.2
decision points
· 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.

Sam Stubbs avatar image Sam Stubbs ♦ commented ·

I'm looking at your model, and it looks like if you slow the model down considerably, that the redirect does work, but it's only working on the first item not on both overlapping items. It also looks like you may have uncovered a bug with your conveyors. Sometimes it seems like items run off the conveyor and "float" on forever.

0 Likes 0 ·
Steve McDonald avatar image Steve McDonald commented ·

So, my entry transfers on the conveyors I was deciding between had the "Max Transports in Transit" set to "0", and was causing the items to pause or stall at the exit. My conveyors were not joined as they are at different elevations and the decision points were sending items to those entry transfers.

As far as the item floating off the conveyor, not sure what caused it exactly, but went back and confirmed all conveyor locations and elevations as there may have been a slight mismatch when joined (less than a half an inch), but it has been eliminated.

0 Likes 0 ·

1 Answer

Sam Stubbs avatar image
0 Likes"
Sam Stubbs answered

Looking into your model, with the current issues, I thought that maybe I could recommend a different approach to the model. Here is an example using Process Flow and a little bit of custom code that tackles the same situation, but bypasses some of the other errors and issues you ran into.

rejectconveyor.fsm


rejectconveyor.fsm (23.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.