question

Morgan Ulesich avatar image
1 Like"
Morgan Ulesich asked Logan Gold answered

Send Item to Queue When Photo Eye is Blocked

sendtoqueueexample.fsmI would like to send items into a downstream queue when a photo eye becomes blocked. I tried to do this in the attached example by grabbing the state of the photo eye at a decision point and if the state = 4, then the items are sent to the exit transfer for the queue. However, the items are not properly sending to the queue. Would you mind taking a look to see what the issue may be?

FlexSim 16.0.1
queuephoto eyedecision point
5 |100000

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

1 Answer

·
Logan Gold avatar image
3 Likes"
Logan Gold answered

It looks like your logic is working correctly when I run the model. However, since the Queue is connected back to the second section of your Conveyor, the flowitems are getting back onto the Conveyor pretty much instantly. If you disconnect the connection from the Queue to the Conveyor, you should see the flowitems start to queue up in the Queue. You can also look at the Queue's statistics and see its throughput increases when the Photoeye is blocked.

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.