question

Patrick Zweekhorst avatar image
1 Like"
Patrick Zweekhorst asked Patrick Zweekhorst commented

How to release item from conveyor when you do not release it first

Hi All,

I have a model where I do not want to release an item from a conveyor directly. I therefore use the DoNotRelease option from dropdown on the exit transfer. When I do releaseitem( item, 1 ) some time later I get lots of exceptions in the OnDraw of the conveyor. I have attached a small example model where if you run the script window after the item is at the end of the conveyor you can see the exceptions. Also note that the item does not move to the queue.

How can I release the stopped item?

Thanks in advance,

Patrick

releaseitemconveyor.fsm

FlexSim 18.0.1
conveyorrelease item
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

·
Jeff Nordgren avatar image
1 Like"
Jeff Nordgren answered Patrick Zweekhorst commented
@Patrick Zweekhorst

I'm not sure that the way you are trying to "stop" the flowitem from exiting the conveyor is the best way, and maybe not the way at all, to work with a conveyor. If you actually wanted to stop the flowitem on a conveyor, at the end or anywhere, you might want to use a DP to stop and resume the flowitem on the conveyor rather than the way you are trying to do it by just changing the Exit Transfer to "Do Not Release Item". That works for "normal" fixed resource objects but the conveyors are a little bit different than a regular fixed resource object.

The easiest way that I've found to do it is to control the input port of the object connected to the output port of the conveyor. Attached is your model with the changes that I've made to use this option. I just close/open the input port of Queue13 whenever I want to stop or release a flowitem from the conveyor. This option just makes more sense to me and may work for your situation as well. Take a look at the attached model and see if something like this would work for you. If not, you may try using the DP method.

Thanks.

releaseitemconveyor-jn1.fsm


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

Patrick Zweekhorst avatar image Patrick Zweekhorst commented ·

Hi @Jeff Nordgren,

Thank you for your reply. In my actual model I am sending boxes from a set of multiple conveyors to another set of conveyors. The option with the DP works good in this situation. Maybe you can take a look at my new question as well. Should this also be done in a different way?

Thanks in advance,

Patrick

https://answers.flexsim.com/questions/47322/pull-strategy-does-not-seem-to-work-on-conveyor-en.html


0 Likes 0 ·

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.