question

kimsh avatar image
0 Likes"
kimsh asked kimsh commented

How to release it as a combiner as it is stacked in the queue

queue Q.fsmHi.

I'm looking for a way to replace the functionality of the combiner.
When a combiner stacks four items and releases them, it flows into the conveyor in the same shape.

When I collect items in queue 1 and release them, I want to send them as combiners with the number and shape of queue 1 stacked items. If you look at the logic I made, they go out one by one when they leave queue 1.

Is there a way to release items in queue1 like a combiner?

FlexSim 24.1.0
how to release it as a combiner as it is stacked in the queue
queue-q.fsm (47.5 KiB)
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @kimsh,

Thank you for contributing to our community! We couldn't identify a maintained license or subscription linked to your account.

You may need to update your profile information to identify yourself as a license owner or their associate. Check out our article for how to ensure you receive timely support. If you update your profile comment back to let us know - we'll adjust the priority of your post accordingly.

If your current license is expired, please contact your local distributor to renew.

0 Likes 0 ·
Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered kimsh commented

You can add this to the Queue's entry trigger (eg. as a Code Snippet)

if (item.rank>1)
    moveobject(item,current.first);
· 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.

kimsh avatar image kimsh commented ·

Thank you so much!

It's the flow I wanted.
0 Likes 0 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

A combiner is able by a default chosen combining mode items being stacked inside a container item. This means only one item is entering a conveyor. This item contains several other items without any involving statistical actions in a conveyor.

A queue releases all queued items. You want a different structure similar of a combined stacked container, then you can achieve this by coding in Process Flow or writing flexscript source code for a queue object.
The idea is behind this, that you move several items into one already queued item by moveobject command, process flow activity or up property of treenode flexscript class api. AND you preserve queued stacked locations projected into your container item.
You need to test, if there are some side effects of entering number of items and released in a combined structure, But I don’t think so, if you tell each item to stay first in a queue and you release them by command of releaseitem or pullitem yourself.

5 |100000

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